@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --cream:    #faf8f4;
  --white:    #ffffff;
  --sage:     #7a9e7e;
  --sage-lt:  #a8c5ab;
  --sage-dim: rgba(122,158,126,.12);
  --warm:     #c4956a;
  --text:     #2a2a2a;
  --text-dim: #555;
  --text-muted: #888;
  --border:   rgba(0,0,0,.08);
  --shadow:   0 2px 12px rgba(0,0,0,.07);
  --radius:   14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.2rem; }

/* ── NAV ── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.nav-brand span { color: var(--sage); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage); }

@media (max-width: 560px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .78rem; }
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}
.hero h1 { margin-bottom: .5rem; }
.hero-sub {
  color: var(--text-muted);
  font-size: .9rem;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero-badge {
  display: inline-block;
  background: var(--sage-dim);
  color: var(--sage);
  border: 1px solid rgba(122,158,126,.3);
  border-radius: 20px;
  padding: .3rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── CONTAINER ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card-sm { padding: 1.1rem 1.25rem; }

/* ── COUNTDOWN ── */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 1rem;
}
.countdown-unit {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem .5rem;
  box-shadow: var(--shadow);
}
.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}
.countdown-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-top: .35rem;
}
@media (max-width: 480px) {
  .countdown-num { font-size: 2rem; }
}

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-item { text-align: center; }
.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--warm);
  line-height: 1.1;
}
.stat-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-top: .2rem;
}

/* ── SECTION ── */
.section { margin-bottom: 2.5rem; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-sage { background: var(--sage); color: white; }
.btn-outline { background: transparent; color: var(--sage); border: 1.5px solid var(--sage); }

/* ── PASSWORD GATE ── */
.gate-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--cream);
}
.gate-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
.gate-card h1 { font-size: 2.2rem; margin-bottom: .4rem; }
.gate-card p { color: var(--text-muted); margin-bottom: 2rem; font-size: .9rem; }
.gate-input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  margin-bottom: .85rem;
  text-align: center;
  letter-spacing: .15em;
  outline: none;
  transition: border-color .15s;
}
.gate-input:focus { border-color: var(--sage); }
.gate-error {
  color: #c0392b;
  font-size: .8rem;
  margin-top: .5rem;
  min-height: 1.2em;
}

/* ── LINK CARDS ── */
.link-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .1s;
}
.link-card:hover { border-color: var(--sage-lt); transform: translateY(-2px); }
.link-icon { font-size: 2rem; flex-shrink: 0; }
.link-card-title { font-weight: 600; font-size: .95rem; }
.link-card-sub { font-size: .78rem; color: var(--text-muted); margin-top: .15rem; }

/* ── UTILS ── */
.text-center { text-align: center; }
.text-sage { color: var(--sage); }
.text-warm { color: var(--warm); }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
