/* ===========================================================
   PARC — Pickerington Area Resource Coalition
   Clean, hand-authored stylesheet (converted from WYSIWYG export)
   Brand: Work Sans · Plum #754275 / Orchid #AA67AA / Forest #00351B
   =========================================================== */

/* ---- Design tokens ---------------------------------------- */
:root {
  --plum:        #754275;   /* primary brand purple */
  --plum-deep:   #4f2b4f;   /* darker plum for footers/contrast */
  --orchid:      #AA67AA;   /* light purple — large headings only (>=24px) */
  --orchid-text: #925092;   /* accessible orchid for small/normal text (5.5:1 on white) */
  --forest:      #00351B;   /* deep green */
  --forest-soft: #0d4a2c;

  --ink:    #241f24;        /* body text */
  --ink-soft: #5a525a;      /* secondary text */
  --paper:  #ffffff;
  --tint:   #f7f2f7;        /* soft lavender section bg */
  --tint-2: #eee5ee;
  --line:   #e2d6e2;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(63, 26, 63, .45);
  --shadow-sm: 0 8px 24px -14px rgba(63, 26, 63, .4);

  --ff: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--plum); }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* ---- Accessibility helpers -------------------------------- */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--plum); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 10px; z-index: 1000; font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--orchid);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Layout utilities ------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orchid-text); margin: 0 0 .9rem;
}

/* ---- Header / nav ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 92px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand { position: relative; z-index: 30; }
.brand img {
  height: 126px; width: auto; display: block;
  margin: 10px 0 -44px;            /* overhangs the header into the page */
  filter: drop-shadow(0 10px 18px rgba(63, 26, 63, .28));
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: 9px; transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav a:not(.btn):hover { background: var(--tint); color: var(--plum); }
.nav a:not(.btn)[aria-current="true"] { color: var(--plum); background: var(--tint); }
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; background: var(--plum); }

.nav-toggle { display: none; }

.btn {
  --btn-bg: var(--plum);
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--btn-bg); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.btn.ghost:hover { background: var(--plum); color: #fff; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Hero ------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 120% at 100% 0%, var(--tint) 0%, var(--paper) 55%);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px);
  align-items: center; padding-block: clamp(48px, 7vw, 96px);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; color: var(--plum);
  letter-spacing: -.01em; margin-bottom: .35em;
}
.hero .lead { font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 300; color: var(--plum); margin: 0; }
.hero .lead em { color: var(--orchid-text); font-style: italic; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero-media { position: relative; }
.hero-media image-slot {
  width: 100%; aspect-ratio: 16/11; box-shadow: var(--shadow);
}
.hero-media::after {
  content: ""; position: absolute; inset: auto -22px -22px auto;
  width: 130px; height: 130px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--orchid), transparent 70%); opacity: .5;
}

/* ---- Who we are ------------------------------------------- */
.who { background: var(--paper); }
.who .who-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.who .who-head h2 {
  font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; color: var(--orchid);
  letter-spacing: .01em;
}
.who .prose {
  max-width: 820px; margin-inline: auto; font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink); font-weight: 400;
}
.who .prose p { margin-bottom: 1.3em; }
.who .prose strong { color: var(--plum); font-weight: 700; }

/* ---- Our team --------------------------------------------- */
.team { background: var(--tint); }
.team .wrap {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.team-media image-slot { width: 100%; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.team h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; color: var(--ink); }
.team .team-sub { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; margin: .15em 0 .8em; }
.team .team-sub .a { color: var(--plum); }
.team .team-sub .b { color: var(--orchid); }
.team p { color: var(--ink-soft); font-weight: 400; max-width: 46ch; }
.team .btn { margin-top: 1.4rem; }

/* ---- Partners (plum) -------------------------------------- */
.partners { background: var(--plum); color: #fff; }
.partners .p-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 54px); }
.partners h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #fff; }
.partners h2 .accent { color: #fff; opacity: .72; }
.partners .eyebrow { color: rgba(255,255,255,.78); }
.partners .p-head p { color: rgba(255,255,255,.88); font-weight: 300; font-size: 1.08rem; margin-top: 1rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 30px 28px; position: relative;
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: #fff; background: rgba(255,255,255,.14); }
.card .card-ico {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; color: var(--plum);
  background: #fff;
}
.card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .6em; }
.card p { color: rgba(255,255,255,.85); font-weight: 300; font-size: 1rem; margin: 0; }

.partner-block { margin-top: clamp(40px,5vw,60px); text-align: center; }
.partner-block h3 {
  font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin-bottom: 22px;
}
.partner-logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: center;
}
.partner-logos a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  padding: 11px 18px; border-radius: 999px;
  transition: background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease;
}
.partner-logos a:hover {
  background: #fff; color: var(--plum); transform: translateY(-2px); border-color: #fff;
}
.partner-logos a .ext { opacity: .6; }
.partner-logos a:hover .ext { opacity: 1; }

/* ---- Gallery + follow ------------------------------------- */
.gallery { background: var(--paper); }
.gallery .wrap { display: block; }
.gallery-head { text-align: center; max-width: 620px; margin: 0 auto clamp(32px, 4vw, 48px); }
.gallery-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 800; color: var(--plum); }
.gallery-head p { color: var(--ink-soft); font-size: 1.02rem; margin: .6rem 0 1.4rem; }
.gallery-head .social { justify-content: center; }

.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.collage image-slot { width: 100%; aspect-ratio: 1/1; cursor: pointer; }
.collage image-slot:nth-child(1),
.collage image-slot:nth-child(2) { grid-column: span 2; aspect-ratio: 2/1; }

.social {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 700; color: var(--plum);
}
.social .fb {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--plum); color: #fff; display: grid; place-items: center;
  transition: transform .15s, filter .15s;
}
.social:hover .fb { transform: translateY(-3px); filter: brightness(1.1); }

/* ---- Footer ----------------------------------------------- */
.site-footer {
  background:
    linear-gradient(180deg, rgba(79,43,79,.96), rgba(43,20,43,.98)),
    radial-gradient(80% 120% at 80% 0%, var(--plum) 0%, transparent 60%);
  color: #fff;
}
.site-footer .wrap { padding-block: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.footer-grid h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.05; }
.contact-block h3 {
  font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .5rem;
}
.contact-block + .contact-block { margin-top: 2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: .35rem; font-weight: 400; font-size: 1.02rem; color: rgba(255,255,255,.9); }
.contact-list a { color: #fff; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--orchid); }
.contact-list .label { color: rgba(255,255,255,.62); font-weight: 600; margin-right: 4px; }

.colophon {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .92rem; color: rgba(255,255,255,.72);
}
.colophon a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.colophon a:hover { color: var(--orchid); }
.colophon .heart {
  color: #ff6b8a; width: 1.05em; height: 1.05em; display: inline-block;
  vertical-align: -.15em; animation: heartbeat 1.6s ease-in-out infinite;
}

/* footer legal / bottom bar */
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 28px; flex-wrap: wrap;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a {
  color: rgba(255,255,255,.8); text-decoration: none; font-weight: 600;
  font-size: .92rem; text-underline-offset: 3px;
}
.footer-legal a:hover { color: #fff; text-decoration: underline; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.22); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .colophon .heart { animation: none; } }

/* ---- Lightbox --------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 5vw;
  background: rgba(20, 8, 20, .92); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .lb-close,
.lightbox .lb-nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center; transition: background .15s;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-close { top: 4vw; right: 4vw; }
.lightbox .lb-nav.prev { left: 3vw; }
.lightbox .lb-nav.next { right: 3vw; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 880px) {
  .hero .wrap,
  .team .wrap,
  .gallery .wrap,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
  .team-media { max-width: 460px; }
  .cards { grid-template-columns: 1fr 1fr; }

  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 8px; border-radius: 8px; }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
    cursor: pointer; color: var(--plum);
  }
}
@media (max-width: 540px) {
  body { font-size: 17px; }
  .brand img { height: 88px; margin: 6px 0 -30px; }
  .cards { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .collage image-slot:nth-child(1),
  .collage image-slot:nth-child(2) { grid-column: span 2; aspect-ratio: 16/9; }
  .lightbox .lb-close { top: 16px; right: 16px; }
  .lightbox .lb-nav.prev { left: 10px; }
  .lightbox .lb-nav.next { right: 10px; }
}

/* ===========================================================
   Document pages (privacy / accessibility) + 404
   =========================================================== */
.doc-hero {
  background: radial-gradient(120% 140% at 0% 0%, var(--tint) 0%, var(--paper) 60%);
  border-bottom: 1px solid var(--line);
}
.doc-hero .wrap { padding-block: clamp(48px, 7vw, 88px); }
.doc-hero p.eyebrow { margin-bottom: .7rem; }
.doc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; color: var(--plum); }
.doc-hero .updated { margin-top: 1rem; color: var(--ink-soft); font-size: .96rem; }

.doc { background: var(--paper); }
.doc .wrap { max-width: 820px; padding-block: clamp(44px, 6vw, 80px); }
.doc h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; color: var(--plum);
  margin: 2.2em 0 .6em;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1.6em 0 .4em; }
.doc p, .doc li { font-size: 1.05rem; color: var(--ink); }
.doc ul { padding-left: 1.3em; margin: 0 0 1.1em; }
.doc li { margin-bottom: .5em; }
.doc a { color: var(--plum); font-weight: 600; text-underline-offset: 3px; }
.doc .callout {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 26px; margin: 1.6em 0;
}
.doc .callout p:last-child { margin-bottom: 0; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 2.4em; }

/* 404 */
.notfound {
  min-height: calc(100vh - 93px);
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, var(--tint) 0%, var(--paper) 55%);
  padding: clamp(40px, 8vw, 96px) var(--gutter);
}
.notfound .code {
  font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: .9;
  color: var(--plum); letter-spacing: -.02em;
}
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--ink); margin: .3em 0 .4em; }
.notfound p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.notfound .cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2rem; }
.notfound .quicklinks { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; margin-top: 2.2rem; }
.notfound .quicklinks a {
  color: var(--plum); font-weight: 600; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  box-shadow: var(--shadow-sm); transition: transform .15s, border-color .15s;
}
.notfound .quicklinks a:hover { transform: translateY(-2px); border-color: var(--plum); }
