/* ============ Case-study page layout ============ */

.cs-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.cs-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vw, 52px); }
.cs-hero__title { max-width: 16ch; margin: 0; }
.cs-hero__media { aspect-ratio: 16 / 9; margin-top: clamp(36px, 6vw, 72px); box-shadow: 0 40px 120px -50px rgba(0,0,0,0.9); }

/* meta + prose grid */
.cs-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cs-meta { position: sticky; top: 104px; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.cs-meta__row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cs-meta__k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cs-meta__v { font-size: 16px; color: var(--ink); }
@media (max-width: 860px) { .cs-grid { grid-template-columns: 1fr; } .cs-meta { position: static; } }

/* prose */
.cs-prose { max-width: 68ch; }
.cs-prose > * + * { margin-top: 24px; }
.cs-prose p { font-size: var(--t-body-lg); line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.cs-prose p strong, .cs-prose strong { color: var(--ink); font-weight: 600; }
.cs-prose h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--t-h3); color: var(--ink); margin-top: 48px; letter-spacing: -0.01em; }
.cs-prose .eyebrow { margin-top: 48px; }
.cs-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.cs-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: var(--t-body-lg); line-height: 1.5; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 1.5px; background: var(--accent-bright); }
.cs-lead { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--ink) !important; letter-spacing: -0.01em; }

/* gallery */
.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.cs-figure { margin: 0; }
.cs-figure .frame { aspect-ratio: 3 / 2; }
.cs-figure--wide { grid-column: 1 / -1; }
.cs-figure--wide .frame { aspect-ratio: 16 / 8; }
.cs-figure--tall .frame { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .cs-gallery { grid-template-columns: 1fr; } .cs-figure--wide .frame { aspect-ratio: 3/2; } }

/* result band */
.cs-result-band { background: var(--accent); color: #fff; padding: clamp(56px, 9vw, 120px) 0; }
.cs-result-band__inner { max-width: 800px; }
.cs-result-band .eyebrow { color: rgba(255,255,255,0.85); }
.cs-result-band__title { margin: 18px 0 0; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; }

/* next project */
.cs-next { border-top: 1px solid var(--line); }
.cs-next a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(36px, 6vw, 64px) 0; }
.cs-next__label { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.cs-next__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.02em; transition: color var(--ease) 240ms; }
.cs-next a:hover .cs-next__title { color: var(--accent-bright); }
.cs-next__arrow { width: 34px; height: 34px; color: var(--ink-2); flex: none; transition: transform var(--ease) 300ms, color var(--ease) 240ms; }
.cs-next a:hover .cs-next__arrow { transform: translateX(10px); color: var(--accent-bright); }
