/* =========================================================
   WTA Hansen Memorial Library — Friendly Community theme
   ========================================================= */

:root {
  /* Warm, bright palette */
  --brand:        #c2410c;   /* warm terracotta */
  --brand-dark:   #9a2e06;
  --brand-light:  #fff3ec;
  --accent:       #0f766e;   /* teal */
  --accent-light: #ccfbf1;
  --gold:         #f59e0b;
  --ink:          #1f2937;
  --ink-soft:     #4b5563;
  --muted:        #6b7280;
  --line:         #e5e7eb;
  --bg:           #fbf7f2;   /* warm cream */
  --panel:        #ffffff;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06);
  --shadow:       0 6px 20px rgba(20,20,20,.08);
  --shadow-lg:    0 18px 50px rgba(20,20,20,.14);
  --radius:       14px;
  --radius-lg:    22px;
  --radius-sm:    8px;
  --wrap:         1180px;
  --ff-body:      "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-head:      "Fraunces", Georgia, "Times New Roman", serif;
}

/* Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
a  { color: var(--brand); text-decoration: underline; }
a:hover { text-decoration: underline; }
a:focus { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.btn-danger { background: #b91c1c; color:#fff; }
.btn-danger:hover { background: #991b1b; color:#fff; }
.btn-block { display: flex; width: 100%; }

/* Header --------------------------------------------------- */
.site-header {
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem 1.25rem;
  max-width: var(--wrap); margin: 0 auto;
}
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; flex: 1 1 auto; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--ff-head); font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700; color: var(--brand); line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-tag { font-size: .85rem; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-meta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone { font-weight: 700; color: var(--ink); }
.header-phone:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s; }

/* Nav ------------------------------------------------------ */
.site-nav { background: var(--brand); color: #fff; }
.nav-list {
  display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav-list > li > a {
  display: block; padding: .95rem 1.1rem; color: #fff; font-weight: 700;
  border-radius: 0; text-decoration: none; font-size: .95rem;
}
.nav-list > li > a:hover, .nav-list > li.active > a { background: var(--brand-dark); }
.nav-list .has-submenu { position: relative; }
.nav-list .submenu {
  position: absolute; top: 100%; left: 0;
  background: #fff; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius);
  min-width: 220px; list-style: none; margin: 0; padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .15s, visibility .15s, transform .15s;
  z-index: 60;
}
.nav-list .has-submenu:hover .submenu,
.nav-list .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a { display: block; padding: .6rem 1.1rem; color: var(--ink); font-weight: 600; font-size: .9rem; }
.submenu li a:hover { background: var(--brand-light); color: var(--brand); text-decoration: none; }

/* Hero (home) ---------------------------------------------- */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-content { position: relative; padding: 4rem 1.25rem; max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .4em; }
.hero-tag { font-size: 1.15rem; opacity: .95; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Page hero (inner pages) --------------------------------- */
.page-hero {
  background: linear-gradient(120deg, var(--brand-light), var(--accent-light));
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--ink); margin-bottom: .3em; }
.page-intro { font-size: 1.1rem; color: var(--ink-soft); max-width: 680px; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 .25rem; }

/* Home intro ---------------------------------------------- */
.home-intro {
  display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem;
  padding: 3.5rem 1.25rem;
}
.home-intro-text h2 { font-size: 2rem; }
.home-hours-card {
  background: var(--panel); padding: 1.75rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.home-hours-card h3 { margin-top: 0; color: var(--brand); }

/* Hours list ---------------------------------------------- */
.hours-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.hours-list li {
  display: flex; justify-content: space-between; padding: .45rem 0;
  border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 700; color: var(--ink); }
.hours-list .time { color: var(--ink-soft); }
.hours-notice {
  margin-top: .75rem; padding: .7rem .9rem; background: var(--accent-light);
  border-radius: var(--radius-sm); font-size: .9rem; color: #0f766e;
}

/* Home events --------------------------------------------- */
.home-events { padding: 3rem 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section-link { font-weight: 700; }

.featured-event {
  display: flex; gap: 1.5rem; align-items: center;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff; padding: 1.75rem; border-radius: var(--radius-lg);
  text-decoration: none; box-shadow: var(--shadow);
  margin-bottom: 2rem; transition: transform .2s, box-shadow .2s;
}
.featured-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; color: #fff; }
.fe-date {
  background: rgba(255,255,255,.18); border-radius: var(--radius);
  padding: .9rem 1.3rem; text-align: center; min-width: 92px; backdrop-filter: blur(6px);
}
.fe-month { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.fe-day { display: block; font-family: var(--ff-head); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.fe-body { flex: 1; }
.fe-body h3 { color: #fff; margin: .1rem 0 .4rem; font-size: 1.5rem; }
.fe-pill { display: inline-block; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 800; padding: .2rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.fe-meta { margin: 0; opacity: .95; font-size: .95rem; }
.fe-arrow { font-size: 1.8rem; opacity: .6; }

.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.event-card {
  display: flex; gap: 1rem; background: var(--bg); padding: 1.1rem; border-radius: var(--radius);
  text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-color: var(--brand); }
.ec-date { background: var(--brand-light); color: var(--brand); border-radius: var(--radius-sm); padding: .5rem .8rem; text-align: center; min-width: 64px; }
.ec-month { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.ec-day { display: block; font-family: var(--ff-head); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.ec-body h4 { margin: .1rem 0 .3rem; font-size: 1.05rem; }
.ec-meta { font-size: .85rem; color: var(--muted); margin: 0; }

/* Home gallery -------------------------------------------- */
.home-gallery { padding: 3rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.gallery-item {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); position: relative;
  background: #efe8dd;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Page body (2-col inner pages) --------------------------- */
.page-body {
  display: grid; grid-template-columns: 2.2fr 1fr; gap: 2.5rem;
  padding: 3rem 1.25rem;
}
.page-body-wide { display: block; }
.page-content { font-size: 1.05rem; }
.page-content h2, .page-content h3, .page-content h4 { margin-top: 1.6em; }
.page-content h4 { font-size: 1.1rem; color: var(--brand); }
.page-content img { border-radius: var(--radius); margin: 1.25rem 0; }
.page-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.page-content table td { padding: .4rem .6rem; border-bottom: 1px solid var(--line); }

.page-sidebar .sidebar-card {
  background: var(--panel); padding: 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 1.25rem;
}
.sidebar-card h3 { margin-top: 0; color: var(--brand); font-size: 1.1rem; }

/* Contact -------------------------------------------------- */
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; padding: .75rem .9rem; margin-top: .4rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(194,65,12,.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-info-grid h3 { margin: 0 0 .3em; font-size: 1rem; color: var(--brand); }
.contact-info-grid p { margin: 0; }

/* Alerts --------------------------------------------------- */
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-weight: 600; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #e0f2fe; color: #075985; border: 1px solid #7dd3fc; }

/* Links of Interest --------------------------------------- */
.link-category { margin-top: 2.5rem; color: var(--brand); border-bottom: 3px solid var(--brand-light); padding-bottom: .3em; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.link-card {
  display: flex; gap: 1rem; background: var(--panel); padding: 1.25rem; border-radius: var(--radius);
  text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); text-decoration: none; color: var(--ink); }
.link-icon { font-size: 1.5rem; }
.link-body h3 { margin: 0 0 .3em; font-size: 1.05rem; color: var(--brand); }
.link-body p { margin: 0 0 .3em; font-size: .9rem; color: var(--ink-soft); }
.link-host { font-size: .75rem; color: var(--muted); font-family: monospace; }

/* Calendar ------------------------------------------------- */
.cal-hero {
  position: relative; min-height: 340px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.cal-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--accent); }
.cal-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,118,110,.9), rgba(194,65,12,.75)); }
.cal-hero-inner { position: relative; padding: 3.5rem 1.25rem; max-width: 780px; }
.eyebrow { display: inline-block; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.cal-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4em; }
.cal-hero-meta { font-size: 1.05rem; opacity: .95; margin-bottom: 1.5rem; }

.cal-wrap {
  display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 2rem;
  padding: 3rem 1.25rem;
}
.cal-grid-col { min-width: 0; }
.cal-upcoming-col { min-width: 0; }
.cal-toolbar { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cal-month-label { flex: 1; margin: 0; text-align: center; font-size: 1.4rem; color: var(--brand); min-width: 160px; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
  background: var(--line); border-radius: var(--radius); padding: 4px;
  box-shadow: var(--shadow-sm);
  grid-auto-rows: 110px;
}
.cal-dow { background: var(--brand); color: #fff; text-align: center; padding: .5rem .25rem; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; border-radius: var(--radius-sm); }
.cal-cell {
  background: var(--panel); padding: .4rem;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.cal-empty { background: transparent; }
.cal-date { font-weight: 700; color: var(--ink-soft); font-size: .85rem; line-height: 1; margin-bottom: .3rem; }
.cal-today { background: var(--brand-light); box-shadow: inset 0 0 0 2px var(--brand); }
.cal-today .cal-date { color: var(--brand); }
.cal-has .cal-date { color: var(--brand); font-weight: 800; }

.cal-chip {
  display: block;
  background: var(--accent); color: #fff;
  font-size: .7rem; line-height: 1.2;
  padding: .22rem .4rem;
  border-radius: 4px;
  text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 2px;
  max-width: 100%;
  min-width: 0;
}
.cal-chip:first-of-type { margin-top: 0; }
.cal-chip:hover { background: var(--brand); color: #fff; text-decoration: none; }
.chip-time { font-weight: 800; margin-right: 3px; }
.chip-title { font-weight: 500; }

.cal-upcoming-col h2 { margin-top: 0; color: var(--brand); }
.upcoming-list { list-style: none; padding: 0; margin: 0; }
.upcoming-list li { margin-bottom: .75rem; }
.up-item {
  display: flex; gap: .9rem; padding: .9rem; background: var(--panel);
  border-radius: var(--radius); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s;
}
.up-item:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); border-color: var(--brand); text-decoration: none; color: var(--ink); }
.up-date { text-align: center; min-width: 48px; background: var(--brand-light); color: var(--brand); border-radius: var(--radius-sm); padding: .3rem .5rem; }
.up-m { display: block; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.up-d { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1; font-family: var(--ff-head); }
.up-body h4 { margin: 0 0 .2rem; font-size: .95rem; }
.up-meta { margin: 0; font-size: .75rem; color: var(--muted); }

.event-details-wrap { padding: 1rem 1.25rem 3rem; }
.event-details-wrap h2 { color: var(--brand); border-bottom: 3px solid var(--brand-light); padding-bottom: .3em; }
.event-details-list { display: flex; flex-direction: column; gap: 1.5rem; }
.event-detail {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem;
  background: var(--panel); padding: 1.75rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.event-detail:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(194,65,12,.15), var(--shadow); }
.ed-date-block { background: var(--brand-light); color: var(--brand); border-radius: var(--radius); padding: .8rem; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.ed-month { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.ed-day   { display: block; font-family: var(--ff-head); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.ed-weekday { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.ed-body h3 { margin-top: 0; color: var(--brand); font-size: 1.4rem; }
.ed-meta { color: var(--muted); margin-bottom: 1rem; }
.ed-img { border-radius: var(--radius); margin: 1rem 0; max-height: 320px; width: 100%; object-fit: cover; }
.ed-desc p { margin-bottom: .8em; }
.ed-attachments { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ed-attachments ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.ed-attachments li { padding: .3rem 0; }

.past-events-wrap { padding: 0 1.25rem 3rem; }
.past-events summary { cursor: pointer; }
.past-events summary h2 { display: inline-block; color: var(--muted); }
.past-list { list-style: none; padding: 0; }
.past-list li { display: flex; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.past-date { min-width: 120px; font-weight: 600; }

.empty { color: var(--muted); font-style: italic; }

/* Staff Directory ----------------------------------------- */
.staff-wrap { padding: 3rem 1.25rem; }
.staff-group { margin-bottom: 3rem; }
.staff-group:last-child { margin-bottom: 0; }
.staff-group-title {
  font-size: 1.75rem; color: var(--brand);
  padding-bottom: .4em; margin-bottom: 1.5rem;
  position: relative; display: inline-block;
}
.staff-group-title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 2px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 860px;
}
@media (max-width: 720px) {
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 440px) {
  .staff-grid { grid-template-columns: 1fr; }
}
.staff-card {
  position: relative;
  background: var(--panel);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.staff-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 70px;
  background: linear-gradient(135deg, var(--brand-light), var(--accent-light));
  z-index: 0;
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.staff-avatar {
  position: relative; z-index: 1;
  width: 84px; height: 84px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-family: var(--ff-head);
  font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(194,65,12,.28), 0 0 0 4px #fff;
  letter-spacing: 1px;
}
.staff-name {
  position: relative; z-index: 1;
  font-family: var(--ff-head);
  font-size: 1.25rem;
  margin: 0 0 .25rem;
  color: var(--ink);
}
.staff-position {
  position: relative; z-index: 1;
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  background: var(--brand-light);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin: 0 0 .75rem;
}
.staff-bio {
  position: relative; z-index: 1;
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 0 0 .75rem;
  line-height: 1.5;
}
.staff-email {
  position: relative; z-index: 1;
  display: inline-block;
  font-size: .85rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: .25rem;
}
.staff-email:hover { color: var(--brand-dark); }

/* Footer --------------------------------------------------- */
.site-footer { background: #1f2937; color: #e5e7eb; margin-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  padding: 3rem 1.25rem 2rem;
}
.foot-col h3 { color: #fff; font-size: 1.1rem; margin-top: 0; border-bottom: 2px solid var(--brand); padding-bottom: .4em; display: inline-block; }
.foot-col a { color: #fcd9c4; }
.foot-col a:hover { color: #fff; }
.foot-col .hours-list li { border-color: rgba(255,255,255,.1); color: #d1d5db; }
.foot-col .hours-list .day { color: #fff; }
.foot-col .hours-list .time { color: #9ca3af; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { padding: .3rem 0; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem; text-align: center; font-size: .85rem; color: #9ca3af;
}
.foot-bottom p { margin: .2rem 0; }
.foot-note { font-style: italic; max-width: 720px; margin: 0 auto !important; }

/* Responsive ---------------------------------------------- */
@media (max-width: 1000px) {
  .cal-wrap { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .home-intro, .page-body, .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .cal-grid { grid-auto-rows: 84px; }
  .cal-dow { font-size: .65rem; padding: .4rem .2rem; }
  .cal-cell { padding: .3rem; }
  .cal-date { font-size: .78rem; }
  .cal-chip { font-size: .62rem; padding: .15rem .3rem; }
  .event-detail { grid-template-columns: 1fr; }
  .ed-date-block { display: inline-flex; width: auto; max-width: 140px; }
  .cal-hero-inner { padding: 2.5rem 1.25rem; }
}
@media (max-width: 600px) {
  .cal-grid { grid-auto-rows: 62px; gap: 2px; padding: 2px; }
  .cal-dow { font-size: .55rem; padding: .3rem .1rem; letter-spacing: .3px; }
  .cal-cell { padding: .2rem; }
  .cal-date { font-size: .7rem; margin-bottom: .15rem; }
  .cal-chip { font-size: 0; padding: 2px; margin-top: 2px; border-radius: 3px; height: 5px; }
  .cal-chip .chip-time, .cal-chip .chip-title { display: none; }
  .cal-toolbar { gap: .35rem; }
  .cal-month-label { font-size: 1.1rem; min-width: 100px; }
  .cal-toolbar .btn { padding: .4rem .7rem; font-size: .75rem; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .header-meta { order: 3; width: 100%; justify-content: flex-start; padding-top: .5rem; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; order: 2; }
  .site-nav { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav.open { max-height: 800px; }
  .nav-list { flex-direction: column; padding: .5rem 0; }
  .nav-list > li > a { padding: .9rem 1.25rem; border-bottom: 1px solid var(--brand-dark); }
  .nav-list .submenu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: var(--brand-dark); border-radius: 0; padding: 0; }
  .submenu li a { color: #fff; padding-left: 2.5rem; font-size: .85rem; }
  .submenu li a:hover { background: rgba(0,0,0,.2); color: #fff; }
  .hero { min-height: 420px; }
  .featured-event { flex-direction: column; align-items: flex-start; text-align: left; }
  .fe-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
