/* ==========================================================================
   PSD — Paradigm for Social Justice & Development
   Design tokens
  Deep blue carries authority/trust; orange is energy and forward motion;
  darker orange is used sparingly for urgency (calls to action, active states);
  blue accents mark community and continuity. Docket numbers on case-style cards nod to
   the org's legal-aid casework. The woven chevron divider references
   Ugandan textile pattern as a quiet, recurring signature.
   ========================================================================== */

:root {
  --ink: #12355b;
  --ink-soft: #1f4e79;
  --orange: #ff6600;
  --orange-soft: #ffb38a;
  --clay: #c2410c;
  --sage: #2f6690;
  --paper: #fff9f5;
  --paper-dim: #fcefe7;
  --charcoal: #1f2933;
  --line: rgba(18, 53, 91, 0.14);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Header ---------- */
.utility-bar {
  background: var(--charcoal);
  color: rgba(250, 247, 240, 0.72);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-contact,
.utility-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.utility-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.utility-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.utility-social svg rect,
.utility-social svg circle {
  fill: none;
}

.utility-social svg .icon-fill {
  fill: currentColor;
  stroke: none;
}

.utility-bar a:hover {
  color: var(--orange-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #12355b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}

.header-logo {
  width: 150px;
  height: auto;
  margin-right: 0;
  opacity: 1;
  transition:
    width 0.25s ease,
    margin-right 0.25s ease,
    opacity 0.2s ease;
}

.site-header.is-scrolled .header-logo {
  width: 0;
  margin-right: -12px;
  opacity: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 410px;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand-name-accent {
  display: block;
  color: var(--orange);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--orange), var(--clay));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--orange-soft);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
}

nav.main-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

nav.main-nav a {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(250, 247, 240, 0.82);
  font-size: 0.92rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--paper);
  border-bottom-color: var(--orange);
}

nav.main-nav .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(250, 247, 240, 0.82);
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  padding: 8px 2px;
}

.nav-dropdown-toggle .nav-arrow {
  width: 7px;
  height: 7px;
  margin: -3px 0 0 8px;
  border-right: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  transform: rotate(45deg);
}

nav.main-nav a:hover,
nav.main-nav a.active,
nav.main-nav .nav-dropdown-toggle:hover,
nav.main-nav .nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--paper);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  transform: translate(-50%, -5px);
  display: block !important;
  padding: 10px;
  margin: 8px 0 0 !important;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown:last-child .nav-submenu {
  left: auto;
  right: 0;
  transform: translateY(-5px);
}

.nav-dropdown:last-child:hover .nav-submenu,
.nav-dropdown:last-child:focus-within .nav-submenu,
.nav-dropdown:last-child.is-open .nav-submenu {
  transform: translateY(0);
}

.nav-submenu li+li {
  margin-top: 2px;
}

.nav-submenu li {
  display: block;
  width: 100%;
}

.nav-submenu a {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .utility-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  nav.main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 10px 24px 18px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav.main-nav.is-open {
    display: block;
  }

  nav.main-nav>ul {
    display: block;
  }

  nav.main-nav>ul>li {
    display: block;
  }

  nav.main-nav>ul>li+li {
    margin-top: 4px;
  }

  nav.main-nav a,
  nav.main-nav .nav-dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 2px;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 2px 0 4px 12px !important;
    padding: 2px 0 2px 10px;
    border-width: 0 0 0 1px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none !important;
  }

  .nav-dropdown.is-open .nav-submenu {
    display: block !important;
  }

  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--paper);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--mono);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: calc(100svh - 104px);
}

.hero-slider {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: calc(100svh - 104px);
  padding: 0;
}

.hero-slides {
  min-height: calc(100svh - 104px);
  height: 100%;
  position: relative;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: calc(100svh - 104px);
  height: 100%;
  overflow: hidden;
  align-items: flex-end;
  border-radius: 0;
  animation: hero-slide-in 0.8s ease both;
}

.hero-slide.is-active {
  display: flex;
}

.hero-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;            /* how far up the shade reaches */
  z-index: 1;
  background: linear-gradient(0deg,
      rgba(18, 53, 91, 0.88) 0%,
      rgba(18, 53, 91, 0.6) 45%,
      rgba(18, 53, 91, 0) 100%);
  pointer-events: none;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 76px 7vw 22px;   /* bottom matches the controls' 22px */
}

.hero-slide img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) saturate(0.9);
  animation: hero-image-in 1.2s ease both;
}

.hero-slider-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: -72px;
  padding: 0 7vw 22px;
}

.hero-slider-arrow {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.1rem;
}

.hero-slider-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-slider-dots {
  display: flex;
  gap: 8px;
}

.hero-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-slider-dots button.is-active {
  background: var(--orange);
  transform: scale(1.3);
}

@keyframes hero-slide-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-image-in {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.4rem);
  color: var(--paper);
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero h2 em {
  font-style: normal;
  color: var(--orange);
}

.hero p.lede {
  font-size: 1.08rem;
  color: rgba(250, 247, 240, 0.82);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.is-loading,
.button.is-loading {
  cursor: wait;
  opacity: 0.7;
}

.btn.is-loading::before,
.button.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ff8533;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(250, 247, 240, 0.4);
  color: var(--paper);
}

.btn-ghost:hover {
  background: rgba(250, 247, 240, 0.08);
  border-color: var(--paper);
}

.btn-clay {
  background: var(--clay);
  color: var(--paper);
}

.btn-clay:hover {
  background: #d94a0b;
}

.hero-panel {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 26px;
}

.hero-panel .stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel .stat:last-child {
  border-bottom: none;
}

.hero-panel .stat b {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--orange);
}

.hero-panel .stat span {
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.75);
}

/* ---------- Woven divider (signature element) ---------- */
.woven-divider {
  height: 22px;
  background-repeat: repeat-x;
  background-size: 44px 22px;
  background-image:
    linear-gradient(135deg, var(--orange) 25%, transparent 25%),
    linear-gradient(225deg, var(--orange) 25%, transparent 25%),
    linear-gradient(45deg, var(--clay) 25%, transparent 25%),
    linear-gradient(315deg, var(--clay) 25%, transparent 25%);
  background-position:
    0 0,
    11px 0,
    22px 0,
    33px 0;
  opacity: 0.9;
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  color: #374151;
}

/* strategy and reports */
.resource-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--line);
  margin: 12px 0 30px;
}

.resource-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 16px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: 600 0.9rem var(--body);
}

.resource-tab.is-active {
  border-bottom-color: var(--orange);
  color: var(--ink);
}

.resource-panel[hidden] {
  display: none;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.resource-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
}

.resource-type {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font: 600 0.7rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: 22px;
}

.resource-form {
  display: grid;
  gap: 8px;
}

.resource-form label {
  margin-top: 6px;
}

.resource-form textarea {
  min-height: 82px;
}

.resource-download-details {
  margin-top: 20px;
}

.resource-download-details summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  font: 600 0.8rem var(--mono);
  list-style: none;
}

.resource-download-details summary::-webkit-details-marker {
  display: none;
}

.resource-download-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font: 1rem var(--body);
}

.resource-download-details[open] summary::before {
  content: "−";
}

.resource-download-details .resource-form {
  margin-top: 18px;
}

.download-confirmation {
  padding: 16px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.confirmation-label {
  margin: 0 0 12px;
  color: var(--ink);
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0 0 18px;
  font-size: 0.88rem;
}

.download-details dt {
  color: var(--ink-soft);
  font-weight: 600;
}

.download-details dd {
  margin: 0 0 6px;
  color: var(--charcoal);
  overflow-wrap: anywhere;
}

.annual-report-list {
  border-top: 1px solid var(--line);
}

.annual-report-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.annual-report-year {
  color: var(--orange);
  font: 600 1.2rem var(--mono);
}

.annual-report-row h3 {
  margin: 0;
  font-size: 1.1rem;
}

.report-download {
  border-color: var(--line);
  color: var(--ink);
}

.career-empty-state {
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
}

.career-empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.career-empty-state p {
  max-width: 58ch;
  margin: 0;
  color: #374151;
}

.career-sample-note {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--orange);
  background: var(--paper-dim);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.career-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.career-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
}

.career-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.career-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font: 600 0.72rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.career-card p {
  flex: 1;
  color: #374151;
  font-size: 0.92rem;
}

.career-card .btn {
  align-self: flex-start;
  margin-top: 12px;
}

/* history timeline */
.history-timeline {
  position: relative;
  max-width: 980px;
  margin: 64px auto 16px;
  padding: 12px 0;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--orange);
  transform: translateX(-50%);
}

.history-milestone {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  min-height: 150px;
}

.history-milestone-left .history-year {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-right: 34px;
}

.history-milestone-left .history-card {
  grid-column: 3;
  grid-row: 1;
}

.history-milestone-right .history-year {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding-left: 34px;
}

.history-milestone-right .history-card {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.history-year {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.history-dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

.history-card {
  max-width: 330px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 53, 91, 0.07);
}

.history-card h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
  color: var(--ink);
}

.history-card p {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
}

.bg-dim {
  background: var(--paper-dim);
}

.bg-ink {
  background: var(--ink);
  color: var(--paper);
}

.bg-ink h2,
.bg-ink .eyebrow {
  color: var(--paper);
}

.bg-ink .section-head p {
  color: rgba(250, 247, 240, 0.78);
}

/* focus grid */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.focus-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}

.focus-card .tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.focus-card h3 {
  font-size: 1.15rem;
}

.focus-card p {
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* docket-style cards (projects / news) */
.docket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.docket-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

#reports .docket-card {
  min-height: 0;
}

#reports .docket-body h3 {
  min-height: 0;
}

.docket-head {
  background: var(--orange);
  color: var(--paper);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.docket-head .no {
  color: var(--ink);
}

.docket-status {
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper-dim);
  letter-spacing: 0.06em;
}

.docket-status.closed {
  background: rgb(235, 6, 6);
  color: var(--paper-dim);
}

.docket-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.docket-body h3 {
  font-size: 1.1rem;
  color: var(--ink);
  min-height: 2.8em;
}

.docket-body p {
  color: #374151;
  font-size: 0.93rem;
  margin-bottom: 0;
}

.docket-body .meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 10px;
}

.docket-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.docket-actions .read {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--clay);
  font: 600 0.72rem var(--mono);
  text-transform: uppercase;
}

.docket-actions .read:hover {
  color: var(--orange);
}

/* news list */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-row .date {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--sage);
}

.news-row h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.news-row p {
  color: #374151;
  font-size: 0.93rem;
  margin-bottom: 0;
}

.event-location {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.event-location span {
  margin-right: 6px;
  color: var(--clay);
  font: 600 0.68rem var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-row .read {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--clay);
  white-space: nowrap;
  align-self: center;
}

.social-feed {
  border-top: 1px solid var(--line);
}

.social-feed h2 {
  margin-bottom: 24px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.social-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.social-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.social-card-body {
  padding: 18px;
}

.social-platform {
  display: inline-block;
  margin-bottom: 10px;
  font: 600 0.7rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.social-card p {
  color: #374151;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.social-card .date {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

.maintenance-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper);
}

.maintenance-screen .container {
  max-width: 480px;
}

.maintenance-logo {
  width: 96px;
  margin: 0 auto 28px;
  display: block;
}

.maintenance-screen h1 {
  margin-bottom: 12px;
}

.maintenance-screen p {
  color: var(--ink-soft);
}

.not-found {
  max-width: 60ch;
  padding: 40px 0 80px;
}

.not-found-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.access-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.report-viewer-body {
  margin: 0;
  min-height: 100vh;
  background: #333;
  overflow-y: auto;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.report-status {
  color: #fff;
  text-align: center;
  padding: 40px 16px;
  font: 500 0.95rem var(--body, sans-serif);
}

.report-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.report-page-canvas {
  width: 100%;
  max-width: 900px;
  height: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  -webkit-user-drag: none;
  pointer-events: none;
}

.report-page-placeholder {
  width: 100%;
  max-width: 900px;
  background: #444;
}

.report-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  overflow: hidden;
  opacity: 0.16;
}

.report-watermark span {
  display: block;
  color: #000;
  font: 600 13px var(--body, sans-serif);
  transform: rotate(-30deg);
  white-space: nowrap;
}

/* Backup to the Ctrl/Cmd+P key block: if print is triggered via a browser menu instead
   of the keyboard shortcut, this leaves the printed page blank rather than leaking pages. */
@media print {
  .report-viewer-body * {
    display: none !important;
  }
  .report-viewer-body::before {
    content: "Printing is disabled for this document.";
    display: block !important;
  }
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--ink);
  color: rgba(250, 247, 240, 0.85);
  border-top: 1px solid rgba(250, 247, 240, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.cookie-banner-inner p {
  margin: 0;
  max-width: 68ch;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-banner-inner a {
  color: var(--paper);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

.article-single {
  max-width: 820px;
}

.article-single>.date {
  color: var(--sage);
  font: 600 0.78rem var(--mono);
}

.article-cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  margin: 24px 0;
  border-radius: 8px;
}

.article-subtitle {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.article-body {
  color: #374151;
  font-size: 1.02rem;
}

.article-body h2,
.article-body h3 {
  color: var(--ink);
  margin-top: 1.7em;
}

.article-body a {
  color: var(--clay);
  text-decoration: underline;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.article-nav a {
  color: var(--clay);
  font: 600 .75rem var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.article-nav a:hover {
  color: var(--orange);
}

.article-nav-bottom {
  margin-top: 34px;
  margin-bottom: 0;
  padding-top: 16px;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.success-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.success-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 2px 18px;
}

.success-track::-webkit-scrollbar {
  display: none;
}

.success-track.is-centered {
  justify-content: center;
}

.success-card {
  position: relative;
  flex: 0 0 clamp(230px, 30vw, 300px);
  aspect-ratio: 3/4;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(18, 53, 91, 0.14);
}

.success-card-trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  text-align: left;
  cursor: pointer;
}

.success-card img,
.success-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-photo-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--orange-soft);
  font: 600 0.75rem var(--mono);
  background: linear-gradient(155deg, var(--ink-soft), var(--ink));
}

.success-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 44px 18px 18px;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(18, 53, 91, 0.96) 42%);
}

.success-message {
  color: rgba(250, 247, 240, 0.86);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 12px;
}

.success-card h3,
.media-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
}

.success-overlay h3 {
  color: var(--paper);
  margin: 0;
  font-size: 1rem;
}

.success-person {
  display: block;
  color: var(--paper);
  font: 600 1rem var(--display);
}

.success-read-more {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font: 600 0.7rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.success-full-story {
  display: none;
}

.story-modal[hidden] {
  display: none;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 53, 91, 0.72);
}

.story-modal-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(80vh, 680px);
  overflow: auto;
  padding: 34px;
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(18, 53, 91, 0.3);
}

.story-modal-dialog h2 {
  color: var(--ink);
  margin-right: 28px;
}

.story-modal-image img,
.story-modal-image .success-photo-placeholder {
  display: block;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 6px;
}

.story-modal-body {
  color: #374151;
}

.story-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.story-modal-nav {
  position: fixed;
  top: 50%;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--clay);
  cursor: pointer;
  font-size: 1.1rem;
  transform: translateY(-50%);
}

.story-modal-prev {
  left: max(12px, calc(50% - 560px));
}

.story-modal-next {
  right: max(12px, calc(50% - 560px));
}

.story-modal-nav:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media(max-width:720px) {
  .story-modal-prev {
    left: 8px;
  }

  .story-modal-next {
    right: 8px;
  }

  .story-modal-dialog {
    padding-left: 54px;
    padding-right: 54px;
  }
}

.success-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--clay);
  cursor: pointer;
  font-size: 1.15rem;
}

.success-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.media-card img {
  aspect-ratio: 16/9;
  margin-bottom: 14px;
}

.media-gallery {
  display: block;
}

.media-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 2px 18px;
}

.media-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
}

.media-card-trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}

.media-card-trigger img,
.media-photo-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.media-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--orange-soft);
  font: 600 1rem var(--mono);
  background: linear-gradient(155deg, var(--ink-soft), var(--ink));
}

.media-card-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 52px 18px 16px;
  background: linear-gradient(transparent, rgba(18, 53, 91, .96));
  pointer-events: none;
}

.media-card-caption .date {
  color: var(--orange-soft);
  font: 600 .7rem var(--mono);
}

.media-card-caption strong {
  font: 600 1.05rem var(--display);
}

.media-card-caption span:last-child {
  color: var(--orange);
  font: 600 .68rem var(--mono);
  text-transform: uppercase;
}

.media-arrow,
.media-modal-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--clay);
  cursor: pointer;
  font-size: 1.15rem;
}

.media-arrow:hover,
.media-modal-nav:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.media-modal[hidden] {
  display: none;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 53, 91, .72);
}

.media-modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  width: min(1000px, 100%);
  max-height: 90vh;
  padding: 28px 18px;
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(18, 53, 91, .3);
}

.media-modal-content {
  min-width: 0;
  max-height: 80vh;
  overflow: auto;
}

.media-modal-image img,
.media-modal-image .media-photo-placeholder {
  width: 100%;
  max-height: 52vh;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
}

.media-modal-copy {
  padding: 20px 0 0;
}

.media-modal-copy h2 {
  color: var(--ink);
  margin: 0 0 8px;
}

.media-modal-body {
  color: #374151;
}

.media-modal-body h2 {
  display: none;
}

.media-modal-body .date {
  color: var(--sage);
  font: 600 .75rem var(--mono);
}

.media-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font-size: 1.6rem;
}

.media-card .date {
  color: var(--sage);
  font: 600 0.75rem var(--mono);
}

@media (max-width: 720px) {
  .success-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .success-arrow {
    width: 34px;
    height: 34px;
  }

  .success-card {
    flex-basis: 72vw;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-track {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .media-modal-nav {
    width: 34px;
    height: 34px;
  }

  .media-modal-dialog {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
    padding: 24px 8px;
  }
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.impact-counter {
  min-width: 0;
  padding: 18px 14px 16px;
  background: var(--paper);
  border: 1px solid rgba(18, 53, 91, 0.08);
  border-radius: 7px;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.impact-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: var(--paper-dim);
  color: var(--orange);
  font-size: 1rem;
  font-family: Georgia, serif;
}

.impact-counter strong {
  display: block;
  color: var(--orange);
  font: 600 clamp(1.8rem, 3vw, 2.6rem) var(--display);
  line-height: 1;
}

.impact-counter h3 {
  color: var(--ink);
  font: 600 0.68rem var(--body);
  margin: 8px 0 2px;
}

.impact-counter p {
  color: #718096;
  font-size: 0.57rem;
  line-height: 1.3;
  margin: 0;
}

.impact-detail-list {
  border-top: 1px solid var(--line);
}

.impact-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.impact-detail-value {
  color: var(--orange);
  font: 600 1.7rem var(--display);
}

.impact-detail-value strong {
  font-size: 2.5rem;
}

.impact-detail h3 {
  color: var(--ink);
  margin-bottom: 6px;
}

.impact-detail p {
  max-width: 65ch;
  margin: 0;
  color: #374151;
}

.impact-detail .read {
  display: inline-block;
  margin-top: 10px;
  color: var(--clay);
  font: 600 0.72rem var(--mono);
  text-transform: uppercase;
}

.impact-single-value {
  margin-bottom: 24px;
  color: var(--orange);
  font: 600 1.8rem var(--display);
}

.impact-single-value strong {
  font-size: 3.6rem;
}

.impact-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.impact-story {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--paper);
}

.impact-story img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.impact-story>div {
  padding: 20px;
}

.impact-story h3 {
  color: var(--ink);
  margin-bottom: 8px;
}

.impact-story p {
  margin: 0;
  color: #374151;
}

@media (max-width: 720px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .impact-story-grid {
    grid-template-columns: 1fr;
  }
}

/* partners */
.partners-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
  mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
}

.partners-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  animation: partners-scroll 28s linear infinite;
}

.partner-logo {
  flex: 0 0 auto;
  width: 180px;
}

.partner-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  text-align: left;
}

.team-photo {
  aspect-ratio: 4/5;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--orange-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  margin-bottom: 12px;
}

.team-card img.team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.chair-message {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 28px;
  align-items: center;
  margin: 0 0 42px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
}

.chair-message img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
}

.chair-message h3 {
  color: var(--ink);
}

.chair-message-body {
  color: #374151;
  white-space: pre-line;
}

@media (max-width: 720px) {
  .chair-message {
    grid-template-columns: 1fr;
  }
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.team-card .role {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--charcoal);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 10px;
}

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(47, 102, 144, 0.15);
  color: #1f4e79;
  border: 1px solid rgba(47, 102, 144, 0.4);
}

.alert-error {
  background: rgba(194, 65, 12, 0.1);
  color: var(--clay);
  border: 1px solid rgba(194, 65, 12, 0.3);
}

/* contact map */
.contact-map-section {
  padding-top: 64px;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.contact-map-frame {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact-map-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
}

.contact-map-details h3 {
  font-size: 1.3rem;
}

.contact-map-details p {
  color: #374151;
  font-size: 0.92rem;
}

.contact-map-details .btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* page header (interior pages) */
.page-head {
  background: var(--orange);
  color: var(--paper);
  padding: 54px 0 40px;
}

.page-head h1 {
  color: var(--paper);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(250, 247, 240, 0.6);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--orange-soft);
}

/* footer */
footer.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 240, 0.72);
  padding: 52px 0 28px;
}

.footer-logo {
  width: min(220px, 60%);
  height: auto;
  margin-bottom: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h4 {
  color: var(--paper);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100svh - 126px);
  }

  .hero-slider,
  .hero-slides,
  .hero-slide {
    min-height: calc(100svh - 126px);
  }

  .hero-slide-content {
    padding: 56px 8vw;
  }

  .hero-slider-controls {
    justify-content: center;
    margin-top: -64px;
    padding-left: 0;
    padding-right: 0;
  }

  .history-timeline {
    margin-top: 42px;
    padding-left: 42px;
  }

  .history-timeline::before {
    left: 10px;
    transform: none;
  }

  .history-milestone {
    display: grid;
    grid-template-columns: 54px 1fr;
    min-height: 0;
    padding: 18px 0;
  }

  .history-milestone-left .history-year,
  .history-milestone-right .history-year {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    text-align: left;
    align-self: start;
  }

  .history-milestone-left .history-card,
  .history-milestone-right .history-card {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    text-align: left;
  }

  .history-dot {
    position: absolute;
    left: 1px;
    top: 30px;
    width: 18px;
    height: 18px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .annual-report-row {
    grid-template-columns: 70px 1fr;
  }

  .annual-report-row .report-download {
    grid-column: 2;
    justify-self: start;
  }

  .contact-map-layout {
    grid-template-columns: 1fr;
  }

  .focus-grid,
  .docket-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .news-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .resource-tabs {
    overflow-x: auto;
  }

  .resource-tab {
    white-space: nowrap;
  }

  .annual-report-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .annual-report-row .report-download {
    grid-column: auto;
  }

  .focus-grid,
  .docket-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* public site mobile layout */
@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .site-header .bar {
    min-height: 76px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .brand span {
    font-size: 0.78rem;
  }

  .brand-name-accent {
    font-size: 0.92rem;
  }

  .header-logo {
    width: 112px;
  }

  .page-head {
    padding: 38px 0 30px;
  }

  .page-head h1 {
    overflow-wrap: anywhere;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .focus-grid,
  .docket-grid,
  .resource-grid,
  .career-list,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .docket-card {
    min-height: 0;
  }

  .docket-body h3 {
    min-height: 0;
  }

  .contact-map-layout,
  .contact-map-section .container>div[style*="grid-template-columns"],
  .page-head+section>.container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 280px;
  }

  .chair-message {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .annual-report-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .annual-report-row .report-download {
    grid-column: auto;
    justify-self: start;
  }

  .article-single {
    width: 100%;
  }

  .article-nav {
    gap: 12px;
  }

  .article-nav a {
    overflow-wrap: anywhere;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .resource-tabs {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .resource-tab {
    flex: 0 0 auto;
  }

  .career-card {
    padding: 20px;
  }

  .career-card .btn {
    width: 100%;
    justify-content: center;
  }

  .partners-track {
    gap: 28px;
    padding-right: 28px;
  }

  .partner-logo {
    width: 130px;
  }

  .media-track {
    grid-template-columns: 1fr;
  }

  .media-modal {
    padding: 10px;
  }

  .media-modal-dialog {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 92vh;
    padding: 42px 14px 18px;
  }

  .media-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .media-modal-nav:first-of-type {
    left: 8px;
  }

  .media-modal-nav:last-of-type {
    right: 8px;
  }

  .media-modal-content {
    max-height: 82vh;
    padding: 0 24px;
  }
}
