/* ================================
   ADF StayFit — global.css
   FIXES APPLIED:
   ✅ Removed duplicate hamburger blocks (you had 2 competing versions)
   ✅ Removed duplicate .hero__overlay definition (you had 2 competing versions)
   ✅ Added mobile pill-in-menu support (pill-cta--desktop / pill-cta--mobile)
   ✅ Prevented "hide all pills" on mobile (now only hides desktop pill)
   ✅ Made header layout predictable on mobile (brand | hamburger)
   ✅ Added proper nav panel stacking + spacing + last-item pill styling
   ✅ Kept carousel hard-locked (no JS sizing assumptions)
================================== */

/* --------------------------------
   1) Reset + Tokens
-------------------------------- */
*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

:root{
  --adf-pink:#E4149A;
  --adf-magenta:#A80B87;
  --adf-gradient:linear-gradient(135deg,#E4149A,#A80B87);

  --ink:#0A0A0A;
  --muted:rgba(10,10,10,.72);

  --radius:14px;
  --radius-lg:26px;

  --shadow-soft:0 8px 24px rgba(0,0,0,.12);
  --shadow-strong:0 18px 48px rgba(0,0,0,.18);

  /* FIXED DIMENSIONS FOR 4:5 RATIO */
  --hero-minh:clamp(600px, 80vh, 900px);
  --card-w: 380px;  /* Locked width */
  --card-h: 475px;  /* Locked height (4:5 ratio) */
  --photo-radius: 18px;
}

/* --------------------------------
   2) Base + Layout
-------------------------------- */
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,sans-serif;
  line-height:1.6;
  color:var(--ink);
  background:linear-gradient(180deg, rgba(228,20,154,0.06) 0%, rgba(228,20,154,0.04) 35%, #ffffff 85%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

.container{
  width:min(1200px,92vw);
  margin:0 auto;
}

/* --------------------------------
   3) Dismissible Banner
-------------------------------- */
.site-banner{
  position:fixed;
  top:0; left:0;
  width:100%;
  z-index:9999;
  background:var(--adf-gradient);
  color:#fff;
  box-shadow:var(--shadow-strong);
}

.site-banner__content{
  max-width:1200px;
  margin:0 auto;
  padding:.75rem 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.site-banner__close{
  border:none;
  background:rgba(255,255,255,.2);
  color:#fff;
  width:32px;
  height:32px;
  border-radius:999px;
  cursor:pointer;
}

/* --------------------------------
   4) Header
-------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner{
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  white-space: nowrap;
}

.brand img{
  width:46px;
  height:46px;
  border-radius:999px;
  object-fit:cover;
}

.main-nav{
  display:flex;
  justify-content:center;
  align-items: center;
  gap:18px;
}

.main-nav a{
  padding: 10px 6px;
  border-radius: 10px;
  font-weight: 650;
}
.main-nav a:hover{
  background: rgba(0,0,0,.04);
}

/* CTA base */
.pill-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:800;
  padding:10px 18px;
  border-radius:999px;
  background:var(--adf-gradient);
  box-shadow:var(--shadow-soft);
  white-space: nowrap;
}

/* Desktop vs Mobile pill targets */
.pill-cta--mobile{ display:none; } /* default desktop state */

/* ===== ADF Monthly Calendar (handout style) ===== */
.adf-calendar{
  background:#fff;
  border-radius:18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.14);
  border:1px solid rgba(0,0,0,.10);
  overflow:hidden;
  width:100%;
  max-width: 560px;
  margin-left:auto; /* keeps it aligned right in the hero */
}

.adf-calendar__header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:18px 18px 12px;
  border-bottom:1px solid rgba(0,0,0,.12);
}

.adf-calendar__brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}

.adf-calendar__logo{
  width:54px;
  height:54px;
  border-radius:50%;
  object-fit:cover;
}

.adf-calendar__brandname{
  font-weight:800;
  letter-spacing:.24em;
  font-size:14px;
  white-space:nowrap;
}

.adf-calendar__subtitle{
  font-size:12px;
  letter-spacing:.28em;
  opacity:.75;
  margin-top:3px;
  white-space:nowrap;
}

.adf-calendar__month{
  font-family: Georgia, "Times New Roman", serif;
  font-size:44px;
  line-height:1;
  font-weight:500;
  text-align:right;
  white-space:nowrap;
}

.adf-calendar__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
}

.adf-cal__dow{
  background:#f6f6f6;
  font-weight:800;
  letter-spacing:.18em;
  font-size:12px;
  text-align:center;
  padding:10px 6px;
  border-right:1px solid rgba(0,0,0,.12);
  border-bottom:1px solid rgba(0,0,0,.12);
}

.adf-cal__cell{
  min-height:92px;
  padding:8px 8px 10px;
  border-right:1px solid rgba(0,0,0,.12);
  border-bottom:1px solid rgba(0,0,0,.12);
  position:relative;
}

.adf-cal__cell--empty{
  background:#fff;
}

.adf-cal__date{
  font-weight:700;
  font-size:13px;
  opacity:.9;
}

.adf-cal__items{
  margin-top:6px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.adf-cal__item{
  font-size:12px;
  line-height:1.15;
}

.adf-cal__item strong{
  display:block;
  font-weight:800;
}

.adf-calendar__note{
  padding:10px 14px;
  font-size:12px;
  opacity:.7;
}

/* Mobile tweaks */
@media (max-width: 620px){
  .adf-calendar{ max-width: 100%; margin-left:0; }
  .adf-calendar__month{ font-size:34px; }
  .adf-cal__cell{ min-height:78px; }
}


/* --------------------------------
   5) Hero Stacking
-------------------------------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:var(--hero-minh);
  display:flex;
  align-items:center;
}

.hero__bg{
  position:absolute;
  inset:0;
  background-image:url("/assets/images/storefront.jpg");
  background-size:cover;
  background-position:center;
  z-index:0;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.40) 0%,
    rgba(255,255,255,0.72) 100%
  );
  z-index:1;
}

.hero__inner{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:120px 0 60px;
}

.hero__copy{
  margin-bottom:50px;
  max-width:900px;
}

.hero__copy h1{
  font-size:clamp(34px, 3.2vw, 54px);
  line-height:1.1;
  margin:0 0 15px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  color:#000;
}

.hero__copy p{
  font-size:clamp(16px, 1.2vw, 20px);
  font-weight:600;
  color:#000;
  max-width:700px;
  margin:0 auto 20px;
  line-height:1.5;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.5);
}

.hero__actions{
  display:flex;
  justify-content:center;
  margin-top:25px;
}

/* --------------------------------
   6) Cards (Proportional Lock)
-------------------------------- */
.card--hero{
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  height: var(--card-h);
  background:#fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-strong);
  display:flex;
  flex-direction:column;
  margin:0;
}

.card__photo{
  width:100%;
  height:60%;
  object-fit:cover;
  border-radius: var(--photo-radius);
}

.card__body{
  padding-top:15px;
  flex-grow:1;
  display:flex;
  flex-direction:column;
}

.card__kicker{
  font-size:11px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:5px;
}
.card__title{
  font-size:19px;
  margin:0 0 5px;
}
.card__text{
  font-size:14px;
  color:var(--muted);
  margin:0;
}

/* --------------------------------
   7) Carousel (Fixed Window / Transform)
-------------------------------- */
.hero__carousel{
  width:100%;
  display:flex;
  justify-content:center;
}

.carousel{
  width: var(--card-w);
  position:relative;
  padding-bottom:70px;
}

.carousel__viewport{
  width:100%;
  overflow:hidden;
  border-radius: var(--radius-lg);
}

.carousel__track{
  display:flex;
  transition:transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change:transform;
}

.carousel__controls{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:15px;
}

.carousel__btn{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,0.1);
  background:#fff;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}

.carousel__dots{
  display:flex;
  gap:8px;
}

.carousel__dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(0,0,0,0.15);
  border:none;
  cursor:pointer;
  padding:0;
}

.carousel__dot.is-active{
  background:var(--adf-pink);
  transform:scale(1.2);
}

/* --------------------------------
   8) Owner Letter / Footer
-------------------------------- */
.owner-letter{ padding:5rem 0; background:#fff; }
.owner-letter__inner{
  width:min(1200px,92vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:3rem;
  align-items:start;
}
.owner-letter__photo img{
  width:100%;
  border-radius:18px;
  box-shadow:var(--shadow-soft);
}

.site-footer{
  padding:3.5rem 0;
  border-top:1px solid rgba(0,0,0,0.06);
  background:#fff;
}
.footer-inner{
  width:min(1200px,92vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:2rem;
}

/* --------------------------------
   9) Mobile Navigation (Hamburger)
-------------------------------- */
.menu-toggle{
  display:none; /* desktop */
  flex-direction:column;
  justify-content:center;
  gap:6px;
  background:transparent;
  border:none;
  cursor:pointer;
  padding:10px;
  width:44px;
  height:44px;
}

.menu-toggle span{
  display:block;
  width:25px;
  height:3px;
  background-color:var(--adf-pink);
  border-radius:3px;
  transition:transform .2s ease, opacity .2s ease;
}

/* --------------------------------
   10) Responsive
-------------------------------- */
@media (max-width: 900px){
  .owner-letter__inner{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; text-align:center; }

  /* Show hamburger */
  .menu-toggle{ display:flex; }

  /* Keep header clean: brand left, burger right */
  .header-inner{
    justify-content: space-between;
  }

  /* Hide desktop pill ONLY (so mobile pill can show inside nav) */
  .pill-cta--desktop{ display:none; }

  /* Nav becomes dropdown panel */
  .main-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    padding:14px 16px 16px;
    border-bottom:3px solid var(--adf-pink);
    box-shadow:var(--shadow-soft);
    z-index:1050;
    text-align:center;
    gap: 0;
  }

  .main-nav.is-open{ display:flex; }

  .main-nav a{
    display:block;
    padding:14px 10px;
    font-size:18px;
    border-bottom:1px solid rgba(0,0,0,0.06);
    border-radius: 0;
  }

  /* Mobile pill shown inside menu, styled + spaced */
  .pill-cta--mobile{
    display:inline-flex;
    margin-top: 14px;
    align-self: center;
    border-bottom: none;
  }

  /* Remove divider line on the pill row if your last <a> is the pill */
  .main-nav a.pill-cta--mobile{
    border-bottom: none;
    padding: 12px 18px; /* override nav link padding */
  }
}

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* =========================================
   Hamburger → X Animation
========================================= */

/* Default state already defined by you */

.menu-toggle.is-active span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2){
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}
/* Center bullet groups (Support Circle page) */
.centered-bullets{
  margin-left: auto;
  margin-right: auto;
  max-width: 40ch;
  text-align: left;
}

.centered-bullets ul,
ul.centered-bullets{
  padding-left: 1.1rem;
}
.centered-block{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================
   Desktop Carousel Enhancement
========================================== */

@media (min-width: 1024px) {
  .carousel {
    max-width: 980px;
    margin: 0 auto;
  }

  .card--hero {
    padding: 36px 36px 32px;
    border-radius: 32px;
  }

  .card__photo {
    height: 360px;
    object-fit: cover;
    border-radius: 22px;
  }

  .card__title {
    font-size: 1.6rem;
  }

  .card__text {
    font-size: 1.05rem;
  }
}
/* ==========================
   Lightbox w/ Zoom + Close
========================== */
.no-scroll { overflow: hidden; }

.lightbox-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox-ui{
  width: min(1100px, 96vw);
  height: min(760px, 92vh);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.lightbox-controls{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.lightbox-btn{
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.lightbox-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.lightbox-close{
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-6px);
}

.lightbox-stage{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.lightbox-img{
  max-width: 92vw;
  max-height: 80vh;
  transform-origin: center center;
  transition: transform .15s ease;
  cursor: zoom-in;
  user-select: none;
}

.lightbox-img[data-zoomed="1"]{
  cursor: grab;
}

.lightbox-img.is-dragging{
  cursor: grabbing;
}
.lightbox-stage { touch-action: none; } /* allow custom pinch + pan */
.lightbox-img { touch-action: none; }   /* prevent browser gestures on image */

/* ================= MEMBER SPOTLIGHT ================= */

.grid-2{
  gap: 26px;   /* loosen spacing */
}

.cta-tile{
  display: grid;
  grid-template-columns: 1fr;
  padding: 16px;
}

.cta-video{
  position: relative;
  background: linear-gradient(135deg, rgba(228,20,154,.12), rgba(168,11,135,.12));
  border-radius: 14px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn{
  width: 64px;
  height: 64px;
  background: var(--adf-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong);
  cursor: pointer;
}

.play-btn i{
  color: white;
  font-size: 22px;
  margin-left: 4px;
}

.cta-content{
  padding-top: 14px;
}

/* Keep the calendar from stretching too wide in the right column */
.owner-letter__photo .adf-calendar{
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
@media (max-width: 980px){
  .owner-letter__photo .adf-calendar{
    max-width: 100%;
    margin: 0;
  }
}
.owner-letter__photo .adf-calendar{
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
@media (max-width: 980px){
  .owner-letter__photo .adf-calendar{
    max-width: 100%;
    margin: 0;
  }
}

/* ==========================
   Signature Block Styling
========================== */

.signature-block {
  margin-top: 64px;
  max-width: 460px;
}

.signature-closing {
  margin-bottom: 12px;
  font-style: italic;
  color: rgba(10,10,10,.85);
}

.signature-image {
  width: 170px;              /* smaller, personal */
  max-width: 100%;
  display: block;
  margin: 2px 0 10px;
}

.signature-name {
  font-weight: 600;
  margin: 0;
}

.signature-role {
  margin: 2px 0 0;
  font-size: .95rem;
  color: rgba(10,10,10,.7);
}

.signature-tagline {
  margin: 2px 0 0;
  font-size: .9rem;
  letter-spacing: .02em;
  color: rgba(10,10,10,.6);
}

/* Optional editorial polish */
.signature-block {
  border-left: 3px solid rgba(228,20,154,.15);
  padding-left: 24px;
}
