
.wlc-case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, hsl(34 38% 20% / 0.14), transparent 32%),
    radial-gradient(circle at 88% 32%, hsl(188 42% 18% / 0.1), transparent 35%),
    linear-gradient(180deg, hsl(var(--background)) 0%, hsl(0 0% 3.8%) 48%, hsl(var(--background)) 100%);
  color: hsl(var(--foreground));
  padding: clamp(5rem, 8vw, 8rem) min(5vw, 4rem);
  border-top: 1px solid hsl(0 0% 100% / 0.07);
  border-bottom: 1px solid hsl(0 0% 100% / 0.07);
}

.wlc-case__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.wlc-case__head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.wlc-case__eyebrow,
.wlc-case__label,
.wlc-case__stat strong {
  color: hsl(34 58% 75% / 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wlc-case__head h2 {
  margin: 1rem 0 0;
  max-width: 800px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.wlc-case__head p {
  margin: 0;
  color: hsl(0 0% 100% / 0.62);
  line-height: 1.7;
  font-size: 1rem;
}

.wlc-case__comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.wlc-case__panel {
  min-width: 0;
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 0.9rem;
  background: linear-gradient(145deg, hsl(0 0% 8% / 0.92), hsl(0 0% 5% / 0.96));
  overflow: hidden;
}

.wlc-case__image {
  margin: 1rem 1rem 0;
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 0.7rem;
  overflow: hidden;
  background: hsl(0 0% 3%);
}

.wlc-case__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.wlc-case__body {
  padding: 1.35rem;
}

.wlc-case__body h3 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.wlc-case__body p {
  margin: 1rem 0 0;
  color: hsl(0 0% 100% / 0.62);
  line-height: 1.65;
  font-size: 0.96rem;
}

.wlc-case__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  border: 1px solid hsl(0 0% 100% / 0.09);
  background: hsl(0 0% 100% / 0.09);
  border-radius: 0.9rem;
  overflow: hidden;
}

.wlc-case__stat {
  min-height: 8.5rem;
  background: hsl(0 0% 5% / 0.96);
  padding: 1.2rem;
}

.wlc-case__stat span {
  display: block;
  margin-top: 0.85rem;
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.wlc-case__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.wlc-case__cta a {
  color: hsl(34 72% 80%);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 900px) {
  .wlc-case__head,
  .wlc-case__comparison,
  .wlc-case__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wlc-case { padding-inline: 1rem; }
  .wlc-case__body { padding: 1.15rem; }
  .wlc-case__stat { min-height: auto; }
}


/* v2: expanded case-study interactions and previous-site archive route. */
.wlc-case__panel--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.wlc-case__panel--link:hover {
  transform: translateY(-3px);
  border-color: hsl(34 54% 70% / 0.34);
  background: linear-gradient(145deg, hsl(0 0% 10% / 0.96), hsl(0 0% 5% / 0.98));
}

.wlc-case__body b {
  display: inline-flex;
  margin-top: 1.1rem;
  color: hsl(34 72% 80%);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wlc-case__path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  border: 1px solid hsl(0 0% 100% / 0.09);
  background: hsl(0 0% 100% / 0.09);
  border-radius: 0.9rem;
  overflow: hidden;
}

.wlc-case__path article {
  min-height: 12rem;
  background: hsl(0 0% 5% / 0.96);
  padding: 1.2rem;
}

.wlc-case__path span {
  color: hsl(34 58% 75% / 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.wlc-case__path h3 {
  margin: 1.1rem 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1;
}

.wlc-case__path p {
  margin: 0.9rem 0 0;
  color: hsl(0 0% 100% / 0.58);
  line-height: 1.65;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .wlc-case__path {
    grid-template-columns: 1fr;
  }
}


/* v3: before card now opens a Webleads-hosted screenshot archive page, not a recreated old site. */
.wlc-case__panel--link[href="/case-studies/seeforme-previous/"] .wlc-case__body b::after {
  content: "";
}

/* v4: before card opens Webleads screenshot archive, not live SeeForMe. */
