/* My Favorite Place — Local Private Resort for Women
   Editorial Resort Design System (Phone-First 393px -> Desktop 1440px)
   Palette: Warm Alabaster, Sunlit Sand, Deep Cypress, Terracotta Clay, Sage Botanical, Champagne Gold
*/
:root {
  --alabaster: #faf6f1;
  --sand: #f2eae0;
  --blush: #f7ece8;
  --sage-mist: #e4ebe5;
  --cypress: #1d2f27;
  --cypress-soft: #2e453b;
  --ink: #24211e;
  --muted: #655e57;
  --terracotta: #b86b52;
  --terracotta-deep: #96523c;
  --gold: #c69c53;
  --gold-soft: #e6d3ad;
  --white: #ffffff;
  --border: rgba(29, 47, 39, 0.12);
  --border-strong: rgba(29, 47, 39, 0.22);
  --shadow-sm: 0 6px 22px rgba(29, 47, 39, 0.06);
  --shadow-md: 0 18px 46px rgba(29, 47, 39, 0.10);
  --shadow-lg: 0 28px 68px rgba(29, 47, 39, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--cypress);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--terracotta);
}

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 36px; } }

/* ── Sticky Glass Resort Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: rgba(29, 47, 39, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.site-header.scrolled {
  background: rgba(250, 246, 241, 0.94);
  color: var(--cypress);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-bloom {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 2px;
  position: relative;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--terracotta-deep); transform: translateY(-1px); }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--cypress);
  color: var(--alabaster);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 12px;
}
.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--alabaster);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-light { background: var(--white); color: var(--cypress); }
.btn-light:hover { background: var(--sand); }
.btn-outline-light { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.45); backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.22); }
.btn-outline-dark { background: transparent; color: var(--cypress); border-color: var(--border-strong); }
.btn-outline-dark:hover { background: var(--cypress); color: var(--white); }

/* ── Full-Bleed Editorial Hero ── */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  color: var(--white);
  overflow: hidden;
  background: var(--cypress);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 34, 29, 0.44) 0%,
    rgba(22, 34, 29, 0.28) 40%,
    rgba(22, 34, 29, 0.84) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.65rem, 6.2vw, 5.15rem);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-lead {
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.1;
}
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.82); }

/* ── Sections ── */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.bg-sand { background: var(--sand); }
.bg-blush { background: var(--blush); }
.bg-sage { background: var(--sage-mist); }
.bg-cypress { background: var(--cypress); color: var(--alabaster); }
.bg-cypress h2, .bg-cypress h3, .bg-cypress h4 { color: var(--white); }
.bg-cypress .eyebrow { color: var(--gold-soft); }
.bg-cypress .eyebrow::before { background: var(--gold-soft); }

.section-header { max-width: 740px; margin-bottom: 44px; }
.section-header h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); margin-bottom: 14px; }
.section-header p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.bg-cypress .section-header p { color: rgba(250, 246, 241, 0.8); }

/* ── Interactive "What Do You Want to Learn / Experience?" Matcher ── */
.matcher-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .matcher-shell { padding: 40px; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.topic-pill {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--alabaster);
  color: var(--cypress);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.topic-pill.active, .topic-pill:hover {
  background: var(--cypress);
  color: var(--white);
  border-color: var(--cypress);
}
.matcher-result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--sand);
}
@media (min-width: 900px) { .matcher-result { grid-template-columns: 1.35fr 1fr; padding: 32px; } }
.matcher-result h3 { font-size: 1.9rem; margin-bottom: 10px; }
.matcher-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--white);
  color: var(--cypress);
  border: 1px solid var(--border);
}
.wall-bar {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.wall-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.wall-form input {
  flex: 1 1 240px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--alabaster);
}
.wall-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wall-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--cypress);
  font-size: 0.84rem;
  border: 1px solid rgba(184, 107, 82, 0.24);
}

/* ── Editorial Resort Showcase (Alternating Photo + Story) ── */
.editorial-stack { display: flex; flex-direction: column; gap: 56px; }
.editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .editorial-row { grid-template-columns: 1.15fr 1fr; gap: 52px; }
  .editorial-row.reverse .editorial-media { order: 2; }
}
.editorial-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--cypress-soft);
}
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 47, 39, 0.78);
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.editorial-copy h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; }
.editorial-copy p { color: var(--muted); margin: 0 0 18px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 0.85rem;
}

/* ── Five Co-Op Houses Grid ── */
.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 18px;
}
.house-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.house-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--terracotta);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.house-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.house-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ── Magnet App Interactive Preview ── */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) { .app-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.phone-frame {
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  background: var(--alabaster);
  color: var(--ink);
  border-radius: 34px;
  padding: 22px;
  border: 6px solid #15231d;
  box-shadow: var(--shadow-lg);
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.capacity-meter {
  background: var(--cypress);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}
.meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
  margin: 10px 0 8px;
}
.meter-fill { height: 100%; width: 71%; background: var(--gold-soft); border-radius: 999px; }
.slot-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.slot-btn {
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cypress);
  cursor: pointer;
}
.slot-btn.active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.habitat-list { display: grid; gap: 8px; }
.habitat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

/* ── Tabs (Calendar & Pricing) ── */
.tab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab-btn {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--cypress);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.tab-btn.active { background: var(--cypress); color: var(--white); border-color: var(--cypress); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.event-time { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 6px; }
.event-card h4 { font-size: 1.4rem; margin-bottom: 8px; }
.event-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ── Membership Tiers ── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 22px;
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.tier-card.featured {
  background: var(--cypress);
  color: var(--alabaster);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.tier-card.featured h3, .tier-card.featured .price { color: var(--white); }
.tier-card.featured p, .tier-card.featured .muted-text { color: rgba(250,246,241,0.82); }
.tier-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blush);
  color: var(--terracotta-deep);
}
.tier-card.featured .tier-badge { background: rgba(230, 211, 173, 0.22); color: var(--gold-soft); }
.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--cypress);
  line-height: 1;
}
.price small { font-family: var(--font-sans); font-size: 0.86rem; font-weight: 500; opacity: 0.75; }
.tier-card .btn { margin-top: auto; width: 100%; }

/* ── Investor / Financial & Competitive Tables ── */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.metric-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 22px;
}
.metric-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--gold-soft);
  line-height: 1.1;
  margin-bottom: 6px;
}
.metric-box span { font-size: 0.88rem; color: rgba(250,246,241,0.84); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--sand); color: var(--cypress); font-weight: 700; white-space: nowrap; }

/* ── Full-Width Twilight Banner ── */
.twilight-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.twilight-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.twilight-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,30,26,0.2) 0%, rgba(20,30,26,0.86) 100%);
}
.twilight-inner { position: relative; z-index: 2; max-width: 680px; }
.twilight-inner h3 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 12px; }

/* ── Forms (Waitlist / Investor / Partner) ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--cypress); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--alabaster);
  color: var(--ink);
}
.field textarea { min-height: 104px; resize: vertical; }
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--sage-mist);
  color: var(--cypress);
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }

/* ── Michelle & Patricia Co-Founder Action Workspace ── */
.workspace-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.decision-select {
  min-height: 38px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--alabaster);
  font-size: 0.85rem;
}
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-pill.open { background: #fef3c7; color: #92400e; }
.status-pill.in_progress { background: #dbeafe; color: #1e40af; }
.status-pill.decided { background: #d1fae5; color: #065f46; }

/* ── Footer ── */
footer {
  background: #14211c;
  color: rgba(250, 246, 241, 0.78);
  padding: 56px 0 40px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px;
  margin-bottom: 32px;
}
footer h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 12px; }
footer a { display: block; padding: 5px 0; min-height: 36px; }
footer a:hover { color: var(--gold-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
