/* Experiential case sheet — slide-up detail (dark theme, Meta Ring layout) */

.galleryItemOpen {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent;
}

.galleryItemOpen:focus {
  outline: none;
}

.galleryItemOpen:focus-visible {
  outline: 2px solid #0081fb;
  outline-offset: 3px;
}

.galleryItemOpen:focus-visible .galleryItemMedia {
  box-shadow: 0 0 0 1px rgba(0, 129, 251, 0.45);
}

/* ----- Sheet shell ----- */
.expCaseSheet {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: none;
  visibility: hidden;
}

.expCaseSheet.is-open {
  pointer-events: auto;
  visibility: visible;
}

.expCaseSheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.expCaseSheet.is-open .expCaseSheet__backdrop {
  opacity: 1;
}

.expCaseSheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #101012 0%, #0a0a0c 48%, #080809 100%);
  border-radius: clamp(16px, 2.2vw, 22px) clamp(16px, 2.2vw, 22px) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.65);
  transform: translate3d(0, 108%, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.expCaseSheet.is-open .expCaseSheet__panel {
  transform: translate3d(0, 0, 0);
}

.expCaseSheet__toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.65rem clamp(1rem, 3vw, 1.35rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.expCaseSheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.expCaseSheet__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.expCaseSheet__close:focus-visible {
  outline: 2px solid #0081fb;
  outline-offset: 2px;
}

.expCaseSheet__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(2.5rem, 6vw, 4rem);
}

@media (prefers-reduced-motion: reduce) {
  .expCaseSheet__backdrop {
    transition: opacity 0.15s ease;
  }

  .expCaseSheet__panel {
    transition: opacity 0.2s ease;
    transform: none;
    top: 0;
    opacity: 0;
  }

  .expCaseSheet.is-open .expCaseSheet__panel {
    opacity: 1;
  }
}

/* ----- Case study typography & layout ----- */
.expCase {
  max-width: min(56rem, 100%);
  margin: 0 auto;
}

.expCase-eyebrow {
  margin: 0 0 0.85rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #0081fb;
}

.expCase-title {
  margin: 0 0 0.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  color: #fff;
}

.expCase-subtitle {
  margin: 0 auto 0.35rem;
  max-width: 22rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
}

.expCase-year {
  margin: 0 auto 1.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.8125rem, 1vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: none;
  color: rgba(255, 255, 255, 0.42);
}

.expCase-lead {
  margin: 0 auto 2.5rem;
  max-width: min(44rem, 92vw);
  text-align: center;
}

.expCase-lead p {
  margin: 0 0 1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.9375rem, 1.15vw, 1.02rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

.expCase-lead p:last-child {
  margin-bottom: 0;
}

/* Wider measure so long second grafs can resolve to ~two lines (Reframe lead). */
.expCase-lead--wide {
  max-width: min(58rem, 94vw);
}

.expCase-heroMedia {
  display: flex;
  flex-direction: column;
  margin: 0 auto 3rem;
  max-width: min(48rem, 100%);
  border-radius: clamp(14px, 2vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050506;
  aspect-ratio: 16 / 9;
}

.expCase-zoomBtn {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  border-radius: inherit;
}

.expCase-zoomBtn:focus {
  outline: none;
}

.expCase-zoomBtn:focus-visible {
  outline: 2px solid #0081fb;
  outline-offset: 3px;
}

.expCase-zoomBtn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.expCase-zoomBtn:hover img {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .expCase-zoomBtn:hover img {
    transform: none;
  }
}

.expCase-heroMedia .expCase-zoomBtn {
  flex: 1;
  min-height: 0;
}

/* Reframe hero GIF plate is ~16×9 (1024×575) */
.expCase-heroMedia--reframe {
  aspect-ratio: 16 / 9;
  background: #080808;
}

.expCase-heroMedia--reframe .expCase-zoomBtn img {
  object-fit: contain;
  object-position: center;
}

/* Formlift hero plate is 4×3 */
.expCase-heroMedia--formlift {
  aspect-ratio: 4 / 3;
  background: #080808;
}

.expCase-heroMedia--formlift .expCase-zoomBtn img {
  object-fit: contain;
  object-position: center;
}

.expCase-section {
  margin: 0 auto 3.25rem;
  max-width: 38rem;
}

.expCase-section:last-child {
  margin-bottom: 0;
}

.expCase-section h3 {
  margin: 0 0 1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}

.expCase-section p {
  margin: 0 0 0.9rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  text-wrap: pretty;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

.expCase-section p:last-child {
  margin-bottom: 0;
}

.expCase-section--wide {
  max-width: min(52rem, 100%);
}

.expCase-section--wide > p {
  text-align: center;
}

.expCase-section--wide > h3 {
  text-align: center;
}

/* Split feature card */
.expCase-feature {
  margin: 0 auto 2.25rem;
  max-width: min(52rem, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: clamp(14px, 2vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 800px) {
  .expCase-feature {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: clamp(240px, 32vw, 320px);
  }

  .expCase-feature__media {
    min-height: 100%;
  }

  .expCase-feature--reverse .expCase-feature__media {
    order: 2;
  }

  .expCase-feature--reverse .expCase-feature__body {
    order: 1;
  }
}

.expCase-feature__media {
  position: relative;
  min-height: 200px;
  background: #0d0d10;
}

.expCase-feature__media .expCase-zoomBtn {
  position: relative;
  min-height: 200px;
}

.expCase-feature__media .expCase-zoomBtn img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 800px) {
  .expCase-feature__media .expCase-zoomBtn {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .expCase-feature__media .expCase-zoomBtn img {
    min-height: 100%;
    position: absolute;
    inset: 0;
  }
}

.expCase-feature__body {
  padding: clamp(1.35rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 129, 251, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 800px) {
  .expCase-feature__body {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .expCase-feature--reverse .expCase-feature__body {
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.expCase-feature__label {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 129, 251, 0.85);
}

.expCase-feature__body h4 {
  margin: 0 0 0.65rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.expCase-feature__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.expCase-follow {
  margin: -0.5rem auto 3.5rem;
  max-width: 38rem;
}

.expCase-follow p {
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.52);
}

.expCase-follow p:last-child {
  margin-bottom: 0;
}

/* Human-centered signals — no photo; abstract “light band” + pillars */
.expCase-signals {
  margin: 0 auto 2.25rem;
  max-width: min(52rem, 100%);
  border-radius: clamp(14px, 2vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0, 129, 251, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.expCase-signals__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: clamp(1.75rem, 4vw, 2.35rem) 1.25rem 0.5rem;
}

.expCase-signals__lightBand {
  width: min(19rem, 72vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 129, 251, 0.2) 18%,
    rgba(0, 129, 251, 0.95) 50%,
    rgba(0, 129, 251, 0.2) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(0, 129, 251, 0.45),
    0 0 48px rgba(0, 129, 251, 0.18);
}

.expCase-signals__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.expCase-signals__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 14px rgba(0, 129, 251, 0.55);
}

.expCase-signals__dot--accent {
  width: 8px;
  height: 8px;
  background: rgba(130, 220, 180, 0.95);
  box-shadow: 0 0 16px rgba(80, 200, 150, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .expCase-signals__dot {
    animation: expCaseSignalGlow 3.2s ease-in-out infinite;
  }

  .expCase-signals__dot:nth-child(2) {
    animation-delay: 0.35s;
  }

  .expCase-signals__dot:nth-child(3) {
    animation-delay: 0.7s;
  }
}

@keyframes expCaseSignalGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.expCase-signals__content {
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1.35rem, 3vw, 2rem)
    clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
}

.expCase-signals__label {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 129, 251, 0.85);
}

.expCase-signals__title {
  margin: 0 0 1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.expCase-signals__intro {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.56);
}

.expCase-signals__pillars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 680px) {
  .expCase-signals__pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.expCase-signals__pillars li {
  margin: 0;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  border-left: 3px solid rgba(0, 129, 251, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.expCase-signals__pillarTitle {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.expCase-signals__pillarText {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.expCase-divider {
  height: 1px;
  margin: 0 auto 3rem;
  max-width: min(36rem, 100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.12) 80%,
    transparent
  );
}

/* Full-screen image lightbox (case study photos) */
.expImageLightbox {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.expImageLightbox.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.expImageLightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
}

.expImageLightbox__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: max(0.4rem, env(safe-area-inset-top, 0px))
    max(0.4rem, env(safe-area-inset-right, 0px)) max(0.4rem, env(safe-area-inset-bottom, 0px))
    max(0.4rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  pointer-events: none;
}

.expImageLightbox__close {
  position: absolute;
  top: max(0.5rem, env(safe-area-inset-top, 0px));
  right: max(0.5rem, env(safe-area-inset-right, 0px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.9);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.expImageLightbox__close:hover {
  background: rgba(40, 40, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

.expImageLightbox__close:focus-visible {
  outline: 2px solid #0081fb;
  outline-offset: 2px;
}

.expImageLightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: min(4.5rem, 22vh);
  min-width: 2.75rem;
  margin: 0;
  padding: 0 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(20, 20, 22, 0.88);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.expImageLightbox__nav--prev {
  left: max(0.35rem, env(safe-area-inset-left, 0px));
}

.expImageLightbox__nav--next {
  right: max(0.35rem, env(safe-area-inset-right, 0px));
}

.expImageLightbox__nav:hover:not(:disabled) {
  background: rgba(40, 40, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.38);
}

.expImageLightbox__nav:focus-visible {
  outline: 2px solid #0081fb;
  outline-offset: 2px;
}

.expImageLightbox__nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.expImageLightbox__navIcon {
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  margin-top: -0.08em;
}

.expImageLightbox__img {
  position: relative;
  z-index: 1;
  max-width: calc(100vw - max(0.8rem, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px)));
  max-height: calc(100vh - 1rem);
  max-height: calc(100dvh - max(0.8rem, env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px)));
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: clamp(4px, 0.8vw, 8px);
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.75);
  pointer-events: auto;
}

/* Hero only: 0.5× viewport width (100vw → 50vw) */
.expImageLightbox--hero2x .expImageLightbox__inner {
  align-items: center;
  justify-content: center;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  pointer-events: auto;
}

.expImageLightbox--hero2x .expImageLightbox__img {
  max-width: none;
  max-height: none;
  width: 50vw;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .expImageLightbox {
    transition: none;
  }
}

/* ----- Per-project story panes ----- */
.expCaseStory[hidden] {
  display: none !important;
}

/* ----- HappyAR case ----- */
.expHappy-metaRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: min(52rem, 100%);
}

@media (min-width: 720px) {
  .expHappy-metaRow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.expHappy-metaBlock {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.expHappy-metaBlock p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.expHappy-metaLabel {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 129, 251, 0.9);
}

.expHappy-intro {
  margin: 0 auto 2.5rem;
  max-width: 38rem;
}

.expHappy-intro h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.expHappy-intro p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  text-align: center;
  text-wrap: pretty;
  color: rgba(255, 255, 255, 0.55);
}

.expHappy-intro p:last-child {
  margin-bottom: 0;
}

/* Stacked 2018 → 2025 so long copy + demo video aren’t awkward side-by-side */
.expHappy-splitStack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 auto 2.75rem;
  max-width: min(52rem, 100%);
}

.expHappy-card--historic .expHappy-flowList,
.expHappy-card--historic > p {
  font-size: 0.875rem;
  line-height: 1.68;
}

.expHappy-card--demo > p:last-of-type {
  margin-bottom: 0.35rem;
}

/* Video leads the 2025 card: no extra top gap; breathing room before title + copy */
.expHappy-card--demo .expHappy-videoWrap--featured:first-child {
  margin-top: 0;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
}

.expHappy-card--demo .expHappy-videoWrap--featured:first-child + h3 {
  margin-top: 0;
}

.expHappy-card {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.expHappy-card--accent {
  border-color: rgba(0, 129, 251, 0.25);
  background: linear-gradient(
    160deg,
    rgba(0, 129, 251, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 55%
  );
}

.expHappy-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  font-weight: 700;
  color: #fff;
}

.expHappy-card > p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
}

.expHappy-subhead {
  margin: 1.35rem 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.expHappy-card h3 + .expHappy-subhead {
  margin-top: 0;
}

.expHappy-flowList {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.expHappy-flowList li {
  margin-bottom: 0.65rem;
}

.expHappy-flowList li:last-child {
  margin-bottom: 0;
}

.expHappy-videoWrap {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #060606;
}

.expHappy-videoWrap--featured {
  margin-top: 1rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(68vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Dark chrome so letterboxing / subpixel gaps never read as a “yellow frame” */
  background: #030303;
  border-radius: clamp(12px, 1.5vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.expHappy-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.expHappy-video--featured {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background-color: #000;
}

.expHappy-docSection {
  margin: 0 auto 2.5rem;
  max-width: min(52rem, 100%);
}

.expHappy-docSection > h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.expHappy-docLead {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  text-wrap: pretty;
}

.expHappy-docGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* 3×2 gallery: 1 col → 2 → 3 per row (row gap > column gap so captions clear next row) */
.expHappy-docGrid--six {
  column-gap: clamp(0.85rem, 2vw, 1.15rem);
  row-gap: clamp(1.35rem, 3.5vw, 2.1rem);
}

@media (min-width: 560px) {
  .expHappy-docGrid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .expHappy-docGrid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.expHappy-docFig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.expHappy-docFig .expCase-zoomBtn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.expHappy-docFig .expCase-zoomBtn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.expHappy-docFig figcaption {
  margin: 0;
  padding: 0 0.2rem 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

/* Reframe · motion GIF below hero */
.expReframeMotion {
  margin: 1.5rem 0 0;
}

.expReframeMotion__frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080808;
}

.expReframeMotion__zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.expReframeMotion__zoom:focus {
  outline: none;
}

.expReframeMotion__zoom:focus-visible {
  outline: 2px solid #0081fb;
  outline-offset: 3px;
}

.expReframeMotion__zoom img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Placeholder cases */
.expCase--placeholder {
  text-align: center;
  padding: 2rem 0 3rem;
}

.expCase--placeholder .expCase-eyebrow {
  text-align: center;
}

.expCase--placeholder .expCase-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.expCase-placeholderBody {
  margin: 0 auto;
  max-width: 26rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}
