/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #edeae4;
  --cream-dark: #e2ddd6;
  --ink:        #1c1a17;
  --ink-mid:    #4a4640;
  --ink-light:  #8a857d;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 48px;
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(237, 234, 228, 0.96);
  backdrop-filter: blur(8px);
  padding: 18px 48px;
  border-bottom: 1px solid rgba(28,26,23,0.08);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.4s ease;
  white-space: nowrap;
}

.nav.scrolled .nav-logo { color: var(--ink-light); }
.nav-logo:hover { color: #fff; }
.nav.scrolled .nav-logo:hover { color: var(--ink); }

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

.nav-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.nav.scrolled .nav-link { color: var(--ink-mid); }
.nav.scrolled .nav-link:hover { color: var(--ink); }

.nav-link.active { color: #fff; }
.nav-link.active::after { width: 100%; }
.nav.scrolled .nav-link.active { color: var(--ink); }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero:hover .hero-bg img { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.38) 50%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 720px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.8;
  letter-spacing: 0.02em;
  margin-bottom: 44px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 14px 36px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(0.6); }
}

/* ─── SECTIONS ─────────────────────────────────────────────── */
.section {
  padding: 120px 48px;
}

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

.section-inner.narrow {
  max-width: 640px;
}

.section-inner.centered {
  text-align: center;
}

.label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 32px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 48px;
  color: var(--ink);
}

h2 em {
  font-style: italic;
}

.body-text p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 24px;
}

.body-text p:last-child { margin-bottom: 0; }

/* ─── PHILOSOPHY ───────────────────────────────────────────── */
.philosophy {
  padding-top: 140px;
  padding-bottom: 140px;
}

/* ─── FULL BLEED IMAGE ─────────────────────────────────────── */
.full-bleed-image {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.full-bleed-image.tall {
  height: 75vh;
}

.full-bleed-image img {
  transition: transform 0.6s ease;
}

.image-caption {
  position: absolute;
  bottom: 32px;
  right: 48px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ─── EXPERIENCE ───────────────────────────────────────────── */
.experience h2 {
  margin-bottom: 72px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(28,26,23,0.12);
}

.pillar {
  padding: 48px 40px 48px 0;
  border-bottom: 1px solid rgba(28,26,23,0.12);
}

.pillar:nth-child(3n) { padding-right: 0; }

.pillar-number {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--ink);
}

.pillar p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 280px;
}

/* ─── COMMUNITY ────────────────────────────────────────────── */
.community .body-text p {
  max-width: 560px;
}

.pull-quote {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  font-style: italic;
  color: var(--ink) !important;
  margin-top: 48px !important;
  padding-top: 40px;
  border-top: 1px solid rgba(28,26,23,0.12);
  line-height: 1.5 !important;
}

/* ─── WAITLIST ─────────────────────────────────────────────── */
.waitlist {
  background: var(--ink);
  color: #fff;
  padding-top: 140px;
  padding-bottom: 140px;
}

.waitlist .label { color: rgba(255,255,255,0.4); }

.waitlist h2 { color: #fff; }

.waitlist-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 52px;
}

.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 20px;
}

.form-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 14px 0;
  letter-spacing: 0.02em;
}

.form-row input::placeholder { color: rgba(255,255,255,0.35); }

.form-row button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 14px 0 14px 24px;
  transition: color 0.2s ease;
}

.form-row button:hover { color: #fff; }

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-align: center;
}

.form-success {
  display: none;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-top: 32px;
  text-align: center;
}

.form-success.visible { display: block; }

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-domain {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

/* ─── FADE-IN ANIMATION ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 22px 24px; }
  .nav.scrolled { padding: 16px 24px; }
  .nav-links { display: none; }
  .section { padding: 80px 24px; }
  .philosophy, .waitlist { padding-top: 100px; padding-bottom: 100px; }

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

  .pillar {
    padding: 36px 0;
    border-right: none;
  }

  .full-bleed-image { height: 50vw; min-height: 260px; }
  .image-caption { right: 24px; bottom: 20px; }
  .footer { padding: 32px 24px; flex-direction: column; gap: 12px; text-align: center; }
}
