/* ==========================================================================
   ICEBREAK SAUNA — Shared Design System
   ==========================================================================
   Light-primary theme with strategic dark accent sections.
   Cream/white backgrounds, ink text, clay accents.
   Matches icebreaksauna.com visual language.
   ========================================================================== */


/* ==========================================================================
   1. CSS VARIABLES (Design Tokens)
   ========================================================================== */

:root {
  /* ---- Dark palette ---- */
  --ink: #151110;
  --espresso: #1E1A17;
  --walnut: #2A2220;
  --bark: #231F1B;
  --ember: #2E2722;

  /* ---- Mid-tones ---- */
  --stone: #8C7E73;

  /* ---- Warm accents ---- */
  --clay: #B8856C;
  --clay-hover: #A67459;
  --clay-light: #D4A088;

  /* ---- Lights ---- */
  --sand: #D5C8BC;
  --linen: #EBE4DD;
  --parchment: #F3EDE7;
  --cream: #F9F6F2;
  --white: #FDFCFA;

  /* ---- Cool accents (frost / cold plunge) ---- */
  --frost: #C8DDE8;
  --frost-dark: #7A9BAD;

  /* ---- Glass / translucent (light theme) ---- */
  --glass-bg: rgba(253, 252, 250, 0.7);
  --glass-border: rgba(184, 133, 108, 0.15);
  --glass-bg-dark: rgba(26, 23, 20, 0.6);

  /* ---- Session mood colors ---- */
  --calm-green: #3A6B3A;
  --party-red: #9B4040;
  --dropin-blue: #3A5A8A;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.page-loaded {
  opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: 28px; }
h4 { font-size: 22px; }

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  color: var(--clay);
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}


/* ==========================================================================
   3. NAVIGATION (light-primary, dark over hero)
   ==========================================================================
   Nav starts transparent with LIGHT text (over dark hero).
   On scroll, gets cream glass background with dark text.
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled: cream glass with dark text */
.nav.scrolled {
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(21, 17, 16, 0.06);
}

/* Nav is always visible — no hide class */

/* Logo — starts light (over dark hero), goes dark on scroll */
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.5s ease;
}

.nav.scrolled .nav-logo {
  color: var(--ink);
}

/* Nav link list */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

/* Individual nav links — light over hero */
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(253, 252, 250, 0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover { color: var(--cream); }

.nav.scrolled .nav-links a { color: var(--stone); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }

/* Active page indicator */
.nav-links a.active { color: var(--cream); }
.nav.scrolled .nav-links a.active { color: var(--ink); }

/* Primary CTA in nav */
.nav-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid rgba(253, 252, 250, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: rgba(253, 252, 250, 0.1);
  border-color: rgba(253, 252, 250, 0.6);
}

.nav.scrolled .nav-cta {
  color: var(--ink);
  border-color: var(--ink);
}

.nav.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
}

/* For pages that start light (no dark hero) */
.nav.nav-dark .nav-logo { color: var(--ink); }
.nav.nav-dark .nav-links a { color: var(--stone); }
.nav.nav-dark .nav-links a:hover { color: var(--ink); }
.nav.nav-dark .nav-links a.active { color: var(--ink); }
.nav.nav-dark .nav-cta { color: var(--ink); border-color: var(--ink); }
.nav.nav-dark .nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav.nav-dark .nav-mobile-toggle span { background: var(--ink); }

/* Mobile hamburger toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.nav-mobile-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cream);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav.scrolled .nav-mobile-toggle span { background: var(--ink); }

/* ---- Nav dropdown (sub-menus) ---- */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 133, 108, 0.15);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(21, 17, 16, 0.1), 0 2px 8px rgba(21, 17, 16, 0.04);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 110;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav:not(.scrolled) .nav-dropdown {
  background: rgba(21, 17, 16, 0.95);
  border-color: rgba(184, 133, 108, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.nav-dropdown a {
  display: block; padding: 10px 20px; font-size: 12px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; color: var(--stone);
  transition: color 0.2s ease, background 0.2s ease; white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--ink); background: rgba(184, 133, 108, 0.06); }
.nav:not(.scrolled) .nav-dropdown a { color: rgba(253, 252, 250, 0.8); }
.nav:not(.scrolled) .nav-dropdown a:hover { color: var(--cream); background: rgba(253, 252, 250, 0.08); }
.nav-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px;
  background: rgba(253, 252, 250, 0.85);
  border-left: 1px solid rgba(184, 133, 108, 0.15);
  border-top: 1px solid rgba(184, 133, 108, 0.15);
}
.nav:not(.scrolled) .nav-dropdown::before {
  background: rgba(21, 17, 16, 0.85); border-color: rgba(184, 133, 108, 0.2);
}
.nav-dropdown-wrap::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px;
}

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

/* Mobile nav overlay */
.nav-mobile-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 105;
  background: rgba(13, 11, 9, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 24px;
  gap: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Hide sticky bottom CTA while the mobile menu is open */
body:has(.nav-mobile-overlay.open) .mobile-cta { display: none; }

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-overlay a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-mobile-overlay a:hover {
  color: var(--clay);
}

/* ---- Mobile overlay close (X) button ---- */
.nav-mobile-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.nav-mobile-close::before,
.nav-mobile-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--cream);
  transition: background 0.2s ease;
}
.nav-mobile-close::before { transform: translateY(-50%) rotate(45deg); }
.nav-mobile-close::after  { transform: translateY(-50%) rotate(-45deg); }
.nav-mobile-close:hover::before,
.nav-mobile-close:hover::after { background: var(--clay); }

/* ---- Nested subpages in mobile overlay ---- */
.nav-mobile-overlay .mobile-nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.nav-mobile-overlay .mobile-nav-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 0;
}
.nav-mobile-overlay .mobile-nav-sub a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--stone);
}
.nav-mobile-overlay .mobile-nav-sub a:hover { color: var(--clay); }


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

/* ---- Primary: solid clay ---- */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--clay);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  background: var(--clay-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184, 133, 108, 0.2);
}

/* ---- Secondary: bordered (adapts to light/dark context) ---- */
.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Secondary on dark backgrounds */
.section-dark .btn-secondary {
  color: var(--cream);
  border-color: rgba(253, 252, 250, 0.25);
}

.section-dark .btn-secondary:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

/* ---- Ghost: text-only with underline ---- */
.btn-ghost {
  display: inline-block;
  padding: 8px 4px;
  background: transparent;
  color: var(--clay);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width 0.3s ease;
}

.btn-ghost:hover::after {
  width: 100%;
}


/* ==========================================================================
   5. SECTION COMMON
   ========================================================================== */

section {
  position: relative;
  z-index: 1;
  padding: 140px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--stone);
  max-width: 560px;
  line-height: 1.85;
}

/* ---- Dark section variant ---- */
.section-dark {
  background: var(--ink);
  color: var(--cream);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--cream);
}

.section-dark .section-subtitle {
  color: var(--sand);
  opacity: 0.6;
}

/* Alternating section backgrounds */
.section-cream { background: var(--cream); }
.section-parchment { background: var(--parchment); }
.section-linen { background: var(--linen); }


/* ==========================================================================
   6. CARDS
   ========================================================================== */

/* Light glass card (for light backgrounds) */
.glass-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0;
  padding: 48px 36px;
  transition: all 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--sand);
  box-shadow: 0 12px 40px rgba(21, 17, 16, 0.06);
}

.glass-card.featured {
  border-color: var(--clay);
}

/* Dark glass card (for dark sections) */
.section-dark .glass-card {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(184, 133, 108, 0.15);
}

.section-dark .glass-card:hover {
  border-color: rgba(184, 133, 108, 0.3);
  box-shadow: none;
}


/* ==========================================================================
   7. FOOTER (always dark)
   ========================================================================== */

footer {
  padding: 80px 48px 40px;
  background: var(--ink);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin: 0 0 60px;
}

.footer-brand h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--stone);
  line-height: 1.5;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-email {
  color: var(--clay);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: opacity 0.3s ease;
}

.footer-email:hover { opacity: 0.6; }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--walnut);
  border: 1px solid rgba(184, 133, 108, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--clay);
  border-color: var(--clay);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--stone);
  transition: fill 0.3s ease;
}

.footer-social a:hover svg { fill: var(--cream); }

.footer-col h4, .footer-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(213, 200, 188, 0.5);
  padding: 5px 0;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--cream); }
.footer-col a.footer-disabled { cursor: default; pointer-events: none; opacity: 0.55; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(213, 200, 188, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(213, 200, 188, 0.2);
  font-weight: 300;
}

.footer-bottom a {
  font-size: 12px;
  color: rgba(213, 200, 188, 0.2);
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-bottom a:hover { color: var(--cream); }


/* ==========================================================================
   8. STEAM CANVAS
   ========================================================================== */

#steam-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}


/* ==========================================================================
   9. MOBILE STICKY CTA
   ========================================================================== */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 16px 24px;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--linen);
}

.mobile-cta .btn-primary {
  width: 100%;
  text-align: center;
  padding: 14px;
}


/* ==========================================================================
   10. ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); transform-origin: top; }
}

@keyframes slideTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-424px * 5)); }
}


/* ==========================================================================
   11. PAGE TRANSITION
   ========================================================================== */

/* Body starts at opacity 0 (base styles), JS adds .page-loaded to fade in */


/* ==========================================================================
   12. TEMPERATURE COLOR SHIFT
   ========================================================================== */

.temp-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(184, 133, 108, 0.02) 0%,
    rgba(122, 155, 173, 0.01) 50%,
    rgba(184, 133, 108, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.temp-overlay.active { opacity: 1; }

.temp-transition {
  height: 1px;
  background: var(--linen);
}


/* ==========================================================================
   13. ACCORDION
   ========================================================================== */

.accordion-item {
  border-bottom: 1px solid var(--linen);
  cursor: pointer;
}

.accordion-item:last-child { border-bottom: none; }

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s ease;
}

.accordion-header:hover { color: var(--clay); }

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--stone);
  transition: transform 0.3s ease, background 0.3s ease;
}

.accordion-icon::before {
  top: 50%; left: 0; width: 100%; height: 1px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  top: 0; left: 50%; width: 1px; height: 100%;
  transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.accordion-item.active .accordion-header { color: var(--clay); }

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background: var(--clay);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content-inner {
  padding: 0 0 24px;
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

/* Accordion in dark sections */
.section-dark .accordion-item { border-bottom-color: rgba(213, 200, 188, 0.1); }
.section-dark .accordion-header { color: var(--cream); }


/* ==========================================================================
   14. FORM ELEMENTS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="date"] {
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s ease;
}

input::placeholder {
  color: var(--stone);
  font-weight: 300;
}

input:focus { border-color: var(--clay); }

textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s ease;
}

textarea::placeholder { color: var(--stone); font-weight: 300; }
textarea:focus { border-color: var(--clay); }

select {
  width: 100%;
  padding: 16px 44px 16px 20px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238C7E73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s ease;
}

select:focus { border-color: var(--clay); }

/* Dark section forms */
.section-dark input[type="text"],
.section-dark input[type="email"],
.section-dark input[type="tel"],
.section-dark input[type="number"],
.section-dark textarea,
.section-dark select {
  background: var(--walnut);
  border-color: rgba(184, 133, 108, 0.2);
  color: var(--cream);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--stone);
  margin-bottom: 8px;
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */

footer {
  background: var(--ink);
  color: var(--sand);
  padding: 80px 0 0;
}

.footer-inner {
  padding: 0 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(213, 200, 188, 0.7);
  margin-bottom: 24px;
  font-weight: 300;
}

.footer-contact {
  font-size: 14px;
  line-height: 2;
  color: rgba(213, 200, 188, 0.85);
}

.footer-contact strong {
  color: var(--cream);
  font-weight: 600;
}

.footer-contact a {
  color: rgba(213, 200, 188, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--clay-light);
}

footer .footer-col h4,
footer .footer-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

footer .footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(213, 200, 188, 0.7);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
  font-weight: 300;
}

footer .footer-col a:hover {
  color: var(--clay-light);
}

.footer-newsletter h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.footer-newsletter-desc {
  font-size: 14px;
  color: rgba(213, 200, 188, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 300;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  color: var(--ink);
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter-input::placeholder {
  color: var(--stone);
  opacity: 1;
}

.footer-newsletter-input:focus {
  border-color: var(--clay);
}

.footer-newsletter-btn {
  padding: 12px 24px;
  background: var(--clay);
  color: var(--ink);
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.footer-newsletter-btn:hover {
  background: var(--clay-light);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: rgba(213, 200, 188, 0.7);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--clay-light);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(213, 200, 188, 0.1);
  padding: 24px 0;
  text-align: left;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(213, 200, 188, 0.4);
  font-weight: 300;
}

@media (max-width: 768px) {
  .footer-inner { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-input { border-right: 1px solid rgba(255, 255, 255, 0.15); }
  .footer-newsletter-btn { width: 100%; }
}


/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .nav { padding: 20px 32px; }
  .nav.scrolled { padding: 14px 32px; }
  section { padding: 100px 32px; }

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

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

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  section { padding: 80px 24px; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-dropdown { display: none; }

  .mobile-cta { display: block; }
  footer { padding-bottom: 100px; }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .nav { padding: 14px 16px; }
  section { padding: 60px 16px; }
  .container { padding: 0 16px; }

  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 12px;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 3px;
  }
}


/* ==========================================================================
   16. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #steam-canvas { display: none; }
  .reveal { opacity: 1; transform: none; }
  .temp-overlay { display: none; }
  body { opacity: 1; }
}


/* ==========================================================================
   17. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-clay    { color: var(--clay); }
.text-cream   { color: var(--cream); }
.text-ink     { color: var(--ink); }
.text-stone   { color: var(--stone); }
.text-sand    { color: var(--sand); }

.bg-cream     { background: var(--cream); }
.bg-parchment { background: var(--parchment); }
.bg-linen     { background: var(--linen); }
.bg-ink       { background: var(--ink); }

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mx-auto { margin-left: auto; margin-right: auto; }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.max-w-480 { max-width: 480px; }
.max-w-560 { max-width: 560px; }
.max-w-720 { max-width: 720px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== ITALICS DISABLED SITE-WIDE — delete this block to restore italics ===== */
em, i,
[style*="italic"] {
  font-style: normal !important;
}
/* ===== END ITALICS DISABLED ===== */


/* ==========================================================================
   18. PRE-LAUNCH ADDITIONS  (nav CTA grouping, hype overlays, investors page)
   Delete this whole block at launch if rolling back to the original look.
   ========================================================================== */

/* ---- Nav layout: push links + CTAs to the right, give CTAs a clean group ---- */
.nav-links { margin-left: auto; }
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 28px;
}

/* Primary filled CTA (Join Waitlist / future Book Now) */
.nav-cta-primary {
  background: var(--clay);
  border-color: var(--clay) !important;
  color: var(--cream) !important;
}
.nav-cta-primary:hover {
  background: var(--clay-hover);
  border-color: var(--clay-hover) !important;
}
.nav.scrolled .nav-cta-primary {
  background: var(--clay);
  border-color: var(--clay) !important;
  color: var(--cream) !important;
}
.nav.scrolled .nav-cta-primary:hover {
  background: var(--clay-hover);
  border-color: var(--clay-hover) !important;
}

/* Secondary outline CTA (Get the App) — matches existing .nav-cta look */
.nav-cta-secondary { /* uses default .nav-cta styles */ }

/* Hide top-nav CTA group on mobile — the mobile overlay carries them instead */
@media (max-width: 768px) {
  .nav-cta-group { display: none !important; }
}

/* ---- Mobile overlay: primary/secondary buttons inside the menu ---- */
.nav-mobile-overlay .btn-primary,
.nav-mobile-overlay .btn-secondary {
  margin-top: 8px;
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 11px 26px;
  text-decoration: none;
  min-width: 200px;
  text-align: center;
}
.nav-mobile-overlay .btn-primary {
  background: var(--clay);
  color: var(--cream);
  border: 1px solid var(--clay);
}
.nav-mobile-overlay .btn-secondary {
  margin-top: 6px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(249, 246, 242, 0.35);
}

/* ---- Memberships founding-hype overlay (cream theme, minimal) ---- */
.founding-hype {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.founding-hype::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 60% at 50% 0%,   rgba(184, 133, 108, 0.32) 0%, transparent 70%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(184, 133, 108, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.founding-hype::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.11;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.founding-hype > * { position: relative; z-index: 1; }
.founding-hype .fh-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 32px;
}
.founding-hype .fh-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 20px;
}
.founding-hype .fh-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--clay);
  margin: 0 0 64px;
}
.founding-hype .fh-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.founding-hype .fh-form input,
.founding-hype .fh-form select {
  background: #FFFFFF;
  border: 1px solid rgba(21, 17, 16, 0.14);
  color: var(--ink);
  padding: 16px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.founding-hype .fh-form input::placeholder { color: var(--stone); }
.founding-hype .fh-form input:focus,
.founding-hype .fh-form select:focus { border-color: var(--clay); }
.founding-hype .fh-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238C7E73' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}
.founding-hype .fh-form select:invalid { color: var(--stone); }
.founding-hype .fh-form button[type=submit] {
  background: var(--clay);
  color: var(--cream);
  border: none;
  padding: 16px 24px;
  margin-top: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.founding-hype .fh-form button[type=submit]:hover { background: var(--clay-hover); }
.founding-hype .fh-form button[type=submit]:disabled { opacity: 0.6; cursor: wait; }
.founding-hype .fh-thanks {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  margin-top: 8px;
  max-width: 480px;
}
.founding-hype.success .fh-form { display: none; }
.founding-hype.success .fh-thanks { display: block; }
.founding-hype .fh-back {
  margin-top: 56px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--clay);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.founding-hype .fh-back:hover { color: var(--clay-hover); }

@media (max-width: 768px) {
  .founding-hype { padding: 120px 20px 60px; }
  .founding-hype .fh-headline { margin-bottom: 40px; }
}

/* ---- Investors page (cream theme, matches memberships) ---- */
.investors-hero {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  text-align: center;
}
.investors-hero .inv-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 32px;
}
.investors-hero .inv-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 900px;
}
.investors-hero .inv-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--stone);
  max-width: 620px;
  margin: 0 0 56px;
}
.investors-hero .inv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 780px;
  margin-bottom: 64px;
}
.investors-hero .inv-stat {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  background: transparent;
  border: none;
}
.investors-hero .inv-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--clay);
  border-radius: 28px;
  filter: url(#handDrawn1);
  pointer-events: none;
}
.investors-hero .inv-stat:nth-child(2)::before { filter: url(#handDrawn2); border-radius: 32px 24px 30px 26px; }
.investors-hero .inv-stat:nth-child(3)::before { filter: url(#handDrawn3); border-radius: 26px 30px 24px 32px; }
.investors-hero .inv-stat > * { position: relative; z-index: 1; }
/* Subtle organic tilt per card for playful asymmetry */
.investors-hero .inv-stat:nth-child(1) { transform: rotate(-0.6deg); }
.investors-hero .inv-stat:nth-child(3) { transform: rotate(0.6deg); }
.investors-hero .inv-stat .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.investors-hero .inv-stat .lbl {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.investors-hero form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
}
.investors-hero input {
  background: #FFFFFF;
  border: 1px solid rgba(21, 17, 16, 0.14);
  color: var(--ink);
  padding: 16px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.investors-hero input::placeholder { color: var(--stone); }
.investors-hero input:focus { border-color: var(--clay); }
.investors-hero button[type=submit] {
  background: var(--clay);
  color: var(--cream);
  border: none;
  padding: 16px 24px;
  margin-top: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.investors-hero button[type=submit]:hover { background: var(--clay-hover); }
.investors-hero button[type=submit]:disabled { opacity: 0.6; cursor: wait; }
.investors-hero .inv-thanks {
  display: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--ink);
  margin-top: 8px;
}
.investors-hero.success form { display: none; }
.investors-hero.success .inv-thanks { display: block; }

@media (max-width: 768px) {
  .investors-hero { padding: 110px 20px 60px; }
  .investors-hero .inv-stats { grid-template-columns: 1fr; max-width: 320px; }
}
