:root {
  --cream: #F5EFE6;
  --cream-deep: #EDE6D9;
  --mahogany: #2C1810;
  --mahogany-light: #4A2E1E;
  --brass: #C4956A;
  --brass-light: #D4AA85;
  --ink: #1A0F0A;
  --ink-muted: #5C3D2E;
  --white: #FFFFFF;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px 60px;
  position: relative;
  background: var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(196,149,106,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(44,24,16,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0.6;
}

.eyebrow-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--brass);
}

.eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.hero-brand {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 800;
  color: var(--mahogany);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 0.95;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.4;
}

.hero-sub {
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-sub p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 300;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 500;
  border: 1px solid rgba(196,149,106,0.4);
  padding: 8px 20px;
  border-radius: 40px;
}

.badge-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── LOCATION ── */
.location {
  background: var(--mahogany);
  color: var(--cream);
  padding: 80px 32px;
}

.location-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.landmark-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}

.location-landmark h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream);
  font-weight: 600;
  font-style: italic;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-bottom: 32px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
}

.detail-label {
  font-size: 12px;
  color: rgba(245,239,230,0.6);
  line-height: 1.4;
  font-weight: 300;
}

.location-context {
  font-size: 14px;
  color: rgba(245,239,230,0.7);
  line-height: 1.7;
  border-top: 1px solid rgba(196,149,106,0.2);
  padding-top: 24px;
  font-weight: 300;
}

/* ── STORY ── */
.story {
  background: var(--cream-deep);
  padding: 80px 32px;
}

.story-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.story-header h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--mahogany);
  font-weight: 600;
  font-style: italic;
}

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

.story-date {
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-line {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.05em;
  min-width: 44px;
}

.date-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--brass), transparent);
  max-width: 60px;
}

.date-desc {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.story-text p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.story-text em {
  font-style: italic;
  color: var(--mahogany);
}

/* ── FEATURES ── */
.features {
  background: var(--cream);
  padding: 80px 32px;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 56px;
}

.features-header h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--mahogany);
  font-weight: 700;
  max-width: 500px;
}

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

.feature-card {
  padding: 40px 40px 40px 0;
  border-bottom: 1px solid rgba(44,24,16,0.08);
}

.feature-card:nth-child(odd) {
  padding-right: 48px;
  padding-left: 0;
  border-right: 1px solid rgba(44,24,16,0.08);
}

.feature-card:nth-child(even) {
  padding-left: 48px;
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--mahogany);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ── JOURNAL STRIP ── */
.journal-strip {
  background: var(--cream-deep);
  padding: 80px 32px;
}

.js-inner {
  max-width: 900px;
  margin: 0 auto;
}

.js-header {
  margin-bottom: 40px;
}

.js-title {
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--mahogany);
  font-weight: 600;
  font-style: italic;
  margin-top: 8px;
}

.js-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.js-card {
  display: block;
  background: var(--cream);
  border: 1px solid rgba(44,24,16,0.1);
  border-radius: 4px;
  padding: 32px 32px 28px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.js-card:hover {
  border-color: var(--brass);
  box-shadow: 0 4px 24px rgba(44,24,16,0.08);
}

.js-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.js-card-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 12px;
}

.js-card-headline {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--mahogany);
  line-height: 1.35;
  margin-bottom: 12px;
}

.js-card-tease {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}

.js-card-cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--brass);
  letter-spacing: 0.06em;
}

.js-all-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44,24,16,0.2);
  transition: color 0.2s, border-color 0.2s;
}

.js-all-link:hover {
  color: var(--mahogany);
  border-color: var(--mahogany);
}

/* ── CLOSING ── */
.closing {
  background: var(--mahogany);
  padding: 96px 32px;
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.5vw, 36px);
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 14px;
  color: rgba(196,149,106,0.7);
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid rgba(44,24,16,0.1);
  padding: 28px 32px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--mahogany);
}

.footer-sep {
  color: var(--brass);
}

.footer-address {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 300;
}

.footer-meta {
  font-size: 11px;
  color: rgba(92,61,46,0.5);
  letter-spacing: 0.06em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 64px 24px 48px; }
  .location, .story, .features, .journal-strip { padding: 56px 24px; }
  .closing { padding: 64px 24px; }

  .location-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card { border-bottom: 1px solid rgba(44,24,16,0.08); padding: 32px 0; }
  .feature-card:nth-child(odd) { border-right: none; padding-right: 0; }
  .feature-card:nth-child(even) { padding-left: 0; }

  .js-cards {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .detail-number { font-size: 28px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── NAV (desktop defaults — shared across all pages) ── */
.st-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(44,24,16,0.08);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
}

.st-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.st-nav-logo svg { height: 32px; width: auto; }

.st-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.st-nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.st-nav-links a:hover { color: var(--mahogany); }
.st-nav-links a.active { color: var(--mahogany); font-weight: 500; }

.nav-waitlist-link {
  color: var(--brass) !important;
  font-weight: 500 !important;
}

/* Desktop CTA button in shared header */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--mahogany);
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta-btn:hover { background: #4a2015; }
.nav-cta-btn.active { background: #4a2015; }

/* Shared logo — never shrink below its natural width */
.st-nav-logo { flex-shrink: 0; }

/* Hide mobile elements by default (desktop) */
.nav-hamburger { display: none; }
.nav-drawer { display: none; }
.nav-overlay { display: none; }

/* ── HAMBURGER NAV (mobile — shared across all pages) ── */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--mahogany);
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
  }

  .nav-hamburger svg { display: block; }

  /* Mobile nav drawer */
  .nav-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    border-left: 1px solid rgba(44,24,16,0.12);
    z-index: 200;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    box-shadow: -4px 0 20px rgba(44,24,16,0.12);
  }

  .nav-drawer.open { right: 0; }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(44,24,16,0.08);
    margin-bottom: 12px;
  }

  .nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-muted);
    padding: 8px;
  }

  .nav-drawer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
  }

  .nav-drawer-links a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(44,24,16,0.05);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-drawer-links a:hover { color: var(--mahogany); background: rgba(196,149,106,0.06); }
  .nav-drawer-links a.active { color: var(--brass); font-weight: 500; }

  .nav-drawer-waitlist {
    display: block;
    margin: 16px 24px;
    padding: 14px 24px;
    background: var(--mahogany);
    color: var(--cream);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44,24,16,0.4);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(2px);
  }

  .nav-overlay.visible {
    opacity: 1;
    pointer-events: all;
  }

  /* All nav containers stay flex on mobile */
  .st-nav, .vt-nav, .menu-nav, .bg-nav, .ab-nav,
  .gc-nav, .cr-nav, .nb-nav, .pr-nav, .ev-nav {
    display: flex !important;
  }

  /* Hide desktop link list and CTA on mobile — drawer takes over */
  .st-nav-links,
  .vt-nav-links,
  .menu-nav-links,
  .bg-nav-links,
  .ab-nav-links,
  .gc-nav-links,
  .cr-nav-links,
  .nb-nav-links,
  .pr-nav-links,
  .ev-nav-links,
  .nav-cta-btn {
    display: none !important;
  }

  /* Ensure hamburger button itself is visible */
  .nav-hamburger {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .detail-grid { grid-template-columns: 1fr; }
  .hero-brand { font-size: 56px; }
}

/* ── Hero CTA row (landing page) ── */
.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-cta-primary {
  padding: 13px 24px;
  background: #3D1F0F;
  color: #F5ECD7;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}

.hero-cta-primary:hover { background: #5C2E10; }

.hero-cta-secondary {
  padding: 13px 20px;
  background: transparent;
  color: #3D1F0F;
  border: 1px solid rgba(44,24,16,0.25);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.hero-cta-secondary:hover {
  background: rgba(44,24,16,0.05);
  border-color: rgba(44,24,16,0.4);
}
/* ── Founding Members strip on hero ── */
.hero-founding-strip {
  margin-top: 20px;
  text-align: center;
}
.hero-founding-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7a5533;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(196,149,106,0.35);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.hero-founding-link:hover {
  color: #C4956A;
  border-bottom-color: #C4956A;
}
.hero-founding-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #C4956A;
  border-radius: 50%;
  flex-shrink: 0;
}
