/* ==========================================================================
   Case study pages, modelled on the Tabfolio case-study template
   ========================================================================== */
.cs { --col: 900px; --accent: var(--lime-pale); }
.cs.tint-pink { --accent: var(--pink); }
.cs.tint-orange { --accent: var(--orange); }
.cs.tint-blue { --accent: var(--blue); }
.frame--lime { background: var(--lime-pale); }
.frame--pink { background: var(--pink); }
.frame--orange { background: var(--orange); }
.frame--blue { background: var(--blue); }

/* Floating back button: the only control at the top of a case study */
/* Sits exactly where the homepage tab bar sits: same top padding, centred in the 64px avatar row, on the left edge of the 1152px content column */
.cs-nav { position: fixed; z-index: 50; top: calc(clamp(28px, 5vw, 56px) + 9px); left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.cs-nav__back { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--forest); color: var(--lime); font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(14,15,12,0.16); transition: transform .4s var(--spring), box-shadow .4s var(--ease); }
.cs-nav__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.cs-nav__back:hover { box-shadow: 0 14px 36px rgba(14,15,12,0.22); }
.cs-nav__back:hover svg { transform: translateX(-3px); }
.cs-nav__back:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

/* Column */
.cs-main { width: 100%; max-width: calc(var(--col) + var(--gutter) * 2); margin: 0 auto; padding: 132px var(--gutter) 0; }
.cs-head { max-width: 760px; }
.cs-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--accent); }
.cs-title { margin-top: 18px; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.92; font-size: clamp(40px, 6.4vw, 72px); color: var(--forest); text-wrap: balance; }
.cs-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

.cs-hero { margin: 48px 0 0; }
.cs-hero__frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.cs-hero__frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }

.cs-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 40px 0 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-meta dt { font-size: 14px; font-weight: 700; color: var(--ink); }
.cs-meta dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }

/* Sections */
.cs-sec { padding-top: 112px; scroll-margin-top: 40px; }
.cs-block { margin-top: 72px; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); }
.cs-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--lime); }
.cs-h2 { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.06; letter-spacing: -0.035em; color: var(--ink); max-width: 720px; text-wrap: balance; }
.cs-p { margin-top: 18px; max-width: 720px; color: var(--ink-2); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.cs h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* Stat cards */
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cs-stat { padding: 28px; border-radius: var(--r-md); background: var(--surface); transition: transform .5s var(--spring), background-color .3s; }
.cs-stat:hover { transform: translateY(-4px); background: var(--accent); }
.cs-stat strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -0.04em; line-height: 1; color: var(--forest); }
.cs-stat h4 { margin-top: 18px; }
.cs-stat p { margin-top: 6px; color: var(--ink-3); font-size: 14px; }

/* Figures */
.cs-fig { margin: 40px 0 0; }
.cs-fig__media { display: block; width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.cs-fig__media img, .cs-fig__media video { width: 100%; height: auto; transition: transform 1s var(--ease); }
.cs-fig__media:hover img { transform: scale(1.025); }
.cs-fig figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.cs-video .cs-fig__media { cursor: default; background: #000; }
.cs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-grid2 .cs-fig__media { aspect-ratio: 4 / 3; }
.cs-grid2 .cs-fig__media img { height: 100%; object-fit: cover; }
.cs-fig--wide { margin-left: calc(-1 * min(120px, (100vw - var(--col)) / 2 - var(--gutter))); margin-right: calc(-1 * min(120px, (100vw - var(--col)) / 2 - var(--gutter))); }

/* Numbered cards */
.cs-num { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.cs-num__card { padding: 24px; border-radius: var(--r-md); border: 1.5px solid var(--line); transition: border-color .3s, transform .5s var(--spring); }
.cs-num__card:hover { border-color: var(--forest); transform: translateY(-4px); }
.cs-num__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--forest); font-weight: 800; font-size: 13px; margin-bottom: 18px; }
.cs-num__card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

.cs-opportunity { margin-top: 24px; padding: 28px 32px; border-radius: var(--r-md); background: var(--forest); color: #fff; }
.cs-opportunity .cs-eyebrow { color: var(--lime); }
.cs-opportunity ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.cs-opportunity li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; }
.cs-opportunity svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Research */
.cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--line); }
.cs-facts > div { padding: 26px 28px; }
.cs-facts > div + div { border-left: 1.5px solid var(--line); }
.cs-facts strong { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--forest); }
.cs-facts span { display: block; margin-top: 6px; color: var(--ink-3); font-size: 14px; }
.cs-facts--test { margin-top: 18px; background: var(--accent); border-color: transparent; }
.cs-facts--test > div + div { border-color: rgba(14,15,12,0.08); }

.cs-quote { margin: 40px 0 0; padding: 40px; border-radius: var(--r-lg); background: var(--accent); position: relative; overflow: hidden; }
.cs-quote::before { content: '\201C'; position: absolute; right: 24px; top: -30px; font-family: var(--display); font-weight: 900; font-size: 220px; line-height: 1; color: rgba(43,18,71,0.08); }
.cs-quote p { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.03em; color: var(--forest); max-width: 680px; }
.cs-quote footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cs-quote__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--lime); font-weight: 800; }
.cs-quote .word { margin-right: .24em; }

.cs-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.cs-insights article { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: var(--surface); }
.cs-insights p { font-size: 16px; font-weight: 500; line-height: 1.45; padding-top: 6px; }
.cs-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--forest); }
.cs-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.cs-lead-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cs-lead-cards article { padding: 24px; border-radius: var(--r-md); border: 1.5px solid var(--line); }
.cs-lead-cards ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cs-lead-cards li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.cs-lead-cards li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--forest) inset; }

/* Journey */
.cs-journey { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.cs-journey::before { content: ''; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: var(--line); }
.cs-journey li { position: relative; padding-top: 40px; }
.cs-journey li::before { content: ''; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--forest); }
.cs-journey li:last-child::before { background: var(--lime); }
.cs-journey__k { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.cs-journey strong { display: block; margin-top: 6px; font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: -0.04em; color: var(--forest); }
.cs-journey p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.cs-journey__line { position: absolute; left: 12px; top: 11px; height: 2px; background: var(--forest); transform-origin: left; width: calc(100% - 24px); transform: scaleX(0); }

/* Compare */
.cs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.cs-compare__card { padding: 28px; border-radius: var(--r-md); background: var(--surface); }
.cs-compare__card.is-after { background: var(--forest); color: #fff; }
.cs-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(14,15,12,0.07); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.is-after .cs-tag { background: var(--lime); color: var(--forest); }
.cs-compare h4 { margin-top: 16px !important; font-size: 22px !important; letter-spacing: -0.02em; }
.cs-compare ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.cs-compare li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.is-after li { color: rgba(255,255,255,0.85); }
.cs-compare li i { flex: none; width: 14px; height: 2px; margin-top: 10px; background: var(--ink-3); border-radius: 2px; }
.cs-compare li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Phone strip */
.cs-phones { display: flex; gap: 16px; margin-top: 40px; padding: 40px 24px; border-radius: var(--r-lg); background: var(--forest); overflow: hidden; justify-content: center; }
.cs-phones img { width: calc((100% - 80px) / 6); min-width: 0; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.cs-phones img:nth-child(even) { transform: translateY(24px); }

/* Outcomes */
.cs-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.cs-outcomes article { padding: 28px; border-radius: var(--r-md); background: var(--surface); }
.cs-outcomes ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.cs-outcomes li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cs-outcomes svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--lime); fill: none; stroke: var(--forest); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.cs-next-steps { margin-top: 32px; }
.cs-next-steps .chips { margin-top: 14px; }

/* Next project */
.cs-nextproj { position: relative; display: block; margin-top: 112px; padding: 40px; min-height: 320px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.cs-nextproj img { position: absolute; right: -4%; bottom: -18%; width: 58%; border-radius: var(--r-sm); z-index: -1; transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(14,15,12,0.18); transition: transform .8s var(--ease); }
.cs-nextproj:hover img { transform: rotate(-1deg) translateY(-12px) scale(1.03); }
.cs-nextproj__title { display: block; margin-top: 16px; max-width: 46%; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: 0.95; letter-spacing: -0.045em; color: var(--forest); }
.cs-nextproj__co { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--forest); }
.cs-nextproj__co svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.cs-nextproj:hover .cs-nextproj__co svg { transform: translateX(6px); }

.cs-more { padding: 80px 0 120px; }
.cs-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.cs-more__img { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; }
.cs-more__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cs-more__card:hover .cs-more__img img { transform: scale(1.05); }
.cs-more__card h4 { margin-top: 14px !important; font-size: 16px !important; }
.cs-more__card p { margin-top: 4px; color: var(--ink-3); font-size: 14px; }

/* Footer */
.cs-foot { background: var(--lime); color: var(--forest); }
.cs-foot__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 96px var(--gutter) 32px; }
.cs-foot__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8vw, 112px); line-height: 0.88; letter-spacing: -0.055em; max-width: 900px; }
.cs-foot__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cs-foot__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(43,18,71,0.2); font-size: 14px; font-weight: 600; }
.cs-foot__links a:hover { text-decoration: underline; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4vmin; background: rgba(14,15,12,0.86); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r-sm); transform: scale(0.94); transition: transform .5s var(--spring); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 26px; font-weight: 700; line-height: 1; }

/* ---- Staff-level case study components ---- */
.cs-hero__frame { background-size: cover; background-position: center; }

/* TL;DR */
.cs-tldr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cs-tldr article { padding: 24px; border-radius: var(--r-md); background: var(--surface); }
.cs-tldr article.is-result { background: var(--forest); color: #fff; }
.cs-tldr__k { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.is-result .cs-tldr__k { color: var(--lime); }
.cs-tldr p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.is-result p { color: rgba(255,255,255,0.88); }
.cs-stats--4 { grid-template-columns: repeat(4, 1fr); }
.cs-stats--4 .cs-stat { padding: 24px; }

.cs-hmw { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.cs-opportunity b { color: var(--lime); font-weight: 700; }
.cs-lead-cards b { color: var(--ink); font-weight: 700; }

/* Process phases */
.cs-phases { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: ph; }
.cs-phases li { position: relative; padding: 22px 20px; background: var(--surface); counter-increment: ph; }
.cs-phases li:first-child { border-radius: var(--r-md) 8px 8px var(--r-md); }
.cs-phases li:last-child { border-radius: 8px var(--r-md) var(--r-md) 8px; background: var(--accent); }
.cs-phases li:not(:first-child):not(:last-child) { border-radius: 8px; }
.cs-phases__k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.cs-phases__k::before { content: '0' counter(ph) ' '; color: var(--forest); }
.cs-phases h4 { margin-top: 10px !important; }
.cs-phases p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Insight -> principle */
.cs-principles { display: grid; gap: 10px; margin-top: 18px; }
.cs-principles__row { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-md); border: 1.5px solid var(--line); transition: border-color .3s; }
.cs-principles__row:hover { border-color: var(--forest); }
.cs-principles__in { color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.cs-principles__out { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cs-principles__out b { display: block; color: var(--forest); font-size: 17px; margin-bottom: 2px; }
.cs-principles svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Decisions */
.cs-decisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cs-decisions article { padding: 24px; border-radius: var(--r-md); background: var(--surface); }
.cs-decisions__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--forest); color: var(--lime); font-weight: 800; font-size: 14px; }
.cs-decisions h4 { margin-top: 16px !important; font-size: 18px !important; line-height: 1.25; }
.cs-decisions dl { margin: 16px 0 0; display: grid; gap: 12px; }
.cs-decisions dl > div { padding-top: 12px; border-top: 1px solid var(--line); }
.cs-decisions dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.cs-decisions dd { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cs-decisions dl > div:last-child dt { color: var(--forest); }

/* Annotated screen */
.cs-anno { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 48px; align-items: center; margin-top: 18px; padding: 40px; border-radius: var(--r-lg); background: var(--forest); color: #fff; }
.cs-anno__phone { position: relative; }
.cs-anno__phone img { width: 100%; border-radius: 28px; box-shadow: 0 24px 50px rgba(0,0,0,0.4); }
.cs-anno__pin { position: absolute; right: -14px; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 13px; font-weight: 800; box-shadow: 0 0 0 4px rgba(205,176,255,0.3); }
.cs-anno__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: an; }
.cs-anno__list li { position: relative; padding-left: 44px; counter-increment: an; }
.cs-anno__list li::before { content: counter(an); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 13px; font-weight: 800; }
.cs-anno__list h4 { color: #fff; }
.cs-anno__list p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.75); }

/* Connection states */
.cs-states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.cs-state { padding: 24px; border-radius: var(--r-md); background: var(--surface); }
.cs-state__bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 22px; padding: 8px 10px; box-sizing: content-box; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cs-state__bars i { width: 5px; border-radius: 2px; background: rgba(14,15,12,0.15); }
.cs-state__bars i:nth-child(1) { height: 8px; } .cs-state__bars i:nth-child(2) { height: 14px; } .cs-state__bars i:nth-child(3) { height: 22px; }
.is-good .cs-state__bars i { background: #1e9e4a; }
.is-weak .cs-state__bars i:nth-child(-n+2) { background: #d98a00; }
.is-lost .cs-state__bars i:nth-child(1) { background: #d33b3b; animation: cs-blink 1.2s ease-in-out infinite; }
@keyframes cs-blink { 50% { opacity: .3; } }
.cs-state h4 { margin-top: 16px !important; }
.cs-state p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cs-note { margin-top: 16px; max-width: 720px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.cs-note b { color: var(--ink-2); }

.cs-quote--sm p { font-size: clamp(20px, 2.4vw, 26px); }

/* Outcome metrics */
.cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cs-metrics article { padding: 24px; border-radius: var(--r-md); border: 1.5px solid var(--line); transition: border-color .3s, transform .5s var(--spring); }
.cs-metrics article:hover { border-color: var(--forest); transform: translateY(-4px); }
.cs-metrics span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.cs-metrics strong { display: block; margin-top: 12px; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; letter-spacing: -0.04em; color: var(--forest); }
.cs-metrics p { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Learnings */
.cs-learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.cs-learn article { padding: 24px; border-radius: var(--r-md); background: var(--accent); }
.cs-learn p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 900px) {
  .cs-tldr, .cs-decisions, .cs-learn { grid-template-columns: 1fr; }
  .cs-stats--4, .cs-phases, .cs-metrics { grid-template-columns: 1fr 1fr; }
  .cs-phases li { border-radius: var(--r-md) !important; }
  .cs-anno { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .cs-anno__phone { max-width: 280px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .cs-states, .cs-metrics { grid-template-columns: 1fr; }
  .cs-principles__row { grid-template-columns: 1fr; gap: 10px; }
  .cs-principles svg { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .is-lost .cs-state__bars i:nth-child(1) { animation: none; } }

/* Page enter curtain */
.cs-curtain { position: fixed; inset: 0; z-index: 100; background: var(--forest); pointer-events: none; transform-origin: top; }

@media (max-width: 900px) {
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-num, .cs-lead-cards, .cs-more__grid { grid-template-columns: 1fr; }
  .cs-journey { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .cs-journey::before { display: none; }
  .cs-fig--wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  .cs-main { padding-top: 104px; }
  .cs-hero__frame { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .cs-sec { padding-top: 80px; }
  .cs-stats, .cs-facts, .cs-insights, .cs-grid2, .cs-compare, .cs-outcomes { grid-template-columns: 1fr; }
  .cs-facts > div + div { border-left: 0; border-top: 1.5px solid var(--line); }
  .cs-quote { padding: 28px; }
  .cs-phones { flex-wrap: wrap; gap: 12px; padding: 24px 16px 40px; }
  .cs-phones img { width: calc((100% - 24px) / 3); }
  .cs-nextproj { padding: 28px; min-height: 380px; }
  .cs-nextproj__title { max-width: 100%; }
  .cs-nextproj img { width: 78%; bottom: -12%; }
  .cs-opportunity { padding: 24px; }
}
