/* ================================================================
   BLACK LANDCESTRY — Landing Page Styles
   blacklandcestry.com
   ================================================================

   Table of Contents
   -----------------
   01. CSS Variables & Reset
   02. Base Typography
   03. Utility Classes
   04. Navigation
   05. Hero Section
   06. Phone Frame Components
   07. Mock Screen Art (app UI placeholders)
   08. About / Mission Section
   09. How It Works
   10. Features Section
   11. Showcase / Swiper Carousel
   12. Who It's For
   13. Video Section
   14. Download CTA
   15. Waitlist Form
   16. Footer
   17. Animations & Keyframes
   18. Responsive / Mobile

   UPDATE: To change brand colors, edit the CSS variables in :root below.
================================================================ */


/* ----------------------------------------------------------------
   01. CSS VARIABLES & RESET
---------------------------------------------------------------- */
:root {
  /* UPDATE: Adjust these to change the entire brand color system */
  --black:        #0a0600;
  --dark:         #000000;
  --brown-deep:   #111111;
  --brown-mid:    #222222;
  --brown-soft:   #444444;
  --gold-deep:    #8f5e25;
  --gold:         #b8860b;
  --gold-warm:    #d4a017;
  --gold-light:   #f5c842;
  --gold-pale:    #fbf4a1;
  --cream:        #faf6ee;
  --cream-dark:   #f0e8d8;
  --cream-mid:    #e8dcc8;
  --green-dark:   #1a4a1a;
  --green:        #2d6a2d;

  --white:        #ffffff;
  --text-primary: #000000;
  --text-secondary: #5a4a3a;
  --text-muted:   #9a8a7a;

  /* App screen colors (matching Justice Seeker UI) */
  --app-bg:       #f5f0e8;
  --app-card:     #ffffff;
  --app-gold:     #c5982b;
  --app-gold-lt:  #f0c040;
  --app-text:     #000000;
  --app-sub:      #5a4a3a;

  /* Typography */
  --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container:    1290px;
  --pad-x:        clamp(20px, 5vw, 40px);
  --section-y:    clamp(80px, 10vw, 130px);

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --t-fast:       0.2s var(--ease);
  --t-mid:        0.4s var(--ease);
  --t-slow:       0.7s var(--ease);

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.14);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.22);
  --shadow-xl:    0 40px 80px rgba(0,0,0,.36);
  --shadow-gold:  0 8px 40px rgba(212,160,23,.35);
  --shadow-phone: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-appearance: none;
  appearance: none;
}

/* iOS: remove tap flash and double-tap zoom delay on all interactive elements */
a, button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Prevent FOUC on AOS elements */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }


/* ----------------------------------------------------------------
   02. BASE TYPOGRAPHY
---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.2;
  color: var(--text-secondary);
}

strong { font-weight: 600; color: var(--text-primary); }

small { font-size: 0.8em; }


/* ----------------------------------------------------------------
   03. UTILITY CLASSES
---------------------------------------------------------------- */
.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header-light { color: var(--cream); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 16px;
}

.section-eyebrow-gold { color: var(--gold-light); }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-title-light { color: var(--cream); }

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.2;
}

.section-subtitle-light {
  color: rgba(250, 246, 238, 0.7);
}

.btn-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-warm);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap var(--t-fast), border-color var(--t-fast);
}

.btn-text-arrow:hover {
  gap: 14px;
  border-color: var(--gold-warm);
}

/* Store buttons — shared base */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-store i { font-size: 1.6rem; }

.btn-store span {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store span small {
  font-size: 0.7rem;
  opacity: 0.75;
  display: block;
  margin-bottom: 1px;
  font-weight: 400;
}

.btn-apple {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep));
  color: var(--black);
}

.btn-google {
  background: var(--dark);
  color: var(--cream);
  border: 1px solid rgba(212,160,23,.3);
}

.btn-google:hover {
  background: var(--brown-deep);
  border-color: var(--gold-warm);
  box-shadow: var(--shadow-gold);
}

.btn-store-lg {
  padding: 16px 28px;
  font-size: 1rem;
}

.btn-store-lg i { font-size: 1.8rem; }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1.5px solid rgba(212,160,23,.5);
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn-outline-gold:hover {
  background: rgba(212,160,23,.1);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}


/* ----------------------------------------------------------------
   04. NAVIGATION
---------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  transition: box-shadow var(--t-mid);
  padding: 20px 0 14px;
}

.navbar.scrolled {
  background: var(--black);
  box-shadow: 0 1px 0 rgba(212,160,23,.15), var(--shadow-md);
  padding: 12px 0 10px;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Exact brand logo — sized for navbar */
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.nav-bottom {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

/* Fallback text styles kept for safety (used if img fails to load) */
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.nav-logo-accent {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250,246,238,.75);
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep));
  color: var(--black);
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ----------------------------------------------------------------
   05. HERO SECTION
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* iOS 15.4+ — excludes browser chrome from viewport height */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding-top: 160px;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: overlay;
}

.hero-glow-center {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(184,134,11,.22) 0%, rgba(184,134,11,.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-glow-left {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(45,106,45,.08) 0%, transparent 60%);
  pointer-events: none;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Hero layout */
.hero-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--pad-x);
  padding-top: 60px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0; /* GSAP will animate this in */
}

.eyebrow-rule {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold-warm);
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-warm);
}

/* Headline */
.hero-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
  opacity: 0; /* GSAP */
}

.hl-line {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--cream);
  display: block;
}

.hl-italic {
  font-style: italic;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,200,66,.6);
}

/* Subheadline */
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.2;
  color: rgba(250,246,238,.65);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0; /* GSAP */
}

/* CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  opacity: 0; /* GSAP */
}

/* Hero video */
.hero-video-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* GSAP */
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(212,160,23,.15), inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(184,134,11,.18) 0%, transparent 55%),
    linear-gradient(to top, rgba(10,6,0,.35) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: fade-pulse 2.5s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,246,238,.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(212,160,23,.6), transparent);
}


/* ----------------------------------------------------------------
   06. PHONE FRAME COMPONENTS
---------------------------------------------------------------- */
.phone-frame {
  position: relative;
  width: 188px;
  height: 382px;
  background: linear-gradient(160deg, #232323 0%, #1a1a1a 50%, #121212 100%);
  border-radius: 38px;
  padding: 14px 10px 20px;
  overflow: hidden;
}

/* Highlight rim */
.phone-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
  z-index: 10;
}

/* Side button */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 90px;
  width: 3px;
  height: 56px;
  background: #2a2a2a;
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

.phone-frame-featured {
  width: 210px;
  height: 428px;
  border-radius: 44px;
  padding: 16px 12px 22px;
}

.phone-frame-featured::before { border-radius: 44px; }

.phone-frame-showcase {
  width: 220px;
  height: 448px;
  border-radius: 20px;
  padding: 16px 12px 22px;
}

.phone-frame-showcase::before { border-radius: 46px; }

.phone-frame-download {
  width: 230px;
  height: 468px;
  border-radius: 20px;
  padding: 18px 14px 24px;
}

.phone-frame-download::before { border-radius: 20px; }

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 22px;
  background: #0d0d0d;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}

.phone-screen-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  overflow: hidden;
  background: var(--app-bg);
}

.phone-screen-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  z-index: 10;
}


/* ----------------------------------------------------------------
   07. MOCK SCREEN ART (CSS app UI recreations)
       These display when real screenshots are not yet available.
       UPDATE: Replace these with real <img> tags once you have screenshots.
---------------------------------------------------------------- */
.mock-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  font-family: var(--font-body);
  font-size: 10px;
  overflow: hidden;
  padding: 36px 10px 20px;
  gap: 8px;
  color: var(--app-text);
}

/* Shared micro-components */
.ms-header {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--app-text);
  margin-bottom: 2px;
}

.ms-logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--app-gold), var(--app-gold-lt));
  flex-shrink: 0;
}

/* Top bar with icons (home screen) */
.ms-top-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--app-text);
  padding: 0 2px;
}

.ms-icons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: var(--app-sub);
}

.ms-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--app-gold), var(--app-gold-lt));
}

/* Search bar */
.ms-search {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 8px;
  color: var(--app-sub);
  box-shadow: var(--shadow-sm);
}

.ms-search i { font-size: 7px; color: var(--app-sub); }

/* Section labels */
.ms-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--app-text);
  margin-top: 4px;
}

.ms-label span { color: var(--app-gold); font-weight: 500; }

/* Category grid */
.ms-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.ms-cat {
  background: var(--white);
  border: 1px solid rgba(197,152,43,.2);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 7.5px;
  font-weight: 600;
  color: var(--app-text);
}

.ms-cat i { font-size: 10px; color: var(--app-gold); }

/* Professional cards row */
.ms-pros {
  display: flex;
  gap: 5px;
  flex: 1;
  min-height: 0;
}

.ms-pro-card {
  flex: 1;
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  position: relative;
  min-height: 50px;
}

.ms-pro-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8b7355, #d4a857, #6b5a3e);
}

.ms-pro-img-2 {
  background: linear-gradient(135deg, #5a6b4e, #8ba85a, #3e5035);
}

.ms-pro-rating {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,.5);
  color: #ffd700;
  font-size: 6px;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 700;
}

/* Tab bar */
.ms-tab-bar {
  display: flex;
  justify-content: space-around;
  background: var(--white);
  border-radius: 10px;
  padding: 5px 2px;
  margin-top: auto;
  box-shadow: 0 -2px 10px rgba(0,0,0,.08);
}

.ms-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 6.5px;
  color: var(--app-sub);
}

.ms-tab i { font-size: 9px; }
.ms-tab-active { color: var(--app-gold); }

/* Onboarding screen */
.mock-onboarding {
  padding: 30px 12px 16px;
  gap: 10px;
}

.ms-hero-txt h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--app-text);
  line-height: 1.2;
  margin-bottom: 4px;
}

.ms-hero-txt p {
  font-size: 8px;
  color: var(--app-sub);
  margin-bottom: 4px;
  line-height: 1.2;
}

.ms-card {
  border-radius: 14px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ms-card-gold {
  background: linear-gradient(135deg, #c5982b 0%, #f0c040 50%, #c5982b 100%);
  color: var(--white);
}

.ms-card-cream {
  background: #fffde8;
  border: 1px solid rgba(197,152,43,.2);
  color: var(--app-text);
}

.ms-card-icon { font-size: 14px; }

.ms-card strong {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  color: inherit;
}

.ms-card span {
  font-size: 7.5px;
  line-height: 1.2;
  opacity: 0.85;
}

.ms-card-cta {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 4px;
  color: inherit;
  opacity: 0.9;
}

.ms-card-cta-dark { color: var(--app-gold); }

/* Booking / profile screen */
.mock-booking {
  padding: 34px 10px 12px;
  gap: 6px;
}

.ms-back-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  color: var(--app-gold);
  margin-bottom: 2px;
}

.ms-back-bar i { font-size: 8px; }

.ms-section-title {
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--app-text);
  margin-bottom: 4px;
}

.ms-step-badge {
  display: inline-block;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(197,152,43,.15);
  color: var(--app-gold);
  padding: 3px 7px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.ms-booking-card {
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.ms-avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream-mid);
  flex-shrink: 0;
}

.ms-booking-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ms-booking-info strong {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--app-text);
  display: block;
}

.ms-booking-info span {
  font-size: 7px;
  color: var(--app-sub);
}

.ms-booking-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 7px;
  color: var(--app-sub);
  padding: 0 2px;
}

.ms-booking-meta div { display: flex; align-items: center; gap: 4px; }
.ms-booking-meta i { font-size: 8px; color: var(--app-gold); width: 10px; }

.ms-case-box, .ms-docs-box {
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.ms-case-box strong, .ms-docs-box strong {
  display: block;
  font-size: 8px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--app-text);
}

.ms-case-box h4 {
  font-size: 8px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--app-text);
  margin-bottom: 3px;
  line-height: 1.2;
}

.ms-case-box p {
  font-size: 6.5px;
  color: var(--app-sub);
  line-height: 1.2;
}

.ms-doc-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  color: var(--app-sub);
  background: var(--cream);
  border-radius: 5px;
  padding: 3px 5px;
  margin-top: 3px;
}

.ms-doc-row i { color: var(--app-gold); font-size: 8px; }

/* Profile detail screen */
.ms-pro-detail {
  background: var(--white);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: var(--shadow-sm);
}

.ms-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b7355, #d4a857);
  margin-bottom: 3px;
}

.ms-pro-detail strong {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  text-align: center;
  color: var(--app-text);
}

.ms-pro-detail span {
  font-size: 7px;
  color: var(--app-sub);
  text-align: center;
  line-height: 1.2;
}

.ms-pro-meta { font-size: 7.5px; color: #b8a000; }
.ms-pro-rate { font-size: 10px; font-weight: 700; color: var(--app-gold); }

.ms-book-btn {
  background: linear-gradient(135deg, var(--app-gold), var(--app-gold-lt));
  color: var(--black);
  font-size: 8px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-align: center;
  margin-top: 4px;
}

/* Calendar screen */
.mock-calendar {
  padding: 34px 10px 12px;
  gap: 5px;
}

.ms-cal-header {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--app-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-cal-header i { font-size: 8px; color: var(--app-sub); }

.ms-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(197,152,43,.1);
  border-radius: 8px;
  padding: 4px;
  font-size: 7px;
}

.ms-cal-grid span {
  text-align: center;
  padding: 2px 1px;
  color: var(--app-sub);
  border-radius: 4px;
  font-weight: 500;
}

.cal-active {
  background: var(--green);
  color: var(--white) !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
}

.ms-time-label {
  font-size: 7.5px;
  font-weight: 600;
  color: var(--app-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-times {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.ms-times span {
  font-size: 7px;
  padding: 3px 7px;
  border-radius: 14px;
  border: 1px solid rgba(197,152,43,.3);
  color: var(--app-text);
  font-weight: 500;
}

.time-sel {
  background: var(--app-gold);
  color: var(--white) !important;
  border-color: var(--app-gold) !important;
  font-weight: 700 !important;
}

/* Vault screen */
.mock-vault {
  padding: 34px 10px 12px;
  gap: 6px;
}

.ms-vault-title {
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--app-text);
  line-height: 1.2;
}

.ms-vault-sub {
  font-size: 7.5px;
  color: var(--app-sub);
  line-height: 1.2;
}

.ms-upload-zone {
  border: 1.5px dashed rgba(197,152,43,.5);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(197,152,43,.04);
  flex: 1;
}

.upload-cloud { font-size: 18px; margin-bottom: 3px; }

.ms-upload-zone strong {
  font-size: 7.5px;
  color: var(--app-text);
  text-align: center;
}

.ms-upload-zone span {
  font-size: 6.5px;
  color: var(--app-sub);
  text-align: center;
  line-height: 1.2;
}

.ms-browse-btn {
  background: linear-gradient(135deg, var(--app-gold), var(--app-gold-lt));
  color: var(--black);
  font-size: 7px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  margin-top: 4px;
}

.ms-vault-submit {
  background: linear-gradient(135deg, var(--app-gold), var(--app-gold-lt));
  color: var(--black);
  font-size: 8px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: auto;
}


/* ----------------------------------------------------------------
   08. ABOUT / MISSION
---------------------------------------------------------------- */
.about {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(184,134,11,.05) 0%, transparent 60%);
  pointer-events: none;
}

.about .section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(48px, 6vw, 80px);
}

/* Image frame */
.about-img-frame {
  position: relative;
  height: 100%;
}

.about-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  display: block;
}

.about-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8b89a, #d4c4a0, #b8a882);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26,14,0,.5));
}

.img-placeholder-inner {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.img-ph-icon { font-size: 48px; margin-bottom: 12px; }

.img-placeholder-inner p {
  font-size: 0.8rem;
  color: rgba(26,14,0,.7);
  line-height: 1.2;
}

.img-placeholder-inner code {
  display: inline-block;
  font-size: 0.72rem;
  background: rgba(26,14,0,.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  font-family: monospace;
}

.about-img-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid rgba(184,134,11,.3);
  border-radius: 4px;
  pointer-events: none;
  z-index: 0;
}

.about-img-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 5;
}

.about-img-corner.tl {
  top: -4px;
  left: -4px;
  border-top: 3px solid var(--gold-warm);
  border-left: 3px solid var(--gold-warm);
}

.about-img-corner.br {
  bottom: -4px;
  right: -4px;
  border-bottom: 3px solid var(--gold-warm);
  border-right: 3px solid var(--gold-warm);
}

/* Text side */
.about-right .section-title {
  margin-bottom: 8px;
}

.about-quote {
  border-left: 3px solid var(--gold-warm);
  padding-left: 20px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 600;
}

.about-body {
  margin-bottom: 20px;
}

.about-body:last-of-type { margin-bottom: 28px; }


/* ----------------------------------------------------------------
   09. HOW IT WORKS
---------------------------------------------------------------- */
.how {
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.how::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,.2), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid var(--gold-warm);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity var(--t-slow), transform var(--t-slow);
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(184,134,11,.18);
  line-height: 1.2;
  letter-spacing: -0.04em;
  position: absolute;
  top: 20px;
  right: 24px;
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,134,11,.12), rgba(212,160,23,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--t-mid);
}

.step-icon-wrap i {
  font-size: 1.4rem;
  color: var(--gold-warm);
}

.step-card:hover .step-icon-wrap {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-warm));
}

.step-card:hover .step-icon-wrap i { color: var(--black); }

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

.step-connector {
  display: none;
}


/* ----------------------------------------------------------------
   10. FEATURES SECTION
---------------------------------------------------------------- */
.features {
  position: relative;
  background: #faf6ee;
  overflow: hidden;
}

.features .section-eyebrow-gold { color: var(--gold-warm); }
.features .section-title-light   { color: var(--text-primary); }
.features .section-header-light  { color: var(--text-primary); }

.features-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.features-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.03;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.feat-card {
  background: var(--white);
  border: 1px solid rgba(212,160,23,.15);
  border-radius: 18px;
  padding: 36px 28px;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  cursor: default;
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,23,.4);
  box-shadow: var(--shadow-md);
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(212,160,23,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background var(--t-mid);
}

.feat-icon i {
  font-size: 1.3rem;
  color: var(--gold-warm);
  transition: color var(--t-fast);
}

.feat-card:hover .feat-icon {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-warm));
}

.feat-card:hover .feat-icon i { color: var(--black); }

.feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.feat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.2;
}


/* ----------------------------------------------------------------
   11. SHOWCASE / SWIPER
---------------------------------------------------------------- */
.showcase {
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.showcase-wrap {
  position: relative;
}

.showcase-swiper {
  padding: 0 60px 60px !important;
}

.showcase-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  padding: 20px 0;
}

.showcase-phone-wrap {
  flex-shrink: 0;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.7));
}

.showcase-caption {
  flex: 1;
  max-width: 400px;
}

.slide-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-warm);
  margin-bottom: 12px;
}

.showcase-caption h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 18px;
  line-height: 1.2;
}

.showcase-caption p {
  font-size: 1rem;
  color: rgba(250,246,238,.6);
  line-height: 1.2;
}

/* Swiper pagination */
.showcase-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.showcase-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(212,160,23,.3);
  transition: width var(--t-mid), background var(--t-mid);
  opacity: 1;
}

.showcase-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--gold-warm);
}

/* Nav buttons */
.sw-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212,160,23,.15);
  border: 1px solid rgba(212,160,23,.3);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--t-fast), transform var(--t-fast);
}

.sw-prev { left: 8px; }
.sw-next { right: 8px; }

.sw-nav:hover {
  background: rgba(212,160,23,.3);
  transform: translateY(-50%) scale(1.08);
}


/* ----------------------------------------------------------------
   12. WHO IT'S FOR
---------------------------------------------------------------- */
.who {
  background: var(--cream);
  position: relative;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.who-card {
  border-radius: 24px;
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}

.who-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.who-seeker {
  background: var(--dark);
  border: 1px solid rgba(212,160,23,.15);
}

.who-seeker .who-icon-wrap          { background: rgba(212,160,23,.12); }
.who-seeker .who-icon-wrap i        { color: var(--gold-warm); }
.who-seeker .who-badge              { background: rgba(212,160,23,.12); color: var(--gold-warm); }
.who-seeker .who-title              { color: var(--cream); }
.who-seeker .who-desc               { color: rgba(250,246,238,.6); }
.who-seeker .who-list li            { color: rgba(250,246,238,.7); }
.who-seeker .who-list li i          { background: rgba(212,160,23,.15); color: var(--gold-warm); }
.who-seeker .who-cta                { color: var(--black); background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep)); border: none; }
.who-seeker .who-cta:hover          { opacity: 0.9; }

.who-advocate {
  background: var(--dark);
  border: 1px solid rgba(212,160,23,.15);
}

.who-card-content {
  padding: clamp(32px, 5vw, 52px);
}

.who-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.who-icon-wrap i { font-size: 1.5rem; color: var(--black); }

.who-icon-dark { background: rgba(212,160,23,.12); }
.who-icon-dark i { color: var(--gold-warm); }

.who-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(0,0,0,.15);
  color: rgba(0,0,0,.75);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.who-badge-alt {
  background: rgba(212,160,23,.12);
  color: var(--gold-warm);
}

.who-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}

.who-advocate .who-title { color: var(--cream); }

.who-desc {
  font-size: 0.95rem;
  color: rgba(0,0,0,.65);
  line-height: 1.2;
  margin-bottom: 24px;
}

.who-advocate .who-desc { color: rgba(250,246,238,.6); }

.who-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.who-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(0,0,0,.75);
}

.who-list li i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  flex-shrink: 0;
}

.who-list-alt li { color: rgba(250,246,238,.7); }

.who-list-alt li i {
  background: rgba(212,160,23,.15);
  color: var(--gold-warm);
}

.who-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep));
  padding: 12px 22px;
  border-radius: 10px;
  transition: opacity var(--t-fast), gap var(--t-fast), box-shadow var(--t-fast);
}

.who-cta:hover {
  opacity: 0.9;
  gap: 14px;
  box-shadow: var(--shadow-gold);
}

.who-cta-alt {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep));
  color: var(--black);
  border: none;
}

.who-cta-alt:hover {
  opacity: 0.9;
  border-color: transparent;
}


/* ----------------------------------------------------------------
   13. VIDEO SECTION
---------------------------------------------------------------- */
.videos {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.videos-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.videos-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.03;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.video-card {
  transition: transform var(--t-mid);
}

.video-card:hover { transform: translateY(-4px); }

.video-frame-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--black);
  box-shadow: var(--shadow-lg);
}

.hosted-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--t-mid);
}

.video-overlay.hidden { opacity: 0; pointer-events: none; }

.vid-thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1000, #3d2800, #1a1000);
}

.vid-thumb-2 {
  background: linear-gradient(135deg, #0a1a00, #1a3800, #0a1a00);
}

.video-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.play-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  animation: ring-pulse 2s ease-out infinite;
}

.play-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.play-icon-wrap i {
  font-size: 1.2rem;
  color: var(--black);
  margin-left: 3px;
}

.play-btn:hover .play-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(212,160,23,.5);
}

.vid-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.vid-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(184,134,11,.85);
  color: var(--black);
  padding: 4px 10px;
  border-radius: 20px;
}

.vid-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

.video-caption {
  padding: 20px 0 0;
}

.video-caption h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.video-caption p {
  font-size: 0.88rem;
  color: rgba(250,246,238,.5);
  line-height: 1.2;
}


/* ----------------------------------------------------------------
   14. DOWNLOAD CTA
---------------------------------------------------------------- */
.download {
  position: relative;
  background: var(--brown-deep);
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,134,11,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(45,106,45,.08) 0%, transparent 50%);
  pointer-events: none;
}

.download-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.04;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.download-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.download-headline em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: rgba(250,246,238,.65);
  max-width: 480px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.download-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #ffffff;
  font-style: italic;
}

.download-note i { color: var(--green); }

/* Download phone */
.download-phone {
  position: relative;
  flex-shrink: 0;
}

.download-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(184,134,11,.25) 0%, transparent 70%);
  pointer-events: none;
}


/* ----------------------------------------------------------------
   15. WAITLIST FORM
---------------------------------------------------------------- */
.waitlist {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,.25), transparent);
}

.waitlist-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(32px, 4vw, 48px);
}

.waitlist-content .section-title { margin-bottom: 20px; }

.waitlist-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.2;
  margin-bottom: 32px;
}

.waitlist-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.perk i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(184,134,11,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold-warm);
  flex-shrink: 0;
}

/* Substack embed wrapper */
.waitlist-form-col {
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: 24px;
  padding: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(184,134,11,.2);
  overflow: hidden;
}

.substack-embed-wrap {
  width: 100%;
  line-height: 0; /* removes gap under iframe */
}

.substack-iframe {
  display: block;
  width: 100%;
/*  height: 320px; */
  border: none !important; /* override Substack's inline border */
  background: #fff;
}


/* ----------------------------------------------------------------
   16. FOOTER
---------------------------------------------------------------- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(212,160,23,.1);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-top-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(60px, 8vw, 90px) 0 clamp(48px, 6vw, 70px);
  border-bottom: 1px solid rgba(212,160,23,.08);
}

.footer-logo-img {
  height: 45px;
  width: auto;
  display: block;
  /* Slight brightness lift so the logo reads clearly on the near-black footer */
  filter: brightness(1.05);
}

.footer-brand-col .footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(250,246,238,.45);
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer-address {
    color: rgba(250, 246, 238, 0.45);
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,160,23,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(250,246,238,.5);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.social-link:hover {
  background: rgba(212,160,23,.15);
  border-color: rgba(212,160,23,.35);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col ul li a {
  font-size: 0.88rem;
  color: rgba(250,246,238,.5);
  transition: color var(--t-fast);
}

.footer-links-col ul li a:hover { color: var(--cream); }

.footer-store-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,160,23,.15);
  color: rgba(250,246,238,.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.footer-store-btn:hover {
  background: rgba(212,160,23,.1);
  border-color: rgba(212,160,23,.3);
  color: var(--cream);
}

.footer-store-btn i { font-size: 1.1rem; color: var(--gold-warm); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(250,246,238,.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(250,246,238,.3);
  transition: color var(--t-fast);
}

.footer-legal a:hover { color: rgba(250,246,238,.6); }


/* ----------------------------------------------------------------
   17. ANIMATIONS & KEYFRAMES
---------------------------------------------------------------- */


@keyframes fade-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes ring-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* GSAP-driven entrance animations */
.gsap-fade-up {
  opacity: 0;
  transform: translateY(30px);
}


/* ----------------------------------------------------------------
   18. iOS / SAFARI FALLBACKS
   aspect-ratio unsupported on iOS < 15 / Safari < 15
---------------------------------------------------------------- */
@supports not (aspect-ratio: 1) {
  /* Hero video */
  .hero-video-wrap {
    height: 0;
    padding-bottom: 56.25%;
  }
  .hero-video,
  .hero-video-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }

  /* Video section cards */
  .video-frame-wrap {
    height: 0;
    padding-bottom: 56.25%;
  }

}


/* ----------------------------------------------------------------
   19. RESPONSIVE / MOBILE
---------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .steps-grid {
    gap: 20px;
  }

  .step-card { padding: 28px 22px; }

  .download-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-phone {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .download-sub { margin: 0 auto 40px; }
  .download-btns { justify-content: center; }
  .download-note { justify-content: center; }
}

/* Mobile landscape & small tablets */
@media (max-width: 768px) {

  /* Nav */
  .nav-container { flex-direction: column; align-items: center; }
  .nav-bottom,
  .nav-toggle { display: none; }

  /* Hero */
  .hero { padding-top: 100px; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }

  .hero-trust {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-video-col {
    order: -1;
    width: 100%;
  }

  .hero-scroll { display: none; }

  /* About */
  .about .section-container {
    grid-template-columns: 1fr;
  }

  .about-img-frame { max-width: 100%; min-height: 260px; }

  /* Decorative offset border bleeds outside the frame on narrow screens */
  .about-img-border { display: none; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-card { padding: 16px 12px; }

  /* How */
  .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .step-connector { display: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Showcase */
  .showcase-slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .showcase-caption { max-width: 100%; }

  .showcase-swiper { padding: 0 0 50px !important; }
  .sw-prev { left: 4px; }
  .sw-next { right: 4px; }

  /* Who */
  .who-grid { grid-template-columns: 1fr; }

  /* Videos */
  .videos-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }


  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* Small phones */
@media (max-width: 480px) {

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-store, .btn-outline-gold {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .about-stats { gap: 10px; }

  .hero-trust { gap: 0; }
  .trust-stat { padding: 0 8px; }

  .download-btns {
    flex-direction: column;
    align-items: center;
  }

  .waitlist-perks { grid-template-columns: 1fr; }
}

/* Substack iframe full-width on mobile */
@media (max-width: 768px) {
  .substack-iframe {
    height: 550px; /* Substack form is taller when stacked */
  }
}

/* Logo sizes at smaller breakpoints */
@media (max-width: 768px) {
  .nav-logo-img  { height: 64px; }
  .footer-logo-img { height: 36px; }
}

@media (max-width: 480px) {
  .nav-logo-img  { height: 50px; }
  .footer-logo-img { height: 30px; }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
