/* APARC Ohio - archived static copy. Mirrors the Wix site's black & white, boxed look. */
:root {
  --ink: #000;
  --text: #222;
  --muted: #555;
  --paper: #fff;
  --line: #000;
  --soft: #f4f4f4;
  --font: 'Quicksand', 'Avenir Next', Avenir, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --nav-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  font-weight: 500;                       /* Quicksand 400 is too thin to read comfortably */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
}
img { max-width: 100%; height: auto; display: block; }
p, li, figcaption { text-wrap: pretty; }    /* avoids one-word last lines */
h1, h2, h3 { text-wrap: balance; }          /* evens out two-line headings */
/* keep long paragraphs to a readable line length inside full-width boxes */
.box > p:not(.center):not(.lead), .box > ol, .box > ul { max-width: 78ch; margin-left: auto; margin-right: auto; }
a { color: inherit; }

/* ---------- header ---------- */
.site-header { max-width: 1000px; margin: 0 auto; padding: 32px 16px 0; text-align: center; }
.wordmark { display: inline-block; width: min(690px, 92%); }
.wordmark img { width: 100%; height: auto; }
.site-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px;
  margin: 18px auto 12px;
}
.site-nav a {
  font-family: var(--nav-font); font-size: 14px; letter-spacing: .08em; text-decoration: none;
  color: var(--ink); padding: 8px 9px 10px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.site-nav a:hover { border-bottom-color: #999; }
.site-nav a.active { border-bottom-color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- content boxes ---------- */
main { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.box {
  position: relative; background: var(--paper);
  border: 3px solid var(--line); border-radius: 5px;
  padding: 26px 34px 30px; margin: 0 0 34px;
}
/* curled-paper shadow under each box, like the original */
.box::after {
  content: ''; position: absolute; left: 2%; right: 2%; bottom: -14px; height: 14px; z-index: -1;
  background: radial-gradient(ellipse at 50% 0, rgba(0,0,0,.45), rgba(0,0,0,0) 70%);
}
h1, h2, h3 { font-family: var(--font); color: var(--ink); text-align: center; line-height: 1.25; }
h1, h2 { font-weight: 600; font-size: 28px; margin: 4px 0 18px; }
h3 { font-weight: 600; font-size: 21px; margin: 22px 0 12px; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }
.lead { font-size: 17px; margin: 0; }
ol { padding-left: 1.4em; } ol li { margin-bottom: .8em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.split-hero { grid-template-columns: 1fr 1.35fr; }   /* was a 260px column: ~30 chars/line */
.split-story { grid-template-columns: 1fr 1.4fr; }
.split .text h2 { margin-top: 0; }
.media .photo, .media figure { margin: 0; }
.media.stack { display: grid; gap: 14px; }
.logo-media { display: flex; align-items: center; justify-content: center; }
.round-logo { width: 280px; }
/* text wraps around the round logo (Learn More page) */
.wrap-float::after { content: ''; display: block; clear: both; }
.wrap-float .float-logo {
  float: left; width: 210px; margin: 2px 30px 10px 0;
}
/* photo/slideshow floated beside text; text continues underneath it */
.wrap-float .float-media { width: 50%; margin-bottom: 14px; }
.wrap-float .float-right { float: right; margin-left: 28px; }
.wrap-float .float-left  { float: left;  margin-right: 28px; }
.wrap-float .text h2:first-child { margin-top: 0; }
.wrap-float:has(.float-logo) { max-width: 820px; margin-left: auto; margin-right: auto; }
/* Operation OOPS: photos side by side under the text */
.oops .text { max-width: 78ch; margin: 0 auto; }
.photo-row { display: flex; justify-content: center; gap: 18px; margin: 8px 0 6px; }
.photo-row .photo img { height: 300px; width: auto; }
/* tall photo shown as a landscape crop, centered on the face */
.crop-land img { aspect-ratio: 4 / 5; object-fit: cover; }
/* wishlist buttons: label centered even when its neighbor wraps to two lines */
.btn-grid .btn { display: flex; align-items: center; justify-content: center; }
.btn-grid { grid-auto-rows: 1fr; }
.give-row { gap: 14px; }
.give-row .btn-item { width: 152px; gap: 6px; font-size: 13px; color: var(--muted); }
.give-row .btn { width: 100%; text-align: center; padding-left: 6px; padding-right: 6px; }
/* footer */
.footer-h { font-size: 20px; text-align: left; margin: 0 0 14px; }
.copyright { text-align: center; font-size: 13px; color: #6b6b6b; margin: 36px 0 0; padding-top: 16px; border-top: 1px solid #eee; }
.three { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; align-items: center; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col { text-align: center; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tile .photo { width: 100%; margin: 0 0 14px; }
.tile .photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.tile .btn { margin-top: auto; }
.placeholder { background: var(--soft); border-style: dashed; }

figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.photo img { width: 100%; height: auto; border-radius: 2px; }
.flyer img { border: 1px solid #ddd; }
/* photo frame: hairline edge + soft lift so light photos don't bleed into the white box */
.photo img, .gallery .thumb a, .slideshow {
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .14), 0 10px 22px rgba(0, 0, 0, .14);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--nav-font); font-size: 14px; letter-spacing: .1em;
  padding: 10px 18px; border: 2px solid var(--ink); transition: background .15s, color .15s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn-static:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 10px 0 18px; }
.btn-row.left { justify-content: flex-start; }
.btn-item { display: flex; flex-direction: column; align-items: center; max-width: 230px; text-align: center; gap: 8px; font-size: 14px; }
.btn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 640px; margin: 0 auto; }
.btn-grid .btn { text-align: center; }

/* ---------- slideshow ---------- */
.slideshow { position: relative; background: #111; overflow: hidden; aspect-ratio: 4 / 5; }
.wrap-float .slideshow { aspect-ratio: 1 / 1; }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.slideshow .slide.on { opacity: 1; pointer-events: auto; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; }
.ss-prev, .ss-next {
  position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: #fff; font-size: 54px; line-height: 1; padding: 0 12px 8px; cursor: pointer;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.ss-prev { left: 4px; } .ss-next { right: 4px; }
.ss-count { position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 13px; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 10px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery .thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .2s; }
.gallery .thumb a { display: block; overflow: hidden; }
.gallery .thumb a:hover img { transform: scale(1.05); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; cursor: pointer; padding: 10px 16px; }
.lb-close { top: 6px; right: 10px; } .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); } .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { max-width: 1000px; margin: 40px auto 0; padding: 36px 16px 26px; border-top: 1px solid #ddd; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact { padding-left: 40px; font-size: 18px; color: #333; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 40px; }
.social img { width: 50px; height: 50px; }
.contact-form { display: grid; gap: 10px; font-size: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 4px; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid #999; background: #fafafa; width: 100%;
}
.contact-form button { justify-self: end; background: #000; color: #fff; border: 0; padding: 10px 40px; font: inherit; cursor: pointer; }
.contact-form button:hover { background: #333; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 13px; min-height: 1em; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b42318; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #000; background: #fff; }
.phone-wrap { display: flex; }
.phone-cc {
  display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: #555;
  background: #eee; border: 1px solid #999; border-right: 0; user-select: none;
}
.phone-wrap input { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.phone-wrap:focus-within .phone-cc { border-color: #000; color: #000; }
.phone-wrap:has(input.invalid) .phone-cc { border-color: #b42318; }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #b42318; background: #fff6f5; }
.field-err { color: #b42318; font-size: 12px; }
.contact-form altcha-widget {
  --altcha-border-radius: 0; --altcha-color-border: #999; --altcha-color-base: #fafafa;
  --altcha-max-width: 100%;
}
.contact-form altcha-widget.invalid { --altcha-color-border: #b42318; }
.form-done { display: none; }
.contact-form.sent > :not(.form-done) { display: none; }
.contact-form.sent .form-done {
  display: block; background: #edf7ef; border: 1px solid #1a7f37; border-left-width: 5px;
  padding: 18px 20px; outline: none; animation: fd-in .35s ease-out;
}
.fd-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #1a7f37; }
.fd-check {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px;
  border-radius: 50%; background: #1a7f37; color: #fff; font-size: 15px; vertical-align: -3px;
}
.fd-text { margin: 0 0 14px; font-size: 14px; color: #222; }
.contact-form .fd-again {
  background: none; color: #1a7f37; border: 1px solid #1a7f37; padding: 7px 16px;
  font: inherit; font-size: 13px; cursor: pointer; justify-self: auto;
}
.contact-form .fd-again:hover { background: #1a7f37; color: #fff; }
@keyframes fd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.archive-note { margin: 30px 0 0; text-align: center; font-size: 12px; color: #777; border-top: 1px solid #ddd; padding-top: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .site-header { padding-top: 20px; }
  .nav-toggle {
    display: inline-block; margin: 14px auto 6px; font: inherit; font-size: 15px; letter-spacing: .1em;
    background: #fff; border: 2px solid #000; padding: 6px 16px; cursor: pointer;
  }
  .site-nav { display: none; flex-direction: column; margin-top: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; border-bottom: 1px solid #eee; }
  .site-nav a.active { border-bottom: 2px solid #000; font-weight: bold; }
  .box { padding: 20px 18px 22px; }
  h1, h2 { font-size: 23px; }
  .split, .split-hero, .split-story, .three, .two, .tiles, .footer-grid, .contact-form .row { grid-template-columns: 1fr; }
  .wrap-float .float-media { float: none; width: 100%; margin: 0 0 16px; }
  .wrap-float .float-logo { width: 120px; margin-right: 16px; }
  .photo-row { flex-direction: column; align-items: center; }
  .photo-row .photo img { height: auto; width: 100%; }
  .split-hero .media, .split-story .media { order: -1; }
  .split-rev .media { order: -1; }
  .round-logo { width: 200px; }
  .btn-grid { grid-template-columns: 1fr; }
  .contact { padding-left: 0; text-align: center; }
  .contact .footer-h { text-align: center; }
  .contact-form button[type="submit"] { justify-self: stretch; }
  .social { justify-content: center; margin-top: 18px; }
}

.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; }
h2.h3 { font-weight: 600; font-size: 21px; margin: 22px 0 12px; }
