/* =========================
   INTRO.CSS (CLEAN + NO DUPES)
   ========================= */

/* ========== GLOBAL LAYOUT / VARS ========== */
:root {
  --right-strip-width: 80px; /* width of orange right strip */
}

/* Just in case any tiny layout quirk slips through */
body {
  overflow-x: hidden;
}

/* ========== SECTION WRAPPERS ========== */
.intro-section {
  max-width: 1250px;
  margin-inline: auto;
  padding-left: 0.5rem;
  padding-right: calc(0.5rem + var(--right-strip-width));
  padding-top: 2.5rem;
  padding-bottom: 3.25rem;
}

.why-section {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: 1.5rem;
  padding-right: calc(1.5rem + var(--right-strip-width));
  padding-top: 2.25rem;
  padding-bottom: 3.5rem;
  text-align: center;
}

.explore-section {
  max-width: 1180px;
  margin-inline: auto;
  padding-left: 1.25rem;
  padding-right: calc(1.25rem + var(--right-strip-width));
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

/* ========== INTRO TOP ROW (TITLE + PARAGRAPH) ========== */
.intro-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2.1rem;
}

.intro-top__left {
  position: relative;
}

.intro-title {
  margin: 0;
  font-size: 1.7rem;
  color: #555;
  line-height: 1.25;
  font-weight: 700;
}

.intro-brand {
  display: block;
  margin-top: 0.1rem;
}

.intro-brand__sun { color: #ffb400; }
.intro-brand__sea { color: #008dd5; }

.intro-title-underline {
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 8rem;
  height: 3px;
  border-radius: 999px;
  background: #008dd5;
}

.intro-top__copy {
  margin: 0;
  max-width: 52rem;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

/* ========== INTRO GRID (VIDEO + 2 CARDS) ========== */
.intro-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 2.1fr)
    minmax(0, 1.2fr)
    minmax(0, 1.2fr);
  gap: 3rem;
  align-items: stretch;
}

/* ========== INTRO CARD BASE ========== */
.intro-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;

  transition:
    transform 420ms cubic-bezier(.2,.9,.2,1),
    box-shadow 420ms cubic-bezier(.2,.9,.2,1),
    filter 420ms cubic-bezier(.2,.9,.2,1);

  will-change: transform, box-shadow, filter;
}

.intro-card__media,
.intro-card__media--image,
.intro-video {
  border-radius: inherit;
}

/* subtle sheen layer (all intro cards) */
.intro-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    700px 260px at 25% 15%,
    rgba(255,255,255,0.30),
    transparent 55%
  );
  transition: opacity 420ms cubic-bezier(.2,.9,.2,1);
}

/* ========== INTRO LINK CARDS (MEMBERSHIP/BONUSES) ========== */
.intro-card--link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: #ffb400;
  min-height: 320px;

  /* base depth */
  box-shadow:
    0 0 0 8px #ffb400,
    0 18px 40px rgba(15, 23, 42, 0.22);
}

/* glass swipe */
.intro-card--link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.22),
    transparent
  );
  transform: skewX(-22deg);
  transition: left 650ms cubic-bezier(.2,.9,.2,1);
}

/* image zoom on hover */
.intro-card__media--image {
  transition:
    transform 520ms cubic-bezier(.2,.9,.2,1),
    filter 520ms cubic-bezier(.2,.9,.2,1);
  will-change: transform, filter;
}

/* text movement */
/* text movement + spacing */
.intro-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  /* ✅ create a clear gap under the image */
  padding: 2rem 1.4rem 1.0rem;   /* top | sides | bottom */

  /* ✅ extra separation from the image edge */
  margin-top: 0.35rem;

  color: #fff;

  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

.intro-card__title,
.intro-card__underline {
  transition:
    transform 420ms cubic-bezier(.2,.9,.2,1),
    opacity 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.intro-card__title {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.intro-card__underline {
  width: 2.6rem;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.85;
}

/* hover */
.intro-card--link:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow:
    0 0 0 8px rgba(255,180,0,0.95),
    0 26px 62px rgba(0,0,0,0.28);
  filter: saturate(1.06);
}

.intro-card--link:hover::before { left: 120%; }
.intro-card--link:hover::after  { opacity: 1; }

.intro-card--link:hover .intro-card__media--image {
  transform: scale(1.02);
  filter: contrast(1.06);
}

.intro-card--link:hover .intro-card__body {
  transform: translateY(-4px);
}

.intro-card--link:hover .intro-card__title {
  transform: translateY(2px);
}

.intro-card--link:hover .intro-card__underline {
  transform: scaleX(1.02);
  opacity: 1;
}

.intro-card--link:active {
  transform: translateY(-6px) scale(0.995);
}

/* membership + bonuses shells (kept separate in case you style later) */
.intro-card--membership { background: #ffb400; }
.intro-card--bonuses    { background: #ffb400; }

/* ========== INTRO MEDIA ========== */
.intro-card__media {
  width: 100%;
  height: 100%;
}

.intro-card__media--image {
  height: 210px;
  background-size: cover;
  background-position: center;
  border-radius: 26px;
}

.intro-card__media--membership {
  background-image: url("../images/membership.webp");
}

.intro-card__media--bonuses {
  background-image: url("../images/bonuses.webp");
  background-position: center 250px;
}

/* ========== VIDEO CARD ========== */
.intro-card--video {
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.intro-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 520ms cubic-bezier(.2,.9,.2,1),
    filter 520ms cubic-bezier(.2,.9,.2,1);

  will-change: transform, filter;
}

.intro-card--video:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 26px 70px rgba(0,0,0,0.26);
}

.intro-card--video:hover::after { opacity: 1; }

.intro-card--video:hover .intro-video {
  transform: scale(1.03);
  filter: contrast(1.05) saturate(1.05);
}

/* ========== WHY JOIN SECTION (SWAP HOVER) ========== */
.why-title {
  margin: 0 0 2rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #555;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.why-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  overflow: hidden;

  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.why-card__icon {
  margin-bottom: 0.9rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.why-card__icon img {
  width: 200px;
  height: 200px;
  display: block;
}

.why-card__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #008dd5;
  transition: opacity 180ms ease, transform 180ms ease;
}

.why-card__desc {
  position: absolute;
  inset: 1.5rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #555;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  background-color: #fdfdfd;
}

.why-card:hover .why-card__icon,
.why-card:hover .why-card__title {
  opacity: 0;
  transform: translateY(-10px);
}

.why-card:hover .why-card__desc {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 8 REASONS FULL-WIDTH STRIP ========== */
.reasons-hero {
  position: relative;
  margin-top: 3rem;
  border-radius: 0;
  background-image: url("../images/8reasons.jpg");
  background-size: cover;
  background-position: center -100px;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reasons-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.15)
  );
}

.reasons-hero__inner {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 3rem 1.5rem;
  padding-right: calc(1.5rem + var(--right-strip-width));
  max-width: 840px;
  margin-inline: auto;
}

.reasons-hero__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.reasons-hero__number {
  font-size: 6rem;
  margin-right: 0.4rem;
  color: #ffb400;
}

.reasons-hero__word {
  font-size: 4rem;
  color: #ffb400;
}

.reasons-hero__subtitle {
  margin: 0 0 2rem;
  font-size: 1.5rem;
}

/* CTA */
.reasons-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  border: 2px solid #ffb400;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(4px);
  text-decoration: none;

  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.reasons-hero__btn-icon {
  font-size: 1.2rem;
  transform: translateY(-1px);
}

.reasons-hero__btn:hover {
  background-color: #ffb400;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* ========== EXPLORE SECTION ========== */
.explore-title {
  text-align: center;
  margin: 0 0 2.2rem;
  font-size: 2rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.explore-title .intro-brand,
.explore-title .intro-brand__sun,
.explore-title .intro-brand__sea {
  display: inline;
  white-space: nowrap;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  justify-items: center;
  perspective: 1200px;
}

/* Base */
.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f7a623;
  border-radius: 26px;
  min-height: 460px;
  width: 100%;
  max-width: 330px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;

  box-shadow:
    0 0 0 4px #f7a623,
    0 18px 40px rgba(0, 0, 0, 0.18);

  transform-style: preserve-3d;

  --hover-xform: translateY(0) scale(1) rotateX(0) rotateY(0) rotateZ(0);

  transform: translateY(var(--reveal-y, 0px)) var(--hover-xform);

  transition:
    transform 240ms cubic-bezier(.2,.95,.2,1),
    box-shadow 240ms cubic-bezier(.2,.95,.2,1);

  will-change: transform, box-shadow;
}

.explore-card.reveal {
  transform: translateY(var(--reveal-y, 0px)) var(--hover-xform) !important;
}

/* keep internals unchanged */
.explore-card__media {
  flex: 0 0 auto;
  height: 380px;
  margin: 0.6rem 0.6rem 0.2rem;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.explore-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.7rem 1.2rem 1.45rem;
}

.explore-card__title {
  position: relative;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  padding-bottom: 0.55rem;
}

.explore-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.6rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
}

.explore-card:hover {
  --hover-xform:
    translateY(-14px)
    scale(1.045)
    rotateX(6deg)
    rotateY(-6deg)
    rotateZ(-0.35deg);

  box-shadow:
    0 0 0 4px #f7a623,
    0 34px 100px rgba(0,0,0,0.28);
}

.explore-card:active {
  --hover-xform: translateY(-9px) scale(1.045) rotateX(6deg) rotateY(-6deg) rotateZ(-0.3deg);

  box-shadow:
    0 0 0 4px #f7a623,
    0 30px 80px rgba(0,0,0,0.24);
}

/* Media backgrounds */
.explore-card__media--accommodation { background-image: url("../images/accommodation.webp"); }
.explore-card__media--activities    { background-image: url("../images/activities.webp"); }
.explore-card__media--events        { background-image: url("../images/featuredE.webp"); }


/* ========== FULLSCREEN OVERLAY SHELL ========== */
.reasons-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.reasons-overlay--open { display: flex; }

.reasons-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.reasons-overlay__content {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.reasons-overlay__close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 3;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;

  transition: background-color 160ms ease, transform 160ms ease;
}

.reasons-overlay__close:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.05);
}

/* lock page scroll when overlay is open */
body.reasons-overlay-open { overflow: hidden; }
body.reasons-overlay-open .right-strip {
  opacity: 0;
  pointer-events: none;
}

/* ========== GRID OF 8 REASONS (OVERLAY) ========== */
.reasons-overlay__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  height: 100%;
}

.reason-card {
  position: relative;
  overflow: hidden;
}

.reason-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.5);
  filter: blur(5px);
  transition: filter 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.reason-card__layer {
  position: relative;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-align: center;
  pointer-events: none;
}

.reason-card__number {
  font-size: 10rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(0,0,0,0.5);
}

.reason-card__title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease;
  text-shadow:
    0 0 6px rgba(0,0,0,0.75),
    0 0 12px rgba(0,0,0,0.6),
    0 2px 4px rgba(0,0,0,0.85);
}

.reason-card:hover .reason-card__media {
  filter: blur(0);
  transform: scale(1.02);
}

.reason-card:hover .reason-card__title {
  opacity: 1;
  transform: translateY(0);
}

/* per-tile backgrounds */
.reason-card--1 .reason-card__media { background-image: url("../images/reason1.jpg"); }
.reason-card--2 .reason-card__media { background-image: url("../images/reason2.webp"); }
.reason-card--3 .reason-card__media { background-image: url("../images/reason3.jpg"); }
.reason-card--4 .reason-card__media { background-image: url("../images/reason4.jpg"); }
.reason-card--5 .reason-card__media { background-image: url("../images/reason5.webp"); }
.reason-card--6 .reason-card__media { background-image: url("../images/reason6.jpg"); }
.reason-card--7 .reason-card__media { background-image: url("../images/reason7.jpg"); }
.reason-card--8 .reason-card__media { background-image: url("../images/reason8.jpg"); }

/* ========== ACCESSIBILITY / FOCUS ========== */
.intro-card--link:focus-visible,
.explore-card:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0,141,213,0.55),
    0 0 0 8px rgba(255,180,0,0.70),
    0 22px 55px rgba(0,0,0,0.22);
}

/* ========== SCROLL REVEAL (ENTRANCE) ========== */
body.reveal-enabled .reveal {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 650ms ease, filter 650ms ease, transform 650ms ease;
  will-change: opacity, transform, filter;

  /* reveal uses a variable, not hard-coded transform */
  --reveal-y: 18px;
}

body.reveal-enabled .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  --reveal-y: 0px;
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  body.reveal-enabled .reveal,
  body.reveal-enabled .reveal.is-visible {
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }
}


body.force-motion.reveal-enabled .reveal {
  opacity: 0 !important;
  filter: blur(4px) !important;
  transition: opacity 650ms ease, filter 650ms ease, transform 650ms ease !important;

  /* drive movement via variable only */
  --reveal-y: 18px !important;
}

body.force-motion.reveal-enabled .reveal.is-visible {
  opacity: 1 !important;
  filter: blur(0) !important;
  --reveal-y: 0px !important;
}

/* extra reveal polish for the big 8-reasons strip */
body.reveal-enabled .reasons-hero.reveal {
  transform: translateY(26px) scale(0.985) !important;
}

body.reveal-enabled .reasons-hero.reveal.is-visible {
  transform: translateY(0) scale(1) !important;
}

/* =========================================
   INTRO MOBILE (stack + clean sizing)
   ========================================= */
@media (max-width: 430px) and (orientation: portrait) {
  :root{
    --right-strip-width: 0px;
  }

  .intro-section,
  .why-section,
  .explore-section{
    max-width: 100%;
    padding-left: clamp(1rem, 4vw, 1.4rem);
    padding-right: clamp(1rem, 4vw, 1.4rem);
  }

  .intro-section{
    padding-top: clamp(1.25rem, 5vw, 2rem);
    padding-bottom: clamp(1.5rem, 6vw, 2.4rem);
  }

  /* TOP ROW stacks */
  .intro-top{
    flex-direction: column;
    gap: clamp(0.85rem, 3.5vw, 1.25rem);
    margin-bottom: clamp(1rem, 4vw, 1.6rem);
  }

  .intro-title{
    font-size: clamp(1.35rem, 5.2vw, 1.8rem);
    line-height: 1.18;
  }

  .intro-title-underline{
    width: clamp(5rem, 26vw, 8rem);
    bottom: -0.75rem;
  }

  .intro-top__copy{
    font-size: clamp(0.98rem, 3.8vw, 1.1rem);
    line-height: 1.55;
  }

  /* GRID becomes 1-column */
  .intro-grid{
    grid-template-columns: 1fr;
    gap: clamp(2rem, 3.8vw, 1.2rem);
  }

  /* make cards consistent + less tall */
  .intro-card{
    border-radius: clamp(1.1rem, 5vw, 1.6rem);
  }

  /* video gets a clean ratio */
  .intro-card--video{
    min-height: auto;
  }

  .intro-card--video .intro-card__media{
    aspect-ratio: 16 / 9;
  }

  .intro-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* link cards: reduce height, make text breathe */
  .intro-card--link{
    min-height: clamp(15rem, 58vw, 20rem);
  }

  .intro-card__media--image{
    height: clamp(10rem, 40vw, 13.5rem);
    border-radius: inherit;
  }

  .intro-card__body{
    padding: clamp(1rem, 4vw, 1.25rem);
  }

  .intro-card__title{
    font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  }

  /* WHY section stacks */
  .why-section{
    padding-top: clamp(1.4rem, 5vw, 2rem);
    padding-bottom: clamp(1.8rem, 6vw, 2.6rem);
  }

  .why-title{
    font-size: clamp(1.25rem, 4.8vw, 1.6rem);
    margin-bottom: clamp(1rem, 4vw, 1.6rem);
  }

  .why-grid{
    grid-template-columns: 1fr;
    gap: clamp(0.9rem, 4vw, 1.25rem);
  }

  .why-card{
    padding: clamp(1.1rem, 4.5vw, 1.5rem);
    border-radius: clamp(1.1rem, 5vw, 1.6rem);
  }

  .why-card__icon img{
    width: clamp(7rem, 34vw, 10.5rem);
    height: clamp(7rem, 34vw, 10.5rem);
  }

  .why-card__title{
    font-size: clamp(1.35rem, 5.2vw, 1.7rem);
  }

  .why-card__desc{
    font-size: clamp(1rem, 3.9vw, 1.1rem);
    inset: 1.1rem 1rem;
  }

  /* 8 reasons hero: shorter + better text scaling */
  .reasons-hero{
    min-height: clamp(22rem, 92vw, 34rem);
    background-position: center;
  }

  .reasons-hero__inner{
    padding: clamp(1.4rem, 6vw, 2.2rem);
    padding-right: clamp(1rem, 4vw, 1.4rem);
  }

  .reasons-hero__number{
    font-size: clamp(3.6rem, 16vw, 5.2rem);
  }

  .reasons-hero__word{
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .reasons-hero__subtitle{
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    margin-bottom: clamp(1.2rem, 5vw, 1.7rem);
  }

  /* Explore stacks */
  .explore-title{
    font-size: clamp(1.35rem, 5.2vw, 1.9rem);
    white-space: normal; /* ✅ stop overflow on small phones */
    line-height: 1.15;
  }

  .explore-grid{
    grid-template-columns: 1fr;
    gap: clamp(1rem, 5vw, 1.6rem);
    perspective: none;
  }

  .explore-card{
    max-width: 100%;
    min-height: clamp(18rem, 78vw, 26rem);
    border-radius: clamp(1.1rem, 5vw, 1.6rem);
  }

  .explore-card__media{
    height: clamp(12rem, 54vw, 18rem);
    margin: 0.75rem;
    border-radius: clamp(1rem, 4.6vw, 1.4rem);
  }

  .explore-card__body{
    padding: 0.65rem 1rem 1.1rem;
  }

   /* Use svh so iOS browser bars don’t mess the layout */
  .reasons-overlay__content{
    width: 100vw;
    height: 100svh;
  }

  .reasons-overlay__grid{
    --gap: clamp(0.45rem, 2.4vw, 0.75rem);
    --tile: min(
      calc((100vw - (3 * var(--gap))) / 2),
      calc(
        (100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - (6 * var(--gap)))
        / 4
      )
    );

    grid-template-columns: repeat(2, var(--tile));
    grid-auto-rows: var(--tile);
    gap: var(--gap);

    justify-content: center;
    align-content: center;

    padding:
      calc(env(safe-area-inset-top) + var(--gap))
      var(--gap)
      calc(env(safe-area-inset-bottom) + var(--gap));

    box-sizing: border-box;
  }

  .reasons-overlay__close{
    top: calc(env(safe-area-inset-top) + 0.8rem);
    right: 0.8rem;
    width: clamp(2.6rem, 12vw, 3.25rem);
    height: clamp(2.6rem, 12vw, 3.25rem);
    font-size: 1.15rem;
  }

  .reason-card{
    position: relative;
    overflow: hidden;
    border-radius: clamp(0.9rem, 4vw, 1.2rem);
    isolation: isolate;

    /* 3D + vars */
    transform-style: preserve-3d;
    will-change: transform;

    --scale: 1;
    --lift: 0rem;
    --tiltX: 0deg;
    --tiltY: 0deg;

    transform:
      translateZ(0)
      scale(var(--scale))
      translateY(var(--lift))
      rotateX(var(--tiltX))
      rotateY(var(--tiltY));

    transition:
      transform 180ms cubic-bezier(.2,.95,.2,1),
      box-shadow 220ms ease;
  }

  /* shimmer sweep */
  .reason-card::before{
    content:"";
    position:absolute;
    inset:-20%;
    background: linear-gradient(
      110deg,
      transparent 0%,
      rgba(255,255,255,0.18) 35%,
      rgba(255,255,255,0.06) 50%,
      transparent 70%
    );
    transform: translateX(-120%) rotate(8deg);
    opacity: 0;
    pointer-events:none;
    z-index: 3;
  }

  /* media base */
  .reason-card__media{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    transition: filter 260ms ease, transform 260ms ease, opacity 260ms ease;
    transform: translateZ(0) scale(1.12);
    filter: blur(3px) saturate(0.95) contrast(1.05);
    opacity: 0.92;
  }

  /* text layer with vignette for readability */
  .reason-card__layer{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: clamp(0.55rem, 2.6vw, 0.9rem);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(0.35rem, 2vw, 0.6rem);
    text-align: center;
    color: #fff;
    pointer-events: none;

    transform: translateZ(18px);

    background:
      radial-gradient(120% 80% at 50% 65%,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.15) 45%,
        rgba(0,0,0,0.00) 70%);
  }

  .reason-card__number{
    font-size: clamp(3rem, 14vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-shadow: 0 0 18px rgba(0,0,0,0.5);
  }

  /* BIGGER header like you asked */
  .reason-card__title{
    opacity: 1;
    transform: none;

    font-size: clamp(1.05rem, 4.8vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.08;
    text-transform: uppercase;

    text-shadow:
      0 1px 2px rgba(0,0,0,0.85),
      0 6px 18px rgba(0,0,0,0.55);
  }

  /* REAL ripple element (no pseudo conflicts) */
  .reason-card__ripple{
    position: absolute;
    left: var(--rx, 50%);
    top:  var(--ry, 50%);
    width: 12px;
    height: 12px;
    border-radius: 999px;
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 4;

    background: radial-gradient(circle,
      rgba(255,180,0,0.45),
      rgba(0,141,213,0.18) 45%,
      transparent 70%);
  }

  /* --- DEFAULT: text slightly blurred + muted --- */
  .reason-card__number,
  .reason-card__title{
    filter: blur(2.4px);
    opacity: 0.85;
    transform: translateZ(18px) scale(0.995);
    transition:
      filter 220ms ease,
      opacity 220ms ease,
      transform 220ms ease;
  }

  /* --- ACTIVE: text crisp + punchy --- */
  .reason-card.is-active .reason-card__number,
  .reason-card.is-active .reason-card__title{
    filter: blur(0);
    opacity: 1;
    transform: translateZ(18px) scale(1.01);
  }

  /* ACTIVE look */
  .reason-card.is-active{
    --scale: 1.04;
    --lift: -0.15rem;

    box-shadow:
      0 0 0 2px rgba(255,180,0,0.65),
      0 12px 34px rgba(0,0,0,0.42);
  }

  .reason-card.is-active .reason-card__media{
    filter: blur(0) saturate(1.1) contrast(1.08);
    transform: translateZ(0) scale(1.02);
    opacity: 1;
  }

  .reason-card.is-active::before{
    opacity: 1;
    animation: rsShimmer 650ms cubic-bezier(.2,.9,.2,1) 1;
  }

  .reason-card.is-active .reason-card__title{
    animation: rsPop 520ms cubic-bezier(.2,.95,.2,1) 1;
  }

  .reason-card.is-rippling .reason-card__ripple{
    opacity: 1;
    animation: rsRipple 520ms ease-out 1;
  }

  /* press feedback */
  .reason-card:active{
    --scale: 0.985;
    --lift: 0rem;
  }

  @keyframes rsShimmer{
    0%   { transform: translateX(-120%) rotate(8deg); }
    100% { transform: translateX(120%) rotate(8deg); }
  }

  @keyframes rsRipple{
    0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.0; }
    40%  { opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(16); opacity: 0; }
  }

  @keyframes rsPop{
    0%   { transform: translateY(6px) scale(0.98); letter-spacing: 0.01em; }
    60%  { transform: translateY(0) scale(1.02); letter-spacing: 0.03em; }
    100% { transform: translateY(0) scale(1); }
  }

  /* Reduced motion: kill tilt/animations */
  @media (prefers-reduced-motion: reduce){
    .reason-card{
      transition: none !important;
      --tiltX: 0deg !important;
      --tiltY: 0deg !important;
      --lift: 0rem !important;
    }
    .reason-card::before,
    .reason-card__title,
    .reason-card__ripple{
      animation: none !important;
    }
  }
}
