/* =========================================================
   THE SWAP CLUB — BASE STYLESHEET
   Global tokens, resets, and shared components that appear
   on 2+ pages (nav, footer, buttons, hero, stats bar,
   scroll-snap steps, FAQ accordion, membership tiers).

   Page-specific styles live in their own CSS files
   (home.css, events.css, how.css, about.css, community.css,
   business.css, membership.css, legal.css) and rely on the
   tokens and components defined here.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Syne:wght@400;600;700;800&display=swap');

/* ─── DESIGN TOKENS — Plum & Matcha palette ─── */
:root {
  /* Core palette */
  --plum: #4F0C28;
  --plum-deep: #360819;
  --plum-mid: #6B1238;
  --matcha: #BAD797;
  --matcha-deep: #97ba75;
  --cream: #fbf1e6;
  --text: #1A0710;
  --lilac: #E6D4F0;

  /* RGB channels (for rgba() usage without new variables per opacity) */
  --plum-rgb: 79, 12, 40;
  --cream-rgb: 242, 237, 232;
  --text-rgb: 26, 7, 16;

  /* Semantic aliases */
  --warm-white: var(--cream);
  --text-mid: rgba(var(--text-rgb), 0.62);
  --text-dark: var(--text);
  --text-white: var(--cream);

  /* Typography */
  --font-display: 'Anton', sans-serif;
  --font-body:    'Syne', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --font-quote:   'Syne', sans-serif;

  /* Layout */
  --nav-h: 68px;
  --nav-h-mobile: 54px;
  --section-px: 6%;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }





/* ─────────────────────────────────────────────
   TEXT STYLES
   ───────────────────────────────────────────── */

headings, h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

h1 { 
  font-size: clamp(3rem, 7vw, 6.5rem); 
  line-height: 0.93; color: var(--plum); 
  text-transform: uppercase; 
  margin-bottom: 14px; 
}  
h2 { font-size: clamp(2.8rem, 6vw, 5rem); 
  line-height: 0.95; color: var(--plum); 
  text-transform: uppercase; 
  margin-bottom: 14px; 
}
h3 { font-size: clamp(2.4rem, 5vw, 4rem); 
  line-height: 1; 
  color: var(--plum); 
  text-transform: uppercase; 
  margin-bottom: 14px; 
} 
h4 { font-size: 1.8rem; 
  line-height: 1.2; 
  color: var(--plum); 
  text-transform: uppercase; 
  margin-bottom: 12px; 
}
h5 { font-size: 1.4rem; 
  line-height: 1.2; 
  color: var(--plum);
  margin-bottom: 10px; 
} 


body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}



.page-content { padding-top: var(--nav-h); }






/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-matcha        { background: var(--lilac); color: var(--plum); }
.btn-matcha:hover   { background: var(--matcha); }

.btn-plum           { background: var(--plum); color: var(--cream); }
.btn-plum:hover      { background: var(--matcha); }

.btn-plum-outline    { background: transparent; color: var(--plum); border: 1.5px solid var(--plum); }
.btn-plum-outline:hover { background: var(--plum); color: var(--cream); }

.btn-outline-light   { background: transparent; color: var(--cream); border: 1.5px solid var(--cream); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-plum-deep       { background: var(--plum-deep); color: var(--cream); }
.btn-plum-deep:hover  { background: #1a0d06; }








/* ─────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────── */
nav {
  background: var(--lilac);
  padding: 6px 20px;
  min-height: var(--nav-h);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--plum);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--plum);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 36px;
  padding: 8px 18px;
  background: var(--plum);
  border-radius: 6px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--matcha-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--plum);
}







/* ─────────────────────────────────────────────
   HERO (full-bleed image hero — home / business)
   ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 750px;
}

.hero-image {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  max-width: 700px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.93;
  color: var(--lilac);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(var(--cream-rgb), 0.85);
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-btns {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-btns .btn {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 11px;
  }
}







/* ─────────────────────────────────────────────
   STATS BAR (home / about)
   ───────────────────────────────────────────── */
.stats-bar {
  background: var(--plum);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--matcha);
  line-height: 1;
}

.stat-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(var(--cream-rgb), 0.7);
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 600px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-item {
    padding: 10px 4px;
  }

  .stat-num {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 7px;
    line-height: 1.2;
    letter-spacing: 0.04em;
  }
}




/* ─────────────────────────────────────────────
   SCROLL-SNAP "HOW IT WORKS" STEPS (home / how)
   ───────────────────────────────────────────── */
.steps-outer {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100vh;
  background: var(--cream);
  position: relative;
}

.steps-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 24px 40px 40px;
  background: var(--cream);
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
}

.steps-progress-track {
  width: 2px;
  height: 180px;
  background: rgba(var(--plum-rgb), 0.15);
  border-radius: 2px;
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}

.steps-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--plum);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.steps-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 20px;
}

.step-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.step-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: (var(--lilac));
  border: 2px solid rgba(var(--plum-rgb), 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.step-nav-btn.active .step-nav-dot { background: var(--plum); border-color: var(--plum); }

.step-nav-number { display: none; }

.step-nav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac-rgb);
  transition: color 0.25s;
}
.step-nav-btn.active .step-nav-label { color: var(--plum); }

.steps-scroll {
  height: calc(100vh - 60px);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.steps-scroll::-webkit-scrollbar { display: none; }

.step-slide {
  height: calc(100vh - 60px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: 60px 6% 60px 60px;
}

.step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 900px;
}

.step-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--matcha);
  box-shadow: 0 10px 28px rgba(var(--text-rgb), 0.14);
}

.step-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--lilac);
  line-height: 0.85;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--plum);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.step-body { font-size: 15px; line-height: 1.7; color: var(--text-mid); margin-bottom: 32px; }

.inline-link { color: var(--plum); font-weight: 700; text-decoration: underline; }




/* ─────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────── */
.events-faq-section {
  color: var(--plum);
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.events-faq-section .faq-heading {
  margin: 0 auto 50px;
  color: var(--plum);
}

.events-faq-section .faq-heading h2 {
  color: var(--plum);
}

.faq-toggle-list {
  width: min(100%, 860px);
  margin: 0 auto;
  border-top: 1px solid rgba(var(--plum-rgb), 0.18);
  text-align: left;
}

.faq-toggle {
  border-bottom: 1px solid rgba(var(--plum-rgb), 0.18);
}

.faq-toggle summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--plum);
  cursor: pointer;
  list-style: none;
}

.faq-toggle summary::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

/* Clean chevron indicator instead of a plus/minus icon */
.faq-toggle-icon::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--plum);
  border-bottom: 2px solid var(--plum);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-toggle[open] .faq-toggle-icon::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.faq-toggle-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 24px 28px;
  text-align: left;
}

.faq-toggle-content p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--plum);
}


/* ─────────────────────────────────────────────
   FAQ — centered underlined-link list
   (used on the How It Works page)
   ───────────────────────────────────────────── */
#faqs {
  padding: 100px 0;
  color: var(--plum);
  text-align: center;
}

.faq-title-block h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 8px;
  line-height: 1;
}

.faq-title-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  color: var(--plum);
  margin: 0;
  line-height: 1.15;
}

.divider-wrap { text-align: center; }

.toggles {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 0 6%;
  text-align: center;
}

.toggle.default {
  border: none;
}

.toggle-title {
  margin: 0;
}

.toggle-heading {
  display: inline-block;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  cursor: pointer;
}

.toggle-heading:hover { color: var(--matcha-deep, var(--plum)); }

.inner-toggle-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 0 24px;
  text-align: left;
  display: none;
}

.toggle.active .inner-toggle-wrap {
  display: block;
}

.inner-toggle-wrap p {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--plum);
}

.inner-toggle-wrap p:last-child {
  margin-bottom: 0;
}






/* ─────────────────────────────────────────────
   MEMBERSHIP TIER CARDS (home / membership)
   ───────────────────────────────────────────── */
.tiers { 
  background: var(--plum); 
  padding: 96px 48px; 
}
.tiers-header { 
  text-align: center; 
  margin-bottom: 56px; 
}
.tiers-header .section-eyebrow { color: var(--matcha); }
.tiers-header .section-title { color: var(--cream); margin-bottom: 0; }

.tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }

.tier-card {
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--cream-rgb), 0.08);
}
.tier-card.featured { background: var(--matcha); border: none; }
.tier-card.premium  { background: var(--lilac); border: none; }

.tier-head { padding: 28px 24px 20px; border-bottom: 1px solid rgba(var(--plum-rgb), 0.1); }
.tier-card.featured .tier-head,
.tier-card.premium .tier-head { border-bottom: 1px solid rgba(var(--plum-rgb), 0.1); }

.tier-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px; color: rgba(var(--plum-rgb), 0.4); }
.tier-card.featured .tier-label,
.tier-card.premium .tier-label { color: rgba(var(--plum-rgb), 0.45); }

.tier-name { font-family: var(--font-display); font-weight: 900; font-size: 26px; text-transform: uppercase; color: var(--text); line-height: 1; margin-bottom: 12px; }
.tier-card.featured .tier-name,
.tier-card.premium .tier-name { color: var(--text); }

.tier-price { font-family: var(--font-display); font-weight: 900; font-size: 48px; color: var(--plum); line-height: 1; }
.tier-card.featured .tier-price,
.tier-card.premium .tier-price { color: var(--plum); }

.tier-period { font-size: 13px; color: rgba(var(--plum-rgb), 0.4); margin-top: 2px; }
.tier-card.featured .tier-period,
.tier-card.premium .tier-period { color: rgba(var(--plum-rgb), 0.4); }

.tier-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }

.tier-feature { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(var(--text), 0.78); padding: 8px 0; border-bottom: 1px solid rgba(var(--plum-rgb), 0.07); line-height: 1.4; }
.tier-card.featured .tier-feature,
.tier-card.premium .tier-feature { color: var(--text); border-bottom-color: rgba(var(--plum-rgb), 0.08); }
.tier-feature:last-child { border-bottom: none; }

.tier-check { color: var(--plum); flex-shrink: 0; font-weight: 700; }
.tier-card.featured .tier-check,
.tier-card.premium .tier-check { color: var(--plum); }

.tier-present-icon {
  color: var(--matcha);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.tier-card.featured .tier-present-icon,
.tier-card.premium .tier-present-icon { color: var(--plum); }
.tier-present-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tier-dash { color: rgba(var(--plum-rgb), 0.18); flex-shrink: 0; }
.tier-card.featured .tier-dash,
.tier-card.premium .tier-dash { color: rgba(var(--plum-rgb), 0.18); }

.tier-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(var(--plum-rgb));
  color: var(--cream);
  cursor: pointer;
  border: none;
  width: 100%;
}
.tier-btn:hover  { background: #380101; }

.tier-card.featured .tier-btn,
.tier-card.premium .tier-btn { background: var(--plum); color: var(--cream); }
.tier-card.featured .tier-btn:hover  { background: #380101; }
.tier-card.premium .tier-btn:hover  { background: #380101; }

.rec-badge {
  display: inline-block;
  background: var(--plum);
  color: var(--matcha);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.join-cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 900px) {
  .tiers-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .join-cta-row { flex-direction: column; align-items: center; }
  .join-cta-row .btn { width: 100%; max-width: 280px; }
}







/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
footer {
  background: var(--warm-white);
  border-top: 1.5px solid rgba(var(--plum-rgb), 0.15);
  padding: 60px var(--section-px) 32px;
  overflow-x: hidden;
}

.footer-watermark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 13.5vw, 13rem);
  color: var(--matcha);
  text-align: center;
  line-height: 1;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-bottom: 48px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}

.footer-col h1 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-mid); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--plum); }

.footer-connect .social-links { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.footer-connect .social-links a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-mid); transition: color var(--transition); }
.footer-connect .social-links a:hover { color: var(--plum); }
.footer-connect .social-links a svg { flex-shrink: 0; }

.footer-app-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text-dark); color: white;
  padding: 8px 14px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
  transition: background var(--transition); width: fit-content;
}
.app-badge:hover { background: var(--plum); }
.app-badge svg { flex-shrink: 0; }

.footer-newsletter h1 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum); margin-bottom: 8px; font-weight: 700; }
.footer-newsletter p  { font-size: 13px; color: var(--text-mid); margin-bottom: 14px; }

.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 14px;
  border: 1.5px solid rgba(var(--plum-rgb), 0.3);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  background: white;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--plum); }
.newsletter-form button {
  padding: 11px;
  background: var(--plum); color: var(--cream);
  border: none; border-radius: 4px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--plum-deep); }

.footer-bottom {
  padding-top: 20px;
  font-size: 12px; color: rgba(58, 58, 58, 0.5); text-align: center;
  max-width: var(--max-w); margin: 0 auto;
}


/* ───────── SOCIAL / NEWSLETTER SECTION ───────── */
.social-section { background: var(--lilac); padding: 60px 6%; text-align: center; }
.social-inner { max-width: 920px; margin: 0 auto; }

.social-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--plum);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}

.social-sub { font-size: 14px; color: var(--plum); max-width: 560px; margin: 0 auto 56px; line-height: 1.7; }

.social-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-social { background: var(--cream); color: var(--plum); border: 1.5px solid var(--cream); gap: 8px; }
.btn-social:hover { background: var(--plum); color: var(--cream); }

.btn-social-newsletter { background: var(--matcha); color: var(--plum); border-color: var(--matcha); }
.btn-social-newsletter:hover { background: var(--matcha-deep); color: var(--plum); border-color: var(--matcha deep); }

.social-icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }




/* ─────────────────────────────────────────────
   RESPONSIVE — NAV / FOOTER
   ───────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Slimmer mobile top bar; logo (.nav-left / .mobile-nav-logo) stays visible
     in the closed state, only the links + CTA (.nav-right) are hidden until
     the menu is toggled open. */
  nav {
    min-height: var(--nav-h-mobile);
    padding: 8px 20px;
  }
  .page-content { padding-top: var(--nav-h-mobile); }

  .nav-left {
    display: flex;
    position: relative;
    z-index: 1001; /* stays above the opened menu panel */
  }
  .nav-logo { font-size: 18px; }

  .nav-right { display: none; }
  .nav-toggle { display: block; margin-left: auto; width: 40px; height: 40px; line-height: 1; font-size: 20px; }

  nav.nav-open {
    align-items: flex-start;
    min-height: var(--nav-h-mobile);
  }

  /* Opened menu: only .nav-right becomes the dropdown panel. The logo
     (.nav-left) is not part of it and remains in the top bar. */
  nav.nav-open .nav-right {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h-mobile);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--lilac);
    padding: 14px var(--section-px) 20px;
    border-top: 1px solid rgba(var(--cream-rgb), 0.08);
    border-bottom: 1.5px solid rgba(var(--cream-rgb), 0.15);
  }

  nav.nav-open .nav-links { flex-direction: column; gap: 0; align-items: stretch; width: 100%; }
  nav.nav-open .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
  }

  /* "Join the Club" CTA: centered and more compact, not full-width */
  nav.nav-open .nav-cta,
  nav.nav-open .mobile-nav-join-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    width: auto;
    max-width: 220px;
    margin: 14px auto 0;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Steps component — becomes a touch-swipeable horizontal carousel on mobile */
  .steps-outer { grid-template-columns: 1fr; height: auto; }

  /* Sidebar becomes a compact row of dots above the slides, giving clear
     visual feedback for which step is currently active while swiping. */
  .steps-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 6% 0;
  }
  .steps-progress-track { display: none; }
  .steps-nav { flex-direction: row; gap: 10px; padding-left: 0; }
  .step-nav-label { display: none; }
  .step-nav-dot {
    width: 26px;
    height: 26px;
    border-width: 1.5px;
  }
  .step-nav-btn { padding: 6px; min-height: 44px; min-width: 44px; justify-content: center; }

  .step-nav-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: rgba(var(--plum-rgb), 0.55);
    transition: color 0.25s;
  }
  .step-nav-btn.active .step-nav-number { color: var(--cream); }

  .steps-scroll {
    height: auto;
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .step-slide {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 48px 6%;
    transition: opacity 0.25s ease;
  }
  .step-content { grid-template-columns: 1fr; gap: 24px; }
  .step-image-wrap {
    aspect-ratio: 4 / 3;
    max-width: 240px; /* smaller step images on mobile, aspect ratio preserved */
    margin: 0 auto;
  }
  /* Dim non-active slides slightly for clear swipe feedback (toggled via JS) */
  .step-slide:not(.step-slide-active) { opacity: 0.45; }
  .step-number { 
    font-family: var(--font-display); 
    font-weight: 900; 
    font-size: 64px; 
    color: var(--lilac); 
    line-height: 1; 
    margin-bottom: 8px; 
  }

  @media (max-width: 600px) {
  .footer-watermark {
    font-size: clamp(2.2rem, 12.5vw, 3.2rem);
    margin-bottom: 32px;
  }

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