.case-page { background: var(--cream); }
.case-page em { color: var(--orange); font-style: normal; }

.case-hero { position: relative; min-height: min(54rem, 100svh); overflow: hidden; background: #101719; color: var(--cream); }
.case-hero-image, .case-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-hero-image { object-fit: cover; object-position: center; }
.case-hero-shade { background: linear-gradient(90deg, rgba(13,18,20,.9) 0%, rgba(13,18,20,.52) 52%, rgba(13,18,20,.16) 78%), linear-gradient(0deg, rgba(13,18,20,.75), transparent 54%); }
.case-hero-copy { position: relative; z-index: 1; display: flex; min-height: min(54rem, 100svh); flex-direction: column; justify-content: flex-end; padding-bottom: clamp(6rem, 10vw, 9rem); }
.case-hero-copy .eyebrow { margin-bottom: 1.5rem; }
.case-hero h1 { max-width: 920px; margin: 0; font-size: clamp(4.2rem, 9vw, 9.5rem); line-height: .8; letter-spacing: -.07em; }
.case-standfirst { max-width: 38rem; margin: 2.5rem 0 0 28%; color: rgba(237,227,214,.76); font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.6; }
.case-scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: 2rem; display: inline-flex; gap: .8rem; align-items: center; font-size: .55rem; font-weight: 700; letter-spacing: .14em; }

.case-overview, .case-gallery { background: var(--cream); color: var(--ink); }
.case-intro-grid, .case-work-grid { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(3rem, 9vw, 10rem); align-items: end; }
.case-copy { color: rgba(33,33,33,.67); font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.7; }
.case-copy.light { color: rgba(237,227,214,.65); }
.case-copy p { margin: 0; }
.case-copy p + p { margin-top: 1.2rem; }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(5rem, 9vw, 9rem) 0 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.case-facts div { padding: 1.5rem; border-right: 1px solid var(--line-dark); }
.case-facts div:first-child { padding-left: 0; }
.case-facts div:last-child { border-right: 0; }
.case-facts dt { margin-bottom: .7rem; color: rgba(33,33,33,.45); font-size: .49rem; font-weight: 700; letter-spacing: .14em; }
.case-facts dd { margin: 0; font-size: clamp(.9rem, 1.3vw, 1.15rem); font-weight: 700; }

.case-work { background: var(--ink); color: var(--cream); }
.case-wide-image { margin: clamp(4rem, 9vw, 9rem) 0 0; }
.case-wide-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #0f1719; }
.case-wide-image figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 2px solid var(--orange); color: rgba(237,227,214,.55); font-size: .48rem; letter-spacing: .12em; }
.case-deliverables { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(4rem, 8vw, 8rem); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.case-deliverables article { padding: 2rem; border-right: 1px solid var(--line-light); }
.case-deliverables article:first-child { padding-left: 0; }
.case-deliverables article:last-child { border-right: 0; }
.case-deliverables span { color: var(--orange); font-size: .55rem; font-weight: 700; }
.case-deliverables h3 { margin: 2.5rem 0 .9rem; font-size: clamp(1.4rem, 2.2vw, 2.3rem); letter-spacing: -.04em; }
.case-deliverables p { margin: 0; color: rgba(237,227,214,.58); line-height: 1.65; }

.case-assets { border-bottom: 1px solid var(--line-dark); background: var(--cream-light); color: var(--ink); }
.case-assets-intro { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(3rem, 9vw, 10rem); align-items: end; }
.asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(4rem, 8vw, 8rem); }
.asset-card { min-width: 0; margin: 0; }
.asset-card-wide { grid-column: 1 / -1; }
.asset-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid rgba(33,33,33,.12); background: var(--cream); object-fit: contain; }
.asset-card figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem .1rem 0; border-top: 2px solid var(--orange); color: rgba(33,33,33,.58); font-size: .48rem; letter-spacing: .12em; }
.asset-card figcaption span:first-child { color: var(--ink); font-weight: 700; }

.case-gallery > .display-title { margin-bottom: clamp(4rem, 8vw, 8rem); }
.gallery-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(1rem, 2vw, 2rem); }
.gallery-grid figure { margin: 0; overflow: hidden; background: #111; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.gallery-large { grid-column: 1 / -1; }
.gallery-note { display: flex; flex-direction: column; justify-content: flex-start; gap: 1.25rem; min-height: 12rem; padding: 1.5rem; background: var(--orange); color: var(--ink); }
.gallery-note p { margin: 0; }
.gallery-note p:first-child { font-size: .55rem; font-weight: 700; letter-spacing: .14em; }
.gallery-note p:last-child { max-width: 27rem; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; }

.case-next { background: var(--ink); color: var(--cream); }
.case-next h2 { margin: 2rem 0 3rem; font-size: clamp(3.2rem, 7vw, 7.5rem); line-height: .85; letter-spacing: -.06em; }
.case-next-actions { display: flex; gap: 2rem; align-items: center; }

@media (max-width: 980px) {
  .case-intro-grid, .case-work-grid, .case-assets-intro { grid-template-columns: 1fr; }
  .case-standfirst { margin-left: 0; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts div:nth-child(2) { border-right: 0; }
  .case-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 680px) {
  .case-hero { min-height: 46rem; }
  .case-hero-image { object-position: 58% center; }
  .case-hero-copy { min-height: 46rem; padding-bottom: 7rem; }
  .case-hero h1 { font-size: clamp(4rem, 21vw, 6.2rem); }
  .case-standfirst { max-width: 30rem; margin-top: 1.8rem; }
  .case-scroll { right: auto; left: var(--gutter); }
  .case-facts, .case-deliverables, .asset-grid, .gallery-grid { grid-template-columns: 1fr; }
  .case-facts div, .case-facts div:first-child { padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .case-facts div:nth-child(2) { border-right: 0; }
  .case-facts div:last-child { border-bottom: 0; }
  .case-wide-image figcaption { align-items: flex-start; flex-direction: column; }
  .case-deliverables article, .case-deliverables article:first-child { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .case-deliverables article:last-child { border-bottom: 0; }
  .asset-card-wide { grid-column: auto; }
  .asset-card figcaption { align-items: flex-start; flex-direction: column; }
  .gallery-large { grid-column: auto; }
  .case-next-actions { align-items: flex-start; flex-direction: column; }
}
