:root {
  --case-navy: #0b192c;
  --case-navy-soft: #14253a;
  --case-yellow: #ffd25d;
  --case-cream: #f4f1e9;
  --case-white: #ffffff;
  --case-ink: #101828;
  --case-grey: #697380;
  --case-line: rgba(11, 25, 44, 0.15);
}

html { scroll-behavior: smooth; }
body { background: var(--case-white); color: var(--case-ink); }
.page-wrapper { overflow: hidden; }
.case-shell { width: min(1320px, calc(100% - 80px)); margin: 0 auto; }
.case-section { padding: 120px 0; }
.case-section h2,
.case-related h2,
.case-cta h2 {
  color: var(--case-navy);
  font-family: var(--techguru-font-two, "Marcellus", serif);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin: 0;
}
.case-section h2 em,
.case-related h2 em,
.case-cta h2 em {
  color: var(--case-grey);
  font-style: normal;
}
.case-kicker,
.case-eyebrow,
.case-number {
  font-family: var(--techguru-font, "Space Grotesk", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin: 0 0 26px;
  text-transform: uppercase;
}
.case-kicker { color: var(--case-grey); }
.case-eyebrow { align-items: center; color: var(--case-yellow); display: flex; gap: 12px; }
.case-eyebrow > span { background: var(--case-yellow); display: inline-block; height: 2px; width: 34px; }

.case-hero {
  background: var(--case-navy);
  color: var(--case-white);
  min-height: 820px;
  overflow: hidden;
  padding-top: 212px;
  position: relative;
}
.case-hero::before {
  background: radial-gradient(circle, rgba(255, 210, 93, 0.17) 0, rgba(255, 210, 93, 0) 68%);
  content: "";
  height: 560px;
  left: -230px;
  position: absolute;
  top: -200px;
  width: 560px;
}
.case-hero__grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(460px, 0.97fr);
  min-height: 610px;
  position: relative;
}
.case-hero__content { align-self: center; padding: 70px 80px 80px 0; position: relative; z-index: 2; }
.case-hero h1 {
  color: var(--case-white);
  font-family: var(--techguru-font-two, "Marcellus", serif);
  font-size: clamp(54px, 5.2vw, 82px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
  margin: 0 0 34px;
  max-width: 780px;
}
.case-hero h1 em { color: var(--case-yellow); display: block; font-style: normal; }
.case-hero__lead { color: #c5c8cd; font-size: 19px; line-height: 1.75; margin: 0; max-width: 680px; }
.case-hero__meta { border-top: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-top: 48px; padding-top: 28px; }
.case-hero__meta div { min-width: 0; }
.case-hero__meta span { color: #8e99a7; display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 5px; text-transform: uppercase; }
.case-hero__meta strong { color: var(--case-white); display: block; font-size: 15px; font-weight: 500; line-height: 1.45; }
.case-hero__visual { margin: 0; min-height: 610px; overflow: hidden; position: relative; }
.case-hero__visual::after { background: linear-gradient(90deg, var(--case-navy) 0, rgba(11, 25, 44, 0) 24%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.case-hero__visual img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.case-hero__visual figcaption { align-items: center; background: var(--case-yellow); bottom: 0; color: var(--case-navy); display: flex; font-size: 12px; font-weight: 700; gap: 15px; left: 0; letter-spacing: 0.08em; padding: 18px 25px; position: absolute; right: 0; text-transform: uppercase; z-index: 2; }
.case-hero__visual figcaption span { border-right: 1px solid rgba(11, 25, 44, 0.35); font-size: 18px; padding-right: 15px; }

.case-breadcrumb { background: var(--case-cream); border-bottom: 1px solid var(--case-line); }
.case-breadcrumb .case-shell { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; min-height: 66px; }
.case-breadcrumb a,
.case-breadcrumb span { color: var(--case-grey); font-size: 13px; }
.case-breadcrumb a:hover { color: var(--case-navy); }
.case-breadcrumb span[aria-current="page"] { color: var(--case-navy); font-weight: 600; }

.case-overview { background: var(--case-white); }
.case-overview__grid { display: grid; gap: 9%; grid-template-columns: 0.83fr 1.17fr; }
.case-overview__copy { border-left: 1px solid var(--case-line); padding-left: 11%; }
.case-overview__copy p { color: var(--case-grey); font-size: 17px; line-height: 1.9; margin: 0 0 20px; }
.case-overview__copy .case-lede { color: var(--case-navy); font-family: var(--techguru-font-two, "Marcellus", serif); font-size: 25px; line-height: 1.55; }
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.case-tags span { border: 1px solid var(--case-line); color: var(--case-navy); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 11px 15px; text-transform: uppercase; }

.case-activation { background: var(--case-white); border-top: 1px solid var(--case-line); }
.case-activation--cream { background: var(--case-cream); }
.case-activation__grid { align-items: center; display: grid; gap: 9%; grid-template-columns: 1.08fr 0.92fr; }
.case-activation__grid--reverse .case-activation__media { order: 2; }
.case-activation__grid--reverse .case-activation__content { order: 1; }
.case-activation__media { min-height: 590px; position: relative; }
.case-activation__media img { display: block; object-fit: cover; }
.case-stack img:first-child { height: 500px; width: 82%; }
.case-stack img:last-child { border: 12px solid var(--case-white); bottom: -35px; height: 275px; object-position: center; position: absolute; right: 0; width: 48%; }
.case-activation--cream .case-stack img:last-child { border-color: var(--case-cream); }
.case-activation__media--single { min-height: 520px; }
.case-activation__media--single img { height: 520px; width: 100%; }
.case-number { color: var(--case-grey); }
.case-number span { color: var(--case-yellow); padding: 0 8px; }
.case-activation__content h2 { margin-bottom: 32px; }
.case-activation__content > p:not(.case-number) { color: var(--case-grey); font-size: 17px; line-height: 1.85; margin: 0 0 18px; }
.case-checks { border-top: 1px solid var(--case-line); list-style: none; margin: 34px 0 0; padding: 20px 0 0; }
.case-checks li { color: var(--case-navy); font-size: 15px; font-weight: 600; padding: 7px 0 7px 29px; position: relative; }
.case-checks li::before { color: #b98b00; content: "✓"; font-size: 15px; font-weight: 700; left: 0; position: absolute; top: 7px; }

.case-activation--navy { background: var(--case-navy); border: 0; }
.case-activation--navy .case-stack img:last-child { border-color: var(--case-navy); }
.case-activation--navy h2 { color: var(--case-white); }
.case-activation--navy h2 em { color: var(--case-yellow); }
.case-activation--navy .case-number { color: var(--case-yellow); }
.case-activation--navy .case-activation__content > p:not(.case-number) { color: #c5c8cd; }
.case-activation--navy .case-checks { border-color: rgba(255,255,255,.15); }
.case-activation--navy .case-checks li { color: var(--case-white); }
.case-activation--navy .case-checks li::before { color: var(--case-yellow); }

.case-gallery { background: var(--case-white); }
.case-heading-row { align-items: end; display: grid; gap: 10%; grid-template-columns: 1.25fr .75fr; margin-bottom: 55px; }
.case-heading-row > p { color: var(--case-grey); font-size: 16px; line-height: 1.8; margin: 0 0 6px; }
.case-gallery__grid { display: grid; gap: 20px; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 295px); }
.case-gallery__grid figure { background: var(--case-cream); margin: 0; overflow: hidden; }
.case-gallery__grid .case-gallery__wide { grid-row: 1 / 3; }
.case-gallery__grid img { height: 100%; object-fit: cover; transition: transform .7s ease; width: 100%; }
.case-gallery__grid figure:hover img { transform: scale(1.03); }

.case-video { background: var(--case-cream); }
.case-video__grid { align-items: center; display: grid; gap: 8%; grid-template-columns: .72fr 1.28fr; }
.case-video__intro > p:last-child { color: var(--case-grey); font-size: 16px; line-height: 1.8; margin: 28px 0 0; }
.case-video__intro code { background: rgba(11,25,44,.08); color: var(--case-navy); padding: 2px 5px; }
.case-video__frame { aspect-ratio: 16 / 9; background: var(--case-navy); box-shadow: 22px 22px 0 rgba(11,25,44,.08); overflow: hidden; position: relative; }
.case-video__frame iframe { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }
.case-video__placeholder { align-items: center; color: var(--case-white); display: flex; flex-direction: column; inset: 0; justify-content: center; padding: 30px; position: absolute; text-align: center; }
.case-video__placeholder::before { background: linear-gradient(135deg, rgba(255,210,93,.18), transparent 58%); content: ""; inset: 0; position: absolute; }
.case-video__placeholder > * { position: relative; }
.case-video__play { align-items: center; background: var(--case-yellow); border-radius: 50%; color: var(--case-navy); display: flex; height: 76px; justify-content: center; margin-bottom: 22px; width: 76px; }
.case-video__placeholder strong { font-family: var(--techguru-font-two, "Marcellus", serif); font-size: 28px; font-weight: 400; }
.case-video__placeholder > span:last-child { color: #c5c8cd; font-size: 13px; margin-top: 7px; }

.case-related { background: var(--case-yellow); padding: 80px 0; }
.case-related__grid { align-items: end; display: grid; gap: 50px; grid-template-columns: 1fr auto; }
.case-related .case-kicker { color: rgba(11,25,44,.7); margin-bottom: 18px; }
.case-related h2 { font-size: clamp(36px, 3.5vw, 54px); max-width: 850px; }
.case-text-link { align-items: center; border-bottom: 1px solid var(--case-navy); color: var(--case-navy); display: inline-flex; font-size: 15px; font-weight: 700; gap: 18px; padding: 0 0 10px; white-space: nowrap; }
.case-text-link span { font-size: 20px; transition: transform .25s ease; }
.case-text-link:hover { color: var(--case-navy); }
.case-text-link:hover span { transform: translate(3px, -3px); }

.case-cta { background: var(--case-navy-soft); color: var(--case-white); padding: 105px 0; }
.case-cta__inner { align-items: end; display: flex; gap: 50px; justify-content: space-between; }
.case-cta h2 { color: var(--case-white); font-size: clamp(42px, 4.2vw, 64px); }
.case-cta h2 em { color: var(--case-yellow); }
.case-btn { align-items: center; background: var(--case-yellow); color: var(--case-navy); display: inline-flex; flex: 0 0 auto; font-size: 14px; font-weight: 700; gap: 20px; justify-content: center; min-height: 62px; padding: 0 28px; }
.case-btn:hover { background: var(--case-white); color: var(--case-navy); }
.case-btn span { font-size: 19px; }

@media (max-width: 1199px) {
  .case-shell { width: min(100% - 50px, 1140px); }
  .case-hero { padding-top: 175px; }
  .case-hero__grid { grid-template-columns: 1fr .9fr; }
  .case-hero__content { padding-right: 48px; }
  .case-activation__grid { gap: 6%; }
}

@media (max-width: 991px) {
  .case-section { padding: 90px 0; }
  .case-hero__grid { grid-template-columns: 1fr; }
  .case-hero__content { padding: 70px 0; }
  .case-hero__visual { min-height: 560px; }
  .case-hero__visual::after { background: linear-gradient(180deg, var(--case-navy) 0, rgba(11,25,44,0) 28%); }
  .case-overview__grid,
  .case-activation__grid,
  .case-heading-row,
  .case-video__grid { gap: 50px; grid-template-columns: 1fr; }
  .case-overview__copy { border-left: 0; border-top: 1px solid var(--case-line); padding: 38px 0 0; }
  .case-activation__grid--reverse .case-activation__media { order: 1; }
  .case-activation__grid--reverse .case-activation__content { order: 2; }
  .case-activation__media { min-height: 550px; }
  .case-activation__media--single { min-height: 500px; }
  .case-activation__media--single img { height: 500px; }
  .case-heading-row { align-items: start; }
  .case-heading-row > p { max-width: 650px; }
  .case-video__intro { max-width: 700px; }
  .case-related__grid { align-items: start; grid-template-columns: 1fr; }
  .case-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .case-shell { width: calc(100% - 34px); }
  .case-section { padding: 72px 0; }
  .case-section h2,
  .case-related h2,
  .case-cta h2 { font-size: 40px; }
  .case-hero { min-height: 0; padding-top: 140px; }
  .case-hero__content { padding: 55px 0 58px; }
  .case-hero h1 { font-size: 48px; }
  .case-hero__lead { font-size: 17px; }
  .case-hero__meta { gap: 18px; grid-template-columns: 1fr; margin-top: 38px; }
  .case-hero__visual { min-height: 430px; }
  .case-hero__visual figcaption { font-size: 10px; }
  .case-breadcrumb .case-shell { padding: 14px 0; }
  .case-overview__copy .case-lede { font-size: 22px; }
  .case-activation__media { min-height: 430px; }
  .case-stack img:first-child { height: 380px; width: 88%; }
  .case-stack img:last-child { border-width: 8px; bottom: -20px; height: 200px; width: 50%; }
  .case-activation__media--single { min-height: 360px; }
  .case-activation__media--single img { height: 360px; }
  .case-gallery__grid { grid-template-columns: 1fr; grid-template-rows: 360px 260px 260px; }
  .case-gallery__grid .case-gallery__wide { grid-row: auto; }
  .case-video__frame { box-shadow: 12px 12px 0 rgba(11,25,44,.08); }
  .case-related { padding: 65px 0; }
  .case-cta { padding: 80px 0; }
}

@media (max-width: 480px) {
  .case-hero h1 { font-size: 42px; }
  .case-section h2,
  .case-related h2,
  .case-cta h2 { font-size: 36px; }
  .case-hero__visual { min-height: 360px; }
  .case-hero__visual figcaption { padding: 14px 16px; }
  .case-stack img:first-child { height: 330px; width: 92%; }
  .case-stack img:last-child { height: 170px; width: 54%; }
  .case-activation__media { min-height: 375px; }
  .case-gallery__grid { grid-template-rows: 290px 220px 220px; }
  .case-video__placeholder strong { font-size: 22px; }
  .case-video__play { height: 62px; width: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case-gallery__grid img,
  .case-text-link span { transition: none; }
}
