/* Oregon COAAST Network — Sample stakeholder site
   Colors from live sammysplace.info (simplified). Mobile-first. */

/* Palette from live sammysplace.info (simplified): primary #008276, dark #004e47,
   navy text #140f38, navy accent #2a3f6a, soft gold #f2de96, page bg #f7f7f7. */
:root {
  --teal-900: #004e47;
  --teal-800: #006b62;
  --teal-700: #008276;
  --teal-600: #009688;
  --teal-100: #d4efec;
  --teal-50: #e8f6f4;
  --sand-700: #6b5a2e;
  --sand-500: #f2de96;
  --sand-200: #f7efc9;
  --sand-100: #fbf7e8;
  --cream: #f7f7f7;
  --cream-dark: #eeeeee;
  --ink: #140f38;
  --ink-muted: #3d3a55;
  --navy: #2a3f6a;
  --white: #ffffff;
  --focus: #c45c26;
  --banner: #2a3f6a;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 2px 10px rgba(20, 15, 56, 0.06);
  --shadow-lg: 0 8px 24px rgba(20, 15, 56, 0.1);
  --max: 72rem;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--teal-900); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--teal-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* Sample banner */
.sample-banner {
  background: var(--banner);
  color: #f2f7f2;
  text-align: center;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
}
.sample-banner strong { font-weight: 700; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header / nav */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--teal-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(10, 74, 78, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand-logo {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
@media (min-width: 900px) {
  .brand-logo { width: 72px; }
}
.a11y-note {
  font-size: 0.85rem;
  opacity: 0.9;
  max-width: 42rem;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}
.brand-primary {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.2;
}
.brand-tagline {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  max-width: 22rem;
}
.brand-secondary {
  font-size: 0.8rem;
  color: var(--sand-700);
  font-weight: 600;
  margin-top: 0.15rem;
}

.site-nav {
  width: 100%;
  border-top: 1px solid var(--teal-100);
  padding-top: 0.5rem;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
  color: var(--teal-900);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--teal-50);
  color: var(--teal-800);
}
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--teal-600);
}

@media (min-width: 900px) {
  .site-nav ul { justify-content: space-between; }
}
/* On phones the full menu makes the header tall, so let it scroll away */
@media (max-width: 899px) {
  .site-header { position: static; }
  .site-nav a { font-size: 1.1rem; padding: 0.45rem 0.8rem; }
}

/* Hero */
.hero {
  background: var(--teal-700);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.35rem;
  max-width: 22ch;
}
.hero .hero-sub {
  font-size: 1.05rem;
  opacity: 0.95;
  margin: 0 0 0.25rem;
  font-weight: 500;
}
.hero .hero-sammy {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0 0 1.25rem;
}
.hero-lead {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  opacity: 0.95;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.125rem;
  min-height: 48px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--sand-200);
  color: var(--teal-900);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--teal-900);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.btn-solid {
  background: var(--teal-700);
  color: var(--white);
}
.btn-solid:hover {
  background: var(--teal-900);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-600);
}
.btn-outline:hover {
  background: var(--teal-50);
  color: var(--teal-900);
}
.btn-accent {
  background: var(--sand-500);
  color: var(--ink);
}
.btn-accent:hover {
  background: var(--sand-700);
  color: var(--white);
}
.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}
.section-alt { background: var(--white); }
.section-sand { background: var(--cream-dark); }
.section-teal {
  background: var(--teal-50);
}
.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--teal-900);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.section-head p {
  margin: 0;
  color: var(--ink-muted);
}
.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-700);
  margin-bottom: 0.4rem;
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}
.card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--teal-900);
  font-family: var(--font-display);
}
.card p { margin: 0; color: var(--ink-muted); flex: 1; }
.card .card-meta {
  font-size: 0.85rem;
  color: var(--sand-700);
  font-weight: 600;
}
.card-link {
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.25rem;
}
.card-link::after { content: " →"; }

.card-feature {
  border-top: 4px solid var(--teal-600);
}
.card-self {
  border-color: var(--teal-600);
  background: var(--teal-50);
}
.card-placeholder {
  border-style: dashed;
  background: var(--cream);
}

/* Board bios: masonry-style columns so short bios don't leave empty space */
.board-grid {
  columns: 1;
  column-gap: 1.25rem;
}
@media (min-width: 640px) {
  .board-grid { columns: 2; }
}
.board-grid .card {
  height: auto;
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
.board-grid .card p { flex: none; }
.board-grid .card .card-meta { margin-top: -0.35rem; }

/* Callouts */
.callout {
  border-left: 4px solid var(--teal-600);
  background: var(--teal-50);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
}
.callout-warn {
  border-left-color: var(--sand-700);
  background: #faf3e8;
}
.callout strong { color: var(--teal-900); }
.callout p { margin: 0.4rem 0 0; }
.callout p:first-child { margin-top: 0; }
.muted-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
}

/* Facebook strip */
.fb-strip {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 0;
}
.fb-strip a { color: var(--white); font-weight: 700; }
.fb-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fb-strip h2 {
  margin: 0;
  font-size: 1.25rem;
  font-family: var(--font-display);
}
.fb-strip p { margin: 0.25rem 0 0; opacity: 0.9; font-size: 0.95rem; }

.fb-mock-grid .card {
  background: #f7f9fc;
  border-color: #d0d7e2;
}
.fb-mock-label {
  display: inline-block;
  background: #e8edf5;
  color: #3a4a5c;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Teaser bands */
.teaser-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .teaser-band { grid-template-columns: 1.2fr 1fr; }
  .teaser-band.reverse { grid-template-columns: 1fr 1.2fr; }
  .teaser-band.reverse .teaser-copy { order: 2; }
}
.teaser-visual {
  background: var(--teal-50);
  border-radius: var(--radius);
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--teal-900);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  border: 1px solid var(--sand-200);
}

/* Donors strip */
.donor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .donor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .donor-grid { grid-template-columns: repeat(6, 1fr); }
}
.logo-box {
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 2px dashed var(--sand-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 36rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--teal-900);
  font-size: 0.95rem;
}
.form-group .hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--sand-500);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}
.form-group textarea { min-height: 8rem; resize: vertical; }
.form-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Widget placeholder */
.widget-box {
  border: 2px dashed var(--teal-600);
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ink-muted);
}
.widget-box strong { display: block; color: var(--teal-900); margin-bottom: 0.5rem; font-size: 1.1rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--teal-700);
  color: var(--white);
  padding: 2rem 0 2.25rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.page-hero p {
  margin: 0;
  max-width: 40rem;
  opacity: 0.92;
  font-size: 1.05rem;
}

/* Staff gate */
.gate-panel {
  max-width: 28rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand-200);
}
.gate-panel h2 {
  margin: 0 0 0.5rem;
  color: var(--teal-900);
  font-family: var(--font-display);
}
.staff-docs { list-style: none; padding: 0; margin: 1rem 0 0; }
.staff-docs li {
  border-bottom: 1px solid var(--sand-200);
}
.staff-docs a {
  display: block;
  padding: 0.85rem 0.25rem;
  text-decoration: none;
  font-weight: 600;
}
.staff-docs a:hover { background: var(--teal-50); }

/* Contact details */
.contact-block {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contact-block { grid-template-columns: 1fr 1fr; }
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--sand-200);
}
.contact-list strong {
  display: block;
  color: var(--teal-900);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: #d4efec;
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}
.site-footer a { color: #d4efec; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Utilities */
.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;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.prose { max-width: 42rem; }
.prose h2 {
  font-family: var(--font-display);
  color: var(--teal-900);
  margin: 1.75rem 0 0.65rem;
}
.prose p { margin: 0 0 1rem; }
.placeholder-link {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  background: var(--sand-200);
  color: var(--teal-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px dashed var(--sand-700);
}
.placeholder-link:hover {
  background: var(--sand-100);
  color: var(--teal-900);
}
.chip {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-900);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Beta draft fixes */
.fb-strip .btn-primary { color: var(--teal-900); }
.logo-box { border-style: solid; border-width: 1.5px; color: var(--teal-900); font-size: 0.85rem; }

/* 211 help bar (top of every page) */
.bar-211 {
  background: var(--sand-500);
  color: var(--ink);
  border-bottom: 2px solid var(--sand-700);
}
.bar-211 .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
}
.bar-211 p { margin: 0; font-size: 1rem; line-height: 1.5; }
.bar-211 a { color: var(--teal-900); font-weight: 700; }
.bar-211-badge {
  flex-shrink: 0;
  background: var(--teal-900);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.6rem;
  letter-spacing: 0.03em;
}

/* Program areas with sub-categories */
.program-areas { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .program-areas { grid-template-columns: repeat(2, 1fr); }
}
.program-area {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-top: 5px solid var(--teal-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.program-area.area-resilience { border-top-color: var(--navy); }
.program-area h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.6rem);
  color: var(--teal-900);
  line-height: 1.25;
}
.program-area > p { margin: 0; color: var(--ink-muted); }
.subcats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 560px) {
  .subcats { grid-template-columns: repeat(2, 1fr); }
}
.subcat {
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  line-height: 1.45;
}
.area-resilience .subcat { background: #eef1f7; }
.subcat a, .subcat strong {
  display: block;
  font-weight: 700;
  color: var(--teal-900);
  text-decoration: none;
  margin-bottom: 0.2rem;
}
.subcat a:hover { text-decoration: underline; }
.subcat span { font-size: 0.95rem; color: var(--ink-muted); }
.program-area .card-link { margin-top: auto; }

/* Donate / funders */
.give-options { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .give-options { grid-template-columns: repeat(2, 1fr); }
}
.give-options .card { text-align: left; }
.give-options .btn { align-self: flex-start; }
.stat-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal-900);
  line-height: 1.15;
}
.stat span { font-size: 0.95rem; color: var(--ink-muted); }
.to-confirm {
  display: inline-block;
  background: #faf3e8;
  border: 1.5px dashed var(--sand-700);
  color: var(--sand-700);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  padding: 0 0.4rem;
}
.funder-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .funder-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .funder-list { grid-template-columns: repeat(3, 1fr); }
}
.funder-list li {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  line-height: 1.45;
}
.funder-list strong { display: block; color: var(--teal-900); }
.funder-list span { font-size: 0.92rem; color: var(--ink-muted); }
.staff-docs .doc-pending {
  display: block;
  padding: 0.85rem 0.25rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Home: resources block with larger, easier-to-read text */
.section-resources .section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.section-resources .section-head p { font-size: 1.2rem; }
.section-resources .card h3 { font-size: 1.45rem; }
.section-resources .card p { font-size: 1.15rem; }
.section-resources .card-link { font-size: 1.15rem; }

/* Utility bar: Translate · Easy Read · phone · Contact */
.util-bar { background: var(--teal-900); color: var(--white); font-size: 1rem; }
.util-bar ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.25rem;
}
.util-bar a { color: var(--white); font-weight: 700; display: inline-block; padding: 0.2rem 0; }
.util-pending { opacity: 0.85; }

/* Google Translate */
.util-translate { display: flex; align-items: center; gap: 0.5rem; }
.util-translate-label { font-weight: 700; }
.util-translate .goog-te-gadget { font-family: var(--font); font-size: 0; color: var(--white); }
.util-translate .goog-te-gadget > span { display: none; }
.util-translate .goog-te-combo {
  font: inherit; font-size: 0.95rem; margin: 0; padding: 0.2rem 0.4rem; min-height: 32px;
  border-radius: 6px; border: 1px solid var(--teal-100); background: var(--white); color: var(--ink);
}

/* Header right side: live date/time above the Donate button */
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  margin-left: auto;
  text-align: right;
}
.header-clock {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  color: var(--teal-900);
}
.header-clock-date { font-size: 0.85rem; font-weight: 600; }
.header-clock-time { font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.header-donate {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--sand-500);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid var(--sand-700);
}
.header-donate:hover,
.header-donate[aria-current="page"] { background: var(--sand-200); color: var(--ink); }
@media (max-width: 560px) {
  .header-clock-date { font-size: 0.75rem; }
  .header-clock-time { font-size: 0.9rem; }
  .header-donate { padding: 0.4rem 0.9rem; font-size: 1rem; }
}

/* Home hero additions */
.hero-identity { max-width: 40rem; font-size: 1.25rem; font-weight: 600; margin: 0.75rem 0; }
.hero-call { margin: 1rem 0 0.25rem; font-size: 1.15rem; }
.hero-crisis { margin: 0; font-size: 1.15rem; }
.hero-call a, .hero-crisis a { color: var(--white); font-weight: 700; }
.subcat span a.inline-link { display: inline; text-decoration: underline; margin: 0; }

/* Crisis box */
.crisis-box { background: #fdf0ee; border-block: 3px solid #a3321f; }
.crisis-box .wrap { padding: 1.1rem 0; }
.crisis-box h2 { margin: 0 0 0.6rem; font-family: var(--font-display); color: #7a2414; font-size: 1.4rem; }
.crisis-box ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.6rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .crisis-box ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .crisis-box ul { grid-template-columns: repeat(4, 1fr); } }
.crisis-box li a {
  display: block; background: var(--white); border: 1px solid #e3b8af; border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem; text-decoration: none; color: var(--ink); line-height: 1.35; min-height: 48px;
}
.crisis-box li a:hover { border-color: #a3321f; }
.crisis-box li b { display: block; color: #7a2414; font-size: 1.2rem; }
.crisis-box .muted-note { font-size: 1rem; }

/* Resource directory */
.dir-controls {
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: var(--shadow); display: grid; gap: 0.9rem;
}
@media (min-width: 768px) { .dir-controls { grid-template-columns: 2fr 1fr; align-items: end; } }
.dir-controls label { display: block; font-weight: 700; color: var(--teal-900); margin-bottom: 0.3rem; }
.dir-controls input, .dir-controls select {
  width: 100%; font: inherit; font-size: 1.125rem; padding: 0.65rem 0.75rem; min-height: 48px;
  border: 2px solid var(--teal-100); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
.dir-controls input:focus, .dir-controls select:focus { border-color: var(--teal-700); }
.dir-cats { margin: 1.25rem 0 0; }
.dir-cats h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--teal-900); }
.dir-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dir-cats button {
  font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; min-height: 44px;
  padding: 0.45rem 0.85rem; border-radius: 999px; border: 2px solid var(--teal-100);
  background: var(--white); color: var(--teal-900);
}
.dir-cats button:hover { border-color: var(--teal-700); }
.dir-cats button[aria-pressed="true"] { background: var(--teal-900); border-color: var(--teal-900); color: var(--white); }
.dir-cats button.pinned { border-color: #e3b8af; }
.dir-cats button.pinned[aria-pressed="true"] { background: #7a2414; border-color: #7a2414; }
.dir-cats .count { font-weight: 400; opacity: 0.8; }
.dir-status { margin: 1rem 0 0; font-weight: 700; }
.dir-group { margin-top: 2rem; }
.dir-group > h4 {
  font-family: var(--font-display); color: var(--teal-900); font-size: 1.5rem;
  margin: 0 0 0.75rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--teal-100);
}
.dir-group.pinned > h4 { color: #7a2414; border-bottom-color: #e3b8af; }
.dir-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .dir-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dir-list { grid-template-columns: repeat(3, 1fr); } }
.dir-card {
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.3rem;
}
.dir-card h4, .dir-card h5 { margin: 0; font-size: 1.1rem; color: var(--teal-900); line-height: 1.3; }
.dir-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.dir-meta span { background: var(--teal-50); color: var(--teal-900); border-radius: 999px; padding: 0.05rem 0.55rem; font-size: 0.85rem; font-weight: 700; }
.dir-card p { margin: 0; color: var(--ink-muted); flex: 1; font-size: 1rem; line-height: 1.45; }
.dir-phone { font-weight: 700; color: var(--ink); }
.dir-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.dir-actions .btn { padding: 0.4rem 0.9rem; min-height: 44px; font-size: 1rem; }
.dir-top { display: inline-block; margin-top: 0.75rem; font-weight: 700; }
.dir-more {
  font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; min-height: 44px;
  margin-top: 0.85rem; padding: 0.45rem 1rem; border-radius: 999px;
  border: 2px solid var(--teal-700); background: var(--white); color: var(--teal-900);
}
.dir-more:hover { background: var(--teal-50); }
.dir-group[hidden], .dir-tier[hidden], .dir-card[hidden], .dir-controls[hidden], .dir-cats[hidden],
.dir-more[hidden], .agency-cat[hidden], .agency-more[hidden], .search-hide[hidden], .section-find[hidden] { display: none !important; }

/* Resources: top search */
.section.section-find { padding: 1.25rem 0; background: var(--teal-50); border-bottom: 1px solid var(--teal-100); }
.find-title { margin: 0 0 0.6rem; font-family: var(--font-display); color: var(--teal-900); font-size: 1.4rem; }
.section-find .dir-status { margin-top: 0.75rem; }

/* Easy Read */
.easy-read { max-width: 40rem; font-size: 1.3rem; line-height: 1.7; }
.easy-read h2 { font-family: var(--font-display); color: var(--teal-900); font-size: 1.7rem; margin: 2rem 0 0.5rem; }
.easy-read ul { padding-left: 1.3rem; }
.easy-read li { margin-bottom: 0.5rem; }

/* 2026 logo */
.brand-logo { width: auto; height: 72px; }
@media (min-width: 900px) { .brand-logo { width: auto; height: 96px; } }
.footer-logo {
  width: auto; height: 110px; background: var(--white);
  border-radius: var(--radius-sm); padding: 0.4rem; margin-bottom: 0.75rem;
}

/* Resources: directory topic rows and tiers */
.dir-cat-row { margin-top: 0.9rem; }
.dir-cat-row h4 { margin: 0 0 0.4rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand-700); }
.dir-tier { margin-top: 2.75rem; }
.dir-tier-h {
  font-family: var(--font-display); color: var(--white); background: var(--teal-900);
  font-size: 1.35rem; margin: 0; padding: 0.55rem 0.9rem; border-radius: var(--radius-sm);
}
.dir-tier > .dir-group:first-of-type { margin-top: 1.25rem; }
.dir-group-note { margin: 0 0 1rem; color: var(--ink-muted); max-width: 44rem; }

/* Resources: slim crisis strip */
.crisis-strip { background: #fdf0ee; border-block: 3px solid #a3321f; }
.crisis-strip p { margin: 0; padding: 0.7rem 0; font-size: 1.05rem; }
.crisis-strip strong { color: #7a2414; }
.crisis-strip a { font-weight: 700; color: #7a2414; }

/* Resources: disability agencies */
.dd-steps {
  list-style: none; counter-reset: ddstep; margin: 0 0 1.5rem; padding: 0;
  display: grid; gap: 0.6rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .dd-steps { grid-template-columns: repeat(3, 1fr); } }
.dd-steps li {
  counter-increment: ddstep; background: var(--teal-50); border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem 0.7rem 3rem; position: relative;
}
.dd-steps li::before {
  content: counter(ddstep); position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--teal-900); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem;
}
.agency-cat { margin-top: 2rem; }
.agency-cat > h3 {
  font-family: var(--font-display); color: var(--teal-900); font-size: 1.35rem;
  margin: 0 0 0.3rem; padding-bottom: 0.3rem; border-bottom: 2px solid var(--teal-100);
}
.agency-cat > p { margin: 0 0 0.9rem; color: var(--ink-muted); max-width: 44rem; }
.agency-more { margin: 1.75rem 0 0; font-weight: 700; }

/* Resources: program spotlight */
.spotlight-card { border: 2px solid var(--teal-600); border-top-width: 6px; padding: 1.6rem 1.6rem 1.4rem; }
.spotlight-card h3 { font-size: 1.45rem; }
.spotlight-card .chip { align-self: flex-start; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Community calendar (calendar.js) ---------- */
.cal-cat-sammys-place { --cat: var(--teal-700); }
.cal-cat-self-advocacy { --cat: #b5481c; }
.cal-cat-training { --cat: var(--navy); }
.cal-cat-support-group { --cat: #7a4f9a; }
.cal-cat-community { --cat: var(--sand-700); }

.cal-top { display: flex; flex-direction: column; gap: 1.5rem; }
.cal-panel {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-top: 4px solid var(--teal-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  width: 100%;
  max-width: 30rem;
}
.cal-compact .cal-panel { max-width: 24rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.cal-month { margin: 0; font-family: var(--font-display); color: var(--teal-900); font-size: 1.2rem; }
.cal-nav {
  border: 1.5px solid var(--teal-600);
  background: var(--white);
  color: var(--teal-900);
  border-radius: 999px;
  width: 2.5rem; height: 2.5rem;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
}
.cal-nav:hover { background: var(--teal-50); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--ink-muted); padding: 0.15rem 0; }
.cal-day {
  aspect-ratio: 1;
  min-height: 2.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 0;
}
.cal-day:hover { border-color: var(--teal-600); }
.cal-day.is-past { color: #77748a; }
.cal-day.has-events { background: var(--teal-50); font-weight: 700; }
.cal-day.is-today { border: 2px solid var(--focus); }
.cal-day[aria-pressed="true"] { background: var(--teal-800); color: var(--white); }
.cal-dots { display: flex; gap: 2px; height: 6px; }
.cal-dots i, .cal-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cat); }
.cal-day[aria-pressed="true"] .cal-dots i { box-shadow: 0 0 0 1px var(--white); }
.cal-add { margin: 0.9rem 0 0; }
.cal-add .btn { width: 100%; justify-content: center; }

.cal-legend { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.9rem; color: var(--ink-muted); }
.cal-legend i { width: 10px; height: 10px; margin-right: 0.3rem; }

.cal-list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.cal-list-head { margin: 0; font-family: var(--font-display); color: var(--teal-900); font-size: 1.3rem; }
.cal-showall { padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.cal-status { color: var(--ink-muted); margin: 0.75rem 0; }
.cal-list, .cal-list ul { list-style: none; margin: 0; padding: 0; }
.cal-date { margin-top: 1rem; }
.cal-ongoing { margin-top: 1rem; padding: 0.75rem 0.9rem 0.3rem; background: var(--sand-100); border: 1px solid var(--sand-200); border-radius: var(--radius-sm); }
.cal-ongoing[hidden] { display: none; }
.cal-ongoing > summary { cursor: pointer; color: var(--teal-900); }
.cal-ongoing > summary::marker { color: var(--teal-700); }
.cal-ongoing-head { display: inline; margin: 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--teal-900); }
.cal-ongoing-note { margin: 0.3rem 0 0.6rem; font-size: 0.92rem; color: var(--ink-muted); }
.cal-ongoing-list { list-style: none; margin: 0; padding: 0; }
.cal-date-label { margin: 0 0 0.4rem; font-weight: 700; color: var(--sand-700); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cal-item {
  display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-left: 5px solid var(--cat, var(--teal-600));
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
}
.cal-item-body { flex: 1; min-width: 0; }
.cal-item h4 { margin: 0.35rem 0 0.1rem; font-family: var(--font-display); color: var(--teal-900); font-size: 1.15rem; line-height: 1.3; }
.cal-item .card-meta { margin: 0; font-size: 0.9rem; color: var(--sand-700); font-weight: 600; }
.cal-item details { margin-top: 0.4rem; font-size: 0.98rem; }
.cal-item summary { cursor: pointer; font-weight: 700; color: var(--teal-700); }
.cal-item details p { margin: 0.35rem 0 0; color: var(--ink-muted); overflow-wrap: anywhere; }
.cal-desc { white-space: pre-line; }
.cal-flier { flex: 0 0 auto; width: 6.5rem; }
.cal-flier img { width: 100%; border-radius: 6px; border: 1px solid var(--sand-200); }
.cal-flier-pdf { display: grid; place-items: center; height: 6rem; background: var(--sand-100); border: 1px dashed var(--sand-700); border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-decoration: none; }

/* ---------- Add an event wizard ---------- */
.wizard { max-width: 44rem; }
.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard legend { font-family: var(--font-display); font-size: 1.35rem; color: var(--teal-900); margin-bottom: 1rem; padding: 0; }
.wizard-steps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; counter-reset: step; }
.wizard-steps li {
  counter-increment: step;
  font-size: 0.85rem; font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--cream-dark);
  color: var(--ink-muted);
}
.wizard-steps li::before { content: counter(step) ". "; }
.wizard-steps li.is-done { background: var(--teal-100); color: var(--teal-900); }
.wizard-steps li[aria-current="step"] { background: var(--teal-800); color: var(--white); }
.wizard .label { display: block; font-weight: 700; margin-bottom: 0.5rem; color: var(--teal-900); font-size: 0.95rem; }
.choice-grid { display: grid; gap: 0.5rem; }
.choice {
  display: flex !important; gap: 0.7rem; align-items: flex-start;
  border: 1.5px solid var(--sand-500); border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem; cursor: pointer; font-weight: 400 !important; color: var(--ink) !important;
  background: var(--cream);
}
.choice:has(input:checked) { border-color: var(--teal-700); background: var(--teal-50); }
.choice input { width: auto !important; margin-top: 0.35rem; accent-color: var(--teal-700); }
.choice b { display: block; color: var(--teal-900); }
.choice span { font-size: 0.92rem; color: var(--ink-muted); }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.wizard [aria-invalid="true"] { border-color: #b3261e; }
.wizard-errors ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.wizard-sub { font-weight: 700; color: var(--sand-700); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; margin: 1.25rem 0 0.5rem; }
.flier-preview { margin-top: 0.6rem; font-size: 0.95rem; }
.flier-preview img { max-height: 14rem; width: auto; border-radius: 6px; border: 1px solid var(--sand-200); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0; }
.review dt { font-weight: 700; color: var(--teal-900); }
.review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.wizard-done h2 { margin-top: 0; font-family: var(--font-display); color: var(--teal-900); }

/* ---------- Staff review ---------- */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.admin-tabs [aria-pressed="true"] { background: var(--teal-800); color: var(--white); }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.admin-item { height: auto; }
.admin-item p { flex: none; overflow-wrap: anywhere; }
.admin-flier img { max-height: 16rem; width: auto; border-radius: 6px; }
.admin-delete { border-color: #b3261e; color: #b3261e; }
.admin-msg { min-height: 1.5em; margin: 0.5rem 0; font-weight: 600; color: var(--teal-900); }
.ai-suggestions { margin: 1.5rem 0 2.5rem; padding: 1.25rem; border: 2px solid var(--teal-100); border-radius: var(--radius); background: var(--teal-50); }
.ai-suggestions h2, #admin-panel > h2 { margin-top: 0; font-family: var(--font-display); color: var(--teal-900); }
.suggestion-action { background: var(--navy); color: var(--white); }
.suggestion-note { padding: 0.5rem 0.75rem; border-left: 4px solid var(--sand-700); background: var(--sand-100); }
.suggestion-changed { background: var(--sand-500); border-radius: 4px; padding: 0 0.25rem; }
.suggestion-was { color: var(--ink-muted); text-decoration: line-through; }
.suggestion-history { margin-top: 1rem; }
.suggestion-history summary { cursor: pointer; font-weight: 700; color: var(--teal-900); }
.suggestion-history ul { margin-top: 0.75rem; }

/* ---------- Self-Advocacy ---------- */
.program-jump { margin-top: 1rem; }
.frank-feature { display: grid; gap: 1.25rem; align-items: center; background: var(--white); border-radius: var(--radius); border: 1px solid var(--sand-200); box-shadow: var(--shadow); padding: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .frank-feature { grid-template-columns: 1.2fr 1fr; padding: 1.5rem; } }
.frank-compact { box-shadow: none; border: 0; padding: 0; margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frank-text h3 { margin: 0.5rem 0; font-family: var(--font-display); color: var(--teal-900); font-size: 1.5rem; }
.frank-text p { color: var(--ink-muted); margin: 0 0 0.75rem; }
.frank-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.program-area.area-advocacy { border-top-color: #b5481c; }
@media (min-width: 900px) { .program-area.area-advocacy { grid-column: 1 / -1; } }
.sa-meetings { margin-bottom: 2rem; }
.sa-meetings-head { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }
.sa-meetings-head h3, .sa-cal-title { margin: 0; font-family: var(--font-display); color: var(--teal-900); font-size: 1.4rem; }
.sa-cal-title { margin-bottom: 1rem; }
.sa-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .sa-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sa-list { grid-template-columns: repeat(3, 1fr); } }
.sa-card { border-top: 4px solid #b5481c; }
.sa-card h4 { margin: 0; font-family: var(--font-display); color: var(--teal-900); font-size: 1.15rem; }
.sa-card p { flex: none; }
.sa-card .chip { align-self: flex-start; }

/* Resources: 10-group directory, filters, topic chips */
.dir-controls.dir-controls-3 { align-items: start; }
@media (min-width: 768px) { .dir-controls.dir-controls-3 { grid-template-columns: 1fr 1fr; } .dir-field-search { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .dir-controls.dir-controls-3 { grid-template-columns: 2fr 1fr 1fr; } .dir-field-search { grid-column: auto; } }
.dir-controls label { font-size: 1.125rem; }
.dir-hint { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--ink-muted); }
.dir-chips { margin-top: 1rem; }
.dir-chips h3 { font-size: 1.125rem; }
.dir-chips button { font-size: 1.125rem; min-height: 48px; padding: 0.5rem 1rem; }
.dir-chips button:focus-visible, .dir-clear:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.dir-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.9rem; }
.section-find .dir-summary .dir-status { margin: 0; font-size: 1.125rem; }
.dir-clear {
  font: inherit; font-size: 1.125rem; font-weight: 700; cursor: pointer; min-height: 48px;
  padding: 0.45rem 1rem; border-radius: 999px; border: 2px solid var(--teal-700);
  background: var(--white); color: var(--teal-900);
}
.dir-clear:hover { background: var(--teal-100); }
.dir-group > .dir-group-h {
  font-family: var(--font-display); color: var(--teal-900); font-size: 1.6rem;
  margin: 0 0 0.75rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--teal-100);
}
.dir-group.pinned > .dir-group-h { color: #7a2414; border-bottom-color: #e3b8af; }
.dir-sub { margin-top: 1rem; scroll-margin-top: 1rem; }
.dir-sub-h { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 700; color: var(--sand-700); }
.dir-group { scroll-margin-top: 1rem; }
.dir-jump { margin-top: 1rem; }
.dir-jump h3 { margin: 0 0 0.5rem; font-size: 1.125rem; color: var(--teal-900); }
.dir-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.dir-jump a { display: inline-block; padding: 0.5rem 0; font-size: 1.125rem; font-weight: 700; }
.dir-sub[hidden], .dir-jump[hidden], .dir-clear[hidden], #dd-agencies[hidden] { display: none !important; }

/* --- Calendar types (Oct 2026), filters, next events --- */
.cal-cat-ready-in-5 { --cat: #b5481c; }
.cal-cat-self-advocacy { --cat: #7a4f9a; }
.cal-cat-families-training { --cat: var(--navy); }
.cal-cat-fun-community { --cat: var(--teal-700); }
.cal-cat-public-meetings { --cat: var(--sand-700); }
.sa-card { border-top-color: #7a4f9a; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 1rem; min-height: 44px; }
.cal-filters {
  display: grid; gap: 0.75rem; margin: 0 0 1.25rem; padding: 1rem;
  background: var(--white); border: 1px solid var(--teal-100); border-radius: var(--radius);
}
@media (min-width: 768px) { .cal-filters { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.cal-filter label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.cal-filter select { width: 100%; min-height: 48px; font-size: 1.125rem; padding: 0.4rem 0.6rem; border: 2px solid var(--teal-700); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.cal-filter-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.cal-filter-count { margin: 0; font-weight: 600; color: var(--ink-muted); }
.cal-host { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--ink-muted); }
.cal-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cal-join { font-weight: 700; }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; scroll-margin-top: 7rem; }
@media (min-width: 768px) { .next-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .next-list { grid-template-columns: repeat(3, 1fr); } }
.next-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }
.next-pager .btn { min-height: 44px; }
.next-pager .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.next-count { margin: 0; font-weight: 600; }
.next-item { background: var(--white); border-radius: var(--radius); border-left: 6px solid var(--cat); padding: 0.9rem 1rem; box-shadow: var(--shadow); }
.next-item h3 { margin: 0.2rem 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.next-item h3 a { color: var(--teal-900); }
.next-date { margin: 0; font-weight: 700; color: var(--sand-700); font-size: 0.95rem; }
.next-meta, .next-host { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.host-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .host-list { grid-template-columns: repeat(2, 1fr); } }
.host-list .card h3 { margin-top: 0; }
.flyer-link { display: inline-flex; gap: 0.75rem; align-items: center; }
.flyer-thumb { width: 7rem; border-radius: 6px; border: 1px solid var(--sand-200); }
.cal-filters [hidden], .cal-showall[hidden] { display: none !important; }
.sa-more { margin: 0 0 2rem; }

/* --- Housing: Pathways to independent living (Oct 2026) --- */
.pathway-box {
  display: grid; gap: 0; padding: 0; overflow: hidden; height: auto;
  margin: 1.75rem 0; text-decoration: none; color: var(--ink); min-height: 44px;
}
@media (min-width: 640px) { .pathway-box:has(img) { grid-template-columns: 2fr 3fr; align-items: center; } }
.pathway-box img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.pathway-box-text { display: block; padding: 1.25rem 1.4rem; }
.pathway-box-title { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--teal-900); line-height: 1.25; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.pathway-box-title::after { content: " →"; }
.pathway-box-line { display: block; margin-top: 0.4rem; color: var(--ink-muted); }
.pathway-box:hover { border-color: var(--teal-600); background: var(--teal-50); color: var(--ink); }
.pathways-back { margin: 0 0 0.75rem; font-weight: 700; }
.pathways-back a { display: inline-block; padding: 0.4rem 0; color: var(--white); }
.pathways-figure { margin: 0 0 1.5rem; }
.pathways-figure img { border-radius: var(--radius); width: 100%; }
.pathways-figure figcaption { margin-top: 0.4rem; font-size: 1rem; color: var(--ink-muted); }
.pathways-steps { padding-left: 1.4rem; }
.pathways-steps li { margin-bottom: 0.5rem; }
.pathways details {
  background: var(--white); border: 1px solid var(--teal-100); border-radius: var(--radius-sm);
  margin: 0 0 0.75rem; padding: 0 1.1rem;
}
.pathways summary {
  cursor: pointer; font-weight: 700; color: var(--teal-900); padding: 0.75rem 0; min-height: 44px;
}
.pathways details[open] summary { border-bottom: 1px solid var(--teal-100); margin-bottom: 0.75rem; }
.pathways details > :last-child { margin-bottom: 1rem; }
.pathways details ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.pathways .prose h3 { font-family: var(--font-display); color: var(--teal-900); margin: 1.75rem 0 0.5rem; font-size: 1.3rem; }
.res-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.res-list li { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius-sm); padding: 0.75rem 1rem; }
.res-list a { font-weight: 700; }
.res-list .res-help, .res-list .res-contact { display: block; color: var(--ink-muted); font-size: 1rem; }
.eho-note { display: flex; gap: 1rem; align-items: center; }
.eho-note img { width: 72px; flex: none; }
.eho-note p { margin: 0; }
/* Yellow draft notes for staff. Remove each one once it is checked. */
.draft-placeholder {
  background: #fff6c2; border: 2px dashed var(--sand-700); border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem; margin: 0 0 1rem; color: var(--ink); font-size: 1rem;
}

/* Find Help: two paths, then open/close topics */
.help-paths { padding: 1.25rem 0 0; }
.help-paths .wrap { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .help-paths .wrap { grid-template-columns: 3fr 2fr; } }
.help-path {
  display: block; padding: 1rem 1.2rem; border-radius: var(--radius); text-decoration: none;
  background: var(--white); border: 2px solid var(--teal-700); color: var(--teal-900);
}
.help-path strong { display: block; font-size: 1.3rem; }
.help-path span { display: block; font-size: 1.05rem; color: var(--ink-muted); }
.help-path-main { background: var(--teal-900); border-color: var(--teal-900); color: var(--white); }
.help-path-main span { color: var(--white); }
.help-path:hover strong { text-decoration: underline; }
.help-path:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.agency-start { margin-top: 0; }
.topics-h { font-family: var(--font-display); color: var(--teal-900); font-size: 1.35rem; margin: 2.25rem 0 0.2rem; }
.topics-hint { margin: 0 0 0.75rem; color: var(--ink-muted); font-size: 1.05rem; }
.topics-hint[hidden] { display: none; }
.dir-summary .dir-status { margin: 0; font-size: 1.125rem; }
.topic-list { display: grid; gap: 0.6rem; }
.topic-list > .topic { margin: 0; }
.topic {
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
  box-shadow: var(--shadow); scroll-margin-top: 1rem;
}
.topic > summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.15rem 0.75rem; min-height: 56px; padding: 0.8rem 3.25rem 0.8rem 1.1rem; position: relative;
}
.topic > summary::-webkit-details-marker { display: none; }
.topic > summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--teal-50); color: var(--teal-900);
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; line-height: 1;
}
.topic[open] > summary::after { content: "\2212"; }
.topic > summary:hover .topic-title { text-decoration: underline; }
.topic > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius); }
.topic .topic-title {
  margin: 0; padding: 0; border: 0; font-family: var(--font); font-size: 1.2rem; font-weight: 700;
  color: var(--teal-900); line-height: 1.3;
}
.topic.pinned .topic-title { color: #7a2414; }
.topic-note { flex-basis: 100%; color: var(--ink-muted); font-size: 1rem; }
.topic .count {
  background: var(--teal-50); color: var(--teal-900); border-radius: 999px;
  padding: 0.05rem 0.6rem; font-size: 0.9rem; font-weight: 700;
}
.topic[open] > summary { border-bottom: 1px solid var(--sand-200); }
.topic-body { padding: 1rem 1.1rem 1.1rem; }
.topic-body > p { margin: 0 0 0.9rem; color: var(--ink-muted); max-width: 44rem; }
.topic-body > .dir-sub:first-child { margin-top: 0; }
.topic-more { margin: 0.9rem 0 0 !important; font-weight: 700; }
.topic .dir-card { box-shadow: none; }
#directory .dir-controls { margin-bottom: 0.5rem; }
/* Two columns at most keeps each card easy to read */
@media (min-width: 1100px) { .dir-list { grid-template-columns: repeat(2, 1fr); } }

/* Home hero: title beside the Thompson Springs photo */
.hero-grid { display: grid; gap: 1rem 2rem; grid-template-areas: "head" "photo" "copy"; }
.hero-head { grid-area: head; }
.hero-photo { grid-area: photo; margin: 0; max-width: 26rem; }
.hero-copy { grid-area: copy; }
.hero-head .hero-sammy { margin-bottom: 0; }
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1fr minmax(16rem, 24rem); grid-template-areas: "head photo" "copy copy"; }
  .hero-head { align-self: center; }
  .hero-photo { max-width: none; }
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-photo figcaption { margin-top: 0.4rem; font-size: 0.95rem; opacity: 0.9; }
.hero-photo figcaption a { color: var(--white); font-weight: 700; }
/* Home Self-Advocacy box: Frank's video preview */
.area-advocacy .frank-feature { margin: 0.5rem 0 0; box-shadow: none; }

/* Note shown after an email link is clicked (site.js) */
.email-note {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(32rem, calc(100% - 2rem));
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  line-height: 1.4;
}
.email-note[hidden] { display: none; }

/* Primary nav: sub pages open under their main page (site.js toggles them) */
.site-nav a[aria-current="true"] {
  background: var(--teal-50);
  color: var(--teal-800);
  box-shadow: inset 0 -3px 0 var(--teal-600);
}
.site-nav .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2.25rem;
  margin-left: -0.2rem;
  padding: 0 0.35rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--teal-900);
  cursor: pointer;
}
.nav-sub-toggle::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}
.nav-sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
.nav-sub-toggle:hover,
.nav-sub-toggle[aria-expanded="true"] { background: var(--teal-50); }
.site-nav .nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  flex-direction: column;
  gap: 0;
  min-width: 15rem;
  max-width: min(22rem, calc(100vw - 2rem));
  margin-top: 2px;
  padding: 0.4rem;
  background: var(--white);
  border: 2px solid var(--teal-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.site-nav .nav-item:nth-last-child(-n+2) .nav-sub { left: auto; right: 0; }
.site-nav .nav-sub a { font-weight: 600; padding: 0.5rem 0.75rem; line-height: 1.35; }
.site-nav .nav-sub-group > a { font-weight: 700; }
.site-nav .nav-sub-group ul {
  display: block;
  margin: 0 0 0.25rem 0.75rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--teal-100);
}
.site-nav .nav-sub-group ul a { font-size: 0.95rem; padding: 0.35rem 0.6rem; }
/* Without JavaScript, menus open on hover or keyboard focus */
.site-nav:not(.js-nav) .nav-item:focus-within > .nav-sub,
.nav-item.open > .nav-sub { display: flex; }
@media (hover: hover) and (min-width: 900px) {
  .nav-item:hover > .nav-sub { display: flex; }
}
/* Phones: an open menu spans the full width just below the menu bar */
@media (max-width: 899px) {
  .site-nav { position: relative; }
  .site-nav .nav-item { position: static; }
  .site-nav .nav-sub,
  .site-nav .nav-item:nth-last-child(-n+2) .nav-sub { left: 0; right: 0; max-width: none; }
  .nav-sub-toggle { min-width: 2.75rem; min-height: 2.75rem; }
}
