.studies-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(260px, 31vw, 460px); overflow: hidden; background: var(--navy); color: white; }
.studies-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 24%, #051b49c9 55%, var(--navy) 76%); }
.studies-hero .wrap { padding-block: 54px; display: flex; justify-content: flex-end; }
.studies-hero h1 { font-size: clamp(52px, 8vw, 120px); max-width: 6ch; }
.portfolio-collage { position: absolute; z-index: -2; left: -9%; top: 50%; width: min(85%, 1060px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(6px,1vw,16px); transform: translateY(-50%) rotate(-15deg) scale(1.06); }
.portfolio-collage .study-art { border-radius: 9px; }
.study-intro { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: 28px; padding-block: clamp(36px, 5vw, 72px); }
.study-intro h2 { font-size: clamp(36px, 5vw, 68px); }
.study-intro h2 span { color: #a74300; }
.study-intro p { margin: 3px 0 0; max-width: 54ch; color: var(--ink); font-size: clamp(17px, 1.7vw, 22px); }
.study-library { background: white; padding-block: clamp(24px, 4vw, 54px); }
.study-disclosure { margin: 0 0 14px; color: var(--ink); font-size: 14px; }
.study-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.study-card { border-radius: 14px; background: white; border: 1px solid var(--line); }
.study-art { display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: #e3eaf7; }
.study-card .study-art { aspect-ratio: 4 / 3; }
.study-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.study-mock { display: block; position: absolute; inset: 10% 12%; overflow: hidden; background: white; padding: 4%; box-shadow: 0 8px 18px #051b4926; }
.study-mock span { display: block; border-bottom: 1px solid var(--line); font-size: 9px; margin-bottom: 6px; }
.study-mock strong { position: relative; z-index: 1; font: 800 clamp(19px,3vw,48px)/.98 Jakarta,sans-serif; }
.study-mock::after { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 55% 45% 0 0; background: var(--orange); right: -10%; bottom: -64%; transform: rotate(25deg); }
.study-copy { position: absolute; inset: auto 0 0; display: flex; flex-direction: column-reverse; padding: 48px 56px 18px 18px; color: white; background: linear-gradient(transparent, #051331 70%); }
.study-topic { display: block; color: #e4ebf8; font-size: 14px; font-weight: 500; margin-top: 4px; }
.study-title { display: block; font: 800 clamp(18px,2vw,26px)/1.15 Jakarta,sans-serif; letter-spacing: -.035em; }
.study-open { position: absolute; right: 13px; bottom: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); }
.studies-contact { background: var(--orange); padding-block: clamp(28px,5vw,60px); }
.studies-contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.studies-contact h2 { font-size: clamp(32px,5vw,60px); }
.studies-contact .button { gap: 8px; }
@media (max-width: 560px) {
  .study-intro { grid-template-columns: minmax(0,1fr); }
  .study-intro { gap: 14px; }
  .portfolio-collage { width: 110%; left: -28%; }
  .studies-hero::after { background: linear-gradient(90deg, #051b4944, #051b49df 72%); }
}
.study-link { display: block; position: relative; border-radius: 14px; overflow: hidden; text-decoration: none; }
.study-link:hover .study-title { text-decoration: underline; text-underline-offset: 4px; }
.study-link:hover .study-open { background: var(--orange); color: var(--navy); }
.case-page-hero { background: var(--navy); color: white; padding-block: clamp(30px, 6vw, 88px); }
.case-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 72px); align-items: center; }
.case-page-grid h1 { font-size: clamp(42px, 6vw, 88px); }
.case-back { font-weight: 700; text-underline-offset: 4px; }
.case-kicker { margin: 24px 0 10px; color: #ff9b53; font-weight: 700; font-size: 14px; }
.case-lead { margin: 18px 0 0; color: #dce4f4; font-size: clamp(18px, 2vw, 24px); }
.case-page-grid > .study-art { aspect-ratio: 4 / 3; border-radius: 16px; }
.case-page-story { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: clamp(36px, 6vw, 88px); }
.case-page-story section { border-top: 2px solid var(--orange); padding-top: 18px; }
.case-page-story h2 { font-size: clamp(24px, 3vw, 40px); }
.case-page-story p { margin: 12px 0 0; color: var(--ink); }
.case-page-next { display: flex; justify-content: space-between; align-items: start; border-top: 1px solid var(--line); padding-block: 24px 36px; }
.case-page-next strong { display: block; }
@media(max-width: 760px) {
  .case-page-grid, .case-page-story { grid-template-columns: 1fr; }
  .case-page-next { flex-direction: column; gap: 16px; }
}

.case-creatives { padding-bottom: clamp(32px, 5vw, 72px); }
.case-creatives h2 { font-size: clamp(32px, 4.5vw, 56px); }
.case-creatives p { margin: 8px 0 20px; color: var(--ink); }
.case-creatives-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.case-creatives-grid li { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.case-creatives-grid li > span:last-child { display: block; padding: 10px 14px; }
.creative-placeholder { display: block; aspect-ratio: 4 / 5; background: #eef2fa radial-gradient(circle, #c7d2e6 1px, transparent 1px) center / 15px 15px; }
@media (max-width: 560px) { .case-creatives-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }


@media (max-width: 900px) {
  .study-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .study-grid { grid-template-columns: minmax(0, 1fr); }
}

.sample-art { display: grid; align-items: start; container-type: inline-size; isolation: isolate; }
.sample-art-headline { width: min(72%, 13ch); padding: 9% 0 0 9%; font: 800 clamp(26px, 12cqi, 78px)/.94 Jakarta, sans-serif; letter-spacing: -.055em; }
.sample-art::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 12%; width: 61%; aspect-ratio: 1; border-radius: 50%; }
.sample-art--daymark { background: #f3d294; color: #632c20; }
.sample-art--daymark::before { background: repeating-radial-gradient(circle, #cf5030 0 9%, #ef9652 10% 14%); }
.sample-art--tideline { background: #165750; color: #f5f2cf; }
.sample-art--tideline::before { background: #b5d880; border-radius: 30% 60% 45% 65%; transform: rotate(-25deg); }
.sample-art--offbeat { background: #cdc2f6; color: #301961; }
.sample-art--offbeat::before { background: repeating-linear-gradient(135deg, #704dc2 0 8%, #9a78e2 8% 12%); }

.case-index .studies-contact h2{color:#fff}
.case-index .studies-contact .button,.case-index .studies-contact .button:hover{text-decoration:none}

/* Readable case study introduction on the navy page canvas. */
.case-index .study-intro { color:#fff; opacity:1; }
.case-index .study-intro h2 { color:#fff; }
.case-index .study-intro h2 span { color:#ff6a00; }
.case-index .study-intro p { color:#dce6f7; opacity:1; }
