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

:root {
  --gold: #c8a84a;
  --gold-light: #e0c878;
  --gold-dim: #9a7a30;
  --ink: #1a1408;
  --parchment: #faf7f2;
  --parchment-dark: #f0ead8;
  --text: #4a3a18;
  --text-light: #7a6840;
  --green-deep: #1e2e14;
  --green-mid: #2e4020;
  --border: #e0d0a0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parchment);
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--text);
  overflow-x: hidden;
}

/* ── LOGO ── */
.logo-mark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'Cinzel', serif; font-size: 18px; font-weight: 500;
  color: var(--ink); letter-spacing: 3px; text-transform: uppercase;
}
.logo-tagline {
  font-family: 'Cormorant Garamond', serif; font-size: 10px;
  letter-spacing: 2px; color: var(--gold-dim); text-transform: uppercase;
  margin-top: 5px; display: flex; flex-direction: column; gap: 1px; line-height: 1.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,247,242,0.96); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px); padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Cormorant Garamond', serif; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.page-hero {
  min-height: 38vh;
  background: linear-gradient(168deg, #111a0c 0%, #1e2e14 55%, #2a3c1a 100%);
  display: flex; align-items: flex-end;
  padding: 120px 48px 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero-geo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image:
    repeating-linear-gradient(60deg, #c8a84a 0, #c8a84a 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-60deg, #c8a84a 0, #c8a84a 1px, transparent 0, transparent 50%);
  background-size: 60px 60px;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.page-eyebrow {
  font-family: 'Cormorant Garamond', serif; font-size: 11px;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; opacity: 0.85;
}
.page-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 300;
  color: #faf7f0; line-height: 1.15;
}
.page-h1 em { font-style: italic; color: var(--gold-light); }

/* ── HERO (home) ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(168deg, #111a0c 0%, #1e2e14 50%, #2a3c1a 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 48px 80px;
}
.hero-stars { position: absolute; inset: 0; pointer-events: none; }
.star-dot { position: absolute; background: #fff; border-radius: 50%; animation: twinkle 3s infinite alternate; }
@keyframes twinkle { from { opacity: 0.1; } to { opacity: 0.7; } }
.hero-geo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image:
    repeating-linear-gradient(60deg, #c8a84a 0, #c8a84a 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-60deg, #c8a84a 0, #c8a84a 1px, transparent 0, transparent 50%);
  background-size: 60px 60px;
}
.hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner {
  max-width: 760px; text-align: center; position: relative; z-index: 2;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-logo-wrap { margin-bottom: 40px; display: flex; justify-content: center; }
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif; font-size: 12px;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; opacity: 0.85;
}
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 6vw, 72px); font-weight: 300;
  color: #faf7f0; line-height: 1.25; margin-bottom: 24px; display: block;
}
.stack-line {
  display: block; width: 100%; white-space: nowrap;
  opacity: 0; transform: translateY(16px); animation: stackIn 0.7s ease forwards;
}
@keyframes stackIn { to { opacity: 1; transform: translateY(0); } }
.hero-h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 19px; line-height: 1.85; color: #c8bea0;
  max-width: 580px; margin: 0 auto 40px; font-style: italic;
}
.hero-cta {
  display: inline-block; padding: 14px 40px; border: 1px solid var(--gold);
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.hero-cta:hover { background: var(--gold); color: var(--ink); }

/* ── SECTIONS ── */
section { padding: 100px 48px; }
.section-inner { max-width: 820px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'Cormorant Garamond', serif; font-size: 10px;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 12px;
}
.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 300;
  color: var(--ink); line-height: 1.2; margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}

/* ── ABOUT ── */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-body { font-size: 17px; line-height: 1.95; color: var(--text); }
.about-body p + p { margin-top: 18px; }
.about-body strong { color: var(--ink); font-weight: 500; }
.about-pull {
  background: var(--parchment); border-left: 3px solid var(--gold);
  padding: 24px 28px; font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-style: italic; color: #5a3a08; line-height: 1.7;
}
.about-pull cite {
  display: block; margin-top: 12px; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; font-style: normal; color: var(--gold-dim);
}

/* ── WHAT WE DO ── */
.what { background: var(--parchment-dark); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.pillar { background: #fff; padding: 32px 26px; border-top: 3px solid transparent; transition: border-color 0.2s; }
.pillar:hover { border-top-color: var(--gold); }
.pillar-icon { width: 40px; height: 40px; margin-bottom: 18px; }
.pillar-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.pillar-desc { font-size: 15px; line-height: 1.75; color: var(--text-light); }

/* ── STRIPE ── */
.stripe {
  background: linear-gradient(168deg, var(--green-deep), var(--green-mid));
  padding: 80px 48px; text-align: center; position: relative; overflow: hidden;
}
.stripe::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(60deg, rgba(200,168,74,0.06) 0, rgba(200,168,74,0.06) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-60deg, rgba(200,168,74,0.06) 0, rgba(200,168,74,0.06) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}
.stripe-inner { max-width: 680px; margin: 0 auto; position: relative; }
.stripe-quote {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 3.5vw, 32px);
  font-style: italic; font-weight: 300; color: #faf7f0; line-height: 1.6; margin-bottom: 16px;
}
.stripe-source { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-family: 'Cormorant Garamond', serif; }

/* ── EVENTS ── */
.events { background: #fff; }
.events-note { font-size: 16px; line-height: 1.85; color: var(--text-light); font-style: italic; margin-bottom: 36px; }
.event-list { border-top: 1px solid var(--border); }
.event-item { display: flex; gap: 28px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.event-date { flex-shrink: 0; width: 56px; text-align: center; font-family: 'Cormorant Garamond', serif; }
.event-month { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dim); }
.event-day { font-size: 32px; font-weight: 300; color: var(--ink); line-height: 1; }
.event-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.event-loc { font-size: 13px; color: var(--text-light); font-style: italic; }

/* ── CONTACT ── */
.contact { background: var(--parchment-dark); text-align: center; }
.contact-body { font-size: 17px; line-height: 1.9; color: var(--text); max-width: 520px; margin: 0 auto 36px; }
.contact-email {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--gold);
  text-decoration: none; border-bottom: 1px solid var(--gold-light); padding-bottom: 2px;
}

/* ── THE CASE ── */
.the-case { background: var(--parchment); }
.case-block { margin-bottom: 80px; }
.case-block:last-child { margin-bottom: 0; }
.case-label {
  font-family: 'Cormorant Garamond', serif; font-size: 9px;
  letter-spacing: 5px; text-transform: uppercase; color: var(--gold-dim);
  margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.case-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.case-h3 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300; color: var(--ink); line-height: 1.2; margin-bottom: 20px;
}
.case-h3 em { font-style: italic; color: var(--gold); }
.case-body { font-size: 17px; line-height: 1.95; color: var(--text); margin-bottom: 16px; }
.case-body strong { color: var(--ink); font-weight: 500; }

.hadith-box {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold);
  padding: 24px 28px; margin: 28px 0; position: relative; box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.hadith-box::before {
  content: '\201C'; position: absolute; top: -4px; left: 14px;
  font-size: 52px; color: var(--gold); opacity: 0.2; font-family: Georgia, serif; line-height: 1;
}
.hadith-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; color: var(--ink); line-height: 1.75; margin-bottom: 10px; }
.hadith-text strong { font-style: normal; font-weight: 500; }
.hadith-src { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dim); font-family: 'Cormorant Garamond', serif; }

.buildings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.building-item { margin-bottom: 18px; }
.building-name { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 500; color: var(--ink); }
.building-sub { font-size: 12px; color: var(--text-light); font-style: italic; margin-bottom: 5px; }
.building-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.building-ft { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold); font-weight: 500; }
.building-year { font-size: 11px; color: #9a8a60; }
.bar-wrap { height: 5px; background: #ede8da; border-radius: 1px; overflow: hidden; }
.bar-gold { height: 100%; background: linear-gradient(90deg, #a07820, #c8a84a); }
.bar-green { height: 100%; background: linear-gradient(90deg, #3a6a20, #6ab030); }
.buildings-note { font-size: 12px; color: var(--text-light); font-style: italic; margin-top: 8px; }

.timeline { margin: 28px 0; }
.tl-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.tl-left { display: flex; flex-direction: column; align-items: center; width: 24px; flex-shrink: 0; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); background: var(--parchment); flex-shrink: 0; margin-top: 5px; }
.tl-line { width: 1px; background: var(--border); flex: 1; min-height: 24px; }
.tl-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 500; color: var(--ink); }
.tl-badge { display: inline-block; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-light); padding: 2px 8px; margin-left: 8px; vertical-align: middle; background: #fffbf0; font-family: 'Cormorant Garamond', serif; }
.tl-desc { font-size: 15px; color: var(--text-light); line-height: 1.6; margin-top: 4px; }

.truths { background: #fff; border: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.truth-item { font-size: 16px; line-height: 1.9; color: #2a1a06; padding: 20px 28px; border-bottom: 1px solid #f0e8d4; }
.truth-item:last-child { border-bottom: none; }
.truth-item strong { color: var(--ink); font-weight: 500; }
.truth-item em { color: #7a5820; font-style: italic; }

.parallels-intro { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 24px; }
.parallels-intro strong { color: var(--ink); font-weight: 500; }
.par-table { width: 100%; border-collapse: collapse; }
.par-table th {
  font-family: 'Cormorant Garamond', serif; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; padding: 12px 16px; background: var(--parchment-dark);
  border-bottom: 1px solid var(--border); text-align: left;
}
.par-table th.i { color: var(--gold-dim); }
.par-table th.a { color: #4a6a2a; }
.par-table td { padding: 16px; vertical-align: top; line-height: 1.65; border-bottom: 1px solid #f0e8d0; font-size: 14px; }
.par-table td.i { color: #4a3a18; font-style: italic; border-right: 1px solid var(--border); width: 50%; }
.par-table td.a { color: #3a4a28; font-style: italic; }
.par-table tr:last-child td { border-bottom: none; }
.par-more { font-size: 13px; color: var(--text-light); font-style: italic; text-align: right; margin-top: 10px; }

/* ── FOOTER ── */
footer {
  background: var(--green-deep); padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(200,190,160,0.5); font-family: 'Cormorant Garamond', serif; }

/* ── MOBILE ── */
@media (max-width: 720px) {
  nav { padding: 14px 20px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(250,247,242,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; letter-spacing: 2px; }
  section { padding: 70px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
  .buildings-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .stack-line { white-space: normal; font-size: 28px; }
  .page-hero { padding: 100px 24px 48px; }
}
