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

:root {
  --bg: #050c0d;
  --bg2: #0b1413;
  --panel: rgba(255, 255, 255, 0.025);
  --panel2: rgba(255, 255, 255, 0.05);
  --panel3: rgba(255, 255, 255, 0.08);
  --cream: #f4eee3;
  --muted: rgba(244, 238, 227, 0.75);
  --soft: rgba(244, 238, 227, 0.5);
  --line: rgba(244, 238, 227, 0.12);
  --line-active: rgba(197, 138, 83, 0.4);
  --bronze: #d49a65;
  --bronze2: #a36936;
  --gold: #dfb15b;
  --teal-glow: rgba(24, 70, 73, 0.35);
  --bronze-glow: rgba(197, 138, 83, 0.18);
  --shadow: 0 25px 65px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --radius-lg: 32px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--bronze2) var(--bg);
}

body {
  color: var(--cream);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 15%, var(--teal-glow), transparent 38%),
    radial-gradient(circle at 85% 25%, var(--bronze-glow), transparent 35%),
    radial-gradient(circle at 50% 75%, rgba(11, 20, 19, 0.8), transparent 50%),
    linear-gradient(135deg, #040a0b 0%, #0a1312 40%, #0d120e 100%);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 88px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bronze2);
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid rgba(212, 154, 101, 0.4);
  background: linear-gradient(135deg, var(--bronze), var(--bronze2));
  color: #fff9f2;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(163, 105, 54, 0.15);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 154, 101, 0.8);
  box-shadow: 0 15px 35px rgba(163, 105, 54, 0.3), 0 0 15px rgba(212, 154, 101, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(244, 238, 227, 0.25);
  color: var(--cream);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(244, 238, 227, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 12, 13, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(4, 9, 10, 0.95);
  border-bottom: 1px solid rgba(244, 238, 227, 0.08);
}

nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(244, 238, 227, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.brand:hover img {
  transform: scale(1.05) rotate(5deg);
  border-color: var(--bronze);
}

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

.nav-links a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--bronze);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--bronze);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-kicker {
  text-align: center;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.03em;
  margin: 0 auto 48px;
  max-width: 800px;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-content .eyebrow {
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
  font-weight: 900;
}

.hero-content .hero-copy {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-panel {
  min-height: 560px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 238, 227, 0.1);
  background:
    radial-gradient(circle at 50% 45%, rgba(197, 138, 83, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Photo collage background styling */
.collage-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-rows: 45% 55%;
  gap: 6px;
  background-color: var(--bg);
  transition: var(--transition);
}

.collage-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  filter: brightness(0.32) contrast(1.1) grayscale(0.2);
}

/* Position-specific adjustments for optimal crops */
.collage-img.img-1 { background-position: center center; }
.collage-img.img-2 { background-position: center center; }
.collage-img.img-3 { background-position: center center; }
.collage-img.img-4 { background-position: center center; }

.logo-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 13, 0.15), rgba(5, 12, 13, 0.85));
  z-index: 1;
  pointer-events: none;
}

.logo-badge {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(10, 18, 20, 0.6);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(212, 154, 101, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5), 
    inset 0 0 20px rgba(255, 255, 255, 0.03);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-center-img {
  width: 70%;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover effects */
.logo-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 154, 101, 0.3);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 138, 83, 0.1);
}

.logo-panel:hover .collage-img {
  transform: scale(1.04);
  filter: brightness(0.45) contrast(1.15) grayscale(0);
}

.logo-panel:hover .logo-badge {
  border-color: rgba(212, 154, 101, 0.55);
  background: rgba(10, 18, 20, 0.72);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.65), 
    0 0 35px rgba(197, 138, 83, 0.15), 
    inset 0 0 25px rgba(255, 255, 255, 0.08);
  transform: scale(1.04);
}

.logo-panel:hover .logo-center-img {
  transform: scale(1.02);
}

/* Flagship Experiences Cards */
.experience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exp-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 238, 227, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 154, 101, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  padding: 40px 32px 36px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.exp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 154, 101, 0.35);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}

/* Card top half image background styles */
.card-top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-top-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background: linear-gradient(180deg, rgba(5, 12, 13, 0.05) 0%, rgba(5, 12, 13, 0.98) 100%);
  z-index: 2;
  pointer-events: none;
}

.exp-card:hover .card-top-bg {
  opacity: 0.42;
  transform: scale(1.05);
}

/* Ensure card text and buttons sit on top of background image */
.exp-card > *:not(.card-top-bg):not(.card-top-overlay) {
  position: relative;
  z-index: 3;
}

.exp-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(212, 154, 101, 0.12);
  color: var(--bronze);
  border: 1px solid rgba(212, 154, 101, 0.3);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.exp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--line-active);
  background: rgba(197, 138, 83, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bronze);
  margin-bottom: 28px;
  transition: var(--transition);
}

.exp-card:hover .exp-icon {
  transform: scale(1.08);
  background: rgba(197, 138, 83, 0.1);
  color: var(--gold);
}

.exp-card h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.exp-tagline {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 24px;
  min-height: 48px;
}

/* Custom Interactive Tabs inside cards */
.exp-details {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: auto;
}

.exp-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

.exp-info-row span:first-child {
  color: var(--soft);
  font-weight: 400;
}

.exp-info-row span:last-child {
  color: var(--cream);
  font-weight: 600;
}

.exp-card-actions {
  margin-top: 24px;
}

.exp-card-actions .btn {
  width: 100%;
  min-height: 44px;
}

/* Experience tabs dashboard block */
.trips-dashboard {
  margin-top: 60px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.dashboard-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.dash-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--soft);
  padding: 10px 24px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.dash-tab:hover {
  color: var(--cream);
  border-color: rgba(244, 238, 227, 0.15);
}

.dash-tab.active {
  background: rgba(212, 154, 101, 0.1);
  color: var(--bronze);
  border-color: var(--line-active);
}

.dash-content {
  display: none;
}

.dash-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
}

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

.trip-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trip-details-list h4 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--cream);
}

.trip-details-list p.desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 300;
}

.trip-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trip-feature-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(244, 238, 227, 0.05);
  padding: 16px;
  border-radius: var(--radius);
}

.trip-feature-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--bronze);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.trip-feature-item span {
  font-size: 14px;
  color: var(--cream);
}

.trip-highlights {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
}

.trip-highlights h5 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bronze);
  margin-bottom: 20px;
}

.trip-highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trip-highlights li {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding-left: 24px;
}

.trip-highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bronze);
  font-size: 14px;
}

/* Band section / Quote & Principles */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 40%, rgba(197, 138, 83, 0.08), transparent 35%),
    rgba(255, 255, 255, 0.015);
}

.band-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.quote {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-style: italic;
  font-weight: 400;
}

.principles {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.principle {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.principle strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
}

.principle span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}

/* About / Founder Bio Section */
.about {
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.founder-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.founder-panel:hover .founder-img {
  transform: scale(1.03);
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 12, 13, 0.9) 85%);
  padding: 32px;
  text-align: center;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.founder-title {
  color: var(--bronze);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.about-content .founder-bio-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-bio-text strong {
  color: var(--cream);
  font-weight: 500;
}

.philosophy-quote {
  border-left: 2px solid var(--bronze);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.highlight-row:last-child {
  border-bottom: 1px solid var(--line);
}

.highlight-icon {
  font-size: 18px;
  color: var(--bronze);
  margin-top: 2px;
}

.highlight-desc strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}

.highlight-desc span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}

/* Forge Circle Community Section */
.circle-section {
  text-align: center;
  background:
    radial-gradient(circle at 50% 25%, rgba(197, 138, 83, 0.15), transparent 45%),
    rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--line);
}

.circle-content {
  max-width: 800px;
  margin: 0 auto;
}

.circle-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.circle-content p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.circle-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px auto;
  text-align: left;
}

.perk-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.perk-box:hover {
  border-color: var(--line-active);
  background: rgba(255, 255, 255, 0.03);
}

.perk-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.perk-box p {
  font-size: 14px;
  color: var(--soft);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Footer styling */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
  background: var(--bg);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-links a {
  color: var(--soft);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--bronze);
}

/* Footer Social Icons styling */
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-circle svg {
  transition: transform 0.3s ease;
}

.social-circle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(223, 177, 91, 0.05);
  box-shadow: 0 0 15px rgba(223, 177, 91, 0.1);
  transform: translateY(-2px);
}

.social-circle:hover svg {
  transform: scale(1.05);
}

/* Modals & Dialog System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 10, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: linear-gradient(145deg, #0b1415 0%, #060d0e 100%);
  border: 1px solid rgba(244, 238, 227, 0.12);
  width: min(640px, 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  padding: 32px 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(244, 238, 227, 0.05);
}

.modal-title-area h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-title-area p {
  font-size: 14px;
  color: var(--soft);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--soft);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--cream);
  transform: rotate(90deg);
}

.modal-progress {
  padding: 20px 40px 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.modal-progress::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.progress-line-fill {
  position: absolute;
  top: 31px;
  left: 40px;
  height: 2px;
  background: var(--bronze);
  z-index: 2;
  width: 0%;
  transition: width 0.4s ease;
}

.progress-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  transition: var(--transition);
}

.progress-step.active .step-num {
  border-color: var(--bronze);
  color: var(--cream);
  background: var(--bronze);
  box-shadow: 0 0 12px rgba(212, 154, 101, 0.3);
}

.progress-step.completed .step-num {
  border-color: var(--bronze);
  background: var(--bronze2);
  color: var(--cream);
}

.step-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
  transition: var(--transition);
}

.progress-step.active .step-label {
  color: var(--bronze);
}

.modal-body {
  padding: 32px 40px;
  overflow-y: auto;
  max-height: calc(85vh - 200px);
}

.form-step-content {
  display: none;
}

.form-step-content.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideIn 0.35s ease forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(244, 238, 227, 0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: var(--transition);
}

select option {
  color: #111111 !important;
  background-color: #ffffff !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px rgba(212, 154, 101, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-footer {
  padding: 24px 40px 32px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(244, 238, 227, 0.05);
}

/* Success Confirmation Dialog Content */
.success-screen {
  text-align: center;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--bronze);
  background: rgba(212, 154, 101, 0.08);
  margin-bottom: 12px;
  animation: popScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popScale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-screen h4 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--cream);
}

.success-screen p {
  color: var(--muted);
  font-size: 15px;
  max-width: 440px;
  line-height: 1.6;
}

/* Administrative Reviews Drawer Panel */
.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(800px, 100vw);
  background: #060e0f;
  border-left: 1px solid var(--line);
  z-index: 999;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.admin-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--soft);
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close:hover {
  color: var(--cream);
}

.drawer-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 28px;
  font-family: var(--font-serif);
  color: var(--bronze);
}

.stat-item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
}

.leads-table-container {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.leads-table th,
.leads-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.05);
}

.leads-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--soft);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.leads-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.lead-name {
  font-weight: 600;
  color: var(--cream);
}

.lead-meta {
  font-size: 12px;
  color: var(--soft);
}

.lead-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lead-badge.circle {
  background: rgba(197, 138, 83, 0.1);
  color: var(--bronze);
  border: 1px solid rgba(197, 138, 83, 0.2);
}

.lead-badge.trip {
  background: rgba(24, 70, 73, 0.15);
  color: var(--gold);
  border: 1px solid rgba(24, 70, 73, 0.3);
}

.action-btn {
  background: transparent;
  border: none;
  color: var(--soft);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: var(--transition);
}

.action-btn:hover {
  color: #ff6b6b;
}

.empty-leads {
  text-align: center;
  padding: 48px;
  color: var(--soft);
  font-style: italic;
}

/* Floating Drawer Toggle Button */
.admin-trigger-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.admin-trigger-btn:hover {
  color: var(--bronze);
  border-color: var(--line-active);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 15px 40px rgba(197, 138, 83, 0.15);
}

/* Responsiveness adjustments */
@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-content .hero-copy {
    margin: 0 auto 36px;
  }
  .hero-actions {
    justify-content: center;
  }
  .logo-panel {
    min-height: 460px;
  }
  .experience-cards {
    grid-template-columns: 1fr 1fr;
  }
  .experience-cards article:last-child {
    grid-column: span 2;
  }
  .band-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .circle-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }
  .experience-cards {
    grid-template-columns: 1fr;
  }
  .experience-cards article:last-child {
    grid-column: span 1;
  }
  .dash-content.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .trips-dashboard {
    padding: 24px;
  }
  .dashboard-nav {
    flex-wrap: wrap;
  }
  .modal-row, .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-progress {
    padding: 20px 24px 0;
  }
  .modal-body {
    padding: 24px;
  }
  .modal-footer {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
  .brand span {
    display: none;
  }
  .nav-links {
    display: none; /* simple burger menu could be added, but for now we prioritize apply */
  }
  .logo-badge {
    width: 130px;
    height: 130px;
  }
}

/* --- FOUNDER DASHBOARD SPECIFIC STYLES --- */
.db-frame {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, var(--teal-glow), transparent 40%),
    radial-gradient(circle at 90% 80%, var(--bronze-glow), transparent 40%);
}

.db-sidebar {
  width: 260px;
  background: #04090a;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
}

.db-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.06);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.db-logo-area img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(244, 238, 227, 0.2);
  flex-shrink: 0;
}

.db-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.db-nav-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--soft);
  text-align: left;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.db-nav-item:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.02);
}

.db-nav-item.active {
  background: rgba(212, 154, 101, 0.1);
  color: var(--bronze);
  border-color: var(--line-active);
}

.db-sidebar-footer {
  flex-shrink: 0;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid rgba(244, 238, 227, 0.06);
}

.db-sidebar-footer a {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.db-sidebar-footer a:hover {
  color: var(--bronze);
  background: rgba(255,255,255,0.03);
}

.db-main {
  flex: 1;
  padding: 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(244, 238, 227, 0.05);
  padding-bottom: 24px;
}

.db-title h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 6px;
}

.db-title p {
  color: var(--soft);
  font-size: 14px;
}

.db-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 18px 8px 10px;
  border-radius: 99px;
}

.db-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244, 238, 227, 0.15);
}

.db-profile-info {
  display: flex;
  flex-direction: column;
}

.db-profile-info span:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
}

.db-profile-info span:last-child {
  font-size: 10px;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.db-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.db-section.active {
  display: block;
}

/* Overview Section Widgets */
.db-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

.db-stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.db-stat-card:hover {
  border-color: var(--line-active);
  transform: translateY(-2px);
}

.db-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bronze);
}

.db-stat-card.accent::before {
  background: var(--gold);
}

.db-stat-card.alert::before {
  background: #ff6b6b;
}

.db-stat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--soft);
  letter-spacing: 0.08em;
}

.db-stat-value {
  font-size: 36px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
}

.db-stat-desc {
  font-size: 12px;
  color: var(--soft);
}

.db-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.db-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}

.db-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.db-card-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.db-card-body {
  color: var(--muted);
  font-size: 15px;
}

.db-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.db-bullet-list li {
  padding-left: 20px;
  position: relative;
}

.db-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-size: 16px;
}

/* Simulator Grid Styles */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--panel2);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
}

.sim-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.05);
  padding-bottom: 6px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.slider-header label {
  font-weight: 600;
  color: var(--cream);
}

.slider-header span {
  font-weight: 800;
  color: var(--bronze);
}

.db-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: var(--transition);
}

.db-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bronze);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 154, 101, 0.4);
  transition: var(--transition);
}

.db-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--gold);
}

.simulator-outputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.outputs-card {
  background: linear-gradient(135deg, rgba(212, 154, 101, 0.08) 0%, rgba(5, 12, 13, 0.2) 100%);
  border: 1px solid var(--line-active);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.output-hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.hero-metric-box {
  background: rgba(5, 12, 13, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.hero-metric-box strong {
  display: block;
  font-size: 32px;
  font-family: var(--font-serif);
  color: var(--gold);
  margin-bottom: 4px;
}

.hero-metric-box span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--soft);
  letter-spacing: 0.08em;
}

.output-breakdown {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.breakdown-row span:first-child {
  color: var(--soft);
}

.breakdown-row span:last-child {
  font-weight: 600;
  color: var(--cream);
}

.breakdown-row.total {
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid rgba(244, 238, 227, 0.05);
  padding-top: 12px;
  margin-top: 6px;
}

.breakdown-row.total span:last-child {
  color: var(--bronze);
}

/* Projections Mixer Styles */
.projections-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.mixer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius);
}

.mixer-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mixer-card-header {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bronze);
}

.mixer-input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mixer-input-row label {
  font-size: 11px;
  color: var(--soft);
}

.mixer-input-row input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14px;
  width: 100%;
}

.mixer-input-row input:focus {
  outline: none;
  border-color: var(--bronze);
}

.projections-table-container {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.projections-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.projections-table th,
.projections-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.05);
}

.projections-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--soft);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.projections-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.projections-table tr.total-row {
  background: rgba(212, 154, 101, 0.05);
  font-weight: 700;
  font-size: 16px;
}

.projections-table tr.total-row td {
  border-bottom: none;
}

.projections-table tr.total-row td:first-child {
  color: var(--cream);
}

.projections-table tr.total-row td:last-child {
  color: var(--gold);
  font-size: 18px;
}

/* Dashboard Responsive Styles */
@media (max-width: 1024px) {
  .db-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .db-row {
    grid-template-columns: 1fr;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  .mixer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .db-frame {
    flex-direction: column;
  }
  .db-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .db-logo-area {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .db-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .db-nav-item {
    padding: 10px 16px;
    font-size: 12px;
  }
  .db-main {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .db-grid {
    grid-template-columns: 1fr;
  }
  .mixer-grid {
    grid-template-columns: 1fr;
  }
  .db-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .db-profile {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --- PHASE 2 PLATFORM EXPANSION STYLES --- */

/* Guest & Member Portals Outer Framework */
.portal-frame {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 5% 5%, var(--teal-glow), transparent 35%),
    radial-gradient(circle at 95% 95%, var(--bronze-glow), transparent 35%);
  padding-bottom: 80px;
}

.portal-nav {
  height: 88px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 13, 0.7);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.portal-nav-wrap {
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-welcome {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.portal-welcome span {
  font-weight: 800;
  color: var(--bronze);
}

.portal-main {
  width: min(1200px, calc(100% - 48px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.portal-main.full-width {
  grid-template-columns: 1fr;
}

.portal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.portal-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.06);
  padding-bottom: 12px;
}

/* Guest Intake: Signature Canvas */
.sig-wrapper {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sig-canvas {
  width: 100%;
  height: 160px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px dashed rgba(244, 238, 227, 0.15);
  border-radius: 12px;
  cursor: crosshair;
}

.sig-canvas:focus {
  border-color: var(--bronze);
}

.sig-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Guest Intake: File Upload Box */
.upload-dropzone {
  border: 2px dashed rgba(244, 238, 227, 0.15);
  background: rgba(255, 255, 255, 0.01);
  padding: 36px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.upload-dropzone:hover {
  border-color: var(--bronze);
  background: rgba(255, 255, 255, 0.02);
}

.upload-dropzone span.icon {
  font-size: 28px;
  color: var(--soft);
}

/* Guest Portal: Tasks Checkoff List */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 238, 227, 0.05);
}

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

.check-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: var(--transition);
}

.checklist-item.complete .check-indicator {
  border-color: var(--gold);
  background: var(--gold);
  color: #050c0d;
  box-shadow: 0 0 10px rgba(223, 177, 91, 0.3);
}

.checklist-label {
  font-size: 15px;
  color: var(--muted);
}

.checklist-item.complete .checklist-label {
  text-decoration: line-through;
  color: var(--soft);
}

/* Guest Portal: Daily Itinerary Timeline Stream */
.timeline-stream {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.timeline-day-header {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--bronze);
  margin-top: 14px;
  border-bottom: 1px solid rgba(197, 138, 83, 0.15);
  padding-bottom: 6px;
}

.timeline-event-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(244, 238, 227, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin-left: 14px;
  border-left: 4px solid var(--line);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.timeline-event-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(244, 238, 227, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.timeline-event-card::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--bg);
}

.timeline-event-card.adventure { border-left-color: var(--bronze); }
.timeline-event-card.adventure::before { background-color: var(--bronze); }
.timeline-event-card.connection { border-left-color: var(--gold); }
.timeline-event-card.connection::before { background-color: var(--gold); }
.timeline-event-card.reflection { border-left-color: #5bb3df; }
.timeline-event-card.reflection::before { background-color: #5bb3df; }
.timeline-event-card.flight { border-left-color: #88c0d0; }
.timeline-event-card.flight::before { background-color: #88c0d0; }
.timeline-event-card.ferry { border-left-color: #2bcbba; }
.timeline-event-card.ferry::before { background-color: #2bcbba; }

.event-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.event-time-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--soft);
  letter-spacing: 0.05em;
}

.framework-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
}

.framework-tag.adventure { background: rgba(197, 138, 83, 0.15); color: var(--bronze); }
.framework-tag.connection { background: rgba(223, 177, 91, 0.15); color: var(--gold); }
.framework-tag.reflection { background: rgba(91, 179, 223, 0.15); color: #5bb3df; }
.framework-tag.flight { background: rgba(136, 192, 208, 0.15); color: #88c0d0; }
.framework-tag.ferry { background: rgba(43, 203, 186, 0.15); color: #2bcbba; }

.event-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 6px;
}

.event-desc {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 12px;
}

.event-operator-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(244, 238, 227, 0.04);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.event-operator-card span {
  color: var(--soft);
}

.event-operator-card strong {
  color: var(--cream);
}

/* Member Portal Directory */
.member-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.member-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(244, 238, 227, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 154, 101, 0.3);
  background: rgba(255, 255, 255, 0.035);
}

.member-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--line);
  object-fit: cover;
  margin: 0 auto 16px;
}

.member-card-name {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 4px;
}

.member-card-title {
  font-size: 12px;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 14px;
}

.member-card-bio {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 58px;
}

.member-card-footer {
  border-top: 1px solid rgba(244, 238, 227, 0.05);
  padding-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
}

/* Member Portal Dinners Timelines */
.rsvp-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rsvp-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(244, 238, 227, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.rsvp-card:hover {
  border-color: rgba(244, 238, 227, 0.16);
}

.rsvp-info h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-bottom: 4px;
}

.rsvp-info p {
  font-size: 13px;
  color: var(--muted);
}

.rsvp-status-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(223, 177, 91, 0.1);
  border: 1px solid rgba(223, 177, 91, 0.25);
  padding: 2px 10px;
  border-radius: 4px;
}

/* Status Indicator badges */
.status-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
}

.status-badge.complete { background: rgba(223, 177, 91, 0.12); color: var(--gold); border: 1px solid rgba(223, 177, 91, 0.3); }
.status-badge.pending { background: rgba(197, 138, 83, 0.12); color: var(--bronze); border: 1px solid rgba(197, 138, 83, 0.3); }
.status-badge.missing { background: rgba(255, 107, 107, 0.12); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.3); }

/* Pitch Deck Builder Layout */
.deck-container {
  background: #020607;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slide-wrapper {
  background: #050c0d;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244, 238, 227, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.slide-page {
  flex: 1;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(24, 70, 73, 0.15), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(197, 138, 83, 0.08), transparent 45%),
    linear-gradient(180deg, #050c0d 0%, #030809 100%);
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(244, 238, 227, 0.06);
  padding-bottom: 14px;
}

.slide-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--soft);
}

.slide-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.slide-page h4 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 44px);
  color: var(--cream);
  line-height: 1.1;
  font-weight: 700;
  margin-top: 14px;
}

.slide-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: auto 0;
}

.slide-left-col p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.slide-right-col {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(244, 238, 227, 0.05);
  border-radius: 12px;
  padding: 24px;
}

.slide-stats-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slide-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slide-stat-item strong {
  font-size: 24px;
  font-family: var(--font-serif);
  color: var(--gold);
}

.slide-stat-item span {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--soft);
  letter-spacing: 0.08em;
}

.slide-footer {
  border-top: 1px solid rgba(244, 238, 227, 0.06);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.deck-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Print layouts for presentation slides */
@media print {
  body * {
    visibility: hidden;
  }
  .slide-wrapper, .slide-wrapper * {
    visibility: visible;
  }
  .slide-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: none;
  }
}

/* Responsive updates for portals */
@media (max-width: 900px) {
  .portal-main {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .member-directory-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .member-directory-grid {
    grid-template-columns: 1fr;
  }
  .rsvp-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .rsvp-card button {
    width: 100%;
  }
}

/* --- PHASE 3 ADDITIONAL OPERATING PLATFORM STYLES --- */

/* Slides Presentation Themes */
.slide-wrapper.theme-sand {
  background: #fbf9f4 !important;
  color: #1a292b !important;
  border: 1px solid #e7dfcf !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}
.slide-wrapper.theme-sand h4 {
  color: #101c1e !important;
}
.slide-wrapper.theme-sand strong {
  color: #c58a53 !important;
}
.slide-wrapper.theme-sand p,
.slide-wrapper.theme-sand .slide-stat-item span,
.slide-wrapper.theme-sand .slide-footer span {
  color: #5c6c6e !important;
}
.slide-wrapper.theme-sand .slide-logo img {
  filter: brightness(0.2) contrast(1.2);
}
.slide-wrapper.theme-sand .slide-logo span {
  color: #101c1e !important;
}

.slide-wrapper.theme-forest {
  background: #0a1718 !important;
  color: #f4eee7 !important;
  border: 1px solid #132a2c !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4) !important;
}
.slide-wrapper.theme-forest h4 {
  color: var(--gold) !important;
}
.slide-wrapper.theme-forest strong {
  color: var(--bronze) !important;
}
.slide-wrapper.theme-forest p,
.slide-wrapper.theme-forest .slide-stat-item span,
.slide-wrapper.theme-forest .slide-footer span {
  color: var(--soft) !important;
}

.slide-wrapper.theme-sunset {
  background: linear-gradient(135deg, #1c100a 0%, #0c0704 100%) !important;
  color: #faebd7 !important;
  border: 1px solid #361f13 !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45) !important;
}
.slide-wrapper.theme-sunset h4 {
  color: #ff9f59 !important;
}
.slide-wrapper.theme-sunset strong {
  color: #ffb885 !important;
}
.slide-wrapper.theme-sunset p,
.slide-wrapper.theme-sunset .slide-stat-item span,
.slide-wrapper.theme-sunset .slide-footer span {
  color: #c4aca0 !important;
}

/* Charts SVG Transitions */
#overviewChartContainer svg {
  display: block;
}
#overviewChartContainer rect, 
#overviewChartContainer polygon {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#overviewChartContainer rect:hover {
  filter: brightness(1.2);
  cursor: pointer;
}

/* Packing Checklist custom inputs */
.packing-item-check {
  accent-color: var(--gold);
}

/* --- LEAFLET DARK MAP STYLING --- */
.leaflet-tile-container {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.leaflet-container {
  background: var(--bg2) !important;
  font-family: var(--font-sans) !important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--bg2) !important;
  color: var(--cream) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
}
.leaflet-popup-content h4 {
  color: var(--gold) !important;
  font-family: var(--font-sans) !important;
  margin-bottom: 4px;
}

/* --- BILLING & STATUS STYLES --- */
#billingCard {
  border-top: 2px solid var(--gold);
}
.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.status-badge.pending {
  background: rgba(223, 177, 91, 0.1);
  color: var(--gold);
  border: 1px solid rgba(223, 177, 91, 0.2);
}
.status-badge.deposit-paid {
  background: rgba(212, 154, 101, 0.15);
  color: var(--bronze);
  border: 1px solid rgba(212, 154, 101, 0.3);
}
.status-badge.fully-paid {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

/* --- BULLETIN BOARD STYLES --- */
.bulletin-post-card {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition);
}
.bulletin-post-card:hover {
  border-color: var(--line-active);
  background: var(--panel3);
  transform: translateY(-2px);
}
.bulletin-post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.bulletin-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bulletin-post-author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.bulletin-post-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
}
.bulletin-post-author-desc {
  font-size: 11px;
  color: var(--soft);
}
.bulletin-post-category {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(212, 154, 101, 0.1);
  color: var(--bronze);
  border: 1px solid rgba(212, 154, 101, 0.2);
}
.bulletin-post-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.bulletin-post-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-line;
}
.bulletin-post-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 11px;
  color: var(--soft);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* --- HIGH-FIDELITY PRINT / PDF STYLES --- */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .db-sidebar, .db-header, .db-nav, .db-sidebar-footer, #slideThemeSelector, #pitchBrandSelect, .slide-content-editor, .db-title, .form-group, #btnExportPDF {
    display: none !important;
  }
  .db-frame {
    display: block !important;
  }
  .db-main {
    padding: 0 !important;
    margin: 0 !important;
  }
  .db-section {
    display: none !important;
  }
  #sec-sponsors {
    display: block !important;
  }
  .simulator-layout {
    display: block !important;
  }
  .simulator-layout > div:first-child {
    display: none !important;
  }
  .deck-container {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .slide-wrapper {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .slide-page {
    page-break-after: always;
    break-after: page;
    width: 100% !important;
    height: 100vh !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 40px !important;
  }
  .theme-sand {
    background-color: #f4eee3 !important;
    color: #332d24 !important;
  }
  .theme-forest {
    background-color: #0b1413 !important;
    color: #f4eee3 !important;
  }
  .theme-sunset {
    background-color: #1a0f0d !important;
    color: #f4eee3 !important;
  }
}

/* Spinner Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* --- HERO STATS ROW --- */
.hero-stats-row {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  border-top: 1px dashed var(--line);
  padding-top: 32px;
  flex-wrap: wrap;
}
.hero-stat-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}
.hero-stat-box .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-sans);
  text-shadow: 0 0 10px rgba(223, 177, 91, 0.15);
}
.hero-stat-box .stat-lbl {
  font-size: 11px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  line-height: 1.4;
}

/* --- THE FORGE JOURNEY ROADMAP --- */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.roadmap-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--line);
  z-index: 1;
}
.roadmap-step {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.roadmap-step:hover {
  border-color: var(--line-active);
  background: var(--panel3);
  transform: translateY(-4px);
}
.roadmap-step .step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze), var(--bronze2));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 4px solid var(--bg);
  box-shadow: 0 0 15px rgba(212, 154, 101, 0.25);
}
.roadmap-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}
.roadmap-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-timeline::before {
    display: none;
  }
}
@media (max-width: 600px) {
  .roadmap-timeline {
    grid-template-columns: 1fr;
  }
}

/* Monospace Contract Text Preview and Search Highlight */
.doc-text-preview {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--soft);
  max-height: 155px;
  overflow-y: auto;
  white-space: pre-wrap;
  margin-top: 10px;
}
.search-highlight {
  background: rgba(223, 177, 91, 0.35);
  color: var(--cream);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: bold;
}
.doc-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--gold);
  text-decoration: underline;
  cursor: pointer;
}

/* Operator Curator & Pipeline Styles */
.curator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.curator-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.curator-card:hover {
  border-color: var(--line-active);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.curator-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.curator-title-area {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.curator-title-area h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
}
.curator-loc-details {
  font-size: 10px;
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 4px;
}
.curator-badges {
  display: flex;
  gap: 4px;
  align-items: center;
}
.curator-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 99px;
  border: 1px solid transparent;
}
.curator-badge.location {
  background: rgba(223, 177, 91, 0.08);
  color: var(--gold);
  border-color: rgba(223, 177, 91, 0.2);
}
.curator-badge.category {
  background: rgba(212, 154, 101, 0.08);
  color: var(--bronze);
  border-color: rgba(212, 154, 101, 0.2);
}
.curator-reviews {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 238, 227, 0.04);
}
.curator-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.curator-rating-score {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
}
.curator-review-source {
  font-size: 10px;
  color: var(--soft);
  font-style: italic;
}
.curator-review-text {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 300;
}
.curator-notes {
  border-left: 2px solid var(--bronze);
  padding-left: 10px;
  margin: 2px 0;
}
.curator-notes h5 {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 2px;
  letter-spacing: 0.08em;
}
.curator-notes p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--cream);
  font-weight: 300;
  font-style: italic;
}
.curator-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.curator-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  color: var(--soft);
}
.curator-contact-info a {
  color: var(--gold);
  text-decoration: none;
}
.curator-contact-info a:hover {
  text-decoration: underline;
}
.curator-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Compact Curator Form Overrides */
#curatorFormContainer {
  padding: 16px 20px;
  max-width: 900px !important;
}
#curatorFormContainer .db-card-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
#curatorFormContainer form {
  gap: 10px !important;
}
#curatorFormContainer .form-group {
  gap: 3px !important;
}
#curatorFormContainer .form-group label {
  font-size: 10px;
  color: var(--soft);
}
#curatorFormContainer input,
#curatorFormContainer select,
#curatorFormContainer textarea {
  padding: 8px 12px !important;
  font-size: 13px !important;
  border-radius: 6px !important;
}
#curatorFormContainer input,
#curatorFormContainer select {
  height: 36px !important;
}
#curatorFormContainer .form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
#curatorFormContainer .form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.priority-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}
.priority-badge.high {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.25);
}
.priority-badge.medium {
  background: rgba(223, 177, 91, 0.1);
  color: var(--gold);
  border-color: rgba(223, 177, 91, 0.25);
}
.priority-badge.low {
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  border-color: var(--line);
}
.curator-status-select {
  background: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
}
.curator-status-select:focus {
  border-color: var(--line-active);
}
.curator-status-select.potential {
  color: var(--muted);
  border-color: var(--line);
}
.curator-status-select.contacted {
  color: var(--bronze);
  border-color: rgba(197, 138, 83, 0.4);
}
.curator-status-select.vetting {
  color: var(--gold);
  border-color: rgba(223, 177, 91, 0.4);
}
.curator-status-select.partnered {
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.4);
}

/* Apparel Section styles */
.apparel-section {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
}
.apparel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.apparel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.apparel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 154, 101, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.apparel-img-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #0f1011;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.apparel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.apparel-card:hover .apparel-img {
  transform: scale(1.05);
}
.apparel-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 16, 17, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
  letter-spacing: 0.05em;
  z-index: 2;
}
.apparel-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.apparel-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
  border-bottom: none;
  padding-bottom: 0;
}
.apparel-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 300;
}
.apparel-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apparel-specs li {
  font-size: 12px;
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}
.apparel-specs li::before {
  content: "•";
  color: var(--bronze);
  font-weight: bold;
}
.apparel-info .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 10px 16px;
  min-height: 40px;
}

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

/* Shopping Cart & Checkout Drawer Styles */
.cart-drawer.active {
  right: 0 !important;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background: #0f1011;
  border: 1px solid var(--line);
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.cart-item-meta {
  font-size: 11px;
  color: var(--soft);
}

.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-item-qty-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-item-qty-btn:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.05);
}

.cart-item-qty-val {
  font-size: 12px;
  color: var(--text);
  min-width: 14px;
  text-align: center;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-left: auto;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  margin-left: 8px;
  opacity: 0.6;
  transition: var(--transition);
}

.cart-item-remove:hover {
  opacity: 1;
}

/* Color Dot Ring Active state override */
.color-dot.active {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(223, 177, 91, 0.4);
}

.cart-trigger-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

#checkoutModal.active {
  display: flex !important;
}

/* --- CIRCLE CRM STYLES --- */
.crm-workspace {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .crm-workspace {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
@media (max-width: 992px) {
  .crm-workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.stage-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.stage-badge.lead {
  background: rgba(223, 177, 91, 0.1);
  color: var(--gold);
  border-color: rgba(223, 177, 91, 0.25);
}
.stage-badge.interested {
  background: rgba(212, 154, 101, 0.12);
  color: var(--bronze);
  border-color: rgba(212, 154, 101, 0.3);
}
.stage-badge.confirmed {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
  border-color: rgba(52, 152, 219, 0.3);
}
.stage-badge.member {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.3);
}
.stage-badge.alumni {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
  border-color: rgba(155, 89, 182, 0.3);
}

#crmClientTable tbody tr.selected {
  background: rgba(212, 154, 101, 0.1) !important;
  border-color: var(--gold) !important;
}


