/* ==========================================================================
   The Alcove — shared stylesheet (site + terms + privacy)
   ========================================================================== */

/* ---- Fonts --------------------------------------------------------------
   Escapana (headings) and Acumin Pro (body) are licensed fonts and are not
   loaded from a public CDN. Drop the licensed font files into /fonts and
   uncomment the @font-face blocks below to activate them site-wide.
   Until then, the site renders with the serif/sans fallbacks so it still
   looks polished.
---------------------------------------------------------------------------- */

/*
@font-face {
  font-family: 'Escapana';
  src: url('fonts/Escapana-Regular.woff2') format('woff2'),
       url('fonts/Escapana-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Acumin Pro';
  src: url('fonts/AcuminPro-Regular.woff2') format('woff2'),
       url('fonts/AcuminPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Acumin Pro';
  src: url('fonts/AcuminPro-Medium.woff2') format('woff2'),
       url('fonts/AcuminPro-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  --emerald: #0F4D37;
  --emerald-dark: #0a3527;
  --stone: #F4F2EB;
  --stone-dim: #e7e3d7;
  --black: #000000;
  --ink-on-emerald: var(--stone);

  --font-heading: 'Escapana', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Acumin Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--stone);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Logo mark ----------------------------------------------------------
   Fixed two-tone SVG: emerald "ink" + stone "paper". On stone backgrounds
   the full two-tone mark reads normally; on emerald backgrounds the ink
   shapes blend into the background automatically, leaving a clean
   reversed stone outline — no separate color variant needed.
---------------------------------------------------------------------------- */
.logo-mark .logo-ink { fill: var(--emerald); }
.logo-mark .logo-paper { fill: var(--stone); }
.logo-mark .logo-a {
  fill: none;
  stroke: var(--stone);
  stroke-width: 7;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.bg-black .logo-mark .logo-ink,
footer .logo-mark .logo-ink { fill: var(--emerald); }

.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.bg-stone .logo-wordmark,
.bg-black .logo-wordmark { color: var(--emerald); }

.logo-small { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-small .logo-mark { width: 30px; height: 35px; }
.logo-small-word {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  background: var(--emerald);
  padding: 88px 40px;
  text-align: center;
}

/* ---- Intro tagline (stone section, above Agreements Atelier) -------------- */
.intro-tagline {
  padding-top: 64px;
  padding-bottom: 16px;
  text-align: center;
}
.intro-tagline p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--emerald);
  max-width: 680px;
  margin: 0 auto;
}

/* ---- Nav ------------------------------------------------------------------ */
nav.site-nav {
  background: var(--stone);
  border-bottom: 1px solid rgba(15,77,55,0.15);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}
nav.site-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  text-decoration: none;
  padding: 16px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
nav.site-nav a:hover { border-bottom-color: var(--emerald); }

/* ---- Sections -------------------------------------------------------------- */
.section {
  padding: 76px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.section-full { padding: 76px 0; }
.section-full .section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--black);
  margin-bottom: 20px;
}
.section-heading em {
  font-style: italic;
  color: var(--emerald);
}
.section-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(0,0,0,0.78);
  max-width: 580px;
}
sup { font-size: 0.6em; }

/* ---- Card grid --------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.card {
  border-radius: 10px;
  padding: 22px 20px;
}
.card .card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 8px;
}
.card .card-body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
}

.card-on-stone { background: #fff; border: 1px solid rgba(15,77,55,0.16); }
.card-on-stone .card-title { color: var(--black); }
.card-on-stone .card-body { color: rgba(0,0,0,0.68); }

.card-on-emerald { background: rgba(244,242,235,0.08); border: 1px solid rgba(244,242,235,0.22); }
.card-on-emerald .card-title { color: var(--stone); }
.card-on-emerald .card-body { color: var(--stone-dim); }

.card-on-black { background: rgba(244,242,235,0.05); border: 1px solid rgba(244,242,235,0.16); }
.card-on-black .card-title { color: #9fd7bf; }
.card-on-black .card-body { color: rgba(244,242,235,0.6); }

/* ---- Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 40px;
  margin-top: 30px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn-stone  { background: var(--stone); color: var(--emerald); }
.btn-emerald  { background: var(--emerald); color: var(--stone); }
.btn-outline-stone { background: transparent; color: var(--stone); border: 1px solid rgba(244,242,235,0.5); }
.btn-outline-emerald { background: transparent; color: var(--emerald); border: 1px solid rgba(15,77,55,0.5); }

/* ---- Event date chips ------------------------------------------------------------ */
.event-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.event-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(244,242,235,0.08);
  border: 1px solid rgba(244,242,235,0.3);
  border-radius: 20px;
  padding: 7px 16px;
}

/* ---- Section backgrounds -------------------------------------------------------- */
.bg-stone { background: var(--stone); }
.bg-emerald { background: var(--emerald); }
.bg-emerald .section-label { color: #9fd7bf; }
.bg-emerald .section-heading { color: var(--stone); }
.bg-emerald .section-heading em { color: #cfe9dc; }
.bg-emerald .section-body { color: var(--stone-dim); }

.bg-black { background: var(--black); }
.bg-black .section-label { color: #6fae91; }
.bg-black .section-heading { color: var(--stone); }
.bg-black .section-heading em { color: #9fd7bf; }
.bg-black .section-body { color: rgba(244,242,235,0.7); }

/* ---- Badge ---------------------------------------------------------------------- */
.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(244,242,235,0.1);
  color: var(--stone);
  border: 1px solid rgba(244,242,235,0.3);
  border-radius: 20px;
  padding: 5px 13px;
  margin-bottom: 14px;
}
.badge-on-stone {
  background: rgba(15,77,55,0.06);
  color: var(--emerald);
  border: 1px solid rgba(15,77,55,0.25);
}

/* ---- Divider ----------------------------------------------------------------------- */
.divider { height: 1px; background: rgba(15,77,55,0.15); margin: 0 40px; }

/* ---- Waitlist form ------------------------------------------------------------------ */
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  max-width: 420px;
}
.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  background: transparent;
  border: 1px solid rgba(244,242,235,0.4);
  border-radius: 40px;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--stone);
}
.waitlist-form input[type="email"]::placeholder { color: rgba(244,242,235,0.45); }
.waitlist-form input[type="email"]:focus { outline: none; border-color: var(--stone); }
.waitlist-form .btn { margin-top: 0; flex: 0 0 auto; }
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: #9fd7bf;
  min-height: 16px;
}

.waitlist-form.on-light input[type="email"] {
  border-color: rgba(15,77,55,0.35);
  color: var(--black);
}
.waitlist-form.on-light input[type="email"]::placeholder { color: rgba(0,0,0,0.4); }
.waitlist-form.on-light input[type="email"]:focus { border-color: var(--emerald); }
.form-note.on-light { color: var(--emerald); }

/* ---- Footer -------------------------------------------------------------------------- */
footer {
  background: var(--stone);
  border-top: 1px solid rgba(15,77,55,0.15);
  padding: 48px 40px 32px;
  text-align: center;
}
footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
}
footer .footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: rgba(0,0,0,0.6);
}
footer .footer-links a:hover { color: var(--emerald); }
footer .footer-copy {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.4);
  margin-top: 16px;
}

/* ---- Legal pages (terms / privacy) ----------------------------------------------------- */
.legal-header {
  background: var(--emerald);
  padding: 48px 40px;
  text-align: center;
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px 88px;
}
.legal-content .updated {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 36px;
}
.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--emerald);
  margin: 40px 0 12px;
}
.legal-content p, .legal-content li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(0,0,0,0.78);
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 14px; }
.legal-content a { color: var(--emerald); text-decoration: underline; }
.legal-content strong { font-weight: 600; color: var(--black); }

/* ---- Responsive ---------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .logo-wordmark { font-size: 26px; }
  .hero .tagline { font-size: 24px; }
  .section-heading { font-size: 32px; }
  nav.site-nav { gap: 0 16px; }
  nav.site-nav a { font-size: 10px; padding: 12px 0; }
  .section, .section-full .section-inner { padding-left: 24px; padding-right: 24px; }
  .divider { margin: 0 24px; }
  .legal-content { padding: 48px 24px 64px; }
  .legal-content h1 { font-size: 28px; }
}
