/* Oneness Education Foundation — redesign 2026 */
:root {
  --navy: #0f2239;
  --navy-2: #16304f;
  --teal: #2e6e64;
  --teal-light: #e7f2ef;
  --orange: #d9642a;
  --orange-light: #fdeee4;
  --ink: #1c2a3a;
  --muted: #5b6b7d;
  --bg: #fafbfc;
  --card: #ffffff;
  --line: #e6eaef;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(15, 34, 57, 0.06);
  --shadow-lift: 0 14px 34px rgba(15, 34, 57, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; }
.brand-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--orange); transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(217, 100, 42, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 100, 42, 0.45); }
.btn-ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-light { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- Hero (home) ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1d4257 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange);
  background: rgba(217, 100, 42, 0.12); border: 1px solid rgba(217, 100, 42, 0.4);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero .eyebrow { color: #f0a97e; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.12; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #f0a97e; }
.hero p.lede { font-size: 1.13rem; color: #c6d2e0; max-width: 32rem; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero-chip {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 12px 18px; font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 10px;
}
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #2e9e6b; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.page-hero p { color: #c6d2e0; max-width: 40rem; font-size: 1.08rem; }

/* ---------- Stat band ---------- */
.stats { background: var(--teal); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; text-align: center; }
.stat b { display: block; font-family: "Sora", sans-serif; font-size: 1.45rem; margin-bottom: 4px; }
.stat span { font-size: 0.85rem; color: #cfe5df; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 40rem; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card h3 { color: var(--navy); font-size: 1.18rem; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .link { font-weight: 600; font-size: 0.9rem; color: var(--orange); text-decoration: none; }
.card .link:hover { text-decoration: underline; }

.badge {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.badge-active { background: var(--teal-light); color: var(--teal); }
.badge-dev { background: var(--orange-light); color: var(--orange); }
.badge-vision { background: #eef1f6; color: var(--muted); }

/* pillar tiles */
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.pillar .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal); font-size: 1.3rem; margin-bottom: 16px;
}
.pillar h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 0.92rem; }

/* gradient card (no photo) */
.card-gradient { background: linear-gradient(140deg, var(--navy), var(--teal)); aspect-ratio: 16/10; display: grid; place-items: center; }
.card-gradient span { font-size: 2.4rem; }

/* ---------- Quote / journey ---------- */
.quote-block {
  background: var(--navy); color: #fff; border-radius: 24px;
  padding: 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
}
.quote-block img { border-radius: 18px; aspect-ratio: 1/1; object-fit: cover; }
.quote-block blockquote { font-family: "Sora", sans-serif; font-size: 1.35rem; line-height: 1.5; margin-bottom: 18px; }
.quote-block cite { color: #f0a97e; font-style: normal; font-weight: 600; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--teal), #1d5148); color: #fff; text-align: center; }
.cta .section-inner { padding: 88px 24px; max-width: 46rem; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.cta p { color: #d3e7e1; margin-bottom: 32px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #9fb0c3; padding: 64px 0 40px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 44px; }
footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
footer a { color: #9fb0c3; text-decoration: none; display: block; margin-bottom: 9px; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 72px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quote-block { grid-template-columns: 1fr; padding: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
}
