/* ═══════════════════════════════════════════════
   S2D SPOTS — Community Platform Styles
   Map-room / lodge-commons aesthetic
   ═══════════════════════════════════════════════ */

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

:root {
  --gold: #c9a84c;
  --gold-soft: rgba(201, 168, 76, 0.5);
  --cream: #f0e8da;
  --dark: #090806;
  --walnut: #3d2817;
  --walnut-deep: #2a1810;
  --charcoal: #14110d;
  --panel: rgba(20, 17, 13, 0.7);
  --line: rgba(201, 168, 76, 0.18);
}

html { scroll-behavior: smooth; }

html, body {
  width: 100%;
  background: var(--dark);
  font-family: 'Inter', sans-serif;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

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

/* ── TEXTURED BACKDROP ── */
.bg-maproom {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(201, 168, 76, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(61, 40, 23, 0.4) 0%, transparent 55%),
    linear-gradient(160deg, #14110d 0%, #0a0806 60%, #060504 100%);
}
.bg-maproom::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(201,168,76,0.012) 3px, rgba(201,168,76,0.012) 4px);
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(9, 8, 6, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--cream);
}
.brand .spots { color: var(--gold); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nb {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240, 232, 218, 0.75);
  background: none;
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}
.nb:hover { color: var(--gold); }
.nc {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold-soft);
  padding: 9px 18px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  border-radius: 3px;
}
.nc:hover { background: rgba(201, 168, 76, 0.12); border-color: var(--gold); }

/* ── LAYOUT ── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ── HERO ── */
.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.08;
  color: var(--cream);
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  color: rgba(240, 232, 218, 0.72);
  max-width: 56ch;
  margin-bottom: 38px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 15px 30px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-primary:hover { background: #d8b859; transform: translateY(-2px); }
.btn-ghost {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold-soft);
  padding: 15px 30px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(201, 168, 76, 0.1); border-color: var(--gold); }

/* ── SECTION HEADINGS ── */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 15px; line-height: 1.6;
  color: rgba(240, 232, 218, 0.65);
  max-width: 52ch; margin: 0 auto;
}
.pad { padding: 84px 0; }

/* ── THE CYCLE ── */
.cycle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.cycle-step {
  text-align: center;
  padding: 28px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: all 0.3s;
}
.cycle-step:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.cycle-step .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--gold); margin-bottom: 8px;
}
.cycle-step .label {
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--cream);
}

/* ── CATEGORY GRID ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.cat-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.cat-card:hover::before { opacity: 1; }
.cat-emoji { font-size: 30px; line-height: 1; position: relative; z-index: 1; }
.cat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400; color: var(--cream);
  position: relative; z-index: 1;
}
.cat-count {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(240, 232, 218, 0.4);
  position: relative; z-index: 1;
}

/* ── PANELS / SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.panel-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 40px;
}
.panel-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 28px; color: var(--cream);
  margin-bottom: 16px;
}
.panel-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.panel-card li {
  font-size: 14px; line-height: 1.5;
  color: rgba(240, 232, 218, 0.78);
  padding-left: 26px; position: relative;
}
.panel-card li::before {
  content: '📍'; position: absolute; left: 0; top: 0; font-size: 13px;
}

/* ── MEMBERSHIP ── */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tier {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 34px 28px;
  display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--gold-soft); box-shadow: 0 0 40px rgba(201,168,76,0.08); }
.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: var(--cream); margin-bottom: 6px;
}
.tier-price {
  font-size: 13px; color: var(--gold); margin-bottom: 4px; letter-spacing: 1px;
}
.tier-note { font-size: 12px; color: rgba(240,232,218,0.5); margin-bottom: 22px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.tier li {
  font-size: 13.5px; line-height: 1.45; color: rgba(240,232,218,0.78);
  padding-left: 22px; position: relative;
}
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.tier-badge {
  align-self: flex-start;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-soft);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 60px 30px;
  border: 1px dashed var(--gold-soft);
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.03);
}
.empty-state .icon { font-size: 44px; margin-bottom: 18px; opacity: 0.8; }
.empty-state h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 26px; color: var(--cream); margin-bottom: 10px;
}
.empty-state p {
  font-size: 14px; line-height: 1.6; color: rgba(240,232,218,0.6);
  max-width: 46ch; margin: 0 auto 24px;
}

/* ── DISCLOSURE BLOCKS ── */
.disclosure {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(240, 232, 218, 0.55);
  border-left: 2px solid var(--gold-soft);
  padding: 10px 16px;
  background: rgba(201, 168, 76, 0.04);
  border-radius: 0 4px 4px 0;
  margin: 16px 0;
}
.draft-banner {
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.35);
  color: #e8a0ad;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 28px;
}

/* ── SPOT CARDS (S2D Family Picks) ── */
.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.spot-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  transition: all 0.3s;
}
a.spot-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.spot-card-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--walnut-deep);
}
.spot-card-img.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, rgba(201,168,76,0.05), rgba(201,168,76,0.05) 12px, rgba(201,168,76,0.02) 12px, rgba(201,168,76,0.02) 24px);
}
.await-icon { font-size: 40px; opacity: 0.5; }
.spot-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 20px;
  background: rgba(9,8,6,0.82); color: var(--gold);
  border: 1px solid var(--gold-soft);
}
.spot-badge.family { color: var(--gold); }
.spot-badge.community { color: #8fb98f; border-color: rgba(143,185,143,0.4); }
.spot-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.spot-cat { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.spot-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); }
.spot-name.muted { color: rgba(240,232,218,0.4); }
.spot-loc { font-size: 12px; color: rgba(240,232,218,0.6); }
.spot-blurb { font-size: 13px; line-height: 1.5; color: rgba(240,232,218,0.68); }
.spot-blurb.muted { color: rgba(240,232,218,0.4); font-style: italic; }

/* editorial vs community legend */
.legend { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.legend span { font-size: 12px; color: rgba(240,232,218,0.6); display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.family { background: var(--gold); }
.dot.community { background: #8fb98f; }

/* ── PASSPORT PREVIEW ── */
.passport-shell {
  max-width: 760px; margin: 0 auto;
  background: linear-gradient(135deg, #4a3728 0%, #2d1e10 55%, #1a0f08 100%);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  overflow: hidden;
}
.pp-cover { padding: 44px 36px; text-align: center; border-bottom: 2px solid var(--gold); }
.pp-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 40px; color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.pp-sub { font-size: 13px; font-style: italic; color: rgba(240,232,218,0.7); margin-bottom: 26px; }
.pp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; background: rgba(0,0,0,0.28); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.pp-field { border-bottom: 1px solid var(--gold-soft); padding-bottom: 6px; }
.pp-flabel { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px; }
.pp-fval { font-size: 14px; color: var(--cream); }
.pp-fval.sample { color: rgba(240,232,218,0.55); font-style: italic; }
.pp-body { padding: 32px 36px 40px; }
.pp-page-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 20px; }
.stamp-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; margin-bottom: 12px; }
.stamp {
  aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 8px;
  background: rgba(201,168,76,0.08); border: 2px dashed rgba(201,168,76,0.3);
}
.stamp.earned { background: linear-gradient(135deg, rgba(201,168,76,0.22), rgba(201,168,76,0.06)); border-style: solid; border-color: var(--gold); }
.stamp .art { font-size: 30px; }
.stamp .sn { font-size: 9px; color: #2a1810; margin-top: 4px; }
.stamp.earned .sn { color: #3a2a15; font-weight: 600; }
.stamp:not(.earned) .art { opacity: 0.4; }

/* free vs plus compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.compare .col { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 24px; }
.compare .col.plus { border-color: var(--gold-soft); }
.compare h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 20px; color: var(--cream); margin-bottom: 14px; }
.compare ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.compare li { font-size: 13px; line-height: 1.4; color: rgba(240,232,218,0.76); padding-left: 20px; position: relative; }
.compare li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }

/* ── FORMS ── */
.form-card { max-width: 480px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 34px 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.field input[type=text], .field input[type=email] {
  width: 100%; background: rgba(9,8,6,0.5); border: 1px solid var(--line);
  border-radius: 5px; padding: 12px 14px; font-family: 'Inter', sans-serif;
  font-size: 15px; color: var(--cream); transition: border-color 0.2s;
}
.field input:focus { outline: none; border-color: var(--gold); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.consent-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); }
.consent-row label { font-size: 12px; line-height: 1.5; color: rgba(240,232,218,0.65); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-msg { font-size: 13px; margin-top: 14px; padding: 12px 14px; border-radius: 6px; display: none; }
.form-msg.ok { display: block; background: rgba(118,185,71,0.12); border: 1px solid rgba(118,185,71,0.4); color: #a9d68c; }
.form-msg.err { display: block; background: rgba(196,30,58,0.12); border: 1px solid rgba(196,30,58,0.4); color: #e8a0ad; }
.btn-primary[disabled] { opacity: 0.6; cursor: wait; }

/* ── PHASE TAG ── */
.phase-tag {
  display: inline-block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(240,232,218,0.55); border: 1px solid var(--line); border-radius: 20px;
  padding: 4px 12px; margin-top: 10px;
}

@media (max-width: 560px) {
  .compare { grid-template-columns: 1fr; }
  .pp-fields { grid-template-columns: 1fr; }
  .pp-cover { padding: 32px 22px; }
  .pp-title { font-size: 30px; }
  .pp-body { padding: 24px 20px 30px; }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 60px;
  margin-top: 40px;
}
.foot-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 13px; line-height: 1.6; color: rgba(240,232,218,0.55); max-width: 40ch; }
.foot-col h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.foot-col a {
  display: block; font-size: 13px; color: rgba(240,232,218,0.65);
  margin-bottom: 10px; transition: color 0.2s;
}
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  max-width: 1180px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: rgba(240,232,218,0.4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  nav { padding: 14px 18px; }
  .brand { font-size: 16px; letter-spacing: 4px; }
  .nav-links .nb { display: none; }
  .nav-links .nb.keep { display: inline-block; }
}
@media (max-width: 480px) {
  .hero { min-height: 70vh; padding: 60px 20px 40px; }
  .pad { padding: 60px 0; }
  .panel-card { padding: 28px 22px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .foot-bottom { flex-direction: column; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
