/* ============================================================
   The Mary Burke — one-page hub
   Built on the Make it With Mary design tokens (tokens.css).
   Visual language: SOFT PREMIUM — hairline borders, large low-opacity
   layered shadows, gentle lift on hover (no hard outlines / sticker shadows).
   Conventions: 1350px container cap, 1024px mobile-nav break,
   section rhythm, .reveal scroll animation, image-on-top stacking.
   ============================================================ */

/* ---- Layout primitives ------------------------------------ */
:root {
  --container-max: 1120px;      /* moderate, per the brief: never too wide */
  --container-narrow: 680px;    /* link-hub reading column               */
  --pad-desktop: 32px;
  --pad-mobile: 20px;

  /* Soft elevation scale — layered, low-opacity, navy-tinted */
  --e1: 0 1px 2px rgba(11,44,78,0.04), 0 4px 12px rgba(11,44,78,0.06);
  --e2: 0 6px 16px rgba(11,44,78,0.07), 0 16px 36px rgba(11,44,78,0.10);
  --e3: 0 10px 24px rgba(11,44,78,0.09), 0 30px 64px rgba(11,44,78,0.14);
  --e-dark: 0 18px 50px rgba(0,0,0,0.30);

  /* Hairlines */
  --hair:   rgba(11,44,78,0.08);
  --hair-2: rgba(11,44,78,0.12);

  /* Soft colored shadow for the primary VIP action */
  --shadow-red:    0 8px 22px rgba(238,74,90,0.28);
  --shadow-red-lg: 0 12px 30px rgba(238,74,90,0.36);

  --radius-btn: 14px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }  /* contain the off-canvas menu (no horizontal scroll) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

img { max-width: 100%; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-desktop);
}
.container--narrow { max-width: var(--container-narrow); }
@media (max-width: 1024px) { .container { padding: 0 24px; } }
@media (max-width: 640px)  { .container { padding: 0 var(--pad-mobile); } }

/* ---- Section rhythm --------------------------------------- */
.section { padding: 88px 0; }
@media (max-width: 1024px) { .section { padding: 64px 0; } }
@media (max-width: 640px)  { .section { padding: 48px 0; } }

.section--sunken { background: var(--surface-sunken); }
.section--dark {
  background: var(--miwm-navy);
  background-image: radial-gradient(120% 90% at 50% -10%, var(--miwm-navy-700) 0%, var(--miwm-navy) 60%);
  color: var(--text-invert);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.86); }

/* ---- Section header (eyebrow / heading / intro) ----------- */
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-condensed);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps-wide);
  font-size: 0.9375rem;   /* eyebrow labels, a touch larger site-wide */
  color: var(--text-accent);
  margin: 0 0 12px;
}
.section--dark .eyebrow { color: var(--miwm-cyan-bright); }
.section-head h2 { margin: 0 0 12px; }
.section-head .lead { font-size: var(--fs-lead); color: var(--text-body); margin: 0; }
.section--dark .section-head .lead { color: rgba(255,255,255,0.82); }

/* ============================================================
   Buttons — soft premium
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-condensed);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem; line-height: 1;
  min-height: 52px; padding: 0 26px;
  color: var(--miwm-navy);
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: var(--radius-btn);
  box-shadow: var(--e1);
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur) var(--ease-soft),
              box-shadow var(--dur) var(--ease-soft),
              background var(--dur) var(--ease-standard),
              border-color var(--dur) var(--ease-standard);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--e2); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: var(--e1); }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn--primary {
  color: #fff; border-color: transparent;
  background: linear-gradient(180deg, #f8586a 0%, var(--miwm-red) 100%);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { color: #fff; background: linear-gradient(180deg, var(--miwm-red) 0%, #d8354c 100%); box-shadow: var(--shadow-red-lg); }
.btn--primary:active { color: #fff; box-shadow: var(--shadow-red); }

.btn--secondary { background: #fff; color: var(--miwm-navy); border-color: var(--hair-2); }
.btn--secondary:hover { background: #fff; color: var(--miwm-navy); border-color: rgba(11,44,78,0.22); }

.btn--ghost-invert {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.32); box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn--ghost-invert:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.5); box-shadow: none; }

.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 1.0625rem; padding: 0 32px; }
.btn--glow { box-shadow: var(--shadow-red); }
.btn--glow:hover { box-shadow: var(--shadow-red-lg); }

/* ============================================================
   Header / navigation  (sticky, slim)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(252,253,254,0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-rows: 72px;   /* pin the row so the oversized logo overflows it instead of stretching it */
  align-items: center; gap: 16px; height: 72px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; align-self: start; position: relative; z-index: 5; }
/* Oversized logo: sits high in the slim header and dips down over the hero */
.nav-logo img { height: 124px; width: auto; display: block; margin-top: 6px;
  filter: drop-shadow(0 6px 14px rgba(11,44,78,0.3)); }
.nav-logo b {
  font-family: var(--font-condensed); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1.05rem; color: var(--miwm-navy);
}

.nav-links { display: flex; align-items: center; gap: 2px; justify-self: end; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; white-space: nowrap;
  font-family: var(--font-condensed); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.9rem; color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--dur), background var(--dur);
}
.nav-item > a:hover { color: var(--text-brand); background: rgba(11,44,78,0.05); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }

/* burger + panel chrome hidden on desktop */
.nav-burger {
  display: none; width: 48px; height: 48px; padding: 12px;
  background: var(--miwm-blue); border: 0;
  border-radius: var(--radius-md); cursor: pointer;
  box-shadow: 0 4px 12px rgba(15,114,198,0.35);
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.nav-burger:hover { background: var(--miwm-blue-royal); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,114,198,0.45); }
.nav-burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 240ms var(--ease-out), opacity 160ms; }
.nav-burger span + span { margin-top: 5px; }
body.nav-open .nav-burger { opacity: 0; pointer-events: none; }  /* hide behind the panel; the panel has its own close */
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-backdrop { display: none; }
.nav-panel-header, .nav-panel-footer { display: none; }

/* mobile slide-out */
@media (max-width: 1024px) {
  /* Drop the header's backdrop-filter on mobile. A non-none backdrop-filter makes
     the sticky header a containing block for its position:fixed descendants, which
     traps the slide-out panel at the page top instead of the viewport (so it appears
     to "not open" when you're scrolled down). Use a near-opaque background instead. */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(252,253,254,0.94); }
  .nav-inner { height: 64px; grid-template-rows: 64px; }
  .nav-logo { margin-left: -8px; }        /* nudge the logo a touch closer to the edge */
  .nav-logo img { height: 94px; margin-top: 4px; }
  /* nav-links is position:fixed on mobile, so pin the burger to the last column
     (otherwise it auto-flows into the middle 1fr track) and nudge it to ~15px from the edge */
  .nav-actions { grid-column: 3; margin-right: -5px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }

  .nav-links {
    position: fixed; top: 0; right: 0; left: auto;
    width: min(86vw, 360px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--miwm-navy);
    box-shadow: -20px 0 60px rgba(0,0,0,0.35);
    transform: translateX(100%);
    transition: transform 320ms var(--ease-soft);
    z-index: 250; overflow-y: auto; overscroll-behavior: contain;
  }
  body.nav-open .nav-links { transform: translateX(0); }

  .nav-backdrop { position: fixed; inset: 0; background: rgba(11,44,78,0.5); backdrop-filter: blur(3px); z-index: 240; }
  body.nav-open .nav-backdrop { display: block; }
  body.nav-open { overflow: hidden; }

  .nav-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-panel-header img { height: 42px; }
  .nav-panel-close { width: 46px; height: 46px; padding: 11px; color: #fff; background: var(--miwm-blue); border: 0; border-radius: var(--radius-md); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.28); transition: background var(--dur); }
  .nav-panel-close:hover { background: var(--miwm-blue-royal); }
  .nav-panel-close svg { width: 100%; height: 100%; }

  .nav-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-item > a { display: flex; justify-content: space-between; padding: 18px 24px; color: #fff; font-size: 1rem; border-radius: 0; }
  .nav-item > a:hover { background: rgba(255,255,255,0.05); color: #fff; }

  .nav-panel-footer { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 22px 24px 28px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 0 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 88% 60%, rgba(18,203,230,0.10), transparent 62%),
    radial-gradient(55% 45% at 2% 95%, rgba(238,74,90,0.07), transparent 62%);
}
@media (max-width: 640px) { .hero { padding: 0 0 48px; } }

/* Full-bleed hero banner (respective images per device, edge to edge) */
.hero__banner { position: relative; width: 100%; line-height: 0; }
.hero__banner img {
  display: block; width: 100%; height: auto;   /* full height, never cropped */
}
.hero__banner .badge-float {
  position: absolute; left: clamp(16px, 4vw, 40px); bottom: clamp(16px, 3vw, 28px);
  background: rgba(255,255,255,0.9); color: var(--miwm-navy);
  font-family: var(--font-condensed); font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 9px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--e2); backdrop-filter: blur(6px);
}

/* Hero text, centered under the banner */
.hero__text { text-align: center; max-width: 760px; margin: 0 auto; padding: 52px 0 0; }
.hero__eyebrow { color: var(--text-brand); justify-content: center; }
.hero__title { margin: 8px 0 12px; }
.hero__title .miwm-chrome {
  display: block;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5rem); line-height: 0.98;
  letter-spacing: 0.005em;
  /* soft premium: clean navy→blue gradient fill, no comic outline */
  -webkit-text-stroke: 0;
  text-shadow: none;
  background: linear-gradient(165deg, var(--miwm-blue) 0%, var(--miwm-navy) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--miwm-navy);
}
.hero__tag {
  font-family: var(--font-condensed); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(1.05rem, 0.9rem + 1vw, 1.5rem);
  color: var(--miwm-red); margin: 0 0 16px;
}
.hero__lead { font-size: var(--fs-lead); color: var(--text-body); max-width: 52ch; margin: 0 auto 26px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 20px; }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-condensed); font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--ls-caps);
  font-size: var(--fs-label); color: var(--text-muted);
}
.hero__scroll svg { width: 18px; height: 18px; animation: nudge 1.8s var(--ease-standard) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

@media (max-width: 640px) {
  .hero__text { padding-top: 36px; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__actions .btn { width: 100%; }
  /* Unify body-copy sizing on phones: section intros + About paragraphs match the hero lead */
  .section-head .lead,
  .split-text p:not(.eyebrow) { font-size: 1.0625rem; }
}

/* ============================================================
   Connect With Mary — platform cards
   ============================================================ */
.connect-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 900px; margin: 0 auto;
}
@media (max-width: 720px) { .connect-grid { grid-template-columns: 1fr; gap: 16px; } }

.pcard {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; min-height: 92px;
  background: var(--surface-card);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--e1);
  color: var(--text-strong); text-decoration: none;
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft), border-color var(--dur);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--e3); border-color: var(--hair-2); text-decoration: none; }
.pcard:active { transform: translateY(-1px); box-shadow: var(--e2); }

.pcard__icon {
  flex: 0 0 auto; width: 56px; height: 56px;
  display: grid; place-items: center; color: #fff;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 15px;
  box-shadow: var(--e1);
}
.pcard__icon svg { width: 27px; height: 27px; }
.pcard__icon img { width: 40px; height: 40px; object-fit: contain; display: block; }
.pcard__icon--dark { background: var(--miwm-navy); border-color: transparent; }
.pcard__body { flex: 1 1 auto; min-width: 0; }
.pcard__name { display: block; font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.08rem; color: var(--text-strong); line-height: 1.1; }
.pcard__desc { display: block; font-weight: var(--fw-regular); font-size: 0.9375rem; color: var(--steel-600); margin: 4px 0 0; line-height: 1.45; }
.pcard__arrow { flex: 0 0 auto; color: var(--miwm-blue); display: grid; place-items: center; opacity: 0.7; }
.pcard__arrow svg { width: 22px; height: 22px; transition: transform var(--dur) var(--ease-out); }
.pcard:hover .pcard__arrow { opacity: 1; }
.pcard:hover .pcard__arrow svg { transform: translateX(3px); }

/* Featured VIP card */
.pcard--vip {
  grid-column: 1 / -1;
  flex-direction: column; align-items: stretch; gap: 16px;
  padding: 28px; color: #fff; border: 0;
  background: var(--miwm-navy);
  background-image:
    radial-gradient(130% 130% at 15% 0%, var(--miwm-navy-700) 0%, var(--miwm-navy) 58%);
  box-shadow: var(--e2);
}
.pcard--vip::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(92,224,242,0.18); pointer-events: none;
}
.pcard--vip { position: relative; }
.pcard--vip:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.pcard--vip:active { transform: translateY(-1px); box-shadow: var(--e2); }
.vip-top { display: flex; align-items: center; gap: 14px; }
.vip-top .pcard__icon { background: var(--caution); color: var(--miwm-ink); border-color: transparent; box-shadow: 0 4px 12px rgba(255,194,26,0.28); }
.vip-name { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.25rem; color: #fff; line-height: 1; }
.vip-badge {
  margin-left: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-condensed); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--miwm-ink);
  background: var(--caution); padding: 7px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(255,194,26,0.28);
}
.vip-badge svg { width: 14px; height: 14px; }
.pcard--vip h3 { color: #fff; font-size: 1.35rem; margin: 0; }
.pcard--vip .vip-desc { color: rgba(255,255,255,0.82); font-size: var(--fs-body); margin: 0; }
.pcard--vip .btn { margin-top: 4px; }
@media (max-width: 480px) {
  .vip-badge { margin-left: 0; }
  .vip-top { flex-wrap: wrap; }
}

/* Cameo spans full width as a secondary feature */
.pcard--wide { grid-column: 1 / -1; }

/* ============================================================
   About Mary — split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.split-image img {
  width: 100%; height: auto;   /* full image, never cropped */
  border-radius: var(--radius-xl);
  box-shadow: var(--e3);
  display: block;
}
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-text { text-align: center; }
  .split-image { order: -1; max-width: 460px; margin: 0 auto; }
  .chips { justify-content: center; }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; font-size: var(--fs-sm); font-weight: 600;
  color: #fff; background: var(--miwm-blue);
  border: 0; border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(15,114,198,0.28);
}
.chip svg { width: 16px; height: 16px; color: #fff; flex: 0 0 auto; }

/* ============================================================
   Make It With Mary — videos
   ============================================================ */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 720px) { .video-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 18px; } }

.vcard {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--e-dark); text-decoration: none; color: #fff;
  background: var(--miwm-navy-800);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.vcard:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(0,0,0,0.4); text-decoration: none; }
.vcard:active { transform: translateY(-1px); }
.vcard__thumb { position: relative; }
.vcard__thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.vcard:hover .vcard__thumb img { transform: scale(1.04); }
.vcard__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,44,78,0) 38%, rgba(11,44,78,0.82) 100%); }

.vcard__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; display: grid; place-items: center; z-index: 2;
  color: #fff; background: var(--miwm-red);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(238,74,90,0.36); transition: transform var(--dur) var(--ease-pop), box-shadow var(--dur);
}
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard:hover .vcard__play { transform: translate(-50%,-50%) scale(1.08); box-shadow: 0 12px 28px rgba(238,74,90,0.48); }

.vcard__len {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--font-condensed); font-weight: 700; font-size: 0.72rem;
  color: #fff; background: rgba(12,28,46,0.7); padding: 4px 9px;
  border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.vcard__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; }
.vcard__cat { display: inline-block; font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; color: var(--miwm-cyan-bright); margin-bottom: 4px; }
.vcard__title { font-family: var(--font-condensed); font-weight: 700; font-size: 1.08rem; line-height: 1.2; color: #fff; }

.videos-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ============================================================
   Gallery preview
   ============================================================ */
/* Uniform grid: every thumbnail cropped to a 2:3 tile (full image shown in lightbox) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.gitem {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2 / 3; object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg); box-shadow: var(--e1);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.gitem { cursor: zoom-in; }
.gitem:hover { transform: translateY(-3px); box-shadow: var(--e2); }
.gitem--hidden { display: none; }

.gallery-more { display: none; justify-content: center; margin-top: 28px; }
.gallery-more.is-visible { display: flex; }

/* ============================================================
   Cameo feature
   ============================================================ */
.cameo-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: stretch;
  gap: 0; overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--hair); border-radius: var(--radius-xl);
  box-shadow: var(--e2);
}
.cameo-card__media { position: relative; }
.cameo-card__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: center 25%; display: block; }
.cameo-card__body { padding: clamp(24px,4vw,48px); display: flex; flex-direction: column; justify-content: center; }
.cameo-card__body .btn { margin-top: 10px; }
@media (max-width: 760px) {
  .cameo-card { grid-template-columns: 1fr; }
  .cameo-card__media { order: -1; }
  .cameo-card__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .cameo-card__body { text-align: center; align-items: center; }
}

/* ============================================================
   Final VIP CTA
   ============================================================ */
.vip-final { text-align: center; }
.vip-final .container { max-width: 720px; }
.vip-final h2 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); }
.vip-final p { font-size: var(--fs-lead); color: rgba(255,255,255,0.86); margin: 0 auto 28px; max-width: 40ch; }
.vip-final .btn { margin-bottom: 16px; }
.vip-final__free { display: inline-block; font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; color: var(--miwm-cyan-bright); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--miwm-ink); color: rgba(255,255,255,0.8); padding: 56px 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; }
.footer__brand img { height: 76px; }
.footer__socials { display: flex; gap: 10px; }
.fsocial {
  width: 42px; height: 42px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); transition: background var(--dur), transform var(--dur), border-color var(--dur);
}
.fsocial:hover { background: var(--miwm-blue); border-color: transparent; transform: translateY(-2px); }
.fsocial svg { width: 20px; height: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 20px; }
.footer__links a { color: rgba(255,255,255,0.72); font-weight: 500; font-size: var(--fs-sm); }
.footer__links a:hover { color: #fff; }
.footer hr { border-top-color: rgba(255,255,255,0.12); margin: 20px 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,0.55); }
.footer__legal .age { display: inline-flex; align-items: center; gap: 8px; }
.footer__legal .age b { color: #fff; background: var(--miwm-red); border-radius: var(--radius-xs); padding: 1px 6px; }

/* Mobile: center all footer content, stack the 18+ badge above its sentence */
@media (max-width: 640px) {
  .footer__top { flex-direction: column; justify-content: center; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__legal { justify-content: center; text-align: center; }
  .footer__legal .age { flex-direction: column; }
}

/* ============================================================
   Sticky mobile VIP button
   ============================================================ */
.sticky-vip {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180;
  display: none; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(120%);
  transition: opacity 260ms var(--ease-out), transform 340ms var(--ease-soft);
}
.sticky-vip.is-shown { opacity: 1; transform: translateY(0); }
.sticky-vip .btn { flex: 1 1 auto; box-shadow: var(--shadow-red), 0 10px 30px rgba(11,44,78,0.18); }
.sticky-vip__close {
  flex: 0 0 auto; width: 52px; height: 52px; padding: 15px;
  color: #fff; background: var(--miwm-navy);
  border: 0; border-radius: var(--radius-md);
  box-shadow: var(--e2); cursor: pointer;
}
.sticky-vip__close svg { width: 100%; height: 100%; }
@media (max-width: 1024px) { .sticky-vip { display: flex; } }
.sticky-vip.is-dismissed { display: none !important; }

/* ============================================================
   Video modal
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,44,78,0.66); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; width: min(920px, 100%);
  background: var(--miwm-navy);
  border-radius: var(--radius-lg); box-shadow: 0 40px 90px rgba(0,0,0,0.5); overflow: hidden;
}
.modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close {
  position: absolute; top: -14px; right: -14px; z-index: 3;
  width: 44px; height: 44px; padding: 12px; color: #fff;
  background: var(--miwm-red); border: 0;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-red); cursor: pointer;
}
.modal__close svg { width: 100%; height: 100%; }
@media (max-width: 560px) { .modal__close { top: 8px; right: 8px; } }

/* ============================================================
   Gallery lightbox
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8,20,34,0.94); backdrop-filter: blur(6px); }
.lightbox__img {
  position: relative; z-index: 1;
  max-width: 92vw; max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.lightbox__btn {
  position: absolute; z-index: 3; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill); cursor: pointer;
  backdrop-filter: blur(4px); transition: background var(--dur), transform var(--dur);
}
.lightbox__btn:hover { background: rgba(255,255,255,0.2); }
.lightbox__btn svg { width: 60%; height: 60%; }
.lightbox__close { top: 20px; right: 20px; width: 48px; height: 48px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__counter {
  position: absolute; z-index: 3; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.85); font-family: var(--font-condensed); font-weight: 600;
  letter-spacing: 0.06em; font-size: 0.9rem;
  background: rgba(8,20,34,0.55); padding: 6px 14px; border-radius: var(--radius-pill);
}
@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox__img { max-width: 96vw; max-height: 82vh; }
  .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in-view { animation: ds-reveal-up 700ms cubic-bezier(0.4,0,0.2,1) var(--reveal-delay, 0ms) forwards; }
@keyframes ds-reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { opacity: 1; transform: none; animation: none; }
}

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
