/* =========================================================
   MA Service Learning Center, shared styles
   Palette: warm cream base, sage and mint from the SLC bear
   logo as the dominant identity, maroon and gold pulled back
   to small accents (labels, chips, one button).
   Signature motif: the stamped patch circle, echoing the logo.
   Type: Fraunces (display) + Public Sans (body) + IBM Plex
   Mono (small-caps logistics labels).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --sage: #5E9A7B;
  --sage-deep: #3B6E52;
  --sage-pale: #A9CDB8;
  --mint: #E1EFE6;
  --mint-2: #CFE3D8;
  --cream: #F8F5EE;
  --maroon: #6B1F2A;
  --maroon-deep: #4A1520;
  --gold: #C9A24B;
  --gold-light: #E6CC8F;
  --ink: #24302A;
  --ink-soft: #5B6B62;
  --line: rgba(36,48,42,0.12);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(59,110,82,0.14);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 8% 10%, rgba(94,154,123,0.14), transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(201,162,75,0.08), transparent 45%);
}

h1, h2, h3, h4{ font-family: 'Fraunces', Georgia, serif; color: var(--sage-deep); margin: 0 0 0.4em 0; font-weight: 600; letter-spacing: -0.01em; }
a{ color: inherit; }

.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  display: inline-block;
  margin-bottom: 0.9em;
}

.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ---------- Header / Nav ---------- */
header.site{ position: sticky; top: 0; z-index: 50; background: rgba(248,245,238,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner{ max-width: 1080px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img{ width: 50px; height: 50px; object-fit: contain; display: block; }
.brand-text{ font-family: 'Fraunces', serif; font-weight: 600; color: var(--sage-deep); font-size: 1rem; line-height: 1.15; }
.brand-text span{ display: block; font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--maroon); font-weight: 600; text-transform: uppercase; }
nav.links{ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav.links a{
  text-decoration: none; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); padding: 8px 14px; border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; font-weight: 600;
}
nav.links a:hover{ background: var(--mint-2); color: var(--sage-deep); }
nav.links a.active{ background: var(--sage); color: #fff; }

.nav-ig{
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.05em; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, #E1306C, #C9A24B); padding: 8px 14px; border-radius: 999px;
  margin-left: 6px; transition: transform 0.15s ease, box-shadow 0.15s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.nav-ig:hover{ transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.18); }
.nav-ig svg{ width: 14px; height: 14px; display: block; }

/* ---------- Hero ---------- */
.hero{ padding: 60px 0 26px; text-align: center; }
.hero .patch{ width: 168px; height: 168px; margin: 0 auto 20px; }
.hero .patch img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.hero h1{ font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 760px; margin: 0 auto; }
.hero p.lead{ max-width: 560px; margin: 14px auto 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Get Involved, big aesthetic callout ---------- */
.get-involved{
  background: linear-gradient(155deg, var(--sage) 0%, var(--sage-deep) 100%);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(59,110,82,0.28);
}
.get-involved::before{
  content: "";
  position: absolute; inset: -30% -10% auto auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.25);
}
.get-involved::after{
  content: "";
  position: absolute; bottom: -18%; left: -6%;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.18);
}
.get-involved .eyebrow{ color: var(--gold-light); }
.get-involved h2{
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin-bottom: 0.25em;
}
.get-involved p.sub{
  max-width: 520px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  position: relative; z-index: 1;
}
.gi-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  max-width: 640px;
  margin: 0 auto;
  position: relative; z-index: 1;
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}
.gi-card .placeholder{ margin-bottom: 0; }

.givepulse-embed{
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); text-align: left;
}
.givepulse-embed iframe{ display: block; }
.get-involved .btn{ margin-top: 26px; position: relative; z-index: 1; }

/* ---------- Stamped circle / patch motif ---------- */
.stamp{ position: relative; width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------- Sections ---------- */
section{ padding: 56px 0; position: relative; z-index: 1; }
section.alt{ background: var(--mint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head{ max-width: 680px; margin-bottom: 30px; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p{ color: var(--ink-soft); margin: 0; }

.placeholder{
  border: 2px dashed var(--sage); border-radius: var(--radius); background: rgba(94,154,123,0.08);
  padding: 34px 24px; text-align: center; color: var(--sage-deep);
  font-family: 'IBM Plex Mono', monospace; font-size: 0.82rem; letter-spacing: 0.03em;
}
.placeholder strong{ display: block; font-family: 'Fraunces', serif; color: var(--sage-deep); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; }

.grid{ display: grid; gap: 22px; }
.grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }

.card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3{ font-size: 1.15rem; margin-bottom: 8px; color: var(--sage-deep); }
.card p{ color: var(--ink-soft); margin: 0 0 12px; font-size: 0.95rem; }

.chip-row{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip{ font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.03em; background: var(--mint-2); color: var(--sage-deep); padding: 6px 11px; border-radius: 999px; font-weight: 600; }
.chip.tbd{ background: #F1EEE4; color: var(--ink-soft); border: 1px dashed var(--line); }
.chip.gold{ background: var(--gold-light); color: var(--maroon-deep); }

/* exec board */
.exec-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.exec{ text-align: center; }
.exec .ring{
  width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(160deg, var(--sage-pale), var(--sage)); position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.3rem; color: #fff;
}
.exec .ring::after{ content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed var(--gold); }
.exec.director .ring{ background: linear-gradient(160deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); }
.exec.director .ring::after{ border-color: var(--sage); }
.exec .role{ font-family: 'IBM Plex Mono', monospace; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--maroon); font-weight: 600; margin-top: 4px; display: block; }
.exec .name{ font-weight: 600; font-size: 0.95rem; }

/* buttons */
.btn{
  display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase;
  font-weight: 600; padding: 13px 26px; border-radius: 999px; text-decoration: none; background: var(--maroon); color: #fff; border: 1px solid var(--maroon);
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover{ background: var(--maroon-deep); transform: translateY(-1px); }
.btn.outline{ background: transparent; color: var(--sage-deep); border: 1.5px solid var(--sage); }
.btn.outline:hover{ background: var(--sage); color: #fff; }

/* draft banner */
.draft-banner{ background: var(--sage-deep); color: var(--mint); text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 16px; }

/* footer */
footer.site{ background: var(--sage-deep); color: var(--mint); padding: 44px 0 28px; margin-top: 40px; }
footer.site .foot-grid{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
footer.site h4{ color: var(--gold-light); font-size: 1rem; }
footer.site p, footer.site a{ color: rgba(225,239,230,0.82); font-size: 0.9rem; text-decoration: none; }
footer.site .foot-bottom{
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(225,239,230,0.18);
  font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.04em; color: rgba(225,239,230,0.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* photo gallery, masonry via CSS columns */
.gallery{ columns: 3 260px; column-gap: 18px; }
.gallery figure{ margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gallery figure:hover{ transform: translateY(-3px); box-shadow: 0 16px 34px rgba(59,110,82,0.22); }
.gallery .img-wrap{ overflow: hidden; }
.gallery img{ width: 100%; display: block; transition: transform 0.4s ease; }
.gallery figure:hover img{ transform: scale(1.05); }
.gallery figcaption{ font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--sage-deep); padding: 10px 12px; letter-spacing: 0.02em; }

/* trip carousel, single large photo with caption overlay */
.trip-carousel{
  position: relative; border-radius: var(--radius); overflow: hidden; background: #10201a;
  box-shadow: 0 20px 46px rgba(20,45,35,0.28); border: 1px solid var(--line);
}
.tc-track{ display: flex; transition: transform 0.5s cubic-bezier(.65,.05,.36,1); }
.tc-slide{ min-width: 100%; position: relative; }
.tc-slide img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tc-caption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 22px 18px;
  background: linear-gradient(0deg, rgba(10,25,18,0.82), rgba(10,25,18,0));
  color: #fff;
}
.tc-caption .tc-eyebrow{ font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-pale); display: block; margin-bottom: 4px; }
.tc-caption h4{ color: #fff; margin: 0; font-size: 1.15rem; }
.tc-controls{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; pointer-events: none; }
.tc-controls button{
  pointer-events: all; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92);
  color: var(--sage-deep); font-size: 1.15rem; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.15s ease;
}
.tc-controls button:hover{ transform: scale(1.07); }
.tc-dots{ position: absolute; bottom: 12px; right: 18px; display: flex; gap: 7px; }
.tc-dots button{ width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: background 0.2s ease, transform 0.2s ease; }
.tc-dots button.active{ background: #fff; transform: scale(1.25); }

@media (max-width: 780px){
  .tc-slide img{ aspect-ratio: 4/5; }
  .tc-controls button{ width: 36px; height: 36px; }
}

/* follow banner */
.follow-banner{
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #F6E9D8, var(--mint-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px;
}
.follow-banner .ig-icon{
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  display: flex; align-items: center; justify-content: center;
}
.follow-banner .ig-icon svg{ width: 24px; height: 24px; fill: #fff; }
.follow-banner .ig-text{ flex: 1; min-width: 220px; }
.follow-banner h3{ margin-bottom: 2px; font-size: 1.1rem; }
.follow-banner p{ margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 780px){
  .grid.cols-2, .grid.cols-3{ grid-template-columns: 1fr; }
  .exec-grid{ grid-template-columns: repeat(2, 1fr); }
  .nav-inner{ flex-direction: column; align-items: center; gap: 10px; }
  nav.links{ justify-content: center; }
  nav.links a{ padding: 6px 10px; font-size: 0.68rem; }
  .gallery{ columns: 1 100%; }
  .get-involved{ padding: 42px 22px; }
}
