/* ============================================================
   shARK Education Foundation — "Creek & Canopy"
   One stylesheet; edit the tokens at the top to restyle the whole site.
   ============================================================ */

:root{
  /* ground — pale, green-cool white. Deliberately not cream. */
  --ground:      #FBFCF7;
  --wash:        #EDF2E6;   /* fern wash, alternating bands */
  --wash-deep:   #DDE7D5;

  /* greens — alive, not near-black */
  --canopy:      #2F5D4A;
  --canopy-deep: #22463A;
  --canopy-dim:  #4A7A63;

  /* the creek — second natural note, ties to Salmon Creek */
  --creek:       #1F6F7A;
  --creek-pale:  #CFE3E4;

  /* the one bold accent — California poppy */
  --poppy:       #E4622E;
  --poppy-deep:  #C44E1F;
  --honey:       #F2B441;

  /* neutrals, biased green so they read chosen */
  --ink:         #1A241E;
  --ink-soft:    #38473C;
  --muted:       #5E6B5E;
  --hair:        #D3DCCC;
  --on-dark:     #DCE8D6;
  --on-dark-dim: #9CB4A2;

  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans:  Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --pad: 24px;

  --f-hero: clamp(2.9rem, 7.4vw, 5.2rem);
  --f-h2:   clamp(1.9rem, 3.8vw, 2.9rem);
  --f-h3:   clamp(1.15rem, 1.9vw, 1.4rem);
  --f-lede: clamp(1.05rem, 1.5vw, 1.2rem);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3{
  font-family:var(--serif);
  font-weight:500;
  margin:0;
  line-height:1.06;
  letter-spacing:-0.02em;
  text-wrap:balance;
  font-variation-settings:"SOFT" 40,"WONK" 1;
}
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:var(--creek); text-decoration:none; }

:focus-visible{ outline:3px solid var(--poppy); outline-offset:3px; border-radius:2px; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 var(--pad); }

.skip{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--poppy); color:#fff; padding:12px 20px; font-weight:700;
}
.skip:focus{ left:0; }

/* ---------- placeholder marker ---------- */
/* a fact that is coming, as opposed to one that is missing */
.pending{ font-style:italic; opacity:.8; }

.todo{
  background:#FFF0C4;
  box-shadow:0 0 0 2px #FFF0C4;
  color:#6B4A00;
  border-radius:2px;
  font-weight:600;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--sans); font-weight:700; font-size:16px; letter-spacing:.01em;
  padding:17px 30px; min-height:52px; border:0; cursor:pointer;
  border-radius:999px;
  transition:transform .16s ease, background-color .16s ease;
}
.btn--poppy{ background:var(--poppy); color:#fff; }
.btn--poppy:hover{ background:var(--poppy-deep); transform:translateY(-2px); }
.btn--ghost{
  background:transparent; color:var(--canopy);
  box-shadow:inset 0 0 0 2px var(--canopy-dim);
}
.btn--ghost:hover{ background:var(--wash); transform:translateY(-2px); }
.btn--sm{ padding:12px 22px; min-height:46px; font-size:15px; }
@media (prefers-reduced-motion:reduce){ .btn:hover{ transform:none; } }

.arrow{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.ico{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }

.ul-link{
  color:var(--canopy); font-weight:600;
  border-bottom:2px solid var(--honey); padding-bottom:2px;
}
.ul-link:hover{ border-bottom-color:var(--poppy); color:var(--poppy-deep); }

.eyebrow{
  font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--creek);
}

/* ---------- creek divider — hand-drawn section rule ---------- */
.creek-rule{ display:block; width:100%; height:22px; color:var(--hair); }
.creek-rule path{ fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }

/* ---------- leaf-shaped photo slot ---------- */
.photo{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  padding:22px;
  text-align:center;
  background:
    radial-gradient(120% 90% at 20% 10%, var(--creek-pale) 0%, transparent 60%),
    linear-gradient(150deg, var(--wash) 0%, var(--wash-deep) 100%);
  border:1.5px dashed var(--canopy-dim);
  border-radius:140px 22px 140px 22px;   /* leaf */
  color:var(--canopy);
  min-height:240px;
  overflow:hidden;
}
.photo--flip{ border-radius:22px 140px 22px 140px; }

/* a slot with a real photo in it — the leaf shape crops the image */
/* A filled slot moves the leaf shape onto the image itself. The empty slot
   relies on overflow:hidden to clip its dashed frame, but that also clipped
   the caption underneath — so the figure lets content through and the img
   carries the rounding instead. */
.photo--filled{
  display:block; padding:0; border:none; margin:0;
  min-height:0; overflow:visible; background:none; border-radius:0;
}
.photo--filled img{
  display:block; width:100%; height:auto;
  border-radius:140px 22px 140px 22px;
}
.photo--filled.photo--flip img{ border-radius:22px 140px 22px 140px; }
.photo__label{
  font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color:var(--canopy); display:block; margin-bottom:6px;
}
.photo__hint{ font-size:14px; color:var(--muted); max-width:30ch; margin:0 auto; line-height:1.45; }

/* ---------- nav ---------- */
.nav{ background:var(--ground); border-bottom:1px solid var(--hair); position:sticky; top:0; z-index:40; }
.nav__inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px 0; }
.brand{ display:inline-flex; align-items:center; gap:11px; color:var(--canopy); font-family:var(--serif); font-size:22px; font-weight:600; letter-spacing:-.01em; }
.mark{ width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.nav__links{ display:flex; align-items:center; gap:26px; }
.nav__links a{ color:var(--ink-soft); font-weight:600; font-size:15.5px; }
.nav__links a:hover{ color:var(--poppy-deep); }
@media (max-width:860px){ .nav__links a:not(.btn){ display:none; } }

/* ---------- hero ---------- */
.hero{ position:relative; padding:74px 0 64px; overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:-140px -20% auto -20%; height:520px; z-index:0;
  background:radial-gradient(60% 70% at 30% 40%, rgba(242,180,65,.20) 0%, transparent 70%),
             radial-gradient(50% 60% at 78% 25%, rgba(31,111,122,.14) 0%, transparent 72%);
  pointer-events:none;
}
.hero__inner{ position:relative; z-index:1; display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:start; }
.hero h1{ font-size:var(--f-hero); margin:16px 0 0; font-variation-settings:"SOFT" 60,"WONK" 1; }
.hero h1 em{ font-style:italic; color:var(--poppy); }
.lede{ font-size:var(--f-lede); color:var(--ink-soft); max-width:56ch; }
.hero__copy{ display:flex; flex-direction:column; gap:20px; margin-top:26px; }
.hero__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; margin-top:10px; }

.hero__aside{ display:flex; flex-direction:column; gap:20px; }

/* next-up card */
.nextup{
  background:var(--canopy);
  color:var(--on-dark);
  border-radius:26px;
  padding:28px 28px 30px;
  box-shadow:0 18px 40px -26px rgba(34,70,58,.7);
}
.nextup__kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--canopy-deep); background:var(--honey);
  padding:6px 13px; border-radius:999px;
}
.nextup h2{ color:#fff; font-size:2.15rem; margin:15px 0 6px; }
.nextup__date{ color:var(--honey); font-weight:700; font-size:16px; }
.nextup__meta{ color:var(--on-dark-dim); font-size:15px; margin-top:3px; }
.nextup__body{ color:var(--on-dark); font-size:15.5px; margin:16px 0 18px; }
.nextup hr{ border:0; border-top:1px solid rgba(220,232,214,.24); margin:18px 0 0; }
.nextup a{ color:var(--honey); font-weight:700; border-bottom:2px solid rgba(242,180,65,.45); padding-bottom:2px; }
.nextup a:hover{ border-bottom-color:var(--honey); }

/* ---------- back to school band ---------- */
.band{ background:var(--poppy); color:#fff; padding:30px 0; }
.band__inner{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:22px 40px; }
.band__main{ display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.band__kicker{
  background:#fff; color:var(--poppy-deep);
  font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  padding:6px 13px; border-radius:999px;
}
.band__title{ font-family:var(--serif); font-size:clamp(1.75rem,3.4vw,2.4rem); line-height:1.04; color:#fff; }
.band__meta{ font-size:1.02rem; font-weight:700; color:#FFE6D6; }
.band__note{ max-width:36ch; color:rgba(255,255,255,.9); font-size:15px; line-height:1.5; }
.band .todo{ background:#FFF0C4; box-shadow:0 0 0 2px #FFF0C4; }

/* ---------- generic section ---------- */
.section{ padding:78px 0; }
.section--wash{ background:var(--wash); }
.section__head{ max-width:62ch; display:flex; flex-direction:column; gap:14px; }
.section__head h2{ font-size:var(--f-h2); }
.section__head p{ color:var(--ink-soft); font-size:var(--f-lede); }

/* ---------- the season ribbon ---------- */
.ribbon{ margin-top:44px; display:flex; flex-direction:column; gap:0; }
.ev{
  display:grid;
  grid-template-columns:132px 1fr 210px 150px;
  gap:26px; align-items:center;
  padding:24px 20px;
  border-top:1px solid var(--hair);
  border-radius:16px;
  transition:background-color .16s ease;
}
.ev:last-child{ border-bottom:1px solid var(--hair); }
.ev:hover{ background:var(--ground); }
.section--wash .ev:hover{ background:rgba(255,255,255,.55); }
.ev--next{ background:var(--ground); box-shadow:inset 3px 0 0 var(--poppy); }
.section--wash .ev--next{ background:rgba(255,255,255,.7); }

.ev__when{ display:flex; flex-direction:column; gap:2px; }
.ev__day{ font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--creek); }
.ev__date{ font-family:var(--serif); font-size:1.75rem; font-weight:600; color:var(--canopy); line-height:1; font-variant-numeric:tabular-nums; }
.ev__what h3{ font-size:var(--f-h3); margin-bottom:5px; }
.ev__what p{ color:var(--muted); font-size:15.5px; max-width:46ch; }
.ev__where{ font-size:14.5px; color:var(--ink-soft); }
.ev__cta{ justify-self:start; }
.ev__actions{ display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.ev__actions a{ display:inline-flex; align-items:center; min-height:44px; }
.ev__links{ display:flex; flex-wrap:wrap; gap:2px 16px; }
.ticket{
  display:inline-flex; flex-direction:column; align-items:center; gap:1px;
  min-height:46px; padding:8px 18px; text-align:center;
  border:1.5px solid var(--honey); border-radius:999px; background:#FFF7E7;
}
.ticket b{ font-size:14.5px; font-weight:700; color:var(--canopy); }
.ticket em{ font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:#9A6B00; }
/* an informational chip, not a pending one — nothing here is being waited for,
   so it takes the green rather than the amber used for "coming soon" */
.ticket--info{ border-color:var(--canopy-dim); background:var(--wash); }
.ticket--info em{ color:var(--canopy-dim); }
.rsvp{ margin-top:2px; }
.tag-next{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  background:var(--poppy); color:#fff; padding:4px 10px; border-radius:999px; margin-bottom:7px;
}

/* ---------- give ---------- */
.give{ display:grid; grid-template-columns:1.02fr .98fr; gap:56px; align-items:start; }
.give__text{ display:flex; flex-direction:column; gap:18px; }
.give__text h2{ font-size:var(--f-h2); }
.give__text .lede{ color:var(--ink-soft); }
.panel{
  background:var(--ground);
  border:1px solid var(--hair);
  border-radius:26px;
  padding:30px;
  display:flex; flex-direction:column; gap:24px;
}
.figures{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.figure{ background:var(--wash); border-radius:16px; padding:16px 14px; text-align:center; }
.figure__n{ font-family:var(--serif); font-size:1.85rem; font-weight:600; color:var(--canopy); line-height:1; font-variant-numeric:tabular-nums; }
.figure__n--big{ color:var(--poppy); }
.figure__l{ font-size:12.5px; color:var(--muted); margin-top:7px; line-height:1.35; }
.ways{ display:flex; flex-direction:column; gap:12px; }
.way{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid var(--hair); }
.way__name{ font-weight:700; font-size:15.5px; }
.way__note{ font-size:13.5px; color:var(--muted); }
.fineprint{ font-size:13px; color:var(--muted); line-height:1.5; }

/* ---------- roles ---------- */
.roles{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:42px; }
.role{
  background:var(--ground); border:1px solid var(--hair);
  border-radius:22px; padding:26px;
  display:flex; flex-direction:column; gap:11px;
}
.role__hours{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--creek); }
.role h3{ font-size:1.22rem; }
.role p{ font-size:15px; color:var(--muted); }
.role__when{ margin-top:auto; padding-top:8px; font-weight:600; color:var(--ink-soft); font-size:14.5px; }

.catchall{
  margin-top:26px; background:var(--canopy); color:var(--on-dark);
  border-radius:24px; padding:30px 32px;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px;
}
.catchall h3{ color:#fff; font-size:1.5rem; margin-bottom:6px; }
.catchall p{ color:var(--on-dark-dim); font-size:15.5px; max-width:52ch; }

/* ---------- meetings ---------- */
.meetings{ display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center; }
.meetings__text{ display:flex; flex-direction:column; gap:15px; }
.meetings__text h2{ font-size:var(--f-h2); }
.meetings__text p{ color:var(--ink-soft); }
.muted{ color:var(--muted); font-size:15px; }
.dates{ display:grid; grid-template-columns:repeat(5,1fr); gap:11px; }
.dates li{
  background:var(--ground); border:1px solid var(--hair); border-radius:14px;
  padding:13px 6px; text-align:center;
}
.dates span{ display:block; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--creek); }
.dates b{ display:block; font-family:var(--serif); font-size:1.5rem; font-weight:600; color:var(--canopy); line-height:1.15; font-variant-numeric:tabular-nums; }

/* ---------- about ---------- */
.about{ display:grid; grid-template-columns:.85fr 1.15fr; gap:52px; align-items:center; }
.about__body{ display:flex; flex-direction:column; gap:16px; }
.about__body h2{ font-size:var(--f-h2); }
.about__body p{ color:var(--ink-soft); }
.about__links{ display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:6px; }

/* ---------- footer ---------- */
.footer{ background:var(--canopy-deep); color:var(--on-dark-dim); padding:56px 0 30px; }
.footer__top{ display:grid; grid-template-columns:1.2fr 1fr; gap:40px; }
.footer .brand{ color:#fff; font-size:19px; }
.footer__addr{ margin:16px 0 10px; font-size:15px; line-height:1.6; }
.footer a{ color:var(--on-dark); }
.footer a:hover{ color:var(--honey); }
.footer__cols{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.footer__col{ display:flex; flex-direction:column; gap:9px; align-items:flex-start; }
.footer__label{ font-size:11.5px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; color:var(--honey); margin-bottom:3px; }
.footer__col a{ font-size:15px; }
.footer hr{ border:0; border-top:1px solid rgba(220,232,214,.16); margin:36px 0 18px; }
.footer__bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 24px; font-size:13.5px; }

/* ---------- where the money goes ---------- */

.funds{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.fund{
  background:var(--ground); border:1px solid var(--hair); border-radius:22px;
  padding:26px 26px 28px; display:flex; flex-direction:column; gap:10px;
  border-top:5px solid var(--hair);
}
.fund--food{ border-top-color:var(--canopy); }
.fund--events{ border-top-color:var(--poppy); }
.fund--learning{ border-top-color:var(--creek); }
.fund--food .fund--events .fund--learning .fund h3{ font-size:1.22rem; }
.fund__list{ display:flex; flex-direction:column; gap:9px; margin-top:2px; }
.fund__list li{ font-size:14.5px; line-height:1.5; color:var(--muted); padding-left:15px; position:relative; }
.fund__list li::before{ content:""; position:absolute; left:0; top:.62em; width:6px; height:6px; border-radius:50%; background:var(--hair); }
.fund__list strong{ color:var(--ink-soft); font-weight:700; }

/* ---------- board page ---------- */
.pagehead{ padding-bottom:52px; }
.pagehead h1{
  font-family:var(--serif); font-weight:500; font-size:clamp(2.6rem,6vw,4.2rem);
  line-height:1.02; letter-spacing:-0.025em; color:var(--canopy);
  margin:14px 0 20px; font-variation-settings:"SOFT" 60,"WONK" 1;
}
.pagehead .lede{ max-width:62ch; }
.pagehead__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 26px; margin-top:28px; }

.board{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; align-items:start; }
.member{
  background:var(--ground); border:1px solid var(--hair); border-radius:22px;
  padding:28px 30px 30px; display:flex; flex-direction:column; gap:8px;
  border-top:5px solid var(--canopy);
}
.member__role{
  font-size:12px; font-weight:800; letter-spacing:.13em; text-transform:uppercase;
  color:var(--creek);
}
.member h2{ font-size:1.5rem; color:var(--canopy); }
.member p:not(.member__role){ font-size:15.5px; line-height:1.6; color:var(--muted); }
.member .todo{ display:inline-block; }

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .hero__inner,.give,.meetings,.about,.footer__top{ grid-template-columns:1fr; gap:38px; }
  .about{ direction:ltr; }
  .roles{ grid-template-columns:1fr; }
  .funds{ grid-template-columns:1fr; }
  .board{ grid-template-columns:1fr; }
  .ev{ grid-template-columns:110px 1fr; row-gap:12px; }
  .ev__where{ grid-column:2; }
  .ev__cta{ grid-column:2; }
  .ev__actions{ grid-column:2; flex-direction:row; align-items:center; gap:18px; }
}
@media (max-width:720px){
  .section{ padding:58px 0; }
  .hero{ padding:52px 0 46px; }
  .dates{ grid-template-columns:repeat(4,1fr); }
  .figures{ grid-template-columns:1fr; }
  .figure{ display:flex; align-items:baseline; gap:12px; text-align:left; }
  .figure__l{ margin-top:0; }
  .footer__cols{ grid-template-columns:1fr; }
  .way{ flex-direction:column; align-items:flex-start; gap:10px; }
}
@media (max-width:430px){
  .ev{ grid-template-columns:1fr; }
  .ev__where,.ev__cta{ grid-column:1; }
  .ev__actions{ grid-column:1; flex-wrap:wrap; gap:12px 18px; }
  .ev__when{ flex-direction:row; align-items:baseline; gap:10px; }
  .dates{ grid-template-columns:repeat(3,1fr); }
}
