:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.25);
  --dark: #080808;
  --dark-2: #111111;
  --dark-3: #181818;
  --dark-4: #222222;
  --dark-5: #2a2a2a;
  --text: #F0EDE8;
  --text-muted: #7A7672;
  --text-dim: #4A4744;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--gold);
  letter-spacing: 0.06em; display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo span { font-size: 1rem; opacity: 0.5; }

.nav-links {
  display: flex; gap: 0; list-style: none;
}
.nav-links a {
  color: var(--text-muted); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 1.1rem; transition: color 0.2s; display: block;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--dark);
  padding: 0.55rem 1.3rem; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-muted); transition: 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--dark-2); z-index: 199; flex-direction: column;
  padding: 2rem 5vw; gap: 0.5rem; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); font-size: 1.1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--gold-border); letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta { margin-top: 1.5rem; text-align: center; display: block; padding: 1rem; }

/* ─── HERO BASE ─── */
.page-hero {
  min-height: 55vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 10rem 5vw 5rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--gold-border);
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 860px; margin-bottom: 1.25rem; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: var(--text-muted); max-width: 520px; font-size: 1.05rem; line-height: 1.85; }

/* ─── SECTIONS ─── */
section { padding: 6rem 5vw; }
.container { max-width: 1120px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::after { content: ''; flex: 0 0 24px; height: 1px; background: var(--gold-border); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); max-width: 540px; font-size: 1rem; line-height: 1.85; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--dark);
  padding: 0.85rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em;
  text-transform: uppercase; transition: background 0.2s; border: none;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  display: inline-block; border: 1px solid var(--gold-border); color: var(--text);
  padding: 0.85rem 2rem; border-radius: var(--radius);
  font-size: 0.85rem; letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: none; padding: 0; transition: gap 0.2s;
}
.btn-ghost:hover { gap: 0.8rem; }
.btn-ghost::after { content: '→'; }

/* ─── CARDS ─── */
.card {
  background: var(--dark-3); border: 1px solid var(--gold-border);
  border-radius: 6px; padding: 1.75rem; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ─── DIVIDER ─── */
.gold-line { width: 36px; height: 2px; background: var(--gold); margin: 1.5rem 0; }
.section-divider {
  border: none; border-top: 1px solid var(--gold-border);
  margin: 0; width: 100%;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--gold-border);
  padding: 4rem 5vw 2rem;
}
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--gold-border);
  margin-bottom: 2rem;
}
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 0.75rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 240px; line-height: 1.8; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 34px; height: 34px; border: 1px solid var(--gold-border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text-muted); transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h6 {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.78rem; }
.footer-verse { font-style: italic; color: var(--text-dim); font-size: 0.78rem; }

/* ─── MODAL ─── */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88);
  z-index: 500; align-items: center; justify-content: center; padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--dark-3); border: 1px solid var(--gold-border);
  border-radius: 8px; max-width: 660px; width: 100%; max-height: 88vh;
  overflow-y: auto; padding: 2.5rem; position: relative;
}
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: 1px solid var(--gold-border); color: var(--text-muted);
  width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; display: flex;
  align-items: center; justify-content: center; transition: 0.2s;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

/* ─── FORMS ─── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-4); border: 1px solid var(--gold-border);
  color: var(--text); padding: 0.75rem 1rem; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none;
  transition: border-color 0.2s; resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--dark-4); }

/* ─── TOAST ─── */
#toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(4rem);
  background: var(--dark-4); border: 1px solid var(--gold);
  color: var(--text); padding: 0.85rem 1.75rem; border-radius: var(--radius);
  font-size: 0.9rem; z-index: 999; transition: transform 0.4s ease;
  white-space: nowrap;
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 4rem 5vw; }
  .footer-grid { grid-template-columns: 1fr; }
}
