/*
Theme Name: Unbreakable Crown
Theme URI: https://unbreakablecrown.com
Author: Dr. Carla Norris
Description: Unbreakable Crown — a healing platform for women survivors
Version: 4.0
*/

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --dark:       #060E1A;
  --dark-2:     #091422;
  --dark-3:     #0D1D2E;
  --teal:       #0BA8BC;
  --teal-dim:   #0A9AAD;
  --teal-glow:  rgba(11,168,188,0.22);
  --gold:       #C9A84C;
  --gold-lt:    #DBBE7A;
  --gold-pale:  rgba(201,168,76,0.15);
  --cream:      #F5F3EE;
  --white:      #FFFFFF;

  --text-dark:  #1A1A2E;
  --text-body:  #3D3D50;
  --text-muted: #7A8BA0;
  --text-light: #E8ECF4;
  --text-pale:  rgba(232,236,244,0.72);

  --f-luxury:  'Cormorant Garamond', Georgia, serif;
  --f-head:    'Poppins', sans-serif;
  --f-display: 'Playfair Display', serif;
  --f-body:    'Inter', sans-serif;

  --r:      6px;
  --r-lg:   14px;
  --r-xl:   24px;
  --r-full: 999px;

  --container: 1280px;
  --sp:     clamp(2.5rem, 5.5vw, 5rem);   /* desktop max ~80px; was 128px */
  --sp-sm:  clamp(1.5rem, 2.5vw, 2.5rem); /* desktop max ~40px; was 64px  */

  --z-base:    1;
  --z-float:   10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-cursor:  9999;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── STRIP WORDPRESS WRAPPER STYLES ──
   WP 5.9+ injects .wp-site-blocks and other wrappers with padding/background
   from theme.json / global styles. Force them transparent and zero-spaced.   */
.wp-site-blocks,
#page, #content, #primary, #main,
.site, .site-content, .site-main,
.hentry, .entry-content, .entry-header, .entry-footer,
.page-content, .post-content,
.wp-block-group, .wp-block-group__inner-container {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
/* WordPress admin bar offset — only when logged in */
body.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #site-header { top: 46px; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16,1,0.3,1),
              height 0.25s cubic-bezier(0.16,1,0.3,1),
              background 0.25s ease;
}
.cursor.hovered { width: 14px; height: 14px; background: var(--gold); }
.cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(201,168,76,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s ease, width 0.4s cubic-bezier(0.16,1,0.3,1), height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cursor-ring.hovered { width: 56px; height: 56px; border-color: rgba(11,168,188,0.45); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none !important; } }

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 60%, var(--gold-lt) 100%);
  z-index: calc(var(--z-nav) + 1);
  width: 0%;
  transform-origin: left center;
  pointer-events: none;
}

/* ── LAYOUT ── */
.container     { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 3.5rem); }
.container--sm { max-width: 860px; margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 3.5rem); }
.container--xs { max-width: 660px; margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 3.5rem); }

/* ── DARK MARBLE SECTION ── */
.section-dark {
  position: relative;
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 80% 70% at 10% 40%, rgba(10,75,98,0.55) 0%, transparent 68%),
    radial-gradient(ellipse 55% 50% at 88% 15%, rgba(7,48,70,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 60% 90%, rgba(11,62,86,0.40) 0%, transparent 63%),
    radial-gradient(ellipse 40% 38% at 38% 5%,  rgba(14,88,112,0.28) 0%, transparent 48%);
  overflow: hidden;
}
.section-light { position: relative; background: var(--cream); overflow: hidden; }
.section-white { position: relative; background: var(--white); overflow: hidden; }

/* ── CRUMPLED NOTEBOOK PAPER SECTION ── */
.section-paper {
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF !important;
}

/* ── VEINS SVG ── */
.uc-veins {
  position: absolute !important; /* must beat .section-dark > * { position: relative } below */
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0 !important;
}
/* Raise all other direct children of dark sections above the decorative layer */
.section-dark > * { position: relative; z-index: 1; }
/* Decorative absolutes inside dark sections — must stay below content */
.section-dark > .uc-veins,
.section-dark > .hero-orb,
.section-dark > .particle-field { position: absolute !important; z-index: 0 !important; }

/* ── AMBIENT ORB ANIMATIONS ── */
@keyframes orb-pulse {
  0%, 100% { transform: scale(1) translate(0,0); opacity: 0.4; }
  33%       { transform: scale(1.15) translate(20px,-15px); opacity: 0.6; }
  66%       { transform: scale(0.92) translate(-15px,12px); opacity: 0.35; }
}
@keyframes orb-drift {
  0%, 100% { transform: scale(1) translate(0,0); opacity: 0.3; }
  50%       { transform: scale(1.2) translate(-25px,20px); opacity: 0.5; }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
}
.hero-orb-1 {
  width: clamp(320px,42vw,640px); height: clamp(320px,42vw,640px);
  background: radial-gradient(circle, rgba(11,168,188,0.16) 0%, transparent 70%);
  top: -8%; left: -4%;
  animation: orb-pulse 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: clamp(260px,36vw,520px); height: clamp(260px,36vw,520px);
  background: radial-gradient(circle, rgba(201,168,76,0.11) 0%, transparent 70%);
  bottom: -6%; right: 8%;
  animation: orb-drift 18s ease-in-out infinite;
}
.hero-orb-3 {
  width: clamp(200px,26vw,420px); height: clamp(200px,26vw,420px);
  background: radial-gradient(circle, rgba(11,168,188,0.09) 0%, transparent 70%);
  top: 42%; right: 3%;
  animation: orb-pulse 10s ease-in-out infinite 4s;
}

/* ── FLOATING GOLD PARTICLES ── */
@keyframes float-dot {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50%       { transform: translateY(-14px) scale(1.15); opacity: 0.55; }
}
.particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle-field::before,
.particle-field::after {
  content: '';
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    120px 80px 0 rgba(201,168,76,0.4),   280px 160px 0 rgba(201,168,76,0.25),
    420px 60px 0 rgba(201,168,76,0.35),   580px 200px 0 rgba(201,168,76,0.2),
    740px 100px 0 rgba(201,168,76,0.45),  900px 180px 0 rgba(201,168,76,0.3),
    1060px 80px 0 rgba(201,168,76,0.2),   1220px 150px 0 rgba(201,168,76,0.35),
    200px 320px 0 rgba(201,168,76,0.25),  360px 280px 0 rgba(201,168,76,0.4),
    520px 350px 0 rgba(201,168,76,0.2),   680px 300px 0 rgba(201,168,76,0.3),
    840px 260px 0 rgba(201,168,76,0.45),  1000px 340px 0 rgba(201,168,76,0.2),
    1160px 290px 0 rgba(201,168,76,0.35), 50px 480px 0 rgba(201,168,76,0.25),
    310px 520px 0 rgba(201,168,76,0.2),   490px 450px 0 rgba(201,168,76,0.35);
  animation: float-dot 7s ease-in-out infinite;
  top: 0; left: 0;
}
.particle-field::after {
  animation-delay: 3.5s;
  box-shadow:
    80px 200px 0 rgba(201,168,76,0.3),    240px 260px 0 rgba(201,168,76,0.2),
    400px 220px 0 rgba(201,168,76,0.4),   560px 280px 0 rgba(201,168,76,0.25),
    720px 240px 0 rgba(201,168,76,0.35),  880px 200px 0 rgba(201,168,76,0.2),
    1040px 260px 0 rgba(201,168,76,0.4),  1200px 220px 0 rgba(201,168,76,0.3),
    160px 380px 0 rgba(201,168,76,0.2),   320px 440px 0 rgba(201,168,76,0.35),
    480px 400px 0 rgba(201,168,76,0.25),  640px 460px 0 rgba(201,168,76,0.4),
    800px 420px 0 rgba(201,168,76,0.2),   960px 380px 0 rgba(201,168,76,0.3),
    1120px 440px 0 rgba(201,168,76,0.45), 70px 560px 0 rgba(201,168,76,0.3),
    290px 580px 0 rgba(201,168,76,0.2),   530px 540px 0 rgba(201,168,76,0.35);
}
@media (prefers-reduced-motion: reduce) {
  .particle-field::before,
  .particle-field::after,
  .hero-orb,
  .book-float { animation: none !important; }
}

/* ── SECTION SPACING ── */
.py    { padding-block: var(--sp); }
.py-sm { padding-block: var(--sp-sm); }
.pt    { padding-top: var(--sp); }
.pb    { padding-bottom: var(--sp); }

/* ── WAVE DIVIDERS (zero-gap) ── */
main { overflow: hidden; }
main > section, main > div, main > .wave { margin-top: 0; margin-bottom: 0; }
/* Wave div pulls 2px into each adjacent section — defeats sub-pixel layout gaps */
main > .wave { margin-top: -2px; margin-bottom: -2px; }
/* overflow:hidden clips the SVG at the wrapper edge (kills compositing hairlines).
   translateY(1px) shifts SVG 1px down so its bottom seam is inside the clip zone.
   viewBox is 0 0 1440 120 with curve at y=100, giving 20 SVG units of cream at
   center — on any mobile width that renders to >4px, fully eliminating dark lines. */
.wave     { display: block; line-height: 0; padding: 0; position: relative; z-index: 2; overflow: hidden; }
.wave svg { display: block; width: 100%; margin: 0; padding: 0; overflow: hidden; transform: translateY(1px); }

/* Nuke every possible border/shadow source on waves and sections */
.wave, .wave svg, .wave path,
.section-dark, .section-light, .section-white, .section-paper {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ── SCROLL ANIMATIONS ── */
.js .animate {
  opacity: 0; transform: translateY(44px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.js .animate-left {
  opacity: 0; transform: translateX(-52px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.js .animate-right {
  opacity: 0; transform: translateX(52px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.js .animate-scale {
  opacity: 0; transform: scale(0.91);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.animate.d1, .animate-left.d1, .animate-right.d1, .animate-scale.d1 { transition-delay: 0.1s; }
.animate.d2, .animate-left.d2, .animate-right.d2, .animate-scale.d2 { transition-delay: 0.22s; }
.animate.d3, .animate-left.d3, .animate-right.d3, .animate-scale.d3 { transition-delay: 0.35s; }
.animate.d4, .animate-left.d4, .animate-right.d4, .animate-scale.d4 { transition-delay: 0.48s; }
.animate.d5, .animate-left.d5, .animate-right.d5, .animate-scale.d5 { transition-delay: 0.62s; }
.animate.visible       { opacity: 1; transform: translateY(0); }
.animate-left.visible  { opacity: 1; transform: translateX(0); }
.animate-right.visible { opacity: 1; transform: translateX(0); }
.animate-scale.visible { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .animate, .animate-left, .animate-right, .animate-scale {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* GSAP word-split helpers */
.word-wrap { overflow: hidden; display: inline-block; vertical-align: top; }
.word      { display: inline-block; }

/* ── TYPOGRAPHY ── */
.t-eyebrow {
  font-family: var(--f-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 1rem;
}
.t-luxury {
  font-family: var(--f-luxury);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-light);
}
.t-display {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-light);
}
.t-h2 {
  font-family: var(--f-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}
.t-h2-dark  { color: var(--text-dark); }
.t-h2-light { color: var(--text-light); }

/* Gradient & shimmer text */
.t-gradient-gold {
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 50%, #B8943C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes shimmer-sweep {
  0%   { background-position: -250% center; }
  100% { background-position: 250% center; }
}
.t-shimmer {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-lt) 20%,
    #FFF8E5 40%,
    var(--gold-lt) 60%,
    var(--gold) 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-sweep 5s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .t-shimmer { animation: none; -webkit-text-fill-color: var(--gold-lt); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.95rem 2.4rem;
  border-radius: var(--r-full);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.14) 50%, transparent 100%);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(150%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-lg { padding: 1.15rem 3rem; font-size: 0.92rem; }
.btn-sm { padding: 0.65rem 1.6rem; font-size: 0.75rem; }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(11,168,188,0.38);
}
.btn-teal:hover { background: var(--teal-dim); box-shadow: 0 8px 36px rgba(11,168,188,0.5); }

.btn-gold {
  background: linear-gradient(135deg, #C9A84C, #A8872D);
  color: var(--dark);
  font-weight: 800;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}
.btn-gold:hover { box-shadow: 0 8px 38px rgba(201,168,76,0.52); }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.48);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

.btn-glass {
  background: rgba(255,255,255,0.07);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); }

/* Magnetic wrapper */
.magnetic { display: inline-block; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }

/* ── HEADER ── */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding: 0.8rem 0;
  transition: background 0.45s ease, box-shadow 0.45s ease, padding 0.45s ease;
}
#site-header.scrolled {
  background: rgba(6,14,26,0.92);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 rgba(201,168,76,0.1), 0 4px 32px rgba(0,0,0,0.45);
  padding: 0.5rem 0;
}
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo { display: flex; align-items: center; gap: 0.85rem; transition: opacity 0.2s; }
.site-logo:hover { opacity: 0.82; }
.site-logo img { height: 60px; width: auto; }
.logo-wordmark .logo-main {
  display: block;
  font-family: var(--f-head);
  font-size: 0.95rem; font-weight: 800;
  color: var(--white);
  line-height: 1.2; letter-spacing: 0.02em;
}
.logo-wordmark .logo-sub {
  display: block;
  font-size: 0.57rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-top: 0.12rem;
}
.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a {
  font-family: var(--f-head);
  font-size: 0.78rem; font-weight: 600;
  color: rgba(232,236,244,0.78);
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.site-nav .cta-link { background: var(--teal); color: var(--white); margin-left: 0.6rem; padding: 0.55rem 1.35rem; }
.site-nav .cta-link:hover { background: var(--teal-dim); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); }
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,14,26,0.97);
  backdrop-filter: blur(14px);
  z-index: var(--z-overlay);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
  font-family: var(--f-luxury);
  font-size: 2.2rem; font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.mobile-nav-overlay a:hover { color: var(--teal); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.9rem; color: var(--text-light);
  cursor: pointer; padding: 0.5rem; line-height: 1;
}

/* ── FOOTER ── */
.site-footer {
  background: #030810;
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand img { height: 58px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.82; max-width: 280px; }
.footer-col h4 {
  font-family: var(--f-head);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.75rem; font-size: 0.76rem; color: var(--text-muted);
}

/* ── BOOK FLOAT ── */
@keyframes book-float {
  0%, 100% { transform: translateY(0) rotate(-0.8deg); }
  50%       { transform: translateY(-16px) rotate(0.8deg); }
}
.book-float { animation: book-float 5.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .book-float { animation: none; } }
.book-tilt-wrap { perspective: 1000px; }
.book-tilt-wrap img { transition: transform 0.45s ease; }

/* ── HERO LAYOUT ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
}
.hero-book-col { display: flex; align-items: center; justify-content: flex-start; }
.hero-book-col img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── STATISTICS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.stat-item {
  text-align: center;
  padding: clamp(2rem,4vw,3rem) 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--f-luxury);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-lt);
  display: block;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

/* ── MARQUEE REVIEWS ── */
@keyframes marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee-ltr 40s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-outer {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── REVIEW CARDS ── */
.review-card {
  background: rgba(255,255,255,0.97);
  border: 1px solid #E5E2DC;
  border-radius: var(--r-lg);
  padding: 2rem;
  min-width: 320px;
  max-width: 380px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
  flex-shrink: 0;
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(0,0,0,0.14); }
.review-header   { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.review-avatar   {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, rgba(11,168,188,0.2), rgba(201,168,76,0.2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-size: 0.85rem; font-weight: 700;
  color: var(--dark-3); flex-shrink: 0;
}
.review-name     { font-family: var(--f-head); font-size: 0.87rem; font-weight: 700; color: var(--text-dark); }
.review-date     { font-size: 0.7rem; color: var(--text-muted); }
.review-title    { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin: 0.55rem 0 0.45rem; }
.review-verified { font-size: 0.68rem; color: #067D62; font-weight: 600; }
.review-text     { font-size: 0.82rem; color: var(--text-body); line-height: 1.75; }
.stars           { color: #F59E0B; font-size: 0.92rem; letter-spacing: 0.06em; }
/* Grid reviews (non-marquee) */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.reviews-grid .review-card { min-width: auto; max-width: none; }

/* ── FEATURE CARDS ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.feature-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.85rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: default;
}
.feature-card:hover { background: rgba(11,168,188,0.06); border-color: rgba(11,168,188,0.2); transform: translateY(-4px); }

/* Community section — tighter spacing, no card boxes */
.section-paper.py {
  padding-top:    clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
.community-features { gap: 0.5rem !important; }
.community-features .feature-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.85rem 0.75rem !important;
}
.community-features .feature-card:hover { transform: none !important; }
.community-features .feature-num   { font-size: 1.6rem !important; margin-bottom: 0.4rem !important; }
.community-features .feature-title { font-weight: 800 !important; font-size: 1.02rem !important; color: #0a0f1e !important; margin-bottom: 0.35rem !important; }
.community-features .feature-desc  { font-size: 0.9rem !important; font-weight: 500 !important; color: #1e243a !important; line-height: 1.7 !important; }
.feature-num   { font-family: var(--f-luxury); font-size: 1.9rem; color: rgba(201,168,76,0.28); line-height: 1; margin-bottom: 1rem; }
.feature-title { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.65rem; }
.feature-desc  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.76; }

/* ── BLOG CARDS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 55px rgba(0,0,0,0.5); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.blog-card:hover .blog-card-img img { transform: scale(1.07); }
.blog-card-body { padding: 1.5rem; }
.blog-card-cat  { font-size: 0.61rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; display: block; }
.blog-card-title { font-family: var(--f-head); font-size: 0.97rem; font-weight: 700; color: var(--text-light); line-height: 1.35; margin-bottom: 0.65rem; }
.blog-card-excerpt { font-size: 0.81rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 1.2rem; }
.blog-card-link { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
.blog-card-link:hover { gap: 0.75rem; }

/* ── ESSAY / ABOUT ── */
.essay-section p { font-size: 0.97rem; color: var(--text-pale); line-height: 1.95; margin-bottom: 1.4rem; }
.essay-section .pull-quote {
  font-family: var(--f-luxury);
  font-size: 1.6rem; font-style: italic;
  color: var(--teal);
  border-left: 4px solid var(--teal);
  padding: 1rem 0 1rem 2rem;
  margin: 2.5rem 0; line-height: 1.5;
}
.essay-section .sig-block { margin-top: 3rem; }
.essay-section .sig { font-family: var(--f-luxury); font-size: 2.6rem; font-style: italic; color: var(--teal); display: block; margin-bottom: 0.35rem; }
.essay-section .sig-sub { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 1rem; }
.check-item { display: flex; align-items: flex-start; gap: 1rem; }
.check-icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.65rem; font-weight: 800; margin-top: 0.14rem; }
.check-text { font-size: 0.95rem; color: var(--text-body); line-height: 1.65; }
.check-text-light { color: rgba(232,236,244,0.82); }

/* ── STEP CARDS ── */
.step-card { border-left: 3px solid var(--teal); padding-left: 2rem; margin-bottom: 3rem; }
.step-card h3 { font-family: var(--f-head); font-size: 1.25rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.75rem; }
.step-card p  { font-size: 0.93rem; color: var(--text-muted); line-height: 1.85; }

/* ── DIVIDER LINES ── */
.divider { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); margin: 1.5rem auto; }
.divider-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── NEWSLETTER ── */
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 2rem auto 0; }
.newsletter-form input { flex: 1; min-width: 180px; padding: 0.9rem 1.5rem; border-radius: var(--r-full); border: 1.5px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: var(--text-light); font-family: var(--f-body); font-size: 0.88rem; outline: none; transition: border-color 0.2s; }
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--teal); }
.newsletter-form button { padding: 0.9rem 1.8rem; background: var(--teal); color: var(--white); border-radius: var(--r-full); font-family: var(--f-head); font-size: 0.82rem; font-weight: 700; cursor: pointer; border: none; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--teal-dim); }

/* ── POST / BLOG SINGLE ── */
.post-hero  { padding: clamp(8rem,15vw,12rem) 0 clamp(3rem,6vw,5rem); }
.post-meta  { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.post-title { font-family: var(--f-luxury); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; color: var(--text-light); line-height: 1.15; }
.post-feat  { aspect-ratio: 21/9; overflow: hidden; border-radius: var(--r); }
.post-feat img { width: 100%; height: 100%; object-fit: cover; }
.post-body  { background: var(--cream); padding: clamp(4rem,8vw,7rem) 0; }
.post-content p  { font-size: 1rem; color: var(--text-body); line-height: 1.92; margin-bottom: 1.5rem; }
.post-content h2 { font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin: 3rem 0 1.2rem; }
.post-content h3 { font-family: var(--f-head); font-size: 1.1rem; font-weight: 700; color: var(--teal); margin: 2rem 0 0.8rem; }
.post-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { font-size: 0.95rem; color: var(--text-body); line-height: 1.8; margin-bottom: 0.5rem; list-style: disc; }
.post-content blockquote { border-left: 4px solid var(--teal); padding: 1.5rem 2rem; margin: 2.5rem 0; background: rgba(11,168,188,0.05); border-radius: 0 var(--r) var(--r) 0; }
.post-content blockquote p { font-family: var(--f-luxury); font-size: 1.15rem; font-style: italic; color: var(--text-dark); margin-bottom: 0; line-height: 1.6; }
.post-cta-box { background: linear-gradient(135deg,#071520,#0A3040); border: 1px solid rgba(11,168,188,0.2); border-radius: var(--r-lg); padding: 2.5rem; text-align: center; margin-top: 3rem; }
.post-cta-box h3 { font-family: var(--f-head); font-size: 1.3rem; font-weight: 800; color: var(--text-light); margin-bottom: 1rem; }
.post-cta-box p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.75rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid  { grid-template-columns: 1fr 1fr; }
  .blog-grid     { grid-template-columns: 1fr 1fr; }
  .hero-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-book-col { justify-content: center; }
  .hero-book-col img { max-height: 55vw; max-width: 300px; width: auto; }
  .stats-row     { grid-template-columns: 1fr 1fr; }
  .stats-row .stat-item:last-child:nth-child(3) { grid-column: span 2; border-right: none; }
}
@media (max-width: 768px) {
  .site-nav   { display: none; }
  .nav-toggle { display: flex; }
  .blog-grid  { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  /* Two-column inline grids — collapse to single column */
  .home-about-grid,
  .home-guide-grid,
  .about-carla-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Hide decorative photo overlays that bleed into text on mobile */
  .photo-deco-frame,
  .photo-quote-card { display: none !important; }

  /* Blog page featured article — stack image on top */
  .blog-feat-card { grid-template-columns: 1fr !important; }
  .blog-feat-card > div:first-child { min-height: 220px !important; }

  /* Book hero — everything above the fold, no wasted centering space */
  .book-hero-wrap {
    min-height: auto !important;
    align-items: flex-start !important;
    padding-top: 6rem !important;
    padding-bottom: 2.5rem !important;
  }
  .page--book .hero-grid { gap: 1.5rem !important; }
  .page--book .hero-book-col img {
    max-height: none !important;
    max-width: 225px !important;
    width: 225px !important;
  }
  /* Hide the long description paragraph on mobile — keeps book/title/subtitle/button above fold */
  .page--book .hero-sub-split { display: none !important; }

  /* Community features — single column, no inter-card gap on mobile */
  .community-features { grid-template-columns: 1fr !important; gap: 0 !important; }
  .section-paper.py { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }

  /* About page — stack image and quote card vertically */
  .about-intro-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .about-deco-frame { display: none !important; }
  .about-quote-overlay {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 1rem !important;
    border-radius: var(--r-lg) !important;
  }

  /* Wave dividers — force taller height so the bezier cream fill
     (SVG y=100–120) stays well above the translateY(1px) clip zone */
  .wave { height: 60px !important; overflow: hidden; }
  .wave svg { height: 100% !important; }

  /* Credentials grid — collapse 3 columns to 1 on mobile */
  .about-credentials-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
}
@media (max-width: 480px) {
  .btn { padding: 0.9rem 1.8rem; }
  .btn-lg { padding: 1rem 2.2rem; font-size: 0.87rem; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-item:last-child { border-bottom: none; }
}

/* ── CONNECT CARDS (Homepage) ── */
.connect-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem,3vw,2.25rem);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.connect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: rgba(11,168,188,0.3);
}
.connect-emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.connect-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}
.connect-title {
  font-family: var(--f-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.connect-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0.25rem 0 auto;
  flex-grow: 1;
}
.connect-cta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1rem;
}

/* Connect grid — 3 cols desktop, 2 tablet, 1 mobile; last item centered on odd */
@media (max-width: 900px) {
  .connect-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 540px) {
  .connect-grid { grid-template-columns: 1fr !important; }
}
