.case-index { overflow: hidden; color: var(--ink); background: var(--paper); }
.case-index-header { position: relative; z-index: 10; display: grid; width: min(1800px, calc(100% - 52px)); min-height: 90px; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 18px auto 0; padding: 0 24px; background: rgba(250,249,244,.96); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft); }
.case-index-header .brand { justify-self: start; }
.case-index-header nav { display: flex; gap: 34px; font-size: 12px; font-weight: 700; }
.case-index-header nav a { padding: 32px 0 28px; border-bottom: 2px solid transparent; }
.case-index-header nav a:hover, .case-index-header nav a[aria-current="page"] { color: var(--copper); border-color: var(--copper); }
.case-index-header .header-cta { justify-self: end; }
.case-index-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 9vw, 160px); align-items: end; padding: 105px max(50px, calc((100vw - 1440px) / 2)) 90px; }
.case-index-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--copper); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.case-index-kicker span { width: 30px; height: 1px; background: currentColor; }
.case-index-hero h1, .featured-case h2, .reference-heading h2, .evidence-standard h2, .case-index-cta h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: -.055em; }
.case-index-hero h1 { font-size: clamp(64px, 7.5vw, 118px); }
.case-index-hero h1 em, .featured-case h2 em, .reference-heading h2 em, .evidence-standard h2 em, .case-index-cta h2 em { color: var(--copper); font-weight: 400; }
.case-index-intro { max-width: 620px; }
.case-index-intro > p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.case-index-intro dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line); }
.case-index-intro dl div { padding: 22px 16px 0 0; }
.case-index-intro dt { color: var(--forest); font-family: var(--display); font-size: 38px; }
.case-index-intro dd { margin: 3px 0 0; color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }
.featured-case { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 760px; color: var(--white); background: var(--forest-deep); }
.featured-case-media { position: relative; display: grid; min-height: 700px; place-items: center; overflow: hidden; background: #d6b57f; }
.featured-case-media::after { position: absolute; inset: 9%; content: ""; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.featured-case-media img { position: relative; z-index: 1; width: min(76%, 760px); height: auto; filter: drop-shadow(0 38px 45px rgba(30,32,22,.28)); mix-blend-mode: multiply; transform: rotate(-2deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.featured-case-media:hover img { transform: rotate(1deg) scale(1.035); }
.featured-case-media > span { position: absolute; z-index: 2; top: 28px; left: 30px; padding: 8px 11px; color: var(--forest-deep); background: var(--paper); border-radius: 99px; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.featured-case-copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(50px, 7vw, 115px); }
.featured-case-copy > p:first-child { color: var(--copper-light); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.featured-case h2 { font-size: clamp(52px, 5.4vw, 84px); }
.featured-case-copy > p:not(:first-child) { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.64); line-height: 1.8; }
.featured-case ul { margin: 30px 0 38px; padding: 0; color: rgba(255,255,255,.78); list-style: none; }
.featured-case li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.featured-case-copy .text-link { margin-left: 24px; color: var(--white); }
.reference-section { padding: 120px max(50px, calc((100vw - 1440px) / 2)); }
.reference-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: end; }
.reference-heading h2, .evidence-standard h2, .case-index-cta h2 { font-size: clamp(50px, 5vw, 78px); }
.reference-heading > p { margin: 0 0 8px; color: var(--ink-soft); line-height: 1.8; }
.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 65px; }
.reference-grid article { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.reference-grid article:hover { box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.reference-grid article > a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f8f8f6; }
.reference-grid img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.reference-grid article:hover img { transform: scale(1.035); }
.reference-grid article > div { padding: 28px; }
.reference-grid small { color: var(--copper); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.reference-grid h3 { min-height: 58px; margin: 12px 0; font-family: var(--display); font-size: 25px; font-weight: 500; line-height: 1.15; }
.reference-grid p { min-height: 82px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.72; }
.reference-grid article div > span { display: block; margin: 20px 0; padding-top: 18px; color: var(--forest); border-top: 1px solid var(--line); font-size: 9px; font-weight: 700; }
.reference-link { font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.evidence-standard { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 170px); padding: 115px max(50px, calc((100vw - 1440px) / 2)); color: var(--white); background: var(--forest-deep); }
.evidence-standard .case-index-kicker { color: var(--copper-light); }
.evidence-standard h2 em { color: var(--copper-light); }
.evidence-standard > div:last-child > p { margin: 0 0 35px; color: rgba(255,255,255,.6); line-height: 1.8; }
.evidence-standard ol { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.evidence-standard li { display: grid; grid-template-columns: 62px 1fr; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.evidence-standard li b { color: var(--copper-light); font-family: var(--display); font-size: 24px; font-weight: 400; }
.evidence-standard li span { align-self: center; color: rgba(255,255,255,.78); font-size: 11px; }
.case-index-cta { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(50px, 10vw, 170px); align-items: end; padding: 110px max(50px, calc((100vw - 1440px) / 2)) 130px; }
.case-index-cta > div:first-child > p { color: var(--copper); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.case-index-cta > div:last-child > p { margin: 0 0 30px; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 980px) {
  .case-index-header { grid-template-columns: 1fr auto; }
  .case-index-header nav { display: none; }
  .case-index-hero, .featured-case, .reference-heading, .evidence-standard, .case-index-cta { grid-template-columns: 1fr; }
  .featured-case-media { min-height: 590px; }
  .reference-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .case-index-header { width: calc(100% - 20px); min-height: 76px; margin-top: 10px; padding: 0 12px; border-radius: 20px; }
  .case-index-header .header-cta { width: 44px; padding: 0; }
  .case-index-header .header-cta span { display: none; }
  .case-index-hero { padding: 74px 20px 66px; }
  .case-index-hero h1 { font-size: 64px; }
  .case-index-intro dl { grid-template-columns: 1fr; }
  .case-index-intro dl div { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; padding-top: 14px; }
  .featured-case-media { min-height: 420px; }
  .featured-case-copy { padding: 58px 22px 68px; }
  .featured-case-copy .text-link { display: inline-flex; margin: 22px 0 0; }
  .reference-section, .evidence-standard, .case-index-cta { padding: 78px 20px; }
  .reference-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .reference-grid h3, .reference-grid p { min-height: 0; }
  .evidence-standard h2, .case-index-cta h2, .reference-heading h2 { font-size: 50px; }
}
