/* ─── Interior page — case study ──────────────────────── */

/* ─── Page layout ────────────────────────────────────── */

.case-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── Case nav (prev / next) ─────────────────────────── */

.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 0;
}

.case-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-olive);
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-nav-link:hover { color: var(--color-text); }

.case-nav-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ─── Section 1 — two-column: images left, info right ── */

.case-s1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  row-gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.case-hero-images {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-hero-img-wrap {
  position: relative;
}

/* Shadow behind the image */
.case-hero-shadow {
  position: absolute;
  bottom: -8px;
  left: 3%;
  right: 3%;
  height: 34px;
  background: linear-gradient(to bottom, rgba(217,217,217,0.6), rgba(132,127,117,0.6));
  filter: blur(10px);
  border-radius: 4px;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.case-hero-shadow.loaded {
  opacity: 1;
}

.case-hero-img-wrap img,
.case-hero-img-wrap video {
  display: block;
  width: 100%;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

/* Modal: upper, right-aligned, smaller */
.case-hero-img--modal {
  width: 72%;
  align-self: flex-end;
  margin-left: auto;
}

/* Search bar: full width, below, slides under modal */
.case-hero-img--search {
  margin-top: 16px;
  z-index: 0;
}

/* Right: company info */

.case-company-info {
  padding-top: 4px;
}

.case-info-block {
  margin-bottom: 30px;
}

.case-info-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

.case-company-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin-bottom: 16px;
}

.case-info-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* Tools — expand to fill when fewer than 3 items */

.case-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-top: 10px;
}

.case-tools-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.case-tool-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-tool-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.case-tool-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.case-tool-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* Timelines + Role — expand to fill when fewer columns */

.case-meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  margin-top: 0;
}

.case-meta-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

.case-meta-value {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--color-text);
  line-height: 1.5;
}

/* ─── Section 2 — Full-width image ──────────────────── */

.case-s2 {
  margin-top: 80px;
}

.case-s2 .case-panel-title {
  margin-bottom: 16px;
}

.case-s2-card {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.case-full-img {
  width: 100%;
  display: block;
}

/* ─── Section 2 — Week 1 multiview variant ───────────── */

.case-week1-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.case-week1-subtext {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-body);
  margin: 0;
}

/* ─── Section 2 — Insights variant (Roku) ────────────── */

.case-s2-insights {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 56px 80px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.case-s2-insights-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin: 0;
}

.case-s2-insights-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.case-s2-insights-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  text-align: center;
}

.case-s2-insights-copy p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin: 0;
}

/* ─── Section 3 — Carousel ───────────────────────────── */

.case-s3 {
  margin-top: 80px;
}

.case-s3-title {
  margin-bottom: 24px;
}

/* ─── Multiview component ─────────────────────────────
   Three variants:
   - .multiview                      plain (nav + carousel, no header)
   - .multiview + .multiview__title  with section title
   - .multiview + __title + __subtitle  title + body text
   ──────────────────────────────────────────────────── */

.multiview {
  margin-top: var(--space-section);
}

.multiview--tight {
  margin-top: var(--space-lg);
}

.multiview__title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.multiview__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-body);
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-md);
}

/* Subnav — centered, no full-width underline */

.case-subnav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.case-subnav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.case-subnav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.case-subnav-btn:hover { color: var(--color-text); }

.case-subnav-btn.active {
  color: var(--color-text);
  font-weight: 500;
}

.case-subnav-btn.active::after {
  transform: scaleX(1);
}

/* ─── Cycling fade animations ────────────────────────── */

/* 4-image cycle: 8s total, each image visible ~1.8s */
@keyframes cycle-fade-4 {
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  22%   { opacity: 1; }
  26%   { opacity: 0; }
  100%  { opacity: 0; }
}

/* 3-image cycle: 9s total, each image visible ~2.7s */
@keyframes cycle-fade-3 {
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  28%   { opacity: 1; }
  33%   { opacity: 0; }
  100%  { opacity: 0; }
}

/* ─── Onboarding panel ───────────────────────────────── */

.case-onboarding-stage {
  position: relative;
  width: 100%;
  height: 370px;
}

.case-modal-stack {
  position: absolute;
  left: calc(50% - 10px);
  top: 30px;
  width: 300px;
  aspect-ratio: 300/270;
  border-radius: 8px;
  overflow: hidden;
}

.case-modal-stack .case-cycle-modal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
  animation: cycle-fade-4 8s infinite;
  animation-play-state: paused;
}

.case-modal-stack .case-cycle-modal:nth-child(1) { animation-delay: 0s; }
.case-modal-stack .case-cycle-modal:nth-child(2) { animation-delay: 2s; }
.case-modal-stack .case-cycle-modal:nth-child(3) { animation-delay: 4s; }
.case-modal-stack .case-cycle-modal:nth-child(4) { animation-delay: 6s; }

.case-carousel-panel.active .case-modal-stack .case-cycle-modal {
  animation-play-state: running;
}

.case-search-bar-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 768px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.case-search-bar-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Dashboard panel ────────────────────────────────── */

.case-dash-wrap {
  position: relative;
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 777/475;
  border-radius: 8px;
  overflow: hidden;
}

.case-dash-wrap .case-cycle-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
  animation: cycle-fade-3 9s infinite;
  animation-play-state: paused;
}

.case-dash-wrap .case-cycle-img:nth-child(1) { animation-delay: 0s; }
.case-dash-wrap .case-cycle-img:nth-child(2) { animation-delay: 3s; }
.case-dash-wrap .case-cycle-img:nth-child(3) { animation-delay: 6s; }

.case-carousel-panel.active .case-dash-wrap .case-cycle-img {
  animation-play-state: running;
}

/* ─── Carousel — panels flow in a stack, active visible */

.case-carousel {
  position: relative;
  min-height: 520px;
}

/* Fluid height variant — carousel sizes to active panel content */
.case-carousel--fluid {
  min-height: 0;
}

.case-carousel--fluid .case-carousel-panel {
  position: relative;
  inset: auto;
  height: 0;
  overflow: hidden;
}

.case-carousel--fluid .case-carousel-panel.active {
  height: auto;
  overflow: visible;
}

.case-carousel-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.case-carousel-panel.active {
  opacity: 1;
  pointer-events: auto;
}

/* Panel title (e.g. "Tailwind CSS") — sits between subnav and image */

.case-panel-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}

/* Images row inside each panel */

.case-panel-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.case-carousel-img {
  max-height: 504px;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
  display: block;
}

.case-panel-images--chat {
  gap: 40px;
}

.case-carousel-img--shadow {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
}

.case-carousel-panel--single .case-panel-images {
  align-items: center;
}

.case-carousel-panel--single .case-carousel-img {
  width: 100%;
  max-height: 560px;
  border-radius: 0;
}

.case-carousel-video {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
  display: block;
}

/* Full-width panel content (Roku A/B tests) */
.case-carousel-full {
  width: 100%;
  display: flex;
  justify-content: center;
}

.case-carousel-full img,
.case-carousel-full video {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* ─── Chrome Extension panel ─────────────────────────── */

.chrome-toggle {
  display: flex;
  gap: 52px;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
}

.chrome-mode-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-dim);
  padding: 0;
  transition: color 0.2s ease;
}

.chrome-mode-btn.active { color: var(--color-text); }
.chrome-mode-btn:hover  { color: var(--color-text); }

/* Both panels stacked in the same grid cell so light sits exactly over dark */
.chrome-panels-wrap {
  display: grid;
  width: 100%;
}

.chrome-mode-panel {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.chrome-mode-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.chrome-pills-layout {
  display: flex;
  justify-content: center;
  gap: 90px;
  align-items: flex-start;
  width: 100%;
}

.chrome-pills-main {
  display: flex;
  flex-direction: column;
  gap: 34px;
  /* same padding as light mode so both panels share identical height */
  padding: 24px 28px;
}

.chrome-pills-main--light {
  background: #ebe9e9;
  border-radius: 10px;
}

.chrome-row {
  display: flex;
  gap: 44px;
  align-items: center;
}

/* Rows 2–4 indent to align under 2nd default pill (= first pill 66px + gap 44px) */
.chrome-row--indented {
  padding-left: 110px;
}

.chrome-pills-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 115px;
  gap: 34px;
  margin-left: 110px;
}

.chrome-pills-incognito {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 108px;
  gap: 34px;
  padding-top: 24px;
}

/* Pills at 1× Figma logical size — 4× export renders crisply on retina */
.chrome-pill {
  width: 66px;
  height: auto;
  display: block;
}

.chrome-pill--expanded           { width: 111px; }
.chrome-pill--thinking           { width: 70px; }
.chrome-pill--expanded-incognito { width: 100px; }

/* ─── Section 2 — Colored-bg variant (AminoChain) ───────── */

.case-s2-amino-bg {
  background: #77948a;
  border-radius: var(--radius-card);
  padding: 52px 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.case-panel-title--amino {
  color: #1f4337;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 0.04em;
  margin: 0;
}

.case-s2-amino-video {
  width: 82%;
  max-width: 900px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}

.case-s2-amino-video video {
  width: 100%;
  display: block;
}

/* ─── AminoChain carousel — cycling fade wrap ─────────── */

.case-ac-fade-wrap {
  display: grid;
  justify-items: center;
  width: 100%;
}

.case-ac-fade-wrap .case-cycle-img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0;
  animation: cycle-fade-3 9s infinite;
  animation-play-state: paused;
  border-radius: 6px;
}

.case-ac-fade-wrap .case-cycle-img:nth-child(1) { animation-delay: 0s; }
.case-ac-fade-wrap .case-cycle-img:nth-child(2) { animation-delay: 3s; }
.case-ac-fade-wrap .case-cycle-img:nth-child(3) { animation-delay: 6s; }

.case-carousel-panel.active .case-ac-fade-wrap .case-cycle-img {
  animation-play-state: running;
}


/* ─── Section 4 — Screenshots row ────────────────────── */

.case-s4-images {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.case-s4-images img,
.case-s4-images video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.case-s4-images--shadow img {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* ─── Mobile phone row ────────────────────────────────── */

.case-phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.case-phone-row--spaced {
  margin-top: 40px;
}

.case-phone-img {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
  display: block;
}

/* ─── Section 4 — Video ───────────────────────────────── */

.case-s4 {
  margin-top: 80px;
}

.case-s4 .case-panel-title {
  margin-bottom: 16px;
}

.case-s4-description {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-body);
  margin: 0 0 12px;
}

.case-video-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
}

/* ─── Footer ──────────────────────────────────────────── */

.case-footer {
  margin-top: 100px;
  padding-top: 28px;
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
}

.case-footer-back {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-olive);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.case-footer-back:hover { color: var(--color-text); }

.case-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.case-footer-link {
  display: flex;
  align-items: center;
}

.case-footer-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(46%) sepia(30%) saturate(200%) brightness(0.97);
  transition: filter 0.2s ease;
}

.case-footer-link:hover img {
  filter: brightness(0) saturate(100%) invert(46%) sepia(30%) saturate(200%) brightness(0.65);
}

/* Resume SVG is already rendered in olive via stroke, apply same filter */
.case-footer-link--resume img {
  filter: brightness(0) saturate(100%) invert(46%) sepia(30%) saturate(200%) brightness(0.97);
}

.case-footer-link--resume:hover img {
  filter: brightness(0) saturate(100%) invert(46%) sepia(30%) saturate(200%) brightness(0.65);
}

/* ─── Responsive ──────────────────────────────────────── */

@media (max-width: 768px) {
  .hero--collapsed .hero-card { padding-left: 20px; padding-right: 20px; }

  .case-s1 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-tools-grid { gap: 20px; }
  .case-tool-col { min-width: 100%; }

  .case-s2-insights { padding: 40px 24px 48px; }

  .case-subnav {
    gap: 24px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .case-subnav::-webkit-scrollbar { display: none; }

  /* Carousel — fluid on mobile */
  .case-carousel { min-height: 0; }
  .case-carousel-panel {
    position: relative;
    inset: auto;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .case-carousel-panel.active {
    opacity: 1;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }
  .case-carousel-img { max-height: 220px; }

  /* Onboarding — stack modal and search bar vertically */
  .case-onboarding-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .case-modal-stack {
    position: relative;
    left: auto;
    top: auto;
    width: 60%;
    align-self: center;
    aspect-ratio: 300/270;
  }
  .case-search-bar-img {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
  }

  /* Dashboard — full width on mobile */
  .case-dash-wrap {
    width: 100%;
  }

  /* Chrome pills — scale down */
  .chrome-toggle { gap: 28px; }
  .chrome-pills-layout { gap: 24px; }
  .chrome-pills-main { padding: 16px; gap: 20px; }
  .chrome-pills-incognito { gap: 20px; padding-top: 16px; }
  .chrome-row { gap: 24px; }
  .chrome-row--indented { padding-left: 60px; }

  .chrome-pill { width: 44px; }
  .chrome-pill--expanded { width: 74px; }
  .chrome-pill--thinking { width: 47px; }
  .chrome-pill--expanded-incognito { width: 67px; }

  .case-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .case-phone-row {
    gap: 12px;
  }

  .case-phone-img {
    max-width: 100px;
  }

  .case-phone-row--spaced {
    margin-top: 28px;
  }

  .case-s4-description {
    font-size: 14px;
  }
}

/* ─── Page load animations ───────────────────────────── */

.case-nav,
.case-s1 .case-hero-images,
.case-s1 .case-company-info,
.case-s1 .case-info-block--tools,
.case-s1 .case-meta-row,
.case-s2,
.case-s3,
.case-s4 {
  animation: fadeUp 0.8s ease both;
}

.case-nav                          { animation-delay: 0.1s; }
.case-s1 .case-hero-images         { animation-delay: 0.25s; }
.case-s1 .case-company-info        { animation-delay: 0.4s; }
.case-s1 .case-info-block--tools   { animation-delay: 0.55s; }
.case-s1 .case-meta-row            { animation-delay: 0.65s; }
.case-s2                           { animation-delay: 0.8s; }
.case-s3                           { animation-delay: 0.95s; }
.case-s4                           { animation-delay: 1.1s; }

/* ─── Lightbox ───────────────────────────────────────── */

.zoom-wrap {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: zoom-in;
  padding: 0;
  z-index: 2;
}

.zoom-wrap:hover .zoom-btn {
  opacity: 1;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  display: block;
  flex-shrink: 0;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
}
