/* Gaur Education Partners — Ivy/Oxford scholarly theme.
   Palette: deep green, oxblood/burgundy, cream, gold. Serif headlines (Garamond/Caslon system stack).
   The crest is an original invented mark: open book + torch + oak leaf. Not copied from any institution. */

:root {
  --green-deep: #12342a;
  --green: #1c4a38;
  --green-ink: #0d241d;
  --oxblood: #5e1f26;
  --oxblood-deep: #451418;
  --burgundy: #7a2b33;
  --cream: #faf5e9;
  --parchment: #f3ebda;
  --gold: #c9a227;
  --gold-soft: #e3c87e;
  --ink: #26201a;
  --ink-soft: #4a4136;
  --line: #ddd2b8;
  --serif: "Garamond", "Adobe Garamond Pro", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--gold); color: #1a1408; font-weight: 700; padding: 10px 18px;
  font-family: var(--sans); font-size: .95rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
main { display: block; }
section.block { padding: 64px 0; }
section.block.tint { background: var(--parchment); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block.green { background: var(--green-deep); color: var(--cream); }
section.block.oxblood { background: var(--oxblood-deep); color: var(--cream); }

/* ---------- header ---------- */
.topbar {
  background: var(--green-deep);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 900;
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; }
.brand:hover .brand-name { color: var(--gold-soft); }
.brand-mark { width: 46px; height: 54px; flex: none; }
.brand-name { font-size: 1.32rem; line-height: 1.15; letter-spacing: .4px; }
.brand-name small { display: block; font-size: .78rem; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold-soft); font-family: var(--sans); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-family: var(--sans); }
.nav a {
  color: var(--cream); text-decoration: none; font-size: .94rem; font-weight: 600;
  padding: 9px 13px; border-radius: 6px; letter-spacing: .2px;
}
.nav a:hover { background: rgba(255,255,255,.12); }
.nav a.active { background: rgba(201,162,39,.22); color: var(--gold-soft); }
.nav .nav-cta {
  background: var(--gold); color: #1a1408; font-weight: 700; margin-left: 8px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--gold-soft); color: #1a1408; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--green-ink); color: var(--cream); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,36,29,.55) 0%, rgba(13,36,29,.82) 100%); }
.hero-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 110px 22px 96px; }
.kicker {
  display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-soft);
  border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; }
.hero h1 .gold { color: var(--gold-soft); font-style: italic; }
.hero .lede { font-size: 1.3rem; max-width: 34em; color: #efe7d3; }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1rem;
  background: var(--gold); color: #1a1408; text-decoration: none;
  padding: 14px 30px; border-radius: 999px; margin: 10px 12px 0 0; border: none; cursor: pointer;
}
.btn:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid var(--gold-soft); }
.btn-ghost:hover { background: rgba(201,162,39,.16); color: var(--cream); }
.btn-dark { background: var(--green-deep); color: var(--cream); }
.btn-dark:hover { background: var(--green); color: var(--cream); }

/* ---------- headings / prose ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
h2 { font-size: 1.9rem; margin: 0 0 .55em; }
h3 { font-size: 1.35rem; margin: 0 0 .4em; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--burgundy); margin-bottom: 10px; }
.green .eyebrow, .oxblood .eyebrow { color: var(--gold-soft); }
.lede { font-size: 1.22rem; }
.prose { max-width: 44em; }
.prose a, .wrap a { color: var(--burgundy); }
.green a, .oxblood a { color: var(--gold-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.two-col img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(38,32,26,.14); }
.img-cap { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; font-style: italic; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-top: 34px; }
.card {
  background: #fffdf7; border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px;
  box-shadow: 0 4px 18px rgba(38,32,26,.07);
}
.card h3 { margin-top: 0; color: var(--green-deep); }
.card .price { font-size: 2rem; font-weight: 600; color: var(--oxblood); margin: .2em 0; }
.card ul { padding-left: 1.2em; margin: .6em 0; }
.card li { margin-bottom: .35em; }

/* ---------- signal map ---------- */
.signalmap svg { display: block; width: 100%; height: auto; max-width: 1000px; margin: 0 auto; }
.sm-kicker { display: block; text-align: center; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.sm-core { animation: smpulse 3.2s ease-in-out infinite; }
@keyframes smpulse { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sm-core { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- transparency / legal ---------- */
.transparency { border: 2px solid var(--gold); border-radius: 12px; background: #fffdf7; padding: 30px 32px; margin-top: 40px; }
.transparency h3 { color: var(--green-deep); margin-top: 0; }
.transparency ul { margin: .5em 0 0; padding-left: 1.2em; }
.transparency li { margin-bottom: .4em; }

/* ---------- footer ---------- */
footer { background: var(--green-ink); color: #d9d0b8; font-family: var(--sans); font-size: .95rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 54px 22px 10px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
footer h4 { color: var(--gold-soft); font-family: var(--serif); font-size: 1.15rem; margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a { color: #efe7d3; text-decoration: none; }
footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 18px 22px 8px; border-top: 1px solid rgba(227,200,126,.25); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.footer-legal { max-width: 1180px; margin: 0 auto; padding: 6px 22px 30px; font-size: .82rem; color: #a99e83; }
.footer-legal p { margin: .4em 0; }
.transparency-line { max-width: 1180px; margin: 0 auto; padding: 0 22px 6px; font-size: .85rem; }
.nl-block { max-width: 1180px; margin: 0 auto; padding: 10px 22px 24px; }

/* ---------- a11y toolbar ---------- */
#a11y-toolbar {
  position: fixed; left: 14px; bottom: 14px; z-index: 9990;
  display: flex; gap: 6px; background: rgba(18,52,42,.96); border: 2px solid var(--gold);
  border-radius: 12px; padding: 6px; font-family: var(--sans);
}
#a11y-toolbar button {
  background: transparent; color: var(--cream); border: 1px solid rgba(227,200,126,.4);
  border-radius: 8px; padding: 8px 11px; font-size: .85rem; font-weight: 700; cursor: pointer;
}
#a11y-toolbar button:hover { background: rgba(201,162,39,.25); }
#a11y-toolbar button[aria-pressed="true"] { background: var(--gold); color: #1a1408; }
body.hc-mode { background: #000; color: #fff; }
body.hc-mode .card, body.hc-mode .transparency { background: #000; color: #fff; border-color: #fff; }
body.hc-mode section.block.tint { background: #0a0a0a; }
body.hc-mode a { color: #ffd76a; }
body.hc-mode .img-cap { color: #ddd; }
body.rm-motion .hero-video { display: none; }
body.rm-motion .sm-core { animation: none !important; }

/* ---------- affiliates ---------- */
.aff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 30px; }
.aff-card { background: #fffdf7; border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px; }
.aff-card h3 { font-size: 1.08rem; color: var(--green-deep); margin: .5em 0 .3em; }
.aff-card p { font-size: .95rem; margin: 0 0 .6em; color: var(--ink-soft); }
.aff-card a { font-family: var(--sans); font-weight: 700; font-size: .9rem; }
.aff-mono {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--green-deep); color: var(--gold-soft); font-family: var(--sans); font-weight: 800; font-size: .95rem;
}
.aff-here { border: 2px solid var(--gold); background: #fffbe9; }
.aff-here-tag { display: inline-block; font-family: var(--sans); font-size: .75rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--oxblood); margin-top: 6px; }
.aff-soon { display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 700; color: var(--ink-soft); background: var(--parchment); border-radius: 999px; padding: 4px 12px; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--sans); font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 8px; background: #fffdf7; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- pricing table ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 30px; }
.price-card { background: #fffdf7; border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px; text-align: center; }
.price-card.featured { border: 3px solid var(--gold); }
.price-card .amount { font-size: 2.4rem; font-weight: 600; color: var(--oxblood); }
.price-card .per { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); }

/* ---------- path list (approach) ---------- */
.path-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.path-list li { background: #fffdf7; border-left: 5px solid var(--gold); border-radius: 0 10px 10px 0; padding: 18px 22px; box-shadow: 0 3px 12px rgba(38,32,26,.06); }
.path-list strong { color: var(--green-deep); font-size: 1.15rem; }
.path-list p { margin: .3em 0 0; }

.founder-photo { float: none; }
.founder-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.founder-wrap img { width: 100%; height: auto; border-radius: 10px; border: 3px solid var(--gold); box-shadow: 0 10px 30px rgba(38,32,26,.16); }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .two-col, .founder-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .hero-inner { padding: 70px 22px 60px; }
  #a11y-toolbar { bottom: 92px; }
}


/* Tree of Life quote + donation match (site-wide footer) */
.tree-of-life{text-align:center;padding:20px 22px 8px;max-width:780px;margin:0 auto}
.tree-quote{font-style:italic;font-size:1.06rem;line-height:1.55;margin:0 0 6px}
.tree-match{font-size:.92rem;opacity:.85;margin:0;line-height:1.5}
