/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --sand:      #F7F3EB;
  --sand-deep: #EDE8DF;
  --charcoal:  #2A2C30;
  --sage:      #5E856C;
  --sage-muted:#8AAD97;
  --terracotta:#C67C5B;
  --wood:      #D4C6B8;
  --text:      #34363B;
  --text-soft: #6B6E73;
  --radius:    4px;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}

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

html {
  font-size: 16px;
  font-family: 'DM Sans', system-ui, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  /* Subtle washi paper texture - embedded SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='4' stitchTiles='stitch'/%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.95;
}

/* Global link styles — prevent default browser blue */
a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

::selection {
  background: var(--sage);
  color: var(--sand);
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p  { max-width: 62ch; }
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 6vw, 5rem);
}

section { padding-block: clamp(4rem, 10vh, 8rem); }

/* ── Entrance animation ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s;  }
.delay-3 { animation-delay: 0.5s;  }
.delay-4 { animation-delay: 0.7s;  }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  background: rgba(247, 243, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,198,184,0.35);
  transition: background 0.4s var(--ease-out);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  margin-right: 0.5rem;
  margin-top: -3px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.25s;
}

.nav-links a:visited {
  color: var(--text-soft);
}

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

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.hamburger::before {
  transform: translateY(-8px);
}
.hamburger::after {
  transform: translateY(6px);
}
.nav-toggle.active .hamburger {
  background: transparent;
}
.nav-toggle.active .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile navigation */
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 72%;
    max-width: 250px;
    background: var(--sand);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    box-shadow: 0 8px 24px rgba(42,44,48,0.12);
    z-index: 100;
    transition: right 0.4s var(--ease-out);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1.1rem;
    color: var(--charcoal);
  }
  .features-grid, .receive-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 7rem 4rem;
  position: relative;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 44, 48, 0.95);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.4rem;
}

.hero h1,
.hero h1 em,
.hero-sub,
.hero-eyebrow {
  color: var(--sand);
}

.hero h1 {
  margin-bottom: 1.6rem;
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5rem); /* Made bigger */
}

.hero h1 em {
  font-style: italic;
}

.hero-sub {
  color: rgba(247, 243, 235, 0.95);
  margin-bottom: 3rem;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); /* Made bigger */
}

.hero-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(247, 243, 235, 0.6), transparent);
  margin-inline: auto;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.2rem 3rem;
  background: var(--sand);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.3s;
  margin: 0 auto;
}

.hero .btn-primary { display: flex; }

.btn-primary:hover {
  background: var(--sage);
  color: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42,44,48,0.2);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.2rem 3rem;
  background: var(--sand);
  color: var(--sand-deep); /* Deeper sand for better contrast */
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.3s;
  margin-inline: auto; /* Center the button */
}

.hero-btn:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42,44,48,0.2);
}

.hero-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease-out);
}

.hero-btn:hover svg { transform: translateX(5px); }

.btn-ghost:hover {
  color: var(--charcoal);
  border-color: var(--charcoal);
  background: rgba(212,198,184,0.15);
}

/* ── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 243, 235, 0.85);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--wood), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

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

/* ── ABOUT / FEATURES ──────────────────────────────────────── */
.about {
  background: var(--sand-deep);
  border-top: 1px solid rgba(212,198,184,0.4);
  border-bottom: 1px solid rgba(212,198,184,0.4);
}

.about-intro {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 4.5rem;
}

.about-intro h2 { margin-bottom: 1rem; color: var(--charcoal); }
.about-intro p  { color: var(--text-soft); font-size: 1.05rem; font-weight: 300; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--sand);
  border: 1px solid rgba(212,198,184,0.5);
  border-radius: 6px;
  padding: 2.4rem 2rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42,44,48,0.07);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(94,133,108,0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.4;
}

.feature-card h3 { margin-bottom: 0.6rem; color: var(--charcoal); font-weight: 400; }
.feature-card p  { color: var(--text-soft); font-size: 0.92rem; }

/* ── MANIFESTO / PULLQUOTE ────────────────────────────────── */
.manifesto {
  text-align: center;
  padding-block: clamp(5rem, 12vh, 10rem);
  position: relative;
}

.manifesto-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.45;
  max-width: 28ch;
  margin-inline: auto;
  position: relative;
}

.manifesto-quote::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--terracotta);
  margin-inline: auto;
  margin-bottom: 2rem;
}

.manifesto-attribution {
  margin-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ── WHAT YOU RECEIVE ──────────────────────────────────────── */
.receive {
  background: var(--charcoal);
  color: var(--sand);
}

.receive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.receive-item {
  padding: 2rem 1.8rem;
  border: 1px solid rgba(247,243,235,0.1);
  border-radius: 6px;
  transition: border-color 0.3s, background 0.3s;
}

.receive-item:hover {
  border-color: rgba(247,243,235,0.25);
  background: rgba(247,243,235,0.04);
}

.receive-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.receive-item h3 {
  color: var(--sand);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.receive-item p { color: rgba(247,243,235,0.55); font-size: 0.9rem; max-width: none; }

.section-dark-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-muted);
  margin-bottom: 0.9rem;
}

/* ── MEMBERSHIP / JOIN ──────────────────────────────────────── */
.membership {
  text-align: center;
  padding-block: clamp(4rem, 10vh, 8rem);
}

.membership h2 { margin-bottom: 1rem; }

.membership-copy {
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.pricing {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.8rem;
  padding: 2rem 3rem;
  background: var(--sand-deep);
  border: 1px solid rgba(212,198,184,0.6);
  border-radius: 8px;
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}

.price-period {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.price-note {
  font-size: 0.78rem;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.pricing-divider {
  width: 40px;
  height: 1px;
  background: var(--wood);
  margin-block: 0.5rem;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin-inline: auto;
}

.email-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.2rem;
  background: var(--sand);
  border: 1px solid rgba(212,198,184,0.35);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s;
}

.email-form input::placeholder { color: var(--text-soft); opacity: 0.9; }
.email-form input:focus { border-color: var(--sage); }

.email-form button { flex-shrink: 0; }

.form-success {
  display: none;
  color: var(--sage);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: rgba(247,243,235,0.65);
  padding-block: 4rem 2.5rem;
  text-align: center;
}

footer a {
  color: rgba(247,243,235,0.75);
  text-decoration: none;
  transition: color 0.25s;
}

footer a:hover { color: var(--sand); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(247,243,235,0.4);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--sand);
  margin-bottom: 0.3rem;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 640px) {
  .features-grid, .receive-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
}

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

