/* ─────────────────────────────────────────
   ON THE VERGE — style.css (Light Theme)
   ───────────────────────────────────────── */

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f1ea;
  color: #1a1a1a;
  overflow-x: hidden;
}

:root {
  --coral:       #e05a3a;
  --coral-dim:   #c44e30;
  --coral-light: #fdf0ec;
  --paper:       #f5f1ea;
  --paper2:      #ede9e1;
  --white:       #ffffff;
  --dark:        #1a1a1a;
  --gray:        #7a7a7a;
  --border:      #ddd8cf;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--coral); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 2px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(245,241,234,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.nav-logo .above { font-family: var(--sans); font-size: 7.5px; font-weight: 500; letter-spacing: 0.28em; color: var(--gray); text-transform: uppercase; }
.nav-logo .wordmark { font-family: var(--serif); font-size: 1.45rem; font-weight: 300; font-style: italic; color: var(--coral); }

.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a { font-family: var(--sans); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; color: var(--gray); text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--coral); }
.nav-cta { color: var(--coral) !important; border: 1.5px solid var(--coral) !important; padding: 0.38rem 1.1rem; border-radius: 2px; transition: background 0.2s, color 0.2s !important; }
.nav-cta:hover { background: var(--coral) !important; color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--dark); transition: all 0.3s; }

/* HERO */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 9rem 5vw 6rem; background: var(--white); position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-circle { position: absolute; border-radius: 50%; border: 1.5px solid rgba(224,90,58,0.1); }
.hero-circle-1 { width: 680px; height: 680px; top: -190px; right: -190px; }
.hero-circle-2 { width: 460px; height: 460px; top: -50px; right: -30px; }
.hero-circle-3 { width: 200px; height: 200px; bottom: 80px; left: 8vw; border-color: rgba(224,90,58,0.06); }

.hero-arc-wrap {
  position: absolute; width: 360px; height: 360px;
  top: 50%; right: 7vw; transform: translateY(-50%); pointer-events: none;
}
.hero-arc-wrap svg { width: 100%; height: 100%; overflow: visible; }

.hero-content { position: relative; z-index: 1; max-width: 600px; }

.hero-eyebrow { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.6rem; opacity: 0; animation: fadeUp 0.7s ease forwards 0.15s; }
.hero-title { font-family: var(--serif); font-size: clamp(3.5rem, 7.5vw, 6.5rem); font-weight: 300; line-height: 1.02; color: var(--dark); margin-bottom: 1.8rem; opacity: 0; animation: fadeUp 0.8s ease forwards 0.3s; }
.hero-title em { font-style: italic; color: var(--coral); }
.hero-sub { font-family: var(--serif); font-size: 1.1rem; font-weight: 300; font-style: italic; color: var(--gray); line-height: 1.8; max-width: 440px; margin-bottom: 2.8rem; opacity: 0; animation: fadeUp 0.9s ease forwards 0.5s; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s ease forwards 0.65s; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 2rem; border-radius: 2px; border: none; cursor: pointer; transition: all 0.22s ease; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dim); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,90,58,0.25); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }

/* SHARED */
section { padding: 6.5rem 5vw; }
.section-label { font-family: var(--sans); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.85rem; }
.coral-rule { width: 44px; height: 2px; background: var(--coral); margin-bottom: 1.8rem; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 300; line-height: 1.15; color: var(--dark); margin-bottom: 1.4rem; }
.section-title em { font-style: italic; color: var(--coral); }
.section-body { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; line-height: 1.85; color: var(--gray); max-width: 600px; }

/* ABOUT */
#about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.about-arc-box { width: 300px; height: 300px; position: relative; }
.about-arc-box svg { width: 100%; height: 100%; overflow: visible; }
.about-stat { position: absolute; bottom: -1.2rem; right: -2.5rem; background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--coral); padding: 1rem 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.about-stat .num { font-family: var(--serif); font-size: 2.4rem; font-style: italic; color: var(--coral); line-height: 1; }
.about-stat .lbl { font-family: var(--sans); font-size: 0.68rem; color: var(--gray); letter-spacing: 0.05em; margin-top: 3px; }

/* MISSION */
#mission { background: var(--white); }
.mission-header { max-width: 1100px; margin: 0 auto 3rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.mv-card { background: var(--paper); border: 1px solid var(--border); border-left: 3px solid var(--coral); padding: 2.8rem; position: relative; overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; }
.mv-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.mv-card-bg-num { position: absolute; top: 0.8rem; right: 1.4rem; font-family: var(--serif); font-size: 6rem; font-style: italic; color: rgba(224,90,58,0.07); line-height: 1; pointer-events: none; }
.mv-card-label { font-family: var(--sans); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.9rem; }
.mv-card-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--dark); margin-bottom: 1rem; line-height: 1.25; }
.mv-card-body { font-family: var(--serif); font-size: 1rem; font-weight: 300; font-style: italic; color: var(--gray); line-height: 1.85; }

/* WHAT WE DO */
#what-we-do { background: var(--paper); }
.wwd-header { max-width: 1100px; margin: 0 auto 3.5rem; }
.wwd-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); background: var(--coral-light); border: 1px solid rgba(224,90,58,0.2); padding: 0.35rem 0.9rem; border-radius: 2px; margin-bottom: 1.5rem; }
.wwd-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulse 1.8s ease-in-out infinite; }
.wwd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.wwd-card { background: var(--white); border: 1px solid var(--border); padding: 2.2rem; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; }
.wwd-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.3s; }
.wwd-card:hover::before { background: var(--coral); }
.wwd-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.07); }
.wwd-card-num { font-family: var(--serif); font-size: 2.6rem; font-style: italic; color: rgba(224,90,58,0.18); line-height: 1; margin-bottom: 1rem; }
.wwd-card-title { font-family: var(--sans); font-size: 0.88rem; font-weight: 500; color: var(--dark); margin-bottom: 0.8rem; letter-spacing: 0.02em; }
.wwd-card-body { font-family: var(--serif); font-size: 0.97rem; font-weight: 300; font-style: italic; color: var(--gray); line-height: 1.8; }
.wwd-note { max-width: 1100px; margin: 2rem auto 0; padding: 1.2rem 1.6rem; background: var(--coral-light); border-left: 3px solid var(--coral); font-family: var(--serif); font-size: 0.95rem; font-style: italic; color: var(--gray); line-height: 1.75; }
.wwd-note strong { font-style: normal; color: var(--dark); }

/* WHY */
#why { background: var(--white); }
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-body { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; line-height: 1.85; color: var(--gray); max-width: 660px; margin-bottom: 0.5rem; }
.why-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 300; font-style: italic; color: var(--dark); line-height: 1.55; border-left: 3px solid var(--coral); padding-left: 2rem; margin: 2.5rem 0 3rem; max-width: 780px; }
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-stat { background: var(--paper); border: 1px solid var(--border); padding: 2.5rem 2rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.why-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.why-stat .big { font-family: var(--serif); font-size: 3.2rem; font-style: italic; color: var(--coral); line-height: 1; margin-bottom: 0.6rem; }
.why-stat .desc { font-family: var(--sans); font-size: 0.76rem; color: var(--gray); line-height: 1.65; max-width: 200px; margin: 0 auto; }

/* VOLUNTEER */
#volunteer { background: var(--coral); position: relative; overflow: hidden; text-align: center; padding: 7rem 5vw; }
.vol-circle { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.12); pointer-events: none; }
.vol-circle-1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.vol-circle-2 { width: 350px; height: 350px; top: -60px; right: -40px; }
.vol-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.vol-label { font-family: var(--sans); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; }
.vol-title { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; font-style: italic; color: #fff; line-height: 1.1; margin-bottom: 1.4rem; }
.vol-body { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.78); line-height: 1.8; margin-bottom: 2.5rem; }
.btn-white { background: #fff; color: var(--coral); font-weight: 600; }
.btn-white:hover { background: rgba(255,255,255,0.92); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

/* CONTACT */
#contact { background: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.contact-details { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.8rem 0 2.2rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; font-family: var(--sans); font-size: 0.9rem; color: var(--gray); }
.contact-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.contact-item a { color: var(--gray); transition: color 0.2s; }
.contact-item a:hover { color: var(--coral); }
.contact-cards { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--coral); padding: 1.6rem 1.8rem; transition: transform 0.25s, box-shadow 0.25s; }
.contact-card:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-card-title { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.5rem; }
.contact-card-body { font-family: var(--serif); font-size: 0.95rem; font-style: italic; color: var(--gray); line-height: 1.75; }

/* FOOTER */
footer { background: var(--dark); padding: 2.5rem 5vw; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo .above { font-family: var(--sans); font-size: 7px; letter-spacing: 0.28em; text-transform: uppercase; color: #666; font-weight: 500; }
.footer-logo .wordmark { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--coral); }
.footer-tagline { font-family: var(--serif); font-size: 0.85rem; font-style: italic; color: #666; }
.footer-notice { font-family: var(--sans); font-size: 0.7rem; color: #444; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .about-grid    { grid-template-columns: 1fr; }
  .about-visual  { display: none; }
  .mv-grid       { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .wwd-cards     { grid-template-columns: 1fr 1fr; }
  .why-stats     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 4.5rem 5vw; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 61px; left: 0; right: 0; background: rgba(245,241,234,0.98); padding: 2rem; gap: 1.6rem; border-bottom: 1px solid var(--border); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-arc-wrap { display: none; }
  .wwd-cards { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
}
