@import url('styles.css');
@import url('image-slots.css');
.case-hero {
  padding:170px 0 95px;
  background:var(--surface)
}
.case-hero-grid {
  display:grid;
  grid-template-columns:1fr .75fr;
  gap:75px;
  align-items:end
}
.case-hero h1 {
  max-width:800px;
  margin:18px 0 25px;
  font-family:var(--heading);
  font-size:clamp(4rem,9vw,9rem);
  line-height:.82;
  letter-spacing:-.1em
}
.case-hero p {
  max-width:590px;
  color:var(--muted);
  font-size:1.1rem
}
.case-meta {
  padding-left:18px;
  border-left:3px solid var(--green);
  color:var(--muted);
  font-size:.86rem
}
.case-cover {
  margin-top:55px
}
.case-cover img {
  display:block;
  width:100%;
  max-height:650px;
  object-fit:contain;
  background:#f2f2f2
}
.case-section {
  padding:110px 0
}
.case-section:nth-of-type(even) {
  background:var(--surface)
}
.case-section-header {
  display:block;
  margin-bottom:45px
}
.case-number {
  color:var(--green);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase
}
.case-section-header h2 {
  max-width:1000px;
  margin:20px 0 0;
  font-family:var(--heading);
  font-size:clamp(3.2rem,7vw,7rem);
  line-height:.84;
  letter-spacing:-.095em
}
.case-section-header p {
  max-width:650px;
  margin:28px 0 0;
  color:var(--muted);
  font-size:1.03rem
}
.case-copy {
  max-width:750px;
  margin:0 auto 45px
}
.case-copy h3 {
  font-size:1.7rem
}
.case-copy p {
  color:var(--muted)
}
.case-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px
}
.case-grid.three {
  grid-template-columns:repeat(3,1fr)
}
.case-asset {
  padding:16px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#f8f8f8
}
.image-slot-placeholder {
  display:grid;
  min-height:330px;
  place-items:center;
  border:1px dashed #aaa;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-align:center
}
.case-asset figcaption {
  margin-bottom:13px;
  color:var(--muted);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase
}
.case-asset img {
  display:block;
  width:100%;
  height:330px;
  object-fit:contain;
  background:#fff
}
.case-asset.full {
  grid-column:1/-1
}
.case-quote {
  max-width:850px;
  margin:50px auto 0;
  padding:30px 0 30px 22px;
  border-left:4px solid var(--green);
  font-family:var(--heading);
  font-size:clamp(1.8rem,3.5vw,3.4rem);
  line-height:.95;
  letter-spacing:-.07em
}
.case-footer {
  padding:70px 0;
  background:var(--ink);
  color:#fff
}
.case-footer h2 {
  max-width:800px;
  font-family:var(--heading);
  font-size:clamp(3rem,7vw,7rem);
  line-height:.84;
  letter-spacing:-.095em
}
.case-footer a {
  display:inline-block;
  margin-top:25px;
  color:var(--mint);
  font-weight:800;
  text-decoration:none
}
.case-reflection {
  padding:110px 0;
  background:var(--mint)
}
.case-reflection-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}
.case-reflection-card {
  padding:25px;
  border-left:3px solid var(--green);
  background:rgba(255,255,255,.58)
}
.case-reflection-card strong {
  display:block;
  margin-bottom:10px;
  color:var(--green);
  font-size:.7rem;
  letter-spacing:.1em;
  text-transform:uppercase
}
.case-reflection-card p {
  margin:0;
  color:rgba(24,24,24,.75)
}
.case-prototype {
  padding:110px 0;
  background:var(--surface)
}
.figma-embed {
  min-height:520px;
  margin-top:45px;
  border:1px solid var(--line);
  background:#f3f4f4
}
.figma-embed iframe {
  display:block;
  width:100%;
  min-height:520px;
  border:0
}
.figma-placeholder {
  display:grid;
  min-height:520px;
  place-items:center;
  padding:35px;
  color:var(--muted);
  text-align:center
}
.enlargeable-image {
  cursor:zoom-in
}
.enlargeable-image:focus-visible {
  outline:3px solid var(--green);
  outline-offset:4px
}
.image-lightbox {
  width:min(94vw,1200px);
  max-width:none;
  padding:32px;
  border:0;
  background:rgba(24,24,24,.96);
  color:#fff
}
.image-lightbox::backdrop {
  background:rgba(0,0,0,.78)
}
.image-lightbox-image {
  display:block;
  width:100%;
  max-height:78vh;
  object-fit:contain
}
.image-lightbox-caption {
  margin:16px 0 0;
  color:rgba(255,255,255,.78);
  font-size:.82rem
}
.image-lightbox-close {
  position:absolute;
  top:7px;
  right:12px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer
}
@media(max-width:760px) {
  .case-hero-grid,.case-section-header,.case-grid,.case-grid.three,.case-reflection-grid {
    grid-template-columns:1fr;
    gap:32px
  }
  .case-hero {
    padding-top:130px
  }
  .case-asset.full {
    grid-column:auto
  }
  .case-asset img {
    height:250px
  }
  .image-slot-placeholder {
    min-height:250px
  }
  .case-reflection,.case-prototype {
    padding:78px 0
  }
  .figma-embed,.figma-embed iframe,.figma-placeholder {
    min-height:420px
  }
  .image-lightbox {
    padding:24px 14px
  }
}
