/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg-deep:     #0d0b1a;
  --bg-mid:      #13102a;
  --bg-purple:   #1a1535;
  --bg-light:    #201b42;
  --purple-vivid:#6b4fd8;
  --purple-mid:  #5038b8;
  --purple-soft: #9b82f3;
  --purple-pale: #c4b5fd;
  --gold:        #c8a96e;
  --gold-light:  #e8d5a3;
  --gold-dim:    rgba(200,169,110,0.18);
  --white:       #fafaf8;
  --muted:       rgba(250,250,248,0.55);
  --muted2:      rgba(250,250,248,0.28);
  --border-p:    rgba(107,79,216,0.25);
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Outfit', system-ui, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── GRADIENTS ── */
.grad-hero {
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(107,79,216,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(80,56,184,0.2) 0%, transparent 60%),
    var(--bg-deep);
}
.grad-section {
  background:
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(107,79,216,0.12) 0%, transparent 60%),
    var(--bg-mid);
}
.grad-alt {
  background:
    radial-gradient(ellipse 70% 60% at 0% 50%, rgba(80,56,184,0.14) 0%, transparent 60%),
    var(--bg-purple);
}
.grad-pledge {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(107,79,216,0.3) 0%, transparent 70%),
    var(--bg-deep);
}
.grad-contact {
  background:
    radial-gradient(ellipse 80% 70% at 80% 100%, rgba(107,79,216,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 10%, rgba(200,169,110,0.06) 0%, transparent 55%),
    var(--bg-mid);
}

/* ── PAGES ── */
.page { display: none; min-height: 100vh; flex-direction: column; }
.page.active { display: flex; flex-direction: column; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(13,11,26,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border-p);
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
}
.nav-sun { width: 28px; height: 28px; flex-shrink: 0; }
.nav-sun path { fill: var(--gold); }
.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}
.nav-wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--white); }
.nav-cta {
  border: 0.5px solid var(--purple-soft) !important;
  color: var(--purple-pale) !important;
  padding: 0.45rem 1.25rem !important;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--purple-vivid) !important;
  color: var(--white) !important;
  border-color: var(--purple-vivid) !important;
}

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

/* ── SECTIONS ── */
section, .sec { padding: 7rem 4rem; }
.inner { max-width: 1080px; margin: 0 auto; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 2.25rem; }
.eyebrow-line { width: 30px; height: 0.5px; background: var(--gold); flex-shrink: 0; }
.eyebrow-text { font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.eyebrow-purple .eyebrow-line { background: var(--purple-soft); }
.eyebrow-purple .eyebrow-text { color: var(--purple-pale); }

h1.hero-hl {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
h1.hero-hl em { font-style: italic; color: var(--purple-pale); }

h2.sec-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}
h2.sec-title em { font-style: italic; color: var(--purple-pale); }

.page-hero-sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.88;
  margin-bottom: 2.75rem;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--purple-vivid);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.1rem;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--purple-mid); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--purple-pale);
  border: 0.5px solid var(--purple-soft);
  padding: 0.85rem 2.1rem;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: rgba(107,79,216,0.18); }

.btn-gold {
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  padding: 0.85rem 2.1rem;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── TICKER ── */
.ticker-wrap {
  border-top: 0.5px solid var(--border-p);
  border-bottom: 0.5px solid var(--border-p);
  background: rgba(107,79,216,0.06);
  padding: 0.9rem 0;
  overflow: hidden;
}
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-item { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted2); padding: 0 2rem; }
.ticker-dot { color: var(--purple-soft); margin-right: 2rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-p);
  border: 0.5px solid var(--border-p);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.card { background: var(--bg-mid); padding: 2.25rem 2rem; transition: background 0.2s; }
.card:hover { background: var(--bg-purple); }
.card-num { font-family: var(--sans); font-size: 9px; letter-spacing: 0.22em; color: var(--purple-soft); margin-bottom: 1rem; }
.card-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--white); margin-bottom: 0.6rem; line-height: 1.2; }
.card-body { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ── DIFF GRID ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-p);
  border: 0.5px solid var(--border-p);
  border-radius: 2px;
  overflow: hidden;
}
.diff-cell { background: var(--bg-light); padding: 2.25rem 1.75rem; transition: background 0.2s; }
.diff-cell:hover { background: rgba(107,79,216,0.18); }
.diff-sun { width: 18px; height: 18px; margin-bottom: 1rem; display: block; }
.diff-sun path { fill: var(--purple-soft); }
.diff-head { font-family: var(--serif); font-size: 1.15rem; color: var(--white); margin-bottom: 0.35rem; font-weight: 400; }
.diff-body { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ── ABOUT ── */
.about-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: start; }
.about-quote {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.35;
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--purple-vivid);
  font-weight: 400;
}
.about-stats { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 0.5px solid var(--border-p); display: flex; gap: 3rem; }
.stat-num { font-family: var(--serif); font-size: 3.2rem; color: var(--purple-pale); display: block; line-height: 1; font-weight: 400; }
.stat-lbl { font-family: var(--sans); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted2); margin-top: 0.35rem; display: block; font-weight: 300; }
.about-bio { font-family: var(--sans); font-size: 1rem; font-weight: 300; color: rgba(250,250,248,0.7); line-height: 1.9; margin-bottom: 1.25rem; }
.founder-card { margin-top: 2.5rem; padding: 1.5rem; border: 0.5px solid var(--border-p); border-radius: 2px; display: flex; align-items: center; gap: 1.25rem; background: rgba(107,79,216,0.08); }
.founder-sun { width: 40px; height: 40px; flex-shrink: 0; }
.founder-sun path { fill: var(--purple-soft); }
.founder-name { font-family: var(--serif); font-size: 1.2rem; color: var(--white); font-weight: 400; }
.founder-role { font-family: var(--sans); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple-pale); margin-top: 3px; font-weight: 300; }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card { border: 0.5px solid var(--border-p); border-radius: 2px; padding: 2rem 1.75rem; background: rgba(107,79,216,0.06); transition: background 0.2s; }
.value-card:hover { background: rgba(107,79,216,0.14); }
.value-card-title { font-family: var(--serif); font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; font-weight: 400; }
.value-card-body { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── SERVICES DETAIL ── */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-p);
  border: 0.5px solid var(--border-p);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.svc-detail-card { background: var(--bg-mid); padding: 2.75rem 2.5rem; transition: background 0.2s; }
.svc-detail-card:hover { background: var(--bg-purple); }
.svc-detail-num { font-family: var(--sans); font-size: 9px; letter-spacing: 0.22em; color: var(--purple-soft); margin-bottom: 1rem; }
.svc-detail-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--white); margin-bottom: 0.75rem; line-height: 1.2; }
.svc-detail-desc { font-family: var(--sans); font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }
.svc-detail-list { margin-top: 1rem; padding-left: 0; list-style: none; }
.svc-detail-list li { font-family: var(--sans); font-size: 13px; color: rgba(250,250,248,0.45); padding: 0.3rem 0 0.3rem 1rem; position: relative; font-weight: 300; }
.svc-detail-list li::before { content: '✦'; position: absolute; left: 0; color: var(--purple-soft); font-size: 8px; top: 6px; }

/* ── PLEDGE ── */
.pledge-wrap { max-width: 700px; margin: 0 auto; text-align: center; }
.pledge-pct { font-family: var(--serif); font-size: clamp(6rem, 16vw, 11rem); color: var(--purple-pale); line-height: 1; display: block; font-weight: 400; font-style: italic; margin-bottom: 0.25rem; }
.pledge-lbl { font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted2); margin-bottom: 2.5rem; }
.pledge-body { font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--muted); line-height: 1.9; margin-bottom: 1.25rem; }
.pledge-em { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--white); margin-top: 1.5rem; display: block; }

/* ── CONTACT FORM ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.contact-sub { font-family: var(--sans); font-size: 0.98rem; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 2rem; }
.contact-founder { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 0.5px solid var(--border-p); }
.contact-sun { width: 36px; height: 36px; flex-shrink: 0; }
.contact-sun path { fill: var(--purple-soft); }
.contact-fn { font-family: var(--serif); font-size: 1.1rem; color: var(--white); font-weight: 400; }
.contact-ft { font-family: var(--sans); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple-pale); margin-top: 3px; font-weight: 300; }

.form { display: flex; flex-direction: column; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.flbl { font-family: var(--sans); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--purple-pale); font-weight: 400; }
.finp {
  background: rgba(107,79,216,0.08);
  border: 0.5px solid var(--border-p);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.finp::placeholder { color: rgba(250,250,248,0.2); }
.finp:focus { border-color: var(--purple-soft); background: rgba(107,79,216,0.14); }
textarea.finp { resize: vertical; min-height: 110px; }

/* ── PAGE HERO ── */
.page-hero { padding: 8rem 4rem 5rem; position: relative; overflow: hidden; }
.page-hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(107,79,216,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(107,79,216,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── FOOTER ── */
footer {
  background: rgba(13,11,26,0.95);
  padding: 2.5rem 4rem;
  border-top: 0.5px solid var(--border-p);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.foot-brand { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; }
.foot-sun { width: 18px; height: 18px; opacity: 0.5; }
.foot-sun path { fill: var(--gold); }
.foot-name { font-family: var(--serif); font-size: 1rem; color: rgba(250,250,248,0.3); font-weight: 400; }
.foot-links { display: flex; gap: 2rem; }
.foot-links a { font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,248,0.2); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.foot-links a:hover { color: var(--purple-pale); }
.foot-copy { font-family: var(--sans); font-size: 11px; color: rgba(250,250,248,0.18); }

/* ── SUCCESS MESSAGE ── */
.success-msg { display: none; text-align: center; padding: 3rem; }
.success-msg.show { display: block; }
.success-sun { width: 60px; height: 60px; margin: 0 auto 1.5rem; }
.success-sun path { fill: var(--purple-soft); }
.success-title { font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--white); margin-bottom: 1rem; }
.success-body { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,11,26,0.98); padding: 1.5rem 2rem; gap: 1.25rem; border-bottom: 0.5px solid var(--border-p); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  section, .sec, .page-hero { padding: 4rem 1.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-intro-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}
@media (max-width: 600px) {
  h1.hero-hl { font-size: 2.8rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 1.5rem; }
}
