/* Phebean Neurodiversity Support - shared stylesheet */
:root {
  --blue: #2c7bbd;
  --blue-dark: #1a5a9a;
  --blue-deep: #14456f;
  --blue-light: #eaf3fa;
  --blue-pale: #f2f8fc;
  --red: #bf232e;
  --green: #6aa541;
  --amber: #f9ae40;
  --ink: #16283a;
  --body: #3d4a57;
  --muted: #6b7a89;
  --line: #dfe8ef;
  --bg-soft: #f6f9fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 40, 58, 0.08);
  --shadow-sm: 0 2px 10px rgba(22, 40, 58, 0.06);
  --serif: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
}

h1 { font-size: 2.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { margin-top: 0; }

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }

img, video { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3 { color: #fff; }
.section-blue p { color: #eaf3fa; }
.section-blue a { color: #fff; }

.eyebrow {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.lead { font-size: 1.18rem; color: var(--ink); line-height: 1.6; }

.center { text-align: center; }
.center .lead { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Mission band: the core value, front and center */
.mission-band {
  background: var(--blue-deep);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.mission-band .eyebrow { background: rgba(255, 255, 255, 0.16); }
.mission-band p {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.45;
  color: #fff;
  max-width: 860px;
  margin: 0 auto 1rem;
}
.mission-band cite {
  font-style: normal;
  font-size: 1rem;
  color: #cfe3f2;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--sans);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue-dark); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost-light:hover { background: #fff; color: var(--blue-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(22, 40, 58, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  max-width: 1300px;
}
.logo img { display: block; height: 58px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem 1rem;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue-dark); border-bottom-color: var(--blue); }
.header-cta { white-space: nowrap; padding: 0.65rem 1.5rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* Hero */
.hero { background: var(--blue-pale); padding: 4rem 0 4.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--blue); }
.hero p { font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.hero figure { margin: 0; }
.hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  display: block;
}
.hero figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

.page-hero { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; padding: 3.25rem 0; }
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero p { color: #d9eaf7; margin-bottom: 0; font-size: 1.15rem; max-width: 720px; }
.page-hero a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .contact-cards > *, .gallery-grid > *,
.media-grid > *, .team-grid > *, .footer-grid > * { min-width: 0; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p:last-child { margin-bottom: 0; }

.value-card { border-top: 4px solid var(--blue); }
.value-card:nth-child(2) { border-top-color: var(--red); }
.value-card:nth-child(3) { border-top-color: var(--green); }
.value-card:nth-child(4) { border-top-color: var(--amber); }
.value-card:nth-child(5) { border-top-color: var(--red); }
.value-card:nth-child(6) { border-top-color: var(--blue); }
.value-card:nth-child(7) { border-top-color: var(--amber); }

.activity-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.activity-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.activity-card .card-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.activity-card .meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; font-weight: 600; letter-spacing: 0.02em; }
.activity-card .btn { align-self: flex-start; margin-top: auto; }

/* Objectives list (titles only, kept honest and simple) */
.objectives-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2.5rem;
}
.objectives-list li {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.9rem 0 0.9rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.objectives-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

/* Quote */
.quote-block {
  background: var(--blue-light);
  border-left: 5px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
}
.quote-block blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote-block cite { font-style: normal; font-size: 0.95rem; color: var(--muted); }

/* Activities */
.activity { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.activity:last-child { border-bottom: none; }
.activity .meta { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.1rem; }
.activity .meta strong { color: var(--ink); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 1.75rem 0;
}
.media-grid figure { margin: 0; }
.media-grid img, .media-grid video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #0f1c29;
}
.media-grid video.portrait, .media-grid img.portrait { object-fit: contain; background: #0f1c29; }
.media-grid.flyers img { height: 400px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.media-grid figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.45rem; }

.doc-link {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0.25rem 0.5rem 0.25rem 0;
}
.doc-link:hover { border-color: var(--blue); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.gallery-grid img.tall { object-fit: contain; background: var(--bg-soft); }
.gallery-grid figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 0.5rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.team-card { display: flex; gap: 1.4rem; align-items: flex-start; }
.team-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-soft);
  border-radius: 10px;
}
.team-card img.cover { object-fit: cover; object-position: top center; }
.team-initials {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--serif);
}
.team-card h3 { margin-bottom: 0.15rem; }
.team-role { color: var(--blue-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.7rem; }
.team-card p:last-child { margin-bottom: 0; }

/* Memorial */
.memorial { display: grid; grid-template-columns: 320px 1fr; gap: 2.75rem; align-items: start; }
.memorial img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.memorial figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0; }
.timeline li { padding: 0.7rem 0 0.7rem 1.1rem; border-left: 3px solid var(--blue); margin-bottom: 0.6rem; }
.timeline strong { color: var(--ink); }
.tribute { margin: 1.75rem 0; }
.tribute h3 { margin-bottom: 0.5rem; }
.tribute p { font-style: italic; }

/* Resource list */
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.resource-list h3 { margin-bottom: 0.35rem; }
.resource-list p { margin-bottom: 0.7rem; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-cards .card { text-align: center; }
.contact-big { font-size: 1.35rem; font-weight: 700; }
.contact-big a { text-decoration: none; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #fff; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.75rem;
  padding: 3.25rem 0 2.25rem;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: #d9eaf7; font-size: 0.98rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.1rem; }
.footer-social a { font-weight: 600; text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.15rem; margin-bottom: 1.1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.55rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact p { color: #d9eaf7; margin-bottom: 0.8rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.35rem 0;
  text-align: center;
}
.footer-bottom p { margin: 0; color: #d9eaf7; font-size: 0.92rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2.4rem; }
  .grid-3, .gallery-grid, .media-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .memorial { grid-template-columns: 1fr; }
  .memorial figure { max-width: 320px; }
  .team-grid { grid-template-columns: 1fr; }
  .objectives-list { grid-template-columns: 1fr; }
  .mission-band p { font-size: 1.55rem; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(22, 40, 58, 0.12);
    margin-left: 0;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 1rem 1.5rem 1.5rem; gap: 0.6rem; }
  .main-nav a { display: block; padding: 0.4rem 0; font-size: 1.05rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.1rem; }
  .grid-2, .grid-3, .grid-4, .gallery-grid, .media-grid, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-card img, .team-initials { width: 120px; height: 120px; }
  .section { padding: 3rem 0; }
  .mission-band p { font-size: 1.35rem; }
  .quote-block blockquote { font-size: 1.15rem; }
  .contact-big { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
