/* ---------- Base / Typography ---------- */
:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#6b6b6b;
  --container:1200px;

  --black:#000;
  --white:#fff;
  --taupe:#e3ddd6;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
}

h1,h2,h3{
  font-family:'Playfair Display', Georgia, serif;
  font-weight:300;
  letter-spacing:-0.4px;
  margin:0;
}

.container{max-width:var(--container); margin-inline:auto; padding-inline:20px}

/* ---------- Header / Nav ---------- */
.nav-wrap{display:flex; align-items:center; justify-content:space-between}
.brand{
  text-decoration:none; color:var(--white);
  font-family:'Playfair Display', serif; font-size:1.4rem; font-weight:700;
}
.main-nav ul{display:flex; gap:30px; list-style:none; margin:0; padding:0}
.main-nav a{
  color:var(--white); text-decoration:none; font-weight:600;
}
.main-nav a:hover{opacity:.75}

/* ---------- Hero (image) ---------- */
.hero{
  position:relative; height:100vh; min-height:560px;
  display:flex; align-items:center; justify-content:center; text-align:center;
  overflow:hidden; color:var(--white);
}

.hero-media{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.02); /* tiny zoom for luxe feel */
}

.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.58), rgba(0,0,0,.42));
}

.hero-inner{position:relative; z-index:1; padding:0 24px; max-width:1100px}

.display{
  font-size:clamp(2.2rem, 5.5vw + .5rem, 5.2rem);
  font-weight:700; line-height:1.1; letter-spacing:-.5px;
  text-wrap:balance; word-break:keep-all; overflow-wrap:normal;
  max-width:16ch; margin:0 auto;
}
.display em{font-style:italic}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block; text-decoration:none; font-weight:700;
  padding:16px 28px; border-radius:6px; transition:.25s ease;
}
.btn-pill{border-radius:999px; padding:16px 32px}
.btn-dark{background:var(--black); color:var(--white); border:1px solid var(--black)}
.btn-dark:hover{transform:translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.18)}

/* CTA Row */
.hero-ctas{margin-top:28px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap}

/* ---------- Intro ---------- */
.intro{padding:88px 20px 64px; text-align:center}
.intro h2{font-size:clamp(1.6rem, 2.5vw + .5rem, 2.4rem); margin-bottom:12px}
.intro p{max-width:780px; margin:0 auto; color:var(--muted)}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid #eee; padding:34px 0; color:#777; text-align:center}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 820px){
  .main-nav ul{gap:18px}
  .brand{font-size:1.25rem}
}

footer {
  background-color: #000;       /* black background */
  color: #fff;                  /* white text */
  font-family: 'Helvetica Neue', Arial, sans-serif; /* clean sans serif */
  font-size: 11px;              /* slightly smaller text */
  font-weight: 400;             /* semi-bold */
  text-transform: uppercase;    /* all caps */
  letter-spacing: 1px;          /* adds spacing between letters */
  text-align: center;           /* center align */
  padding: 20px 0;              /* space above and below */
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);  /* bigger: ~35–48px */
  line-height: 1.2;
  font-weight: 300;  /* lighter, like Shaep */
}

.hero h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);  /* slightly bigger: ~22–32px */
  line-height: 1.3;
  font-weight: 300;  /* softer secondary line */
}

.hero .btn {
  font-size: 0.75rem;  
  font-weight: 500;    
  padding: 0.75rem 1.5rem; /* balanced pill button */
  border-radius: 9999px;
}

/* === Hero type & button overrides (place at very end) === */
.hero h1{
  font-size: clamp(2.4rem, 4.2vw, 3.2rem);  /* bigger */
  line-height: 1.2;
  font-weight: 400;                          /* thinner */
}

.hero h2{
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);   /* bigger but secondary */
  line-height: 1.3;
  font-weight: 300;
}

/* Your HTML uses .btn-dark / .btn-pill - target those, not .btn */
.hero .btn-dark,
.hero .btn-pill,
.hero .btn-dark.btn-pill{
  font-size: 0.9rem;               /* smaller label */
  font-weight: 400 !important;     /* un-bold the text */
  letter-spacing: 0.3px;
  text-transform: none;            /* remove all-caps if inherited */
  line-height: 1;
  padding: 12px 24px;              /* slightly smaller pill */
  border-radius: 9999px;
}


/* Brand name top-right */
.brand-text {
  white-space: nowrap;          /* keeps 'yoga with lisa rose' on one line */
}

/* Keep specific words together */
.nowrap {
  white-space: nowrap;
}

/* Mobile tweaks */
@media (max-width: 430px) {
  .display {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    max-width: 18ch;
    letter-spacing: -0.3px;
  }
}

/* Keep specific phrases together */
.nowrap { white-space: nowrap; }

/* --- Mobile headline comfort --- */
@media (max-width: 430px){
  .hero .display,
  .display {
    font-size: clamp(1.8rem, 7.2vw, 2.4rem);
    max-width: 90vw;        /* use most of the viewport */
    padding-inline: 16px;   /* breathing room from edges */
    text-wrap: balance;
  }
}

/* Larger desktop screens: extra editorial feel */
@media (min-width: 1200px) {
  .display {
    max-width: 14ch;           /* narrow for elegant line breaks */
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.1;
  }
}
.brand {
  font-family: "amandine", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  color: #ffffff;        /* adjust if you want a softer gray/white */
  letter-spacing: .02em;
  font-size: 3rem;

}

.btn-dark {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.btn-dark:hover {
  background: #fff;
  color: #000;
}

/* === LOGIN pill button - single authoritative definition === */
.site-header .main-nav a.login-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1px solid #000;
  background: #000;              /* solid black like the hero CTA */
  color: #fff !important;        /* defeat .main-nav a { color: white } */
  font-weight: 700;
  font-size: 0.85rem;   /* or try 14px */
  letter-spacing: .2px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.site-header .main-nav a.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* ===== Mobile header & LOGIN pill ===== */
@media (max-width: 820px){
  .nav-wrap{ gap:12px; }
  .brand{ font-size:1.6rem; }           /* smaller logo text */
  .main-nav ul{
    gap:16px;
    align-items:center;
    flex-wrap:nowrap;                    /* keep on one line */
  }
  .main-nav a{ font-size:.9rem; }        /* smaller link text */

  /* Make the LOGIN pill smaller so it fits */
  .site-header .main-nav a.login-btn{
    padding:8px 16px;                    /* was 12px 24px */
    border-radius:9999px;
    font-weight:600;
  }
}

/* Extra-tight phones */
@media (max-width: 430px){
  .brand{ font-size:1.35rem; }
  .main-nav ul{ gap:12px; }
  .site-header .main-nav a.login-btn{
    padding:7px 14px;
    letter-spacing:.1px;
  }
}

/* Prevent any sideways scroll caused by transforms etc. */
html, body { overflow-x: hidden; }

@media (max-width: 430px){
  .display{
    max-width: 24ch;         /* a touch wider so it breaks into 2–3 lines nicely */
  }
  .hero .btn-dark.btn-pill{
    padding: 12px 22px;
  }
}

/* --- Nav alignment fixes (place at the very end) --- */
.site-header .main-nav ul{
  display:flex;           /* already flex, but ensure */
  align-items:center;     /* vertically center all items */
  gap:30px;
}

.site-header .main-nav a{
  display:inline-flex;    /* centers text inside links */
  align-items:center;
  line-height:1;          /* prevents baseline wobble */
}

/* Match LOGIN pill height to neighbors a bit tighter */
.site-header .main-nav a.login-btn{
  padding:10px 18px;      /* slightly shorter so it aligns */
  font-weight:400;        
}

/* ==== Sticky taupe header - final, authoritative ==== */

/* Base header: fixed and transparent over the hero */
.site-header{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  padding: 22px 0;
  background: transparent !important;     /* start transparent */
  z-index: 2000;                           /* above hero overlay */
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

/* Scrolled state: taupe bar + subtle depth */
.site-header.scrolled{
  background: var(--taupe) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  backdrop-filter: saturate(110%) blur(6px);
}

/* Link colors: white on transparent, dark on taupe */
.site-header .brand,
.site-header .main-nav a{ color:#fff !important; }

.site-header.scrolled .brand,
.site-header.scrolled .main-nav a{ color:#111 !important; opacity:.9; }
.site-header.scrolled .main-nav a:hover{ opacity:1; }

/* Ensure the hero sits under the header */
.hero, .hero-media, .hero-overlay { z-index: 0; }
.hero-inner { z-index: 1; }

/* Keep LOGIN text white always */
.site-header .main-nav a.login-btn {
  color: #fff !important;
}

.site-header.scrolled .main-nav a.login-btn {
  color: #fff !important;   /* force white even when scrolled */
  border-color: #000;       /* keep the black pill outline */
  background: #000;         /* solid black fill (if you want) */
}

.site-header.scrolled .main-nav a.login-btn:hover {
  background: #fff;         /* invert on hover */
  color: #000 !important;   /* black text only on hover */
}

/* --- Mobile hero fixes (center + reflow) --- */
@media (max-width: 430px){
  /* Let the first line wrap normally on small screens */
  .nowrap { white-space: normal; }

  /* Give the headline a full-width, centered box with padding */
  .hero .display,
  .display{
    max-width: calc(100vw - 32px);   /* ~16px side padding */
    padding-inline: 16px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-wrap: balance;               /* nicer line breaks */
    overflow-wrap: anywhere;          /* never clip off-screen */
    font-size: clamp(1.75rem, 6.8vw, 2.35rem);  /* a touch smaller */
    line-height: 1.18;
  }

  /* iOS safe-area nicety (notch edges) */
  .hero .display{
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}
/* Keep LOGIN white in scrolled (taupe) state */
.site-header.scrolled .main-nav a.login-btn{
  color:#fff !important;
  background:#000;
  border-color:#000;
}

.hero .display {
  font-family: 'Playfair Display', Georgia, serif !important; /* or remove line per Option A */
  font-weight: 500 !important;           /* thinner Playfair that you have loaded */
  font-size: clamp(1.8rem, 4.5vw, 2.6rem) !important;
  line-height: 1.2 !important;
  /* keep your other lines as-is */
}

/* ===== Utilities ===== */
.visually-hidden{position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}

/* ===== Cards / Carousel ===== */
.cards{padding:48px 0}
.cards-row{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(240px, 320px);
  gap:16px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.cards-row::-webkit-scrollbar{height:8px}
.cards-row::-webkit-scrollbar-thumb{background:#ddd;border-radius:8px}

.card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  scroll-snap-align:start;
  background:#f7f7f7;
}
.card-link{display:block; position:relative}
.card-img{
  display:block; width:100%; height:100%;
  object-fit:cover; aspect-ratio: 4 / 5;
  transition:opacity .35s ease, transform .35s ease;
  backface-visibility:hidden;
}
.img-hover{position:absolute; inset:0; opacity:0; transform:scale(1.02)}
.card-tag{
  position:absolute; top:12px; right:12px;
  background:#111; color:#fff; font-size:.7rem; letter-spacing:.06em;
  padding:6px 10px; border-radius:999px
}
.card-cta{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  background:rgba(255,255,255,.92);
  color:#111; border:1px solid #111;
  padding:10px 18px; border-radius:999px; font-weight:700; font-size:.82rem;
  opacity:0; transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.card-cta span{white-space:nowrap}

/* Hover states for devices with fine pointer */
@media (hover:hover){
  .card:hover .img-hover{opacity:1; transform:scale(1)}
  .card:hover .img-default{opacity:0}
  .card:hover .card-cta{opacity:1; transform:translateX(-50%) translateY(-2px)}
}

/* ===== Hamburger Button ===== */
.hamburger-btn{
  background:none; border:none; cursor:pointer;
  padding:4px; margin-left:16px;
  display:flex; flex-direction:column; justify-content:space-between;
  width:24px; height:18px; flex-shrink:0;
}
.hamburger-btn span{
  display:block; height:2px; width:100%;
  background:#fff; border-radius:2px;
  transition:transform .3s ease, opacity .25s ease, background .3s ease;
  transform-origin:center;
}
.site-header.scrolled .hamburger-btn span{ background:#111; }

.hamburger-btn.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2){ opacity:0; transform:scaleX(0); }
.hamburger-btn.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ===== Nav Dropdown ===== */
.nav-dropdown{
  position:fixed; top:0; left:0; right:0; bottom:0;
  z-index:1999;
  background:#faf8f5;
  padding:96px 48px 48px;
  overflow-y:auto;
  transform:translateY(-100%);
  opacity:0;
  transition:transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  pointer-events:none;
}
.nav-dropdown.open{
  transform:translateY(0);
  opacity:1;
  pointer-events:all;
}
.nav-dropdown__list{
  list-style:none; margin:0 auto; padding:0;
  max-width:860px;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:0 48px;
}
.nav-dropdown__list li{ border-bottom:1px solid #e8e3dd; }
.nav-dropdown__list a{
  display:block;
  font-family:'Inter', sans-serif;
  font-size:.78rem; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase;
  color:#111; text-decoration:none;
  padding:18px 0;
  transition:color .2s ease, padding-left .2s ease;
}
.nav-dropdown__list a:hover{ color:#8a7060; padding-left:6px; }

@media(max-width:640px){
  .nav-dropdown{ padding:88px 28px 48px; }
  .nav-dropdown__list{ grid-template-columns:1fr; }
}

/* ===== Footer Nav ===== */
.footer-nav{
  background:#111;
  padding:72px 0 56px;
}
.footer-nav__inner{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr 1fr;
  gap:48px;
}
.footer-nav__site-name{
  font-family:'Playfair Display', serif;
  font-size:1.3rem; font-weight:700;
  color:#f5f0eb; margin:0 0 12px;
  letter-spacing:.01em;
}
.footer-nav__tagline{
  font-family:'Inter', sans-serif;
  font-size:.82rem; font-weight:300;
  color:#b0a89e; line-height:1.65;
  margin:0 0 24px; max-width:260px;
}
.footer-nav__social{ display:flex; gap:14px; flex-wrap:wrap; }
.footer-nav__social .icon-btn img{
  filter:brightness(0) invert(.65);
  transition:filter .2s;
}
.footer-nav__social .icon-btn:hover img{ filter:brightness(0) invert(1); }

.footer-nav__heading{
  font-family:'Inter', sans-serif;
  font-size:.65rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:#f5f0eb; margin:0 0 20px;
}
.footer-nav__col ul{ list-style:none; margin:0; padding:0; }
.footer-nav__col ul li{ margin-bottom:12px; }
.footer-nav__col ul a{
  font-family:'Inter', sans-serif;
  font-size:.82rem; font-weight:400;
  color:#8a8078; text-decoration:none;
  transition:color .2s;
}
.footer-nav__col ul a:hover{ color:#f5f0eb; }

/* Nav Dropdown - grouped grid layout */
.nav-dropdown__grid{
  max-width:860px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0 48px;
  align-items:start;
}
.nav-dropdown__group-head{
  font-family:'Inter', sans-serif;
  font-size:.65rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:#8a7060;
  margin:0 0 8px;
  padding-bottom:12px;
  border-bottom:2px solid #e8e3dd;
}
.nav-dropdown__group ul{ list-style:none; margin:0; padding:0; }
.nav-dropdown__group li{ border-bottom:1px solid #e8e3dd; }
.nav-dropdown__group a{
  display:block;
  font-family:'Inter', sans-serif;
  font-size:.78rem; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase;
  color:#111; text-decoration:none;
  padding:14px 0;
  transition:color .2s ease, padding-left .2s ease;
}
.nav-dropdown__group a:hover{ color:#8a7060; padding-left:6px; }

@media(max-width:640px){
  .nav-dropdown__grid{ grid-template-columns:1fr 1fr; gap:32px 24px; }
}
@media(max-width:400px){
  .nav-dropdown__grid{ grid-template-columns:1fr; gap:28px; }
}

@media(max-width:860px){
  .footer-nav__inner{ grid-template-columns:1fr 1fr; gap:40px 32px; }
}
@media(max-width:480px){
  .footer-nav__inner{ grid-template-columns:1fr; gap:40px; }
  .footer-nav__tagline{ max-width:none; }
}

/* Touch: show pill CTA always (can tweak to taste) */
@media (hover:none){
  .card-cta{opacity:1}
}

/* ===== Mission Banner ===== */
.mission{position:relative; border-radius:20px; overflow:hidden; margin:48px 20px}
.mission-media{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.02);
}
.mission-overlay{
  position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.40), rgba(0,0,0,.30));
}
.mission-inner{
  position:relative; z-index:1; text-align:center; color:#fff;
  padding:96px 20px;
}
.mission h2{
  font-family:'Playfair Display', Georgia, serif; font-weight:700;
  font-size:clamp(1.8rem, 4vw, 3rem); letter-spacing:-.3px; margin:0 0 12px;
}
.mission p{
  max-width:800px; margin:0 auto 22px; color:#f1f1f1; line-height:1.7;
}

/* Button variant used on mission */
.btn-outline{
  background:transparent; color:#fff; border:1.5px solid #fff;
}
.btn-outline:hover{
  background:#fff; color:#000; transform:translateY(-1px);
}

/* Mobile niceties */
@media (max-width: 480px){
  .cards-row{grid-auto-columns:78%}
  .mission{margin:32px 0; border-radius:0}
  .mission-inner{padding:72px 18px}
}

/* =================== Bali Retreat Banner =================== */
.bali-retreat {
  position: relative;
  min-height: 480px;
  max-width: 1200px;
  margin: 48px auto;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.bali-retreat-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 0;
}

.bali-retreat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.28) 100%
  );
  z-index: 1;
}

.bali-retreat-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  padding: clamp(32px, 6vw, 72px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.bali-retreat-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin: 0 0 20px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

.bali-retreat-inner p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.7;
  margin: 6px 0;
  max-width: 600px;
}

.bali-retreat-inner .btn-outline {
  margin-top: 28px;
  border-color: #fff;
  color: #fff;
  display: inline-block;
}

.bali-retreat-inner .btn-outline:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .bali-retreat {
    min-height: 360px;
    margin: 32px auto;
    border-radius: 16px;
    width: calc(100% - 32px);
  }
  .bali-retreat-inner {
    padding: 40px 24px;
  }
}

/* =================== Membership Banner =================== */
.membership, .teach-banner, .corporate-banner {
  position: relative;
  min-height: 480px;
  max-width: 1200px;
  margin: 48px auto;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.membership-media, .teach-banner-media, .corporate-banner-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 0;
}

.corporate-banner-media {
  background-position: center 30%;
}

.membership-overlay, .teach-banner-overlay, .corporate-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.28) 100%
  );
  z-index: 1;
}

.membership-inner, .teach-banner-inner, .corporate-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  padding: clamp(32px, 6vw, 72px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.membership-inner h2, .teach-banner-inner h2, .corporate-banner-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin: 0 0 20px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

.membership-inner p, .teach-banner-inner p, .corporate-banner-inner p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.7;
  margin: 6px 0;
  max-width: 600px;
}

.membership-inner .btn-outline, .teach-banner-inner .btn-outline, .corporate-banner-inner .btn-outline {
  margin-top: 28px;
  border-color: #fff;
  color: #fff;
  display: inline-block;
}

.membership-inner .btn-outline:hover, .teach-banner-inner .btn-outline:hover, .corporate-banner-inner .btn-outline:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .membership, .teach-banner, .corporate-banner {
    min-height: 360px;
    margin: 32px auto;
    border-radius: 16px;
    width: calc(100% - 32px);
  }
  .membership-inner, .teach-banner-inner, .corporate-banner-inner {
    padding: 40px 24px;
  }
  .membership-inner p,
  .teach-banner-inner p,
  .corporate-banner-inner p,
  .bali-retreat-inner p {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 12px 0;
    padding-left: 1em;
    text-indent: -1em;
    text-wrap: pretty;
  }
}

/* =================== Founder Banner =================== */
.founder {
  position: relative;
  min-height: 480px;
  max-width: 1200px;
  margin: 48px auto;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.founder-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
  z-index: 0;
}

.founder-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.22) 100%
  );
  z-index: 1;
}

.founder-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-left: 0;
  color: #fff;
  padding: clamp(32px, 6vw, 72px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  max-width: 700px;
}

.founder-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin: 0 0 20px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

.founder-inner p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 28px;
}

.founder-inner .btn-outline {
  border-color: #fff;
  color: #fff;
  display: inline-block;
}

.founder-inner .btn-outline:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .founder {
    min-height: 400px;
    margin: 32px auto;
    border-radius: 16px;
    width: calc(100% - 32px);
  }
  .founder-inner {
    padding: 40px 24px;
  }
}

/* =================== Student Testimonials =================== */
.student-testimonials {
  background: #1a1a1a;
  padding: 80px 24px;
  margin: 0;
}

.student-testimonials__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.student-testimonials__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.2px;
  margin: 0 0 12px;
}

.student-testimonials__sub {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin: 0 0 56px;
}

.student-testimonials__carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.student-testimonials__track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.student-testimonials__track:active {
  cursor: grabbing;
}

/* Each card takes exactly 1/3 width on desktop */
.student-testimonials__track .scard {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
}

/* Prev / Next arrow buttons */
.stc-prev,
.stc-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
  line-height: 1;
}

.stc-prev { left: -12px; }
.stc-next { right: -12px; }

.stc-prev:hover,
.stc-next:hover {
  background: rgba(255,255,255,0.2);
}

.stc-prev:disabled,
.stc-next:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dot indicators */
.stc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.stc-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
  padding: 0;
}

.stc-dot.active {
  background: #c8a64b;
  width: 24px;
}

/* Tablet: show 2 cards */
@media (max-width: 900px) {
  .student-testimonials__track .scard {
    flex: 0 0 calc((100% - 28px) / 2);
  }
}

/* Mobile: show 1 card */
@media (max-width: 580px) {
  .student-testimonials__track .scard {
    flex: 0 0 100%;
  }
  .stc-prev { left: 0; }
  .stc-next { right: 0; }
}

.scard {
  background: #242424;
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.scard__avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #c8a64b, #e8c96b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.scard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

.scard__initials {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.scard__stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: #c8a64b;
  margin-bottom: 14px;
}

.scard__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin: 0 0 18px;
  flex: 1;
  font-style: italic;
}

.scard__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.scard__class {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.student-testimonials__cta {
  margin-top: 48px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

.student-testimonials__cta a {
  color: #c8a64b;
  text-decoration: none;
  font-weight: 600;
}

.student-testimonials__cta a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .student-testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .student-testimonials {
    padding: 60px 16px;
  }
  .student-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* Optional: outline button style you used elsewhere */
.btn-outline {
  background: transparent;
  color: #fff; border: 1.5px solid #fff;
}
.btn-outline:hover { background: #fff; color: #000; }

/* Header row: title left, CTA right */
.ig-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 32px) 12px;
}
.ig-head h3 {
  margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem);
}

/* Track area with scroll-snap */
.ig-wrap {
  position: relative;
  padding: 12px clamp(16px, 3vw, 24px) 28px; /* extra bottom = room for dots/nav */
}

.ig-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ig-track::-webkit-scrollbar { display: none; }

@media (min-width: 700px) {
  .ig-track { grid-auto-columns: calc((100% - 2*16px) / 3); } /* 3-up */
}
@media (min-width: 1100px) {
  .ig-track { grid-auto-columns: calc((100% - 3*16px) / 4); } /* 4-up */
}

.ig-card {
  display: block; height: 360px;
  border-radius: 20px; overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.ig-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ig-card:hover img { transform: scale(1.03); }

/* Nav arrows */
.ig-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #ddd; background: rgba(255,255,255,.9);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  display: grid; place-items: center; font-size: 24px; line-height: 1;
  cursor: pointer;
}
.ig-prev { left: 10px; }
.ig-next { right: 10px; }
.ig-nav:hover { background: #fff; }
@media (max-width: 640px) { .ig-nav { display: none; } } /* arrows off on small phones */

/* ==== Instagram header CTA override ==== */
.ig-head .btn-outline {
  color: #111;                     /* dark text */
  border-color: #111;              /* dark border */
  font-size: 0.9rem;
  padding: 8px 18px;
  transition: all .25s ease;
}

.ig-head .btn-outline:hover {
  background: #111;
  color: #fff;
}

/* Align "Back to Home" button inside aside column */
.back-home-wrap {
  margin-top: 16px;       /* space above button */
  display: flex;
  justify-content: flex-start;  /* aligns with left edge of text in aside */
}

/* ===== Member Library Carousel ===== */
.card-shelf {
  position: relative;
  margin: 56px auto;
}

.card-shelf .shelf-head h2 { margin: 0 0 4px; }
.card-shelf .sub { color: #777; margin: 0 0 16px; }

.card-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 18px;
}
.card-track::-webkit-scrollbar { display: none; }

.mcard {
  flex: 0 0 auto;
  width: 280px;               /* match your pop-up card width vibe */
  scroll-snap-align: start;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  overflow: hidden;
}

.mcard-link { display: block; color: inherit; text-decoration: none; }
.mcard-media { position: relative; aspect-ratio: 16/9; background: #eee; }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mcard .lock {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}

.mcard-meta { padding: 12px 14px 14px; }
.mcard-meta h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; }
.mcard-meta .pill {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f1f1;
}

/* Nav arrows */
.shelf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 40px; width: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 38px;
  text-align: center;
  z-index: 2;
}
.shelf-nav.prev { left: -6px; }
.shelf-nav.next { right: -6px; }

.shelf-cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

/* Wellness poster cards (match pop-up look) */
.wellness-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.wellness-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  text-align: center;
}
.wellness-card .poster {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wellness-card .poster img {
  width: 100%;
  aspect-ratio: 3 / 4;         /* tall poster */
  object-fit: cover;
  display: block;
}
.wellness-card:hover .poster {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0,0,0,.14);
}
.wellness-card .meta {
  padding: 12px 6px 0;
}
.wellness-card h3 {
  font-family: "Playfair Display", serif;
  margin: 10px 0 6px;
}
.wellness-card p {
  font-size: .95rem;
  color: #444;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;       /* keep it tidy like the posters */
  overflow: hidden;
}

/* Hide scrollbar and add soft edge fade on horizontal carousels */
.cards-row::-webkit-scrollbar { display: none; }
.cards-row { scrollbar-width: none; }

.yoga-cards {
  mask-image: linear-gradient(to right,
               rgba(0,0,0,0) 0, rgba(0,0,0,1) 24px,
               rgba(0,0,0,1) calc(100% - 24px), rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right,
               rgba(0,0,0,0) 0, rgba(0,0,0,1) 24px,
               rgba(0,0,0,1) calc(100% - 24px), rgba(0,0,0,0) 100%);
}

/* Horizontal carousel layout */
.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
}

.carousel::-webkit-scrollbar {
  display: none; /* hide scrollbar for cleaner look */
}


.ugc-social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.icon-btn {
  width: 62px;
  height: 62px;
  background-color: #3d3c3a;  /* dark gray like mockup */
  border-radius: 50%;
  border: 3px solid #e5e2dd;  /* light outline like Canva preview */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* makes icons white */
}

.icon-btn:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

/* ==================== UGC Reel Layout ==================== */

.ugc-reel-section {
  padding: 4rem 1rem 6rem;
  text-align: center;
}

.ugc-card {
  display: inline-block;
  margin-top: 3rem;
}

/* Container (still useful for sizing/centering) */
.ugc-phone {
  position: relative;
  width: 100%;
  max-width: 320px;
}

/* ✅ Option B: video becomes the “phone” */
.ugc-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  display: block;

  object-fit: cover;
  border-radius: 36px;

  /* thick black iPhone-style border */
  border: 10px solid #111;
  box-sizing: border-box;
  background: #111;

  /* optional: tiny inner rim for polish */
  outline: 2px solid rgba(255,255,255,0.18);
  outline-offset: -6px;
}

/* Hide the phone-frame overlay (we’re not using it in Option B) */
.ugc-phone-frame {
  display: none;
}

/* “testimonial” pill label */
.ugc-tag {
  position: absolute;
  top: -2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

  padding: 0.55rem 1.6rem;
  border-radius: 999px;

  background: #111827;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;

  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);

  cursor: default;
  pointer-events: none;
}

@media (min-width: 900px) {
  .ugc-phone {
    max-width: 380px;
  }
}

/* === Homepage cards carousel fix === */

/* The row that holds all the cards */
.cards .carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
}

.cards .carousel::-webkit-scrollbar {
  display: none; /* hide scrollbar */
}

/* Each individual card */
.cards .card {
  flex: 0 0 260px;           /* fixed width like before */
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f7f7;
  transition: transform 0.3s ease;
}

.cards .card:hover {
  transform: scale(1.03);
}

/* Images inside those cards */
.cards .card-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;       /* keeps them card-shaped instead of huge */
  object-fit: cover;
}

/* Keep the hover image positioned correctly */
.cards .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .35s ease;
}

@media (hover:hover) {
  .cards .card:hover .img-hover { opacity: 1; transform: scale(1); }
  .cards .card:hover .img-default { opacity: 0; }
}

/* ================================
   UGC Intro Section (Scoped Only)
   ================================ */

.intro.container {
  padding: 2.5rem 1rem;      /* reduces white space */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro.container .intro-text {
  margin: 1.25rem auto 2rem;
  line-height: 1.6;
  max-width: 680px;
  color: #444;
}

/* CTA button - scoped, black with white text */
.intro.container .cta-btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border-radius: 999px;

  background-color: #000;    /* black */
  color: #fff;               /* white text */

  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;

  border: none;
  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.intro.container .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .intro.container .intro-text {
    text-align: left;
  }
}

/* Sticky taupe nav on scroll */
.site-header.scrolled,
.site-header[data-scrolled="true"] {
  background-color: var(--taupe) !important;
}

/* =========================================================
   UGC page-only fixes (won't affect other pages)
   Add this to ugc.html:  <body class="page-ugc">
   ========================================================= */

/* 1) Force sticky header to stay taupe on the UGC page */
.page-ugc .site-header {
  background-color: rgba(207, 219, 227, 0.10) !important;
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
}

/* 2) Center the UGC reel cards (the 5-phone strip) */
.page-ugc .ugc-reel-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;

  /* keep your existing spacing + centering */
  text-align: center;
}

.page-ugc .ugc-reel-section > h2 {
  flex: 0 0 100%;
  margin: 0 0 1.25rem;
}

.page-ugc .ugc-card {
  margin-top: 0; /* avoid extra top gap since we're using flex + gap */
}

:root {
  --baby-blue: #cfe7f5;
}

/* ==================== UGC HERO (page-only) ==================== */
.page-ugc .ugc-hero{
  background: #fff;
  padding: 3.25rem 1rem 2.25rem;
}

.page-ugc .ugc-hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 3rem;
  align-items: center;
}

.page-ugc .ugc-hero-video-el{
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  border-radius: 28px;
  border: 10px solid #111;
  background: #111;
  object-fit: cover;
}

.page-ugc .ugc-hero-name{
  margin: 0 0 .35rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
}

.page-ugc .ugc-hero-title{
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .65rem;
}

.page-ugc .ugc-hero-location{
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 1rem;
}

.page-ugc .ugc-hero-blurb{
  margin: 0 0 1.25rem;
  max-width: 44ch;
  line-height: 1.6;
}

.page-ugc .ugc-social-icons{
  display: flex;
  gap: .9rem;
  align-items: center;
}

.page-ugc .ugc-social-icons .icon-btn{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

.page-ugc .ugc-social-icons .icon-btn img{
  width: 26px;
  height: 26px;
}

/* Mobile */
@media (max-width: 980px){
  .page-ugc .ugc-hero-inner{
    grid-template-columns: 1fr;
  }
  .page-ugc .ugc-hero-video{
    max-width: 420px;
    margin: 0 auto;
  }
  .page-ugc .ugc-hero-copy{
    text-align: center;
  }
  .page-ugc .ugc-social-icons{
    justify-content: center;
  }
  .page-ugc .ugc-hero-blurb{
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==================== UGC CONNECT (page-only) ==================== */
.page-ugc .ugc-connect{
  background: #111;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.page-ugc .ugc-connect-title{
  margin: 0 0 1.5rem;
  letter-spacing: .12em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.page-ugc .ugc-connect-card{
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.page-ugc .ugc-connect-photo{
  width: 100%;
  border-radius: 18px;
  display: block;
}

.page-ugc .ugc-connect-icons{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.page-ugc .ugc-connect-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
}

.page-ugc .ugc-connect-icon img{
  width: 28px;
  height: 28px;
}

.page-ugc .ugc-connect-email{
  display: inline-block;
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  letter-spacing: .04em;
}

/* =========================
   UGC HERO - VIDEO SIZING
   ========================= */

.page-ugc .hero-intro-video {
  max-width: 340px;        /* was visually too dominant */
}

.page-ugc .hero-intro-video video {
  width: 100%;
  border-radius: 28px;
}

/* =========================
   UGC HERO - TEXT HIERARCHY
   ========================= */

.page-ugc .hero-inner h1 {
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.page-ugc .hero-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.page-ugc .hero-location {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.page-ugc .hero-blurb {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 480px;
}

/* =====================================================
   UGC HERO - OUTRAGEOUS SCALE TEST (DESKTOP ONLY)
   TEMPORARY: for visual comparison
   ===================================================== */

@media (min-width: 981px){

  /* Name - MASSIVE */
  .page-ugc .ugc-hero-name{
    font-size: clamp(6rem, 9vw, 8.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
  }

  /* Title */
  .page-ugc .ugc-hero-title{
    font-size: 2.1rem;   /* match blurb */
    font-weight: 600;    /* slightly stronger than body */
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  /* Location */
  .page-ugc .ugc-hero-location{
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  /* Blurb */
  .page-ugc .ugc-hero-blurb{
    font-size: 1.6rem;
    max-width: 60ch;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  /* Email line (if added as <div class="ugc-hero-email">) */
  .page-ugc .ugc-hero-email{
    font-size: 2rem;
    margin-bottom: 2.25rem;
  }

  /* Social icons - bigger to match */
  .page-ugc .ugc-social-icons .icon-btn{
    width: 72px;
    height: 72px;
  }

  .page-ugc .ugc-social-icons .icon-btn img{
    width: 34px;
    height: 34px;
  }
}

/* ==========================================
   UGC PAGE ONLY - Fix header overlap on hero
   ========================================== */

/* Make room for the fixed header so it doesn't cover the hero */
.page-ugc .ugc-hero{
  padding-top: 120px; /* adjust if needed */
}

/* Optional: if the hero still feels tight, add a bit more breathing room */
@media (min-width: 981px){
  .page-ugc .ugc-hero{
    padding-top: 140px;
  }
}

/* ==========================================
   UGC PAGE ONLY - Make header title black
   ========================================== */

.page-ugc .site-header .brand{
  color: #000 !important;
  text-shadow: none !important;
}

.page-ugc .site-header .brand:visited{
  color: #000 !important;
}

/* ==================== UGC HERO SPACING FIX ==================== */
.page-ugc .ugc-hero {
  padding-top: 7.5rem;
}

/* ==================== UGC HEADER TEXT COLOR ==================== */
.page-ugc .site-header .brand {
  color: #000 !important;
}

/* ==================== UGC HERO SOCIAL ICON FIX ==================== */
.page-ugc .ugc-social-icons .icon-btn {
  background: #000;
  border: none;
}

.page-ugc .ugc-social-icons .icon-btn img {
  filter: invert(1);
}

/* ==================== UGC HERO NAME – SCRIPT STYLE ==================== */

.page-ugc .ugc-hero-name {
  font-family: 'Great Vibes', cursive;
  color: #ff5fa2; /* soft pink */
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* Desktop only – let it be dramatic */
@media (min-width: 981px) {
  .page-ugc .ugc-hero-name {
    font-size: clamp(5rem, 7vw, 7.5rem);
  }
}

/* ==================== UGC VIDEO CAROUSEL (page-only) ==================== */
.page-ugc .ugc-wrap{
  position: relative;
  margin-top: 1.25rem;
}

.page-ugc .ugc-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(320px, 78vw);
  gap: 1.25rem;            /* ~ "1/4 inch" feel */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 3.25rem; /* room for the arrows */
}

.page-ugc .ugc-reel{
  position: relative;
  scroll-snap-align: start;
}

.page-ugc .ugc-reel-video{
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  display: block;
  object-fit: cover;

  border-radius: 36px;
  border: 10px solid #111;
  box-sizing: border-box;
  background: #111;

  outline: 2px solid rgba(255,255,255,0.18);
  outline-offset: -6px;
}

/* White pill label (hides on hover so controls are easy to use) */
.page-ugc .ugc-pill{
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;

  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;

  padding: 0.55rem 1.05rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  transition: opacity 180ms ease, transform 180ms ease;
}

.page-ugc .ugc-reel:hover .ugc-pill,
.page-ugc .ugc-reel:focus-within .ugc-pill{
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  pointer-events: none;
}

/* Carousel arrows */
.page-ugc .ugc-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);

  display: grid;
  place-items: center;

  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.page-ugc .ugc-prev{ left: 10px; }
.page-ugc .ugc-next{ right: 10px; }

.page-ugc .ugc-nav:hover{
  background: #fff;
}

/* Optional: hide scrollbar for a cleaner look (still scrolls) */
.page-ugc .ugc-track::-webkit-scrollbar{ height: 10px; }
.page-ugc .ugc-track::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
}

/* ==================== UGC HERO INTRO VIDEO ==================== */

.page-ugc .ugc-hero-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ugc .ugc-hero-video-el {
  transform: scale(0.7); /* 30% smaller */
  transform-origin: center;
}

/* Desktop-only safety (keeps mobile natural) */
@media (min-width: 1024px) {
  .page-ugc .ugc-hero-video-el {
    transform: scale(0.7);
    transform-origin: center;
  }
}

/* ==================== UGC VIDEO CAROUSEL: shrink by 30% ==================== */
/* (UGC page only; affects both UGC video sections) */

.page-ugc .ugc-videos .ugc-reel {
  transform: scale(0.7);
  transform-origin: top center;
}

/* keep spacing feeling intentional after scaling */
.page-ugc .ugc-videos .ugc-track,
.page-ugc .ugc-videos .ugc-wrap {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* ==================== UGC HERO TITLE ALIGNMENT TWEAK ==================== */

/* Desktop only */
@media (min-width: 1024px) {
  .page-ugc .ugc-hero-title {
    font-size: 1.6rem;      /* smaller than before */
    line-height: 1.2;       /* tighter vertical rhythm */
    margin-top: 0.5rem;     /* pull it closer to the name */
    margin-bottom: 0.75rem;/* reduce push-down effect */
    font-weight: 600;       /* still strong, but not bulky */
  }
}

@media (min-width: 1024px) {
  .page-ugc .ugc-social-icons {
    margin-top: 0.75rem;
  }
}

@media (min-width: 981px){
  .page-ugc .ugc-hero-name{
    font-size: clamp(4rem, 7vw, 6.5rem);
  }
}

/* ==================== UGC ONLY: Banner background images ==================== */
.page-ugc .membership .membership-media{
  background-image: url("images/ugc-whyworkwithme.jpg") !important;
}

.page-ugc .founder .founder-media{
  background-image: url("images/ugc-meetthecreator.jpg") !important;
}

/* ================================
   UGC – Meet the Creator Spacing
   ================================ */

.page-ugc .meet-creator {
  display: flex;
  align-items: flex-start;   /* ⬅️ stop vertical centering */
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-ugc .meet-creator .membership-inner {
  max-width: 760px;          /* ⬅️ wider text column */
  margin-left: 6rem;         /* ⬅️ push off left edge like Why Work With Me */
}

/* Title spacing */
.page-ugc .meet-creator h2 {
  margin-bottom: 2.5rem;
}

/* Paragraph rhythm */
.page-ugc .meet-creator p {
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* Button breathing room */
.page-ugc .meet-creator .btn {
  margin-top: 2.5rem;
}

/* ====================
   UGC REEL VIDEO SIZE
   (does NOT affect hero video)
   ==================== */

.page-ugc .ugc-reel-video {
  transform: scale(0.85);   /* ← adjust this number */
  transform-origin: center;
}

/* ================================
   UGC – Meet the Creator Spacing
   ================================ */

.page-ugc .meet-creator {
  display: flex;
  align-items: flex-start;   /* ⬅️ stop vertical centering */
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-ugc .meet-creator .membership-inner {
  max-width: 760px;          /* ⬅️ wider text column */
  margin-left: 6rem;         /* ⬅️ push off left edge like Why Work With Me */
}

/* Title spacing */
.page-ugc .meet-creator h2 {
  margin-bottom: 2.5rem;
}

/* Paragraph rhythm */
.page-ugc .meet-creator p {
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* Button breathing room */
.page-ugc .meet-creator .btn {
  margin-top: 2.5rem;
}

/* =====================================================
   UGC REELS - TIGHTER GRID + LESS WHITESPACE (PAGE ONLY)
   - affects ONLY the reel carousels (.ugc-videos)
   - does NOT touch the hero intro video (.ugc-hero-*)
   ===================================================== */

/* 0) Neutralize earlier scale experiments so sizing is driven by the track columns */
.page-ugc .ugc-videos .ugc-reel,
.page-ugc .ugc-videos .ugc-reel-video{
  transform: none !important;
}

/* 1) Reduce vertical whitespace inside each UGC video card */
.page-ugc section.ugc-videos.card{
  margin: 1.75rem auto;              /* was larger */
}

.page-ugc section.ugc-videos.card .ig-head{
  margin-bottom: 0.75rem;            /* tighten header-to-reels */
}

.page-ugc section.ugc-videos.card .ugc-wrap{
  margin-top: 0.5rem;                /* was 1.25rem */
}

/* 2) Reduce horizontal whitespace between reels + reduce side padding */
.page-ugc .ugc-videos .ugc-track{
  gap: 0.95 rem;                      /* tighter than 1.25rem */
  padding: 0.25rem 1rem 0.75rem;     /* remove big arrow room */
  grid-auto-columns: min(280px, 78vw); /* phone default */
}

/* Tablet: 3 reels visible more often */
@media (min-width: 700px){
  .page-ugc .ugc-videos .ugc-track{
    grid-auto-columns: calc((100% - (2 * 0.75rem)) / 3);
  }
}

/* Desktop: aim for 4 reels per row (still horizontally scrollable if more) */
@media (min-width: 981px){
  .page-ugc .ugc-videos .ugc-track{
    grid-auto-columns: calc((100% - (3 * 0.75rem)) / 4);
  }
}

/* 3) Optional: slightly smaller pill + closer to bottom */
.page-ugc .ugc-videos .ugc-pill{
  bottom: 15px;
  padding: 0.45rem 0.9rem;
  font-size: 1.25rem;
}

/* ================================
   UGC REEL - TOP TYPE PILL (BLACK)
   ================================ */

   .page-ugc .ugc-reel {
    position: relative; /* ensures absolute pills anchor correctly */
  }
  
  .page-ugc .ugc-type {
    position: absolute;
    top: -2.75rem;                 /* sits above the phone */
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
  
    background: #000;
    color: #fff;
  
    border-radius: 999px;
    padding: 0.7rem 1.4rem;        /* ⬆️ ~30% bigger than bottom pill */
    
    white-space: nowrap;
    width: max-content;
    min-width: 140px;
    
    font-size: 1.21rem;            /* ⬆️ visual weight like your mockup */
    font-weight: 525;
    letter-spacing: 0.02em;
    text-transform: none;          /* keep “Skit”, “Product Demo” natural */
  
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  
    box-shadow: 0 14px 36px rgba(0,0,0,0.35);
    pointer-events: none;          /* purely informational */
  }

  /* ================================
   UGC REEL - TOP PILL NOT CLIPPED
   ================================ */

/* 1) Stop the carousel containers from clipping the pill */
.page-ugc .ugc-wrap,
.page-ugc .ugc-track {
  overflow: visible !important;
}

/* 2) Make sure the card itself doesn’t clip it either */
.page-ugc section.ugc-videos.card {
  overflow: visible !important;
}

/* 3) Bring the top pill in front of everything */
.page-ugc .ugc-reel {
  position: relative;
  z-index: 2;
}

.page-ugc .ugc-type {
  position: absolute;
  z-index: 9999; /* front of banner/card */
}

.hero-social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-btn img {
  width: 18px;
  height: 18px;
  filter: invert(1); /* makes icons white */
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-1px);
}

/* ==================== Connect Banner ==================== */
.connect-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 360px;
  margin: 56px auto;
  max-width: 1200px; /* adjust to match your site width */
}

.connect-banner__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.connect-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.10) 100%
  );
}

.connect-banner__inner {
  position: relative;
  z-index: 1;
  padding: 56px 56px 44px;
  max-width: 640px;
  color: #fff;
}

.connect-banner__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px 0;
  font-weight: 600;
  text-transform: lowercase; /* matches your screenshot vibe */
  letter-spacing: 0.2px;
}

.connect-banner__text {
  margin: 0 0 22px 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

.connect-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.connect-banner__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.connect-banner__email {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}

.connect-banner__email:hover {
  text-decoration: underline;
}

/* Make sure icon-btn works on dark image backgrounds */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-btn img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.95;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 720px) {
  .connect-banner {
    border-radius: 22px;
    min-height: 320px;
    margin: 40px 16px;
  }

  .connect-banner__inner {
    padding: 40px 22px 30px;
    max-width: 100%;
  }

  .connect-banner__overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.35) 55%,
      rgba(0,0,0,0.20) 100%
    );
  }
}

/* ==================== Testimonials Banner ==================== */
.testimonials-banner {
  margin: 72px auto;
  max-width: 1200px;
  width: calc(100% - 48px);
}

.testimonials-inner {
  background: linear-gradient(
    180deg,
    rgba(245, 243, 239, 0.9),
    rgba(240, 238, 234, 0.9)
  );
  border-radius: 32px;
  padding: 64px 56px;
}

.testimonials-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 40px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

/* Grid shows 2 at a time */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-logo{
  display:block;
  width:94px;
  height:94px;
  border-radius:50%;
  overflow:hidden;
  margin:0 0 18px;
  flex-shrink:0;
  background:#fff;
  transition:transform 0.2s ease;
}
.testimonial-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.testimonial-logo:hover{ transform:scale(1.05); }

.testimonial-logo--contain{
  background:#0e1c19;
}
.testimonial-logo--contain img{
  object-fit:contain;
  padding:0;
  box-sizing:border-box;
}

.testimonial-stars {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  color: #c8a64b; /* warm gold */
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.55;
  color: #333;
  margin-bottom: 18px;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 600;
  color: #555;
}

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
  .testimonials-inner {
    padding: 52px 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-logo{ width:78px; height:78px; margin-bottom:14px; }
}

@media (max-width: 600px) {
  .testimonials-banner {
    width: calc(100% - 24px);
  }

  .testimonials-inner {
    padding: 44px 24px;
  }
}

/* Partner testimonials: swipeable carousel on mobile only.
   Above 600px, .testimonials-carousel/.ptc-* have no effect and
   .testimonials-grid keeps its existing stacked/side-by-side layout. */
.testimonials-carousel {
  position: relative;
}

.ptc-prev,
.ptc-next {
  display: none;
}

.ptc-dots {
  display: none;
}

@media (max-width: 600px) {
  .testimonials-carousel {
    overflow: hidden;
  }

  .testimonials-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
  }

  .testimonials-grid:active {
    cursor: grabbing;
  }

  .testimonials-grid .testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
  }

  .ptc-prev,
  .ptc-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.12);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
    line-height: 1;
  }

  .ptc-prev { left: 0; }
  .ptc-next { right: 0; }

  .ptc-prev:hover,
  .ptc-next:hover {
    background: rgba(0,0,0,0.16);
  }

  .ptc-prev:disabled,
  .ptc-next:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .ptc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .ptc-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
    padding: 0;
  }

  .ptc-dot.active {
    background: #c8a64b;
    width: 24px;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Plain links */
.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #111;
  opacity: 0.85;
}

.nav-link:hover {
  opacity: 1;
}

/* Primary button */
.nav-btn {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.nav-primary {
  background: #000;
  color: #fff;
}

.nav-primary:hover {
  background: #222;
}

/* ==================== Header Primary CTA Fix ==================== */
.nav-btn.nav-primary {
  background: #000;
  color: #fff !important;        /* 🔑 prevents scroll color bug */
  font-weight: 300;              /* thinner than before */
  letter-spacing: 0.6px;
}

/* Ensure hover state stays readable */
.nav-btn.nav-primary:hover {
  background: #111;
  color: #fff !important;
}

/* If you have a sticky / scrolled header state */
.site-header.scrolled .nav-btn.nav-primary {
  background: #000;
  color: #fff !important;
}

/* Screen-reader only utility (your HTML already uses .sr-only) */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* OAuth divider + button (Sign-in / Create-account pages) */

.auth-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 14px;
  color: #8a857a;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: #e6ddcf;
}

.auth-divider span{
  padding: 0;
  transform: translateY(-1px);
}

/* Unified OAuth button (Google placeholder for now) */
.auth-oauth{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 999px;
  border: 1.5px solid #d0c7ba;

  background: #fff;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;

  cursor: pointer;
  opacity: 1 ;
}

.auth-oauth:disabled{
  opacity: 0.7;
}

.auth-oauth .oauth-icon{
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
}

.auth-oauth .oauth-icon svg{
  width: 20px;
  height: 20px;
  display: block;
}

/* =========================
   AUTH PAGES (Sign in / Create account)
   ========================= */

body.auth-page {
  background: #f0e9d8;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-card {
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
}

.auth-title {
  font-size: 3.2rem;
  line-height: 1;
  margin: 0 0 12px;
}

.auth-subtitle {
  margin: 0 0 28px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.4;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid #d0c7ba;
  font-size: 1rem;
  outline: none;
}

.btn-primary {
  margin-top: 8px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 16px 18px;
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #333;
}

.check input {
  transform: translateY(3px);
}

.auth-meta {
  margin-top: 18px;
  text-align: center;
  color: #666;
}

.auth-meta a {
  color: inherit;
  text-decoration: underline;
}

.back-links {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.back-links a {
  margin: 0 0.5rem;
  color: #333;
  text-decoration: none;
}

/* Legal pages (privacy, terms, data-deletion, accessibility) */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 80px;
}
.legal-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin: 0 0 18px;
}
.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111;
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid #e8e3dd;
}
.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: #333;
  margin: 28px 0 10px;
}
.legal-content a {
  color: #7c6525;
  text-decoration: underline;
}
.legal-content a:hover {
  color: #111;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .legal-content {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 767px) {
  .legal-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =================== Upcoming Classes Preview (index.html) =================== */
.upcoming-preview {
  max-width: 1120px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.upcoming-preview__card {
  background: #f5eee4;
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.05);
}
.upcoming-preview__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.upcoming-preview__subtitle {
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  color: var(--muted);
}
.upcoming-preview__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.upcoming-preview__table th,
.upcoming-preview__table td {
  padding: 0.75rem;
  text-align: left;
  vertical-align: middle;
}
.upcoming-preview__table thead th {
  border-bottom: 1px solid #ddd;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.upcoming-preview__table tbody tr {
  border-bottom: 1px solid #eee;
}
.upcoming-preview__more {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}
.upcoming-preview__more a {
  color: var(--text);
  text-decoration: underline;
}
.upcoming-preview .schedule-btn {
  font-size: 0.9rem;
  padding: 0.6rem 1.6rem;
  text-transform: lowercase;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .upcoming-preview__table thead { display: none; }
  .upcoming-preview__table,
  .upcoming-preview__table tbody,
  .upcoming-preview__table tr,
  .upcoming-preview__table td { display: block; width: 100%; }
  .upcoming-preview__table tr {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .upcoming-preview__table td { padding: 0.25rem 0; }
}

/* =================== Class Signup Modal =================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #f5eee4;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: none; border: none; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; margin: 0 0 1.5rem;
}
.modal-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.3rem; color: var(--text);
}
.modal-input {
  width: 100%; padding: 0.6rem 0.9rem;
  border: 1px solid #ccc; border-radius: 8px;
  font-size: 0.95rem; margin-bottom: 1rem;
  background: #fff; box-sizing: border-box;
  font-family: inherit;
}
.modal-textarea { resize: vertical; }
.modal-waiver-text {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.5; margin-bottom: 0.5rem;
  font-style: italic;
}
.modal-check-row {
  display: flex; align-items: flex-start;
  gap: 0.6rem; margin-bottom: 1rem; font-size: 0.9rem;
}
.modal-check-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.modal-submit { width: 100%; margin-top: 0.5rem; cursor: pointer; border: none; }
.modal-success {
  text-align: center; padding: 2rem 1rem;
  font-size: 1.05rem; color: #2a6a2a; font-weight: 500;
}
.modal-error {
  text-align: center; padding: 1rem;
  font-size: 0.9rem; color: #a33;
}

/* =================== On Demand Video Library =================== */

.video-library {
  padding: 80px 0 100px;
}

.video-library__header {
  text-align: center;
  margin-bottom: 48px;
}

.video-library__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.video-library__sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.video-library__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vcard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.11);
}

.vcard__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0ebe3;
}

.vcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.vcard:hover .vcard__thumb img {
  transform: scale(1.04);
}

.vcard__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vcard__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.vcard__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}

.vcard__btn {
  font-size: 0.82rem;
  padding: 10px 20px;
  align-self: flex-start;
  text-transform: none;
  letter-spacing: 0.2px;
}

.video-library__cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.video-library__cta p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 1024px) {
  .video-library__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-library__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .vcard__body {
    padding: 14px 14px 16px;
  }
  .vcard__title {
    font-size: 0.95rem;
  }
  .vcard__desc {
    font-size: 0.82rem;
  }
}

/* ---------- WhatsApp button ---------- */
.whatsapp-btn {
  background: #ffffff;
  color: #0c0c0c;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

.whatsapp-btn:hover {
  background: #f0ede6;
  color: #0c0c0c;
}
