/* Laura Santos for Mt. SAC Trustee Area 3 — shared styles */
:root {
  --green: #1d5a2c;
  --green-dark: #123d1d;
  --green-ink: #0c2a14;
  --gold: #f2c200;
  --gold-soft: #fff4c2;
  --cream: #fbf9f2;
  --paper: #ffffff;
  --ink: #1b211c;
  --muted: #5b665d;
  --line: #e3e0d4;
  --radius: 14px;
  --max: 1120px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); padding: 8px 12px; }

/* Top bar + nav */
.topbar { background: var(--gold); color: var(--green-ink); font: 700 14px/1 var(--head); text-align: center; padding: 10px 16px; letter-spacing: .02em; }
.topbar a { color: inherit; }
header.site { background: var(--green-dark); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-family: var(--head); line-height: 1.05; }
.brand b { display: block; font-size: 20px; font-weight: 800; }
.brand span { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a.link { color: #e7efe8; text-decoration: none; font: 600 15px var(--head); padding: 10px 12px; border-radius: 8px; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav a.link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 16px var(--head); text-decoration: none; border-radius: 999px;
  padding: 14px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green-ink); }
.btn-gold:hover { background: #ffd31a; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.nav .btn { padding: 10px 18px; font-size: 14px; margin-left: 6px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--green-dark); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav ul.open { display: flex; }
  .nav a.link { display: block; padding: 14px 8px; font-size: 17px; }
  .nav a.link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); border-radius: 0; }
  .nav .btn { margin: 10px 0 0; padding: 14px; font-size: 16px; }
}

/* Hero */
.hero { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background: repeating-radial-gradient(circle at 92% 8%, transparent 0 22px, var(--gold) 22px 23px);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, var(--gold), #9fb33a 55%, var(--green)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: end; padding-top: 56px; }
.hero-copy { padding-bottom: 64px; }
.eyebrow { font: 700 14px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.hero h1 { font-size: clamp(48px, 8vw, 92px); font-weight: 900; margin: 0; }
.hero .office { font: italic 500 clamp(24px, 3.4vw, 36px)/1.2 var(--head); margin: 6px 0 22px; }
.hero p.lead { font-size: 20px; max-width: 34ch; color: #e6efe7; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { align-self: end; }
.hero-photo img { width: 100%; max-width: 440px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; gap: 0; }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo img { max-width: 300px; margin: 0 auto; }
}

/* Page header (inner pages) */
.page-head { background: var(--green); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--gold), #9fb33a 55%, var(--green)); }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; margin: 0 0 10px; }
.page-head p { font-size: 20px; color: #e6efe7; max-width: 60ch; margin: 0; }

/* Sections */
section.block { padding: 72px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; color: var(--green-dark); }
.section-intro { color: var(--muted); max-width: 62ch; margin: 0 0 36px; font-size: 19px; }

.quote { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.quote::before { content: "“"; font: 900 120px/0.8 var(--serif); color: var(--gold); }
.quote blockquote { margin: 0; font: 400 clamp(21px, 2.6vw, 28px)/1.45 var(--serif); color: var(--green-ink); }
.quote figcaption { margin-top: 18px; font: 700 16px var(--head); color: var(--green); }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 15px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 6px solid var(--green); }
.pillar .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 16px; color: var(--green); }
.pillar h3 { font-size: 22px; color: var(--green-dark); }
.pillar p { margin: 0; color: #3c463e; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

.future { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.future p { margin: 0 0 1em; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--green); color: #fff; border-radius: var(--radius); padding: 24px; }
.stat b { display: block; font: 900 46px/1 var(--head); color: var(--gold); }
.stat span { font-size: 16px; color: #dce9dd; }
@media (max-width: 820px) { .future { grid-template-columns: 1fr; gap: 28px; } }

/* Volunteer schedule */
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.slot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.slot h3 { font-size: 20px; color: var(--green-dark); margin-bottom: 4px; }
.slot .where { color: var(--muted); margin: 0 0 14px; }
.slot ul { list-style: none; margin: 0; padding: 0; }
.slot li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); font-weight: 600; }
.slot li span { color: var(--green); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .schedule { grid-template-columns: 1fr; } }

.vote-band { background: var(--gold); color: var(--green-ink); text-align: center; padding: 48px 20px; }
.vote-band h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; margin: 0 0 6px; }
.vote-band p { margin: 0 0 22px; font-size: 19px; }

.es { border-left: 6px solid var(--gold); padding-left: 24px; }
.es h2 { color: var(--green-dark); font-size: 30px; }

/* Endorsements */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.feat { background: var(--green); color: #fff; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.feat small { font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.feat b { font: 800 21px/1.25 var(--head); margin-top: 12px; }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } }
.groups { columns: 3 300px; column-gap: 22px; }
.group { break-inside: avoid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 22px; }
.group h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 8px 0; border-top: 1px solid var(--line); font-weight: 600; }
.group li:first-child { border-top: 0; }
.group li em { font-style: normal; color: var(--muted); font-weight: 400; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: #eef1ea; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 14px 18px; font-size: 16px; color: #3c463e; }
.gallery figcaption b { display: block; font-family: var(--head); color: var(--green-dark); }
.lightbox { position: fixed; inset: 0; background: rgba(8, 24, 12, .92); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 50; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 42px; cursor: pointer; line-height: 1; }

/* Donate */
.donate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card h2 { font-size: 26px; color: var(--green-dark); }
.card.primary { border-top: 6px solid var(--gold); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 24px; }
.amounts a { text-align: center; text-decoration: none; font: 800 20px var(--head); color: var(--green-dark); border: 2px solid var(--green); border-radius: 10px; padding: 14px 6px; }
.amounts a:hover { background: var(--green); color: #fff; }
.card .btn { width: 100%; }
.address { font-style: normal; background: var(--cream); border-radius: 10px; padding: 18px 20px; margin: 14px 0; font-weight: 600; line-height: 1.5; }
.checklist { padding-left: 0; list-style: none; margin: 12px 0 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; color: #3c463e; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 4px; background: var(--gold-soft); border: 2px solid var(--green); }
.note { font-size: 15px; color: var(--muted); }
@media (max-width: 820px) { .donate-grid { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: var(--green-ink); color: #c9d6cb; padding: 48px 0 28px; font-size: 16px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 800 14px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.foot a { color: #fff; text-decoration: none; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.paidfor { margin-top: 36px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font: 700 14px var(--head); color: #fff; text-align: center; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr; } }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; grid-auto-flow: dense; }
.tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #e9ece4; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(18,61,29,.08); }
.tile button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; pointer-events: none;
  background: linear-gradient(to top, rgba(8,28,14,.85), rgba(8,28,14,0)); color: #fff; font-size: 14px;
}
.tile figcaption b { display: block; font: 700 16px/1.2 var(--head); }
.tile figcaption span { color: var(--gold); font-weight: 600; }
.t-feature { grid-column: span 3; grid-row: span 3; }
.t-wide { grid-column: span 2; grid-row: span 2; }
.t-tall { grid-row: span 2; }
.t-portrait { background: linear-gradient(160deg, #e9efe6, #d4e0d2); }
.t-portrait img { object-position: top; }
.t-tall img { object-position: top; }
.t-feature figcaption { padding: 60px 24px 20px; }
.t-feature figcaption b { font-size: 22px; }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .t-feature { grid-column: span 2; grid-row: span 2; }
  .t-wide { grid-column: span 2; grid-row: span 2; }
  .tile figcaption { padding: 30px 12px 10px; font-size: 12px; }
  .tile figcaption b { font-size: 14px; }
}

/* Lightbox with captions and arrows */
.lightbox figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox figcaption { color: #e6efe7; margin-top: 12px; font-size: 16px; }
.lightbox figcaption b { color: var(--gold); font-family: var(--head); }
.lightbox img { max-height: 80vh; margin: 0 auto; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); right: auto; background: rgba(255,255,255,.12); width: 52px; height: 52px; border-radius: 50%; font-size: 36px; line-height: 1; display: grid; place-items: center; }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; left: auto; }
.lightbox .lb-nav:hover { background: rgba(255,255,255,.25); }

.btn-lg { width: 100%; padding: 18px 26px; font-size: 19px; margin-top: 8px; }
.t-feature img { object-position: center 35%; }
.flyers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 820px; }
.flyer { margin: 0; }
.flyer button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 34px rgba(18,61,29,.14); transition: transform .3s; }
.flyer button:hover { transform: translateY(-4px); }
.flyer figcaption { margin-top: 12px; color: var(--muted); }
.flyer figcaption b { font-family: var(--head); color: var(--green-dark); }
@media (max-width: 820px) {
  .t-portrait { grid-row: span 2; }
  .t-wide { grid-column: span 1; grid-row: span 2; }
  .flyers { gap: 14px; }
}
@media (min-width: 821px) { .t-wide { grid-column: span 4; grid-row: span 2; } .t-wide img { object-position: center 30%; } }

/* Bio */
.eyebrow-dark { font: 700 14px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.bio-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.bio-text h3 { font-size: 26px; color: var(--green-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--gold); display: inline-block; }
.bio-text p { margin: 0 0 1.1em; max-width: 68ch; }
.bio-photo { margin: 8px 0 0; position: sticky; top: 100px; }
.bio-photo img { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(18,61,29,.16); }
.bio-photo figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.pull { position: sticky; top: 100px; background: var(--green); color: #fff; border-radius: var(--radius); padding: 30px; margin-top: 8px; }
.pull > p { font: 400 22px/1.45 var(--serif); margin: 0 0 22px; }
.pull em { font-style: normal; font-weight: 700; color: var(--gold); }
.pull-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.pull-list li { padding: 7px 0 7px 26px; position: relative; font-size: 16px; color: #e3ede4; }
.pull-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.figure-callout { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--radius); padding: 28px; margin-top: 8px; }
.figure-callout b { display: block; font: 900 52px/1 var(--head); color: var(--green); }
.figure-callout span { display: block; color: var(--muted); margin: 6px 0 22px; }
.figure-callout span:last-child { margin-bottom: 0; }
.bio-close { text-align: center; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.bio-close h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--green-dark); margin-bottom: 4px; }
.bio-close p { margin: 0; font: 700 15px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
@media (max-width: 820px) {
  .bio-grid { grid-template-columns: 1fr; gap: 24px; }
  .bio-photo, .pull, .figure-callout { position: static; }
}

/* Masonry gallery: every photo shown whole, never cropped */
.mosaic.masonry { display: block; columns: 4 240px; column-gap: 16px; }
.masonry .tile { break-inside: avoid; margin: 0 0 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 22px rgba(18,61,29,.07); display: inline-block; width: 100%; }
.masonry .tile button { height: auto; }
.masonry .tile img { height: auto; object-fit: initial; }
.masonry .tile figcaption { position: static; background: none; color: var(--ink); padding: 12px 16px 14px; font-size: 14px; pointer-events: auto; }
.masonry .tile figcaption b { color: var(--green-dark); font-size: 16px; }
.masonry .tile figcaption span { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.masonry .t-portrait button { background: linear-gradient(160deg, #e9efe6, #d4e0d2); }
@media (max-width: 820px) { .mosaic.masonry { columns: 2; column-gap: 10px; } .masonry .tile { margin-bottom: 10px; } .masonry .tile figcaption { padding: 10px 12px; } .masonry .tile figcaption b { font-size: 14px; } }
.foot a, .slot a, #volunteer a, .note a { overflow-wrap: anywhere; }
