/* ═══════════════════════════════════════════════════════════
   MICRO ENDOWMENTS — Temple of Solomon Color System
   Gold · Crimson · Royal Blue · Violet · Cedar · White
   ═══════════════════════════════════════════════════════════ */

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

:root {
  /* Temple Gold */
  --gold:         #C9952E;
  --gold-light:   #E8C253;
  --gold-pale:    #F5E8C0;

  /* Crimson / Scarlet */
  --crimson:      #8B1A1A;
  --crimson-mid:  #B22222;
  --crimson-soft: #CC4444;

  /* Royal Blue / Indigo */
  --royal:        #1A2E6B;
  --royal-mid:    #2A4A9B;
  --royal-soft:   #4A6ABB;
  --sky:          #6B8ED4;

  /* Violet / Purple */
  --violet:       #4B0082;
  --violet-mid:   #6A0DAD;
  --violet-soft:  #9B4DCA;

  /* Cedar / Bronze */
  --cedar:        #3D1A0A;
  --cedar-mid:    #6B3A1A;
  --bronze:       #8B6914;

  /* Neutral */
  --white:        #FEFCF7;
  --ivory:        #F8F3E8;
  --stone:        #EDE5D0;
  --charcoal:     #1A1410;
  --mid-text:     #5A4030;

  /* Borders */
  --border-gold:  rgba(201,149,46,0.25);
  --border-light: rgba(201,149,46,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ─── NAVIGATION ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(26,20,16,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  border-bottom: 1px solid rgba(201,149,46,0.08);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.nav-logo span {
  display: block;
  font-size: 0.58rem; font-weight: 400;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(201,149,46,0.5);
}

.nav-actions {
  display: flex; align-items: center; gap: 20px;
}

.nav-sign-in {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-sign-in:hover { color: var(--gold-light); }

.nav-btn {
  background: var(--gold);
  color: var(--charcoal);
  padding: 8px 22px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.2s;
}
.nav-btn:hover { background: var(--gold-light); }

/* ── Tab Row ── */
.nav-tabs {
  display: flex; align-items: stretch;
  padding: 0 48px;
  height: 44px;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  display: flex; align-items: center;
  padding: 0 20px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
}
.nav-tab:hover { color: var(--gold-light); }
.nav-tab.active { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ─── PAGE HEADER (hero for inner pages) ─────────────────── */
.page-hero {
  padding-top: 108px;
  min-height: 340px;
  display: flex; align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
}

.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 72px 56px;
  max-width: 900px;
}

.page-eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 14px;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
}
.page-title em { font-style: italic; }

/* ─── SECTION SHARED ─────────────────────────────────────── */
.section { padding: 88px 72px; }
.section-inner { max-width: 1180px; margin: 0 auto; }

.eyebrow {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--cedar);
}
.section-title em { font-style: italic; }

.rule {
  width: 52px; height: 3px;
  border-radius: 2px;
  margin-bottom: 26px;
}

.body-text {
  font-size: 1rem; line-height: 1.85;
  color: var(--mid-text);
  max-width: 700px;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-gold    { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-light); }
.btn-crimson { background: var(--crimson); color: #fff; }
.btn-crimson:hover { background: var(--crimson-mid); }
.btn-royal   { background: var(--royal); color: #fff; }
.btn-royal:hover { background: var(--royal-mid); }
.btn-violet  { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-mid); }
.btn-ghost   {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(201,149,46,0.1); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--cedar);
  border-top: 1px solid rgba(201,149,46,0.2);
  padding: 64px 72px 40px;
}
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201,149,46,0.12);
  margin-bottom: 32px;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 0.95rem;
  color: rgba(248,243,232,0.42);
  line-height: 1.65; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(201,149,46,0.25);
  color: rgba(248,243,232,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s; border-radius: 1px;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-col-title {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 0.8rem; color: rgba(248,243,232,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.7rem; color: rgba(248,243,232,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(248,243,232,0.25); text-decoration: none;
}
.footer-legal a:hover { color: var(--gold-light); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-top, .nav-tabs { padding: 0 20px; }
  .section { padding: 64px 24px; }
  .page-hero-content { padding: 0 24px 48px; }
  footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
