@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Rubik:wght@300;400;500;600&display=swap');

/* =============================================
   WAYPOINTS EDUCATION — STYLESHEET
   Palette:
   Terracotta  #D96C45   Sage    #708D81
   Dark Red    #7A0701   Sky     #AABFCD
   Red         #B50603   Navy    #00203D
   Cream       #F8E4B5   Black   #000B14
   Ivory       #EBE8D5   White   #F1F1F1
   ============================================= */

:root {
  --terracotta: #D96C45;
  --dark-red:   #7A0701;
  --red:        #B50603;
  --cream:      #F8E4B5;
  --ivory:      #EBE8D5;
  --sage:       #708D81;
  --sky:        #AABFCD;
  --navy:       #00203D;
  --black:      #000B14;
  --white:      #F1F1F1;

  --radius-s:   12px;
  --radius-m:   20px;
  --radius-l:   32px;
  --radius-xl:  48px;
  --radius-full:999px;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Rubik', sans-serif;

  --shadow-s: 0 2px 8px rgba(0,11,20,0.10);
  --shadow-m: 0 6px 24px rgba(0,11,20,0.12);
  --shadow-l: 0 16px 48px rgba(0,11,20,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ──────────────────────────── TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem,  4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1.05rem; line-height: 1.7; font-weight: 300; }

.text-large { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.6; }

/* ──────────────────────────── LAYOUT */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

/* ──────────────────────────── BADGE / TAG */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--terracotta { background: var(--terracotta); color: #fff; }
.badge--cream      { background: var(--cream); color: var(--navy); }
.badge--sage       { background: var(--sage); color: #fff; }
.badge--sky        { background: var(--sky); color: var(--navy); }
.badge--navy       { background: var(--navy); color: #fff; }
.badge--red        { background: var(--red); color: #fff; }
.badge--ivory      { background: var(--ivory); color: var(--navy); }
.badge--outline    {
  background: transparent;
  border: 1.5px solid currentColor;
}

/* ──────────────────────────── BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn--primary   { background: var(--terracotta); color: #fff; }
.btn--red       { background: var(--red);        color: #fff; }
.btn--navy      { background: var(--navy);       color: #fff; }
.btn--cream     { background: var(--cream);      color: var(--navy); }
.btn--outline-w { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--outline-w:hover { background: rgba(255,255,255,0.12); }

/* ──────────────────────────── NAVIGATION */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(241,241,241,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(0,11,20,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.nav-logo span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-left: 3px;
  vertical-align: middle;
  margin-bottom: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  transition: background 0.18s, color 0.18s;
}
.nav-link:hover { background: var(--ivory); }
.nav-link.active { background: var(--navy); color: #fff; }
.nav-link.nav-cta {
  background: var(--terracotta);
  color: #fff;
  margin-left: 8px;
}
.nav-link.nav-cta:hover { background: #c25a33; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 5% 24px;
  gap: 4px;
  border-top: 1.5px solid rgba(0,11,20,0.08);
  background: rgba(241,241,241,0.97);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 12px 18px; border-radius: var(--radius-m); }

/* ──────────────────────────── HERO — HOME */
.hero-home {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.22;
  top: -180px; right: -100px;
  pointer-events: none;
}
.hero-home::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.10;
  bottom: -80px; left: 38%;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.18;
  bottom: 20%; right: 15%;
  pointer-events: none;
}
.hero-home .container { position: relative; z-index: 2; }
.hero-home .badge { margin-bottom: 28px; }
.hero-home h1 {
  color: #fff;
  max-width: 720px;
  margin-bottom: 24px;
}
.hero-home h1 em {
  font-style: normal;
  color: var(--cream);
}
.hero-home p {
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 40px;
  font-size: 1.15rem;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ──────────────────────────── HERO — INNER PAGES */
.hero-inner {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner .badge { margin-bottom: 20px; }
.hero-inner h1 { margin-bottom: 20px; }
.hero-inner p  { max-width: 600px; }
.hero-inner .deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ──────────────────────────── ACTIVITY CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.card {
  border-radius: var(--radius-l);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card-emoji { font-size: 2.8rem; margin-bottom: 20px; display: block; }
.card h3   { margin-bottom: 12px; }
.card p    { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }
.card .card-num {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.12;
  line-height: 1;
}

.card--terracotta { background: var(--terracotta); color: #fff; }
.card--sage       { background: var(--sage);       color: #fff; }
.card--cream      { background: var(--cream);      color: var(--navy); }
.card--sky        { background: var(--sky);        color: var(--navy); }
.card--red        { background: var(--red);        color: #fff; }
.card--navy       { background: var(--navy);       color: #fff; }

/* ──────────────────────────── FEATURE / HIGHLIGHT SECTIONS */
.section-header { margin-bottom: 0; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 560px; }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-section.reverse > *:first-child { order: 2; }
.split-section.reverse > *:last-child  { order: 1; }

.callout-block {
  background: var(--ivory);
  border-radius: var(--radius-l);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.callout-block::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.12;
  bottom: -60px; right: -60px;
}

/* ──────────────────────────── BOLD STATEMENT BAND */
.band {
  padding: 80px 0;
  text-align: center;
}
.band h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.1;
}
.band p {
  max-width: 560px;
  margin: 0 auto 36px;
}
.band--terracotta { background: var(--terracotta); color: #fff; }
.band--navy       { background: var(--navy);       color: #fff; }
.band--cream      { background: var(--cream);      color: var(--navy); }
.band--ivory      { background: var(--ivory);      color: var(--navy); }
.band--sage       { background: var(--sage);       color: #fff; }

/* ──────────────────────────── PROGRAMME CARDS */
.programme-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 2px solid var(--ivory);
  transition: transform 0.25s, box-shadow 0.25s;
  background: #fff;
}
.programme-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.programme-card__header {
  padding: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.programme-card__header h3 { margin-top: 12px; }
.programme-card__body {
  padding: 0 36px 36px;
}
.programme-card__body p   { margin-bottom: 20px; }
.programme-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot--active   { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
.status-dot--building { background: var(--terracotta); box-shadow: 0 0 0 3px rgba(217,108,69,0.25); }
.status-dot--soon     { background: var(--sky); box-shadow: 0 0 0 3px rgba(170,191,205,0.3); }

.programme-card--featured {
  border-color: var(--terracotta);
  border-width: 3px;
}
.programme-card--featured .programme-card__header {
  background: var(--navy);
  color: #fff;
}

/* ──────────────────────────── GET INVOLVED TILES */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}
.involve-tile {
  border-radius: var(--radius-l);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.involve-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.involve-tile .involve-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.involve-tile h3 { margin-bottom: 12px; }
.involve-tile p  { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; margin-bottom: 24px; }
.involve-tile--volunteer { background: var(--sage);  color: #fff; }
.involve-tile--partner   { background: var(--navy);  color: #fff; }
.involve-tile--donate    { background: var(--ivory); color: var(--navy); }
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,11,20,0.55);
  border-radius: var(--radius-l);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.coming-soon-overlay span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: var(--terracotta);
  padding: 10px 24px;
  border-radius: var(--radius-full);
}

/* ──────────────────────────── CONTACT FORM */
.contact-form {
  background: var(--ivory);
  border-radius: var(--radius-l);
  padding: 48px;
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 32px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius-m);
  background: #fff;
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(217,108,69,0.12);
}
textarea { resize: vertical; min-height: 140px; }
.form-submit { margin-top: 24px; }

/* ──────────────────────────── VALUES / LIST ITEMS */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-item {
  background: var(--ivory);
  border-radius: var(--radius-l);
  padding: 32px;
  border-left: 6px solid transparent;
}
.value-item--terracotta { border-left-color: var(--terracotta); }
.value-item--sage       { border-left-color: var(--sage); }
.value-item--red        { border-left-color: var(--red); }
.value-item--sky        { border-left-color: var(--sky); }
.value-item h4          { margin-bottom: 8px; }

/* ──────────────────────────── HOW WE WORK STEPS */
.steps-list { margin-top: 48px; display: flex; flex-direction: column; gap: 4px; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-m);
  background: var(--ivory);
  transition: transform 0.2s;
}
.step:hover { transform: translateX(6px); }
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  min-width: 48px;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p  { font-size: 0.95rem; }

/* ──────────────────────────── FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; display: block; font-size: 1.6rem; }
.footer-brand p { font-size: 0.92rem; line-height: 1.65; max-width: 300px; }
footer h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
footer ul { display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: 0.92rem;
  transition: color 0.18s;
  display: block;
}
footer ul a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--cream); }

/* ──────────────────────────── ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.22s; }
.fade-up.delay-3 { animation-delay: 0.34s; }
.fade-up.delay-4 { animation-delay: 0.46s; }
.fade-up.delay-5 { animation-delay: 0.58s; }

/* ──────────────────────────── RESPONSIVE */
@media (max-width: 900px) {
  .cards-grid          { grid-template-columns: repeat(2,1fr); }
  .involve-grid        { grid-template-columns: repeat(2,1fr); }
  .values-list         { grid-template-columns: 1fr; }
  .split-section       { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse > * { order: unset; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .footer-brand        { grid-column: 1 / -1; }
  .form-grid           { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cards-grid          { grid-template-columns: 1fr; }
  .involve-grid        { grid-template-columns: 1fr; }
  .nav-links           { display: none; }
  .nav-toggle          { display: flex; }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; }
  .contact-form        { padding: 28px; }
  .callout-block       { padding: 32px; }
  .hero-btns           { flex-direction: column; align-items: flex-start; }
}
