/* ═══════════════════════════════════════════════════
   PEDAL & PURPOSE — SHARED DESIGN SYSTEM
   Clean Civic Light Theme
   Warm whites with coral, gold, teal, and sky accents.
   Righteous for impact. Lora for soul. Jakarta for clarity.
   NOTE: --deep maps to page background (white in light theme),
         --white maps to primary text color (dark in light theme).
   ═══════════════════════════════════════════════════ */

:root {
  --sunrise:   #D45A20;
  --coral:     #C83040;
  --gold:      #B07B00;
  --amber:     #C07000;
  --teal:      #007A65;
  --sky:       #0270A0;
  --violet:    #6A1FA0;
  --lavender:  #7530B8;
  --deep:      #FFFFFF;
  --navy:      #F6F3EF;
  --ink:       #EDE9E4;
  --white:     #1A1630;
  --cream:     #FFF8F0;
  --warm-gray: #524868;
  --muted:     #7A7090;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--deep);
  color: var(--white);
  overflow-x: hidden;
}

/* ═══ PARTICLES CANVAS ═══ */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: all 0.4s;
}
nav.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-brand { text-decoration: none; }
.nav-brand-name {
  font-family: 'Righteous', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--gold), var(--sunrise), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.nav-brand-sub {
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.3rem; cursor: pointer; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.65rem; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-6px);
  list-style: none;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
  background: rgba(0,0,0,0.05);
  color: var(--gold);
}

.nav-cta {
  padding: 0.65rem 1.8rem;
  background: linear-gradient(135deg, var(--sunrise), var(--coral));
  color: #FFFFFF !important;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 4px 20px rgba(212,90,32,0.3);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 30px rgba(212,90,32,0.45) !important; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-gray);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══ PAGE HERO (subpage) ═══ */
.page-hero {
  min-height: 45vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 9rem 4rem 5rem;
  overflow: hidden;
}
.page-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(212,90,32,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 70%, rgba(106,31,160,0.10) 0%, transparent 55%),
    linear-gradient(160deg, #F5F2EE 0%, #EDE9E4 50%, #F5F2EE 100%);
}
.page-hero-content { position: relative; z-index: 5; max-width: 700px; }
.page-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.page-title {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.page-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--warm-gray);
  line-height: 1.6;
  max-width: 520px;
}

/* ═══ BUTTONS ═══ */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--sunrise) 50%, var(--coral) 100%);
  color: var(--deep);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 6px 30px rgba(212,90,32,0.4), 0 0 60px rgba(176,123,0,0.15);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,90,32,0.5), 0 0 80px rgba(176,123,0,0.2); }
.btn-glow:hover::before { opacity: 1; }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.5rem;
  background: rgba(0,0,0,0.04);
  border: 1.5px solid rgba(0,0,0,0.18);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.btn-ghost-white:hover {
  background: rgba(0,0,0,0.07);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 20px rgba(0,120,100,0.15);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color: var(--deep);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 6px 30px rgba(0,122,101,0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,122,101,0.4); }

/* ═══ TYPOGRAPHY UTILITIES ═══ */
.eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  flex-shrink: 0;
}
.section-h {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 2rem;
}
.section-h .gradient-word {
  background: linear-gradient(135deg, var(--gold), var(--sunrise));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.body-p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 1.4rem;
  font-weight: 300;
}
.body-p strong { color: var(--white); font-weight: 700; }

/* ═══ MISSION RIVER ═══ */
.mission-river {
  position: relative;
  padding: 6rem 4rem;
  overflow: hidden;
}
.mission-river-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212,90,32,0.08) 0%,
    rgba(176,123,0,0.06) 30%,
    rgba(0,122,101,0.08) 60%,
    rgba(2,112,160,0.06) 100%);
}
.mission-river-border-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal), var(--lavender));
}
.mission-river-border-bot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lavender), var(--teal), var(--gold), var(--coral));
}
.mission-river-inner {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.mr-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.mr-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  color: var(--white);
  line-height: 1.5;
  font-weight: 600;
}
.mr-text em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--sunrise));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ INSPIRATION QUOTE SECTION ═══ */
.inspiration {
  position: relative;
  padding: 8rem 4rem;
  overflow: hidden;
  text-align: center;
}
.insp-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #F0EAF6 0%,
    #E8EEF8 30%,
    #E6F4F0 60%,
    #F0EAF6 100%);
}
.insp-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--white);
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--del, 0s);
}
@keyframes twinkle { 0%,100%{opacity:var(--min,0.1)} 50%{opacity:var(--max,0.8)} }

.insp-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.insp-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.5));
  animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.insp-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 2rem;
  font-weight: 600;
}
.insp-quote em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.insp-attr {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sunrise);
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-top {
  padding: 5rem 4rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}
.foot-brand {
  font-family: 'Righteous', sans-serif;
  font-size: 1.9rem;
  background: linear-gradient(90deg, var(--gold), var(--sunrise), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.foot-domain {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 1.2rem;
}
.foot-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.foot-contact { font-size: 0.82rem; color: var(--muted); line-height: 1.8; }
.foot-contact a { color: var(--sunrise); text-decoration: none; transition: color 0.2s; }
.foot-contact a:hover { color: var(--gold); }
.foot-socials { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.fsoc {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.25s;
}
.fsoc:hover {
  background: linear-gradient(135deg, rgba(212,90,32,0.12), rgba(176,123,0,0.08));
  border-color: var(--sunrise);
  color: var(--gold);
}
.foot-col-title {
  font-family: 'Righteous', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 0.8rem; }
.foot-links a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.foot-links a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.5rem 4rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.foot-copy { font-size: 0.72rem; color: var(--muted); font-weight: 300; }
.foot-copy span { color: var(--warm-gray); }
.ein-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  background: rgba(0,0,0,0.03);
}

/* ═══ SCROLL REVEALS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ═══ KEYFRAMES (shared) ═══ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(5%,8%)} }
@keyframes floatB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-8%,-5%)} }
@keyframes floatC { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5%,5%) scale(1.1)} }
@keyframes meshShift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(15deg) brightness(1.05); }
  100% { filter: hue-rotate(-10deg) brightness(0.98); }
}
@keyframes gradientFlow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes dotPulse { 0%,100%{box-shadow:0 0 6px var(--gold)} 50%{box-shadow:0 0 18px var(--gold), 0 0 30px rgba(255,215,0,0.5)} }
@keyframes glowPulse { 0%,100%{opacity:1;transform:translateY(-50%) scale(1)} 50%{opacity:0.7;transform:translateY(-50%) scale(1.05)} }
@keyframes ringSpinA { to { transform: rotate(360deg); } }
@keyframes ringSpinB { to { transform: rotate(360deg); } }
@keyframes orbPulse { 0%,100%{box-shadow:0 0 40px rgba(255,107,53,0.4), 0 0 80px rgba(123,47,190,0.3)} 50%{box-shadow:0 0 60px rgba(255,107,53,0.6), 0 0 120px rgba(123,47,190,0.5)} }
@keyframes ctaBgShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .page-hero { padding: 8rem 2rem 4rem; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
}

/* ═══ MOBILE NAV OPEN STATE ═══ */
nav.mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 199;
}
nav.mobile-open .nav-links a { font-size: 1rem; }
nav.mobile-open .dropdown-menu {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: rgba(0,0,0,0.04);
  margin-top: 0.5rem;
  box-shadow: none;
}
