/* Unified public portal — shared with dashboard shell (Tailwind + theme.css) */

:root {
  --pmts-public-max-width: 100rem; /* 1600px */
  --pmts-public-nav-desktop: 992px;
  --pmts-public-header-height: 4rem;
}

/* Shared horizontal frame for public header, main, and footer */
.pmts-public-container {
  width: 100%;
  max-width: var(--pmts-public-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .pmts-public-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pmts-public-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .pmts-public-container {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

.pmts-public-shell {
  width: 100%;
  max-width: var(--pmts-public-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem 1.25rem;
}

@media (min-width: 640px) {
  .pmts-public-shell {
    padding: 0.75rem 1.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pmts-public-shell {
    padding: 1rem 2rem 1.75rem;
  }
}

@media (min-width: 1280px) {
  .pmts-public-shell {
    padding: 1rem 2.25rem 2rem;
  }
}

.pmts-public-footer-wrap {
  width: 100%;
  margin-top: auto;
}

/* Public scroll column — fill viewport, footer pinned to bottom on short pages */
body:not(.pmts-has-sidebar) #page-scroll-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background: rgb(243 244 246);
  overflow-x: clip;
}

.public-site-header__nav--legacy .public-site-header__link {
  gap: 0.4rem;
  padding: 0.5rem 0.55rem;
  font-size: 0.8125rem;
}

@media (min-width: 1280px) {
  .public-site-header__nav--legacy .public-site-header__link {
    padding: 0.5rem 0.7rem;
    font-size: 0.875rem;
  }
}

.public-nav-dropdown__menu--list {
  min-width: 14.5rem;
  padding: 0.35rem 0;
}

.public-nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(51 65 85);
  text-decoration: none;
}

.public-nav-dropdown__link:hover {
  background: rgb(248 250 252);
  color: rgb(15 23 42);
}

.public-nav-dropdown__link:hover .public-nav-icon {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nav-icon-color, #64748b) 28%, transparent);
}

.public-nav-dropdown__link--active {
  background: var(--dashboard-brand-light, #fef3e8);
  color: var(--dashboard-brand, #bf5f0b);
  font-weight: 600;
}

.public-nav-dropdown__link--type {
  font-size: 0.8125rem;
}

.public-nav-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.375rem;
  color: var(--nav-icon-color, #64748b);
  background: color-mix(in srgb, var(--nav-icon-color, #64748b) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nav-icon-color, #64748b) 18%, transparent);
}

.public-nav-icon svg {
  width: 0.8125rem;
  height: 0.8125rem;
}

.public-nav-icon--md {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.4375rem;
}

.public-nav-icon--md svg {
  width: 0.9375rem;
  height: 0.9375rem;
}

.public-nav-type-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

.public-nav-dropdown__divider {
  height: 1px;
  margin: 0.35rem 0.5rem;
  background: rgb(226 232 240);
}

.public-nav-dropdown__empty {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  color: rgb(148 163 184);
}

.public-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgb(15 23 42) 0%, rgb(30 58 138) 45%, rgb(4 120 87) 100%);
  color: #fff;
  margin-bottom: 1.5rem;
}

.public-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-size: cover;
  background-position: center;
}

.public-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .public-hero__inner {
    padding: 3.5rem 2.5rem;
  }
}

.public-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.public-hero__lead {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1.05rem;
  color: rgb(226 232 240);
}

.public-hero__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.public-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.public-btn--primary {
  background: var(--pmts-primary, #2563eb);
  color: #fff;
}

.public-btn--primary:hover {
  filter: brightness(1.08);
}

.public-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.public-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.public-btn--outline {
  border: 1px solid rgb(203 213 225);
  color: rgb(51 65 85);
  background: #fff;
}

.public-btn--outline:hover {
  border-color: var(--pmts-primary, #2563eb);
  color: var(--pmts-primary, #2563eb);
}

.public-quick-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .public-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .public-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.public-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  padding: 1rem 1.125rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

.public-quick-card:hover {
  border-color: rgb(191 219 254);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.public-quick-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
}

.public-quick-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: rgb(15 23 42);
}

.public-quick-card__desc {
  font-size: 0.8125rem;
  color: rgb(100 116 139);
  line-height: 1.45;
}

.public-content-panel {
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .public-content-panel {
    padding: 1.75rem 2rem;
  }
}

.public-content-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgb(15 23 42);
  margin-bottom: 0.75rem;
}

.public-content-panel h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgb(30 41 59);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.public-content-panel p,
.public-content-panel li {
  color: rgb(71 85 105);
  line-height: 1.65;
}

.public-stat-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .public-stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.public-stat-chip {
  border-radius: 0.625rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 0.875rem 1rem;
}

.public-stat-chip__value {
  font-size: 1.375rem;
  font-weight: 700;
  color: rgb(15 23 42);
}

.public-stat-chip__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
}

.public-faq details {
  border-bottom: 1px solid rgb(226 232 240);
  padding: 0.875rem 0;
}

.public-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: rgb(15 23 42);
  list-style: none;
}

.public-faq summary::-webkit-details-marker {
  display: none;
}

.public-faq details[open] summary {
  color: var(--pmts-primary, #2563eb);
}

.public-breadcrumb {
  font-size: 0.8125rem;
  color: rgb(100 116 139);
  margin-bottom: 0.25rem;
}

.public-breadcrumb a {
  color: var(--pmts-primary, #2563eb);
}

.public-breadcrumb a:hover {
  text-decoration: underline;
}

.public-dept-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .public-dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .public-dept-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.public-dept-card {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  background: #fff;
}

.public-dept-card__name {
  font-weight: 700;
  color: rgb(15 23 42);
}

.public-dept-card__meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.public-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.public-tag--green { background: rgb(220 252 231); color: rgb(21 128 61); }
.public-tag--blue { background: rgb(219 234 254); color: rgb(29 78 216); }
.public-tag--amber { background: rgb(254 243 199); color: rgb(146 64 14); }
.public-tag--slate { background: rgb(241 245 249); color: rgb(71 85 105); }

.public-review-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(253 230 138);
  background: rgb(255 251 235);
  color: rgb(120 53 15);
}

.public-review-banner__label {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgb(254 243 199);
  color: rgb(146 64 14);
}

.public-review-banner__text {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Nav dropdown (public top bar) */
.public-nav-dropdown {
  position: relative;
}

.public-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 50;
  min-width: 13rem;
  max-width: min(22rem, calc(100vw - 2rem));
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  padding: 0.35rem 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.public-nav-dropdown__menu a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(51 65 85);
}

.public-nav-dropdown__menu a:hover {
  background: rgb(248 250 252);
  color: var(--pmts-primary, #2563eb);
}

/* ------------------------------------------------------------------ */
/* Public site header                                                  */
/* ------------------------------------------------------------------ */

.pmts-topbar:has(.public-site-header) {
  border-bottom: none;
  background: transparent;
  box-shadow: none;
  min-height: auto;
  overflow: visible;
}

.public-site-header {
  position: relative;
  z-index: 30;
  background: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.06);
  overflow: visible;
}

.public-site-header__accent {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--dashboard-brand, #bf5f0b) 0%,
    #2563eb 45%,
    #059669 100%
  );
}

.public-site-header__bar {
  border-bottom: 1px solid rgb(226 232 240);
}

.public-site-header__inner {
  width: 100%;
}

.public-site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 4.25rem;
}

.public-site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.public-site-header__brand:hover .public-site-header__brand-title {
  color: var(--dashboard-brand, #bf5f0b);
}

.public-site-header__logo {
  height: 2.75rem;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .public-site-header__logo {
    height: 3rem;
  }
}

.public-site-header__brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.public-site-header__brand-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgb(15 23 42);
  line-height: 1.2;
  transition: color 0.15s;
}

.public-site-header__brand-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(100 116 139);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .public-site-header__brand-text {
    max-width: 9.5rem;
  }

  .public-site-header__brand-sub {
    display: none;
  }
}

@media (max-width: 380px) {
  .public-site-header__brand-text {
    display: none;
  }
}

.public-site-header__nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex: 1 1 auto;
  justify-content: center;
  padding: 0 0.25rem;
  min-width: 0;
}

@media (min-width: 992px) {
  .public-site-header__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.public-site-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .public-site-header__actions {
    display: flex;
  }
}

.public-site-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: rgb(51 65 85);
  background: transparent;
  border: 1px solid rgb(226 232 240);
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .public-site-header__menu-btn {
    display: none;
  }
}

.public-site-header__mobile {
  border-top: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
}

.public-site-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(71 85 105);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.public-site-header__link:hover {
  color: rgb(15 23 42);
  background: rgb(248 250 252);
}

.public-site-header__link--active {
  color: var(--dashboard-brand, #bf5f0b);
  background: var(--dashboard-brand-light, #fef3e8);
}

.public-site-header__staff-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.9375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--dashboard-brand, #bf5f0b), #d97706);
  box-shadow: 0 2px 10px rgb(191 95 11 / 0.28);
  border: 1px solid rgb(217 119 6 / 0.35);
  white-space: nowrap;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
}

.public-site-header__staff-cta:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgb(191 95 11 / 0.34);
}

.public-site-header__staff-cta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.public-site-header__mobile-staff-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--dashboard-brand, #bf5f0b), #d97706);
  box-shadow: 0 2px 10px rgb(191 95 11 / 0.28);
}

.public-site-header__mobile-staff-cta svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.public-site-header__chevron {
  width: 1rem;
  height: 1rem;
  opacity: 0.65;
}

.public-site-header__cta {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--dashboard-brand, #bf5f0b), #d97706);
  box-shadow: 0 2px 8px rgb(191 95 11 / 0.28);
  transition: filter 0.15s, transform 0.15s;
}

.public-site-header__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.public-site-header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--dashboard-brand, #bf5f0b), #d97706);
  border: none;
  cursor: pointer;
}

.public-site-header__user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 50;
  min-width: 12rem;
  border-radius: 0.625rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  padding: 0.35rem 0;
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.14);
}

.public-site-header__user-email {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  color: rgb(100 116 139);
  border-bottom: 1px solid rgb(241 245 249);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-site-header__user-link {
  display: block;
  width: 100%;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(51 65 85);
  text-decoration: none;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.public-site-header__user-link:hover {
  background: rgb(248 250 252);
  color: var(--dashboard-brand, #bf5f0b);
}

.public-site-header__menu-btn:hover {
  background: rgb(248 250 252);
}

.public-site-header__mobile-nav {
  padding: 0.75rem 1rem 1rem;
}

.public-site-header__mobile-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgb(30 41 59);
  text-decoration: none;
}

.public-site-header__mobile-link:hover {
  background: #fff;
}

.public-site-header__mobile-link--sub {
  padding-left: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(71 85 105);
}

.public-site-header__mobile-link--button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.public-site-header__mobile-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0.75rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(100 116 139);
}

.public-site-header__mobile-actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(226 232 240);
}

.public-site-header__mobile-cta {
  display: block;
  margin: 0.5rem 0.75rem 0;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--dashboard-brand, #bf5f0b), #d97706);
}

.public-nav-dropdown__menu--wide {
  min-width: min(22rem, calc(100vw - 2rem));
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.5rem;
}

.public-nav-dropdown__grid {
  display: grid;
  gap: 0.125rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .public-nav-dropdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.public-nav-dropdown__item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.15s;
}

.public-nav-dropdown__item:hover {
  background: rgb(248 250 252);
}

.public-nav-dropdown__item--active {
  background: var(--dashboard-brand-light, #fef3e8);
}

.public-nav-dropdown__item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(15 23 42);
}

.public-nav-dropdown__item-desc {
  font-size: 0.75rem;
  color: rgb(100 116 139);
  line-height: 1.35;
}

.public-nav-dropdown__item:hover .public-nav-dropdown__item-title {
  color: var(--dashboard-brand, #bf5f0b);
}

/* ------------------------------------------------------------------ */
/* Public site footer                                                  */
/* ------------------------------------------------------------------ */

.public-site-footer {
  margin-top: auto;
  background: rgb(248 250 252);
  color: rgb(51 65 85);
  border-top: 1px solid rgb(226 232 240);
}

.public-site-footer__inner {
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.public-site-footer__main {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .public-site-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.public-site-footer__brand {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  color: rgb(15 23 42);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.public-site-footer__brand:hover {
  color: var(--dashboard-brand, #bf5f0b);
}

.public-site-footer__tagline {
  margin-top: 0.5rem;
  max-width: 20rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.public-site-footer__nav-label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(71 85 105);
}

.public-site-footer__link-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .public-site-footer__link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}

.public-site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.public-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(71 85 105);
  text-decoration: none;
  transition: color 0.15s;
}

a.public-footer-link:hover {
  color: var(--dashboard-brand, #bf5f0b);
}

a.public-footer-link:hover .public-nav-icon {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nav-icon-color, #64748b) 35%, transparent);
}

.public-footer-link--contact {
  width: 100%;
}

.public-footer-link--contact span {
  word-break: break-word;
}

.public-footer-link--static {
  cursor: default;
}

.public-footer-link--inline {
  font-size: 0.75rem;
}

.public-footer-link--legal {
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

.public-footer-link--legal:hover {
  color: var(--dashboard-brand, #bf5f0b);
}

.public-site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(226 232 240);
}

@media (min-width: 640px) {
  .public-site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.public-site-footer__copy {
  font-size: 0.75rem;
  color: rgb(100 116 139);
  margin: 0;
}

.public-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Footer icons use default public-nav-icon badges (light surfaces) */

/* ------------------------------------------------------------------ */
/* Landing page                                                        */
/* ------------------------------------------------------------------ */

.landing-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(15 23 42) 0%, rgb(30 58 138) 42%, rgb(4 120 87) 100%);
  box-shadow: 0 20px 40px rgb(15 23 42 / 0.18);
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
}

.landing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgb(15 23 42 / 0.92) 0%, rgb(15 23 42 / 0.55) 55%, rgb(4 120 87 / 0.35) 100%);
}

.landing-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: 2.25rem 1.5rem;
}

@media (min-width: 1024px) {
  .landing-hero__inner {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: center;
    padding: 3rem 2.5rem;
  }
}

.landing-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(167 243 208);
}

.landing-hero__title {
  margin-top: 0.625rem;
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.landing-hero__lead {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgb(226 232 240);
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.landing-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.625rem;
  padding: 0.6875rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s, background 0.15s;
}

.landing-hero__btn:hover {
  transform: translateY(-1px);
}

.landing-hero__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dashboard-brand, #bf5f0b), #d97706);
  box-shadow: 0 4px 14px rgb(191 95 11 / 0.35);
}

.landing-hero__btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.landing-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.landing-hero__btn--ghost {
  color: rgb(226 232 240);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-hero__btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.landing-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-hero__trust li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(203 213 225);
}

.landing-hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: rgb(52 211 153);
}

.landing-hero__panel {
  border-radius: 0.875rem;
  padding: 1.25rem 1.375rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.landing-hero__panel-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(191 219 254);
}

.landing-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 1rem 0 0;
}

.landing-hero__metrics dt {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(191 219 254);
}

.landing-hero__metrics dd {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-hero__panel-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.landing-section-head--in-panel {
  margin-bottom: 0;
}

.landing-section-head--light .landing-section-head__title,
.landing-section-head--light .landing-section-head__eyebrow {
  color: #fff;
}

.landing-section-head__eyebrow {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(100 116 139);
}

.landing-section-head__title {
  margin-top: 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(15 23 42);
}

.landing-section-head__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dashboard-brand, #bf5f0b);
  text-decoration: none;
}

.landing-section-head__link:hover {
  text-decoration: underline;
}

.landing-panel__title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.landing-panel__subtitle {
  margin: 0.25rem 0 1rem;
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.landing-panel__footnote {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.landing-budget-stats {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.landing-budget-stats dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(100 116 139);
}

.landing-budget-stats dd {
  margin: 0.15rem 0 0;
  font-size: 1.0625rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.landing-absorption__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(71 85 105);
}

.landing-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.landing-checklist li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: rgb(51 65 85);
}

.landing-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(22 163 74);
  font-weight: 800;
}

.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  padding: 0.6875rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, rgb(37 99 235), rgb(29 78 216));
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.25);
}

.landing-cta-btn:hover {
  filter: brightness(1.06);
}

.landing-cta-btn--outline {
  color: rgb(51 65 85);
  background: #fff;
  border: 1px solid rgb(203 213 225);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.landing-cta-btn--outline:hover {
  color: var(--dashboard-brand, #bf5f0b);
  border-color: var(--dashboard-brand, #bf5f0b);
  background: rgb(255 247 237);
  box-shadow: 0 4px 12px rgb(191 95 11 / 0.12);
  filter: none;
  transform: translateY(-1px);
}

.landing-cta-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dashboard-brand, #bf5f0b);
  text-decoration: none;
}

.landing-cta-link:hover {
  text-decoration: underline;
}

.landing-explore-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .landing-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .landing-explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-explore-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 10.5rem;
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.landing-explore-card:hover {
  transform: translateY(-2px);
  border-color: rgb(191 219 254);
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
}

.landing-explore-card--featured {
  border-color: rgb(191 219 254);
  background: linear-gradient(180deg, rgb(239 246 255) 0%, #fff 100%);
}

.landing-explore-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  margin-bottom: 0.25rem;
}

.landing-explore-card__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.landing-explore-card__icon--blue { background: rgb(219 234 254); color: rgb(37 99 235); }
.landing-explore-card__icon--orange { background: rgb(254 243 199); color: rgb(217 119 6); }
.landing-explore-card__icon--green { background: rgb(220 252 231); color: rgb(22 163 74); }
.landing-explore-card__icon--violet { background: rgb(237 233 254); color: rgb(124 58 237); }
.landing-explore-card__icon--cyan { background: rgb(207 250 254); color: rgb(8 145 178); }
.landing-explore-card__icon--rose { background: rgb(255 228 230); color: rgb(225 29 72); }

.landing-explore-card__label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(100 116 139);
}

.landing-explore-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.landing-explore-card__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(100 116 139);
}

.landing-type-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .landing-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .landing-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-type-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.landing-type-card:hover {
  border-color: rgb(191 219 254);
  background: #fff;
}

.landing-type-card__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
}

.landing-type-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(15 23 42);
}

.landing-type-card__meta {
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

.landing-dept-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .landing-dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .landing-dept-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-dept-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
}

.landing-dept-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.landing-dept-card__name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
  line-height: 1.35;
}

.landing-dept-card__count {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
}

.landing-dept-card__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(100 116 139);
}

.landing-dept-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.landing-dept-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(241 245 249);
}

.landing-dept-card__budget {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgb(51 65 85);
}

.landing-dept-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dashboard-brand, #bf5f0b);
  text-decoration: none;
}

.landing-dept-card__link:hover {
  text-decoration: underline;
}

.landing-county-band {
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, rgb(15 23 42), rgb(30 64 175));
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.15);
}

.landing-county-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

@media (min-width: 768px) {
  .landing-county-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .landing-county-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.landing-county-stat {
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-county-stat__value {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.landing-county-stat__label {
  margin: 0.35rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(191 219 254);
}

.landing-bottom-cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgb(254 243 199) 0%, rgb(255 247 237) 45%, #fff 100%);
  border: 1px solid rgb(253 230 138);
}

@media (min-width: 768px) {
  .landing-bottom-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem;
  }
}

.landing-bottom-cta__copy h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.landing-bottom-cta__copy p {
  margin-top: 0.375rem;
  max-width: 32rem;
  font-size: 0.9375rem;
  color: rgb(71 85 105);
}

.landing-bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* About page                                                          */
/* ------------------------------------------------------------------ */

.about-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(15 23 42) 0%, rgb(30 58 138) 50%, rgb(4 120 87) 100%);
  box-shadow: 0 16px 32px rgb(15 23 42 / 0.14);
}

@media (min-width: 992px) {
  .about-hero {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    padding: 2.5rem 2rem;
  }
}

.about-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(167 243 208);
}

.about-hero__title {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about-hero__lead {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(226 232 240);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-hero__stats {
  display: block;
}

.about-stat {
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-stat__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(191 219 254);
}

.about-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .about-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-body {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgb(71 85 105);
}

.about-checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.about-checklist li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: rgb(51 65 85);
}

.about-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(22 163 74);
  font-weight: 800;
}

.about-split__media {
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.08);
}

.about-split__image {
  display: block;
  width: 100%;
  height: auto;
}

.about-pillar-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-pillar {
  border-radius: 0.875rem;
  padding: 1.25rem 1.375rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
}

.about-pillar--mission {
  border-top: 3px solid rgb(37 99 235);
}

.about-pillar--vision {
  border-top: 3px solid rgb(22 163 74);
}

.about-pillar--values {
  border-top: 3px solid var(--dashboard-brand, #bf5f0b);
}

.about-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgb(248 250 252);
  color: rgb(37 99 235);
}

.about-pillar__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.about-pillar__title {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.about-pillar__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(71 85 105);
}

.about-panel {
  border-radius: 0.875rem;
}

.about-system-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .about-system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-system-card {
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
}

.about-system-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.about-system-card p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.about-audience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .about-audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.about-audience-card {
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.04);
}

.about-audience-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.about-audience-card p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.about-objectives-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-objectives-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-objective-card {
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgb(191 219 254);
  background: linear-gradient(180deg, rgb(239 246 255) 0%, #fff 100%);
}

.about-objective-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(29 78 216);
}

.about-objective-card p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(71 85 105);
}

.about-features-list {
  display: grid;
  gap: 1rem;
}

.about-feature-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
}

@media (min-width: 640px) {
  .about-feature-row {
    flex-direction: row;
    align-items: center;
  }
}

.about-feature-row__image {
  width: 100%;
  max-width: 12rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
}

.about-feature-row h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.about-feature-row p {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.about-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.about-timeline__item {
  display: grid;
  gap: 0.35rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(226 232 240);
}

@media (min-width: 640px) {
  .about-timeline__item {
    grid-template-columns: 5rem 1fr;
    align-items: start;
  }
}

.about-timeline__item:last-child {
  border-bottom: none;
}

.about-timeline__year {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--dashboard-brand, #bf5f0b);
}

.about-timeline__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(71 85 105);
}

.about-team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .about-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-team-card {
  border-radius: 0.875rem;
  padding: 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  text-align: center;
}

.about-team-card__photo {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgb(226 232 240);
}

.about-team-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.about-team-card__role {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dashboard-brand, #bf5f0b);
}

.about-team-card__bio {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

/* ------------------------------------------------------------------ */
/* Contact page                                                        */
/* ------------------------------------------------------------------ */

.contact-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(30 58 138) 0%, rgb(15 23 42) 55%, rgb(4 47 46) 100%);
  box-shadow: 0 16px 32px rgb(15 23 42 / 0.14);
}

@media (min-width: 992px) {
  .contact-hero {
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
    padding: 2.5rem 2rem;
  }
}

.contact-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(191 219 254);
}

.contact-hero__title {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.contact-hero__lead {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(226 232 240);
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-hero__cards {
  display: grid;
  gap: 0.75rem;
}

.contact-quick-card {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-quick-card__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  color: rgb(167 243 208);
}

.contact-quick-card__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.contact-quick-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(191 219 254);
}

.contact-quick-card__value {
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  word-break: break-word;
}

a.contact-quick-card__value:hover {
  color: rgb(167 243 208);
}

.contact-alert {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-alert--success {
  color: rgb(21 128 61);
  background: rgb(240 253 244);
  border: 1px solid rgb(187 247 208);
}

.contact-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-split {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.contact-info-panel {
  border-radius: 0.875rem;
  padding: 0 0.25rem;
}

.contact-info-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(226 232 240);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: rgb(239 246 255);
  color: rgb(37 99 235);
}

.contact-info-item__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.contact-info-item h3 {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
}

.contact-info-item p {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgb(15 23 42);
}

.contact-info-item a {
  color: rgb(37 99 235);
  font-weight: 600;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-form-panel {
  border-radius: 0.875rem;
}

.contact-form-panel__intro {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(100 116 139);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgb(51 65 85);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgb(15 23 42);
  background: #fff;
  border: 1px solid rgb(203 213 225);
  border-radius: 0.5rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgb(37 99 235);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__actions {
  padding-top: 0.25rem;
}

.contact-help-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .contact-help-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.contact-help-card {
  display: block;
  border-radius: 0.875rem;
  padding: 1.25rem 1.375rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.contact-help-card:hover {
  border-color: rgb(191 219 254);
  box-shadow: 0 8px 20px rgb(37 99 235 / 0.1);
  transform: translateY(-2px);
}

.contact-help-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgb(248 250 252);
  color: var(--dashboard-brand, #bf5f0b);
}

.contact-help-card__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.contact-help-card h3 {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.contact-help-card p {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.contact-panel {
  border-radius: 0.875rem;
}

.contact-dept-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-dept-card {
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
}

.contact-dept-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #fff;
  color: rgb(37 99 235);
  border: 1px solid rgb(226 232 240);
}

.contact-dept-card__icon svg {
  width: 1rem;
  height: 1rem;
}

.contact-dept-card h3 {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.4;
  color: rgb(15 23 42);
}

.contact-dept-card__emails {
  margin: 0.625rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.contact-dept-card__emails a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(37 99 235);
  word-break: break-all;
}

.contact-dept-card__emails a:hover {
  text-decoration: underline;
}

.contact-empty {
  font-size: 0.875rem;
  color: rgb(100 116 139);
}

/* ------------------------------------------------------------------ */
/* Update post detail                                                  */
/* ------------------------------------------------------------------ */

.update-post-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.update-post-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(30 58 138) 0%, rgb(15 23 42) 55%, rgb(67 56 202) 100%);
  box-shadow: 0 16px 32px rgb(15 23 42 / 0.14);
}

@media (min-width: 992px) {
  .update-post-hero {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    padding: 2.5rem 2rem;
  }
}

.update-post-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(191 219 254);
}

.update-post-hero__title {
  margin-top: 0.5rem;
  font-size: clamp(1.25rem, 2.25vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.update-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.update-post-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(226 232 240);
}

.update-post-meta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: rgb(147 197 253);
}

.update-post-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.update-post-hero__lead {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(226 232 240);
}

.update-post-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.update-post-hero__media {
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.28);
}

.update-post-hero__image {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

.update-post-article {
  margin-bottom: 1.5rem;
}

.update-post-body {
  color: rgb(51 65 85);
  line-height: 1.75;
  font-size: 1rem;
}

.update-post-body > :first-child {
  margin-top: 0;
}

.update-post-body h2,
.update-post-body h3,
.update-post-body h4 {
  color: rgb(15 23 42);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.update-post-body h2 { font-size: 1.35rem; }
.update-post-body h3 { font-size: 1.125rem; }
.update-post-body h4 { font-size: 1rem; }

.update-post-body p,
.update-post-body li {
  margin-bottom: 1rem;
}

.update-post-body ul,
.update-post-body ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.update-post-body a {
  color: var(--dashboard-brand, #bf5f0b);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.update-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.25rem 0;
}

.update-post-body blockquote {
  margin: 1.25rem 0;
  padding: 0.875rem 1rem;
  border-left: 4px solid var(--dashboard-brand, #bf5f0b);
  background: rgb(248 250 252);
  border-radius: 0 0.5rem 0.5rem 0;
  color: rgb(71 85 105);
}

.update-post-gallery__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.update-gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .update-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .update-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.update-gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.875rem;
  overflow: hidden;
  background: rgb(248 250 252);
  cursor: zoom-in;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.update-gallery-thumb:hover {
  border-color: rgb(191 219 254);
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
  transform: translateY(-2px);
}

.update-gallery-thumb img {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.update-gallery-thumb__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(15 23 42 / 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}

.update-gallery-thumb:hover .update-gallery-thumb__overlay {
  opacity: 1;
}

.update-gallery-thumb__overlay svg {
  width: 2rem;
  height: 2rem;
}

.update-gallery-thumb__caption {
  display: block;
  padding: 0.75rem 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(71 85 105);
  background: #fff;
}

.update-related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .update-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.update-related-card__media {
  display: block;
  overflow: hidden;
  border-radius: 0.625rem;
  margin-bottom: 0.75rem;
}

.update-related-card__media img {
  display: block;
  width: 100%;
  height: 9rem;
  object-fit: cover;
  transition: transform 0.2s;
}

.update-related-card__media:hover img {
  transform: scale(1.03);
}

body.update-lightbox-open #page-scroll-shell {
  overflow: hidden;
}

.update-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.update-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.88);
  backdrop-filter: blur(4px);
}

.update-lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 72rem);
  max-height: calc(100vh - 2rem);
  margin: 0;
}

.update-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.35);
}

.update-lightbox__caption {
  margin-top: 0.875rem;
  max-width: 42rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(226 232 240);
}

.update-lightbox__counter {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(148 163 184);
}

.update-lightbox__close,
.update-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.update-lightbox__close:hover,
.update-lightbox__nav:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.32);
}

.update-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
}

.update-lightbox__close svg,
.update-lightbox__nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.update-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
}

.update-lightbox__nav--prev { left: 1rem; }
.update-lightbox__nav--next { right: 1rem; }

@media (max-width: 639px) {
  .update-lightbox__nav--prev { left: 0.5rem; }
  .update-lightbox__nav--next { right: 0.5rem; }
  .update-lightbox__close { top: 0.5rem; right: 0.5rem; }
}

.update-lightbox--enter { transition: opacity 0.2s ease; }
.update-lightbox--enter-start { opacity: 0; }
.update-lightbox--enter-end { opacity: 1; }
.update-lightbox--leave { transition: opacity 0.15s ease; }
.update-lightbox--leave-start { opacity: 1; }
.update-lightbox--leave-end { opacity: 0; }

/* ------------------------------------------------------------------ */
/* Project gallery page                                                */
/* ------------------------------------------------------------------ */

.project-gallery-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Compact gradient public heroes — shared layout (gallery, GIS map, content pages) */
.public-page-hero,
.project-gallery-hero,
.public-gis-hero {
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.625rem 1.25rem;
}

@media (min-width: 992px) {
  .public-page-hero,
  .project-gallery-hero,
  .public-gis-hero {
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
    padding: 2rem 1.625rem;
  }
}

.project-gallery-hero__stats,
.public-gis-hero__stats,
.public-page-hero__stats,
.about-hero__stats {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .project-gallery-hero__stats,
  .public-gis-hero__stats,
  .public-page-hero__stats,
  .about-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .project-gallery-hero__stats,
  .public-gis-hero__stats,
  .public-page-hero__stats,
  .about-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }
}

.project-gallery-hero {
  display: grid;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(88 28 135) 0%, rgb(30 58 138) 50%, rgb(15 23 42) 100%);
  box-shadow: 0 16px 32px rgb(15 23 42 / 0.14);
}

.project-gallery-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(233 213 255);
}

.project-gallery-hero__title {
  margin-top: 0.375rem;
  font-size: clamp(1.5625rem, 3.15vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.project-gallery-hero__lead {
  margin-top: 0.8125rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(226 232 240);
}

.project-gallery-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.125rem;
}

.project-gallery-stat,
.public-gis-stat,
.public-page-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  padding: 0.8125rem 0.9375rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.project-gallery-stat__value,
.public-gis-stat__value,
.public-page-stat__value {
  flex-shrink: 0;
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.public-page-stat__value {
  font-size: 1.25rem;
  word-break: normal;
}

.project-gallery-stat__label,
.public-gis-stat__label,
.public-page-stat__label {
  flex: 1;
  min-width: 0;
  margin-top: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}

.project-gallery-stat__label {
  color: rgb(233 213 255);
}

.public-gis-stat__label {
  color: rgb(165 243 252);
}

.public-page-stat__label {
  color: rgb(226 232 240);
}

/* Public project GIS map */
.public-gis-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.public-gis-hero {
  display: grid;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, rgb(8 145 178) 0%, rgb(14 116 144) 45%, rgb(15 23 42) 100%);
  box-shadow: 0 16px 32px rgb(8 145 178 / 0.18);
}

.public-gis-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(165 243 252);
}

.public-gis-hero__title {
  margin-top: 0.375rem;
  font-size: clamp(1.5625rem, 3.15vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.public-gis-hero__lead {
  margin-top: 0.8125rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(226 232 240);
}

.public-gis-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.125rem;
}

.public-gis-filters {
  margin-bottom: 1.25rem;
}

.public-gis-page .gis-map-panel,
.public-gis-page .gis-card {
  border-radius: 0.875rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  box-shadow: 0 4px 16px rgb(15 23 42 / 0.06);
}

.project-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.project-gallery-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(71 85 105);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.project-gallery-filter:hover {
  border-color: rgb(147 51 234);
  color: rgb(88 28 135);
}

.project-gallery-filter--active {
  border-color: rgb(147 51 234);
  background: rgb(147 51 234);
  color: #fff;
}

.project-gallery-panel {
  margin-bottom: 1.5rem;
}

.project-gallery-thumb__meta {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.875rem;
  background: #fff;
  text-align: left;
}

.project-gallery-thumb__project {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgb(15 23 42);
}

.project-gallery-thumb__dept {
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

.project-gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.project-gallery-pagination__label {
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.update-lightbox__meta {
  margin-top: 0.875rem;
  max-width: 42rem;
  text-align: center;
}

.update-lightbox__project {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(226 232 240);
}

.update-lightbox__project a {
  color: rgb(191 219 254);
  text-decoration: none;
}

.update-lightbox__project a:hover {
  color: #fff;
  text-decoration: underline;
}

.update-lightbox__source {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(148 163 184);
}

.project-gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.project-gallery-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgb(243 232 255);
  color: rgb(147 51 234);
}

.project-gallery-empty__icon svg {
  width: 2rem;
  height: 2rem;
}

.project-gallery-empty__title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.project-gallery-empty__text {
  margin-top: 0.75rem;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(100 116 139);
}

.project-gallery-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Shared public page hero + filters (updates, departments, etc.)      */
/* ------------------------------------------------------------------ */

.public-page-hero {
  display: grid;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--hero-start, rgb(30 58 138)) 0%,
    var(--hero-mid, rgb(15 23 42)) 55%,
    var(--hero-end, rgb(4 47 46)) 100%
  );
  box-shadow: 0 16px 32px rgb(15 23 42 / 0.14);
}

.public-page-hero--updates {
  --hero-start: rgb(4 120 87);
  --hero-mid: rgb(15 23 42);
  --hero-end: rgb(30 58 138);
}

.public-page-hero--departments {
  --hero-start: rgb(30 58 138);
  --hero-mid: rgb(15 23 42);
  --hero-end: rgb(4 120 87);
}

.public-page-hero--resources {
  --hero-start: rgb(180 83 9);
  --hero-mid: rgb(15 23 42);
  --hero-end: rgb(30 64 175);
}

.public-page-hero--faqs {
  --hero-start: rgb(67 56 202);
  --hero-mid: rgb(15 23 42);
  --hero-end: rgb(30 58 138);
}

.public-page-hero--feedback {
  background: linear-gradient(
    152deg,
    rgb(45 55 72) 0%,
    rgb(22 32 48) 55%,
    rgb(15 23 42) 100%
  );
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
}

.public-page-hero--feedback .public-page-hero__eyebrow {
  color: rgb(148 163 184);
}

.public-page-hero--feedback .public-page-stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.public-page-hero--project {
  background: linear-gradient(
    152deg,
    rgb(45 55 72) 0%,
    rgb(22 32 48) 55%,
    rgb(15 23 42) 100%
  );
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
}

.public-page-hero--project .public-page-hero__eyebrow {
  color: rgb(148 163 184);
}

.public-page-hero--project .public-page-stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.public-page-hero--project .public-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.public-page-hero--project .public-tag--green {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(74, 222, 128, 0.35);
  color: rgb(220 252 231);
}

.public-page-hero--project .public-tag--blue {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(147, 197, 253, 0.35);
  color: rgb(219 234 254);
}

.public-page-hero--project .public-tag--slate {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgb(226 232 240);
}

.public-project-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.public-project-page .dashboard-section {
  padding: 1.25rem 1.375rem;
  border-radius: 0.875rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.04);
}

.public-project-page .landing-section-head--in-panel {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgb(241 245 249);
}

.public-project-aside .dashboard-section {
  position: sticky;
  top: calc(var(--pmts-public-header-height, 4rem) + 0.75rem);
}

@media (max-width: 1023px) {
  .public-project-aside .dashboard-section {
    position: static;
    top: auto;
  }
}

.public-page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(191 219 254);
}

.public-page-hero__title {
  margin-top: 0.375rem;
  font-size: clamp(1.375rem, 2.85vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.public-project-hero__title {
  font-size: clamp(1.125rem, 2.35vw, 1.6875rem);
  line-height: 1.25;
}

.public-page-hero__lead {
  margin-top: 0.8125rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(226 232 240);
}

.public-project-hero__lead {
  font-size: 0.875rem;
}

.public-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.125rem;
}

.public-project-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.public-filter-chips,
.project-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.public-filter-chip,
.project-gallery-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(71 85 105);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.public-filter-chip:hover,
.project-gallery-filter:hover {
  border-color: var(--dashboard-brand, #bf5f0b);
  color: var(--dashboard-brand, #bf5f0b);
}

.public-filter-chip--active,
.project-gallery-filter--active {
  border-color: var(--dashboard-brand, #bf5f0b);
  background: var(--dashboard-brand, #bf5f0b);
  color: #fff;
}

.public-empty-text {
  font-size: 0.9375rem;
  color: rgb(100 116 139);
}

/* Departments enhanced cards */
.public-dept-grid--enhanced {
  gap: 1rem;
}

.public-dept-card--enhanced {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
}

.public-dept-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.public-dept-card__dot {
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.4rem;
  border-radius: 9999px;
  background: var(--dept-color, #3b82f6);
}

.public-dept-card__desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

/* Resources list */
.resources-list {
  display: grid;
  gap: 0;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.875rem;
  overflow: hidden;
  background: #fff;
}

.resources-list__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid rgb(241 245 249);
}

@media (min-width: 640px) {
  .resources-list__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.resources-list__item:last-child {
  border-bottom: none;
}

.resources-list__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(15 23 42);
}

.resources-list__desc {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(100 116 139);
}

.resources-list__meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: rgb(148 163 184);
}

/* FAQs enhanced */
.public-faq--enhanced {
  display: grid;
  gap: 0.625rem;
}

.public-faq__item {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.public-faq__question {
  padding: 1rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(15 23 42);
  cursor: pointer;
  list-style: none;
}

.public-faq__question::-webkit-details-marker {
  display: none;
}

.public-faq__answer {
  padding: 0 1.125rem 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgb(71 85 105);
}

.public-faq__footer {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgb(100 116 139);
}

.public-faq__footer a {
  font-weight: 700;
  color: var(--dashboard-brand, #bf5f0b);
  text-decoration: none;
}

.public-faq__footer a:hover {
  text-decoration: underline;
}

/* Feedback feed */
.feedback-feed {
  display: grid;
  gap: 1rem;
}

.feedback-card {
  padding: 1.125rem 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
}

.feedback-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feedback-card__author {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(15 23 42);
}

.feedback-card__meta {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

.feedback-card__rating {
  flex-shrink: 0;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgb(219 234 254);
  color: rgb(29 78 216);
}

.feedback-card__comment {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(51 65 85);
}

.feedback-card__project {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dashboard-brand, #bf5f0b);
  text-decoration: none;
}

.feedback-card__project:hover {
  text-decoration: underline;
}

.feedback-card__replies {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgb(241 245 249);
  display: grid;
  gap: 0.625rem;
}

.feedback-card__reply {
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  background: rgb(248 250 252);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(51 65 85);
}

.feedback-card__reply-meta {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
  margin-bottom: 0.35rem;
}

/* Public project detail */
.public-project-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .public-project-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
}

.public-project-facts {
  display: grid;
  gap: 0.75rem;
}

.public-project-facts__row {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgb(241 245 249);
}

@media (min-width: 640px) {
  .public-project-facts__row {
    grid-template-columns: 9rem 1fr;
    align-items: baseline;
  }
}

.public-project-facts__row dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(100 116 139);
}

.public-project-facts__row dd {
  font-size: 0.875rem;
  color: rgb(15 23 42);
}

.public-project-facts__row dd a {
  color: var(--dashboard-brand, #bf5f0b);
  font-weight: 600;
  text-decoration: none;
}

.public-project-facts__row dd a:hover {
  text-decoration: underline;
}

.public-project-facts__row--type dt {
  color: rgb(51 65 85);
}

.project-type-badge {
  background-color: color-mix(in srgb, var(--project-type-color, #2563eb) 14%, white);
  color: var(--project-type-color, #2563eb);
  border: 1px solid color-mix(in srgb, var(--project-type-color, #2563eb) 28%, white);
  font-weight: 700;
}

.project-detail-field__empty {
  color: rgb(148 163 184);
  font-style: italic;
}

.project-detail-field__textarea {
  white-space: pre-wrap;
  line-height: 1.55;
}

.public-project-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.public-project-timeline__item {
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
}

.public-project-timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.public-project-timeline__pct {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--dashboard-brand, #bf5f0b);
}

.public-project-timeline__head time {
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

.public-project-timeline__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(51 65 85);
}

.public-project-timeline__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.public-project-timeline__photo {
  padding: 0;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
}

.public-project-timeline__photo img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
}

.public-project-finance__list {
  display: grid;
  gap: 0.625rem;
}

.public-project-finance__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.public-project-finance__list dt {
  color: rgb(100 116 139);
}

.public-project-finance__list dd {
  font-weight: 700;
  color: rgb(15 23 42);
  text-align: right;
}

.public-project-finance__bar {
  margin-top: 1rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgb(226 232 240);
  overflow: hidden;
}

.public-project-finance__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgb(22 163 74);
}

.public-project-map-link {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.public-project-timeline__photo {
  display: block;
  text-decoration: none;
}

.public-feedback-form-wrap {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
}

.public-feedback-form__intro {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(71 85 105);
}

.public-feedback-form__hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgb(100 116 139);
}

.public-feedback-form__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .public-feedback-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.public-feedback-form__full {
  grid-column: 1 / -1;
}

.public-feedback-form label,
.public-feedback-form legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(51 65 85);
}

.public-feedback-form__input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: #fff;
}

.public-feedback-form__ratings {
  display: grid;
  gap: 0.35rem;
}

.public-feedback-form__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgb(51 65 85);
}

.public-feedback-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Feedback archive (/feedback/) */
.feedback-archive-section {
  background: rgb(248 250 252);
  border-radius: 1rem;
}

.feedback-archive-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .feedback-archive-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: start;
  }

  .feedback-archive-feed {
    order: 1;
  }

  .feedback-archive-sidebar {
    order: 2;
  }
}

@media (min-width: 1200px) {
  .feedback-archive-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
  }
}

.feedback-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.feedback-archive-toolbar__meta {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 600;
  color: rgb(100 116 139);
}

.feedback-archive-tab-count {
  opacity: 0.72;
}

.feedback-archive-feed-list {
  gap: 1rem;
}

.feedback-archive-card {
  border-radius: 0.875rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  overflow: hidden;
}

.feedback-archive-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem 0.75rem;
}

.feedback-archive-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.feedback-archive-card__avatar--blue {
  background: rgb(219 234 254);
  color: rgb(29 78 216);
}

.feedback-archive-card__avatar--green {
  background: rgb(220 252 231);
  color: rgb(21 128 61);
}

.feedback-archive-card__avatar--rose {
  background: rgb(255 228 230);
  color: rgb(190 18 60);
}

.feedback-archive-card__identity {
  flex: 1;
  min-width: 0;
}

.feedback-archive-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.5rem;
}

.feedback-archive-card__author {
  font-size: 0.9rem;
  color: rgb(15 23 42);
}

.feedback-archive-card__date {
  margin: 0.25rem 0 0;
  font-size: 0.74rem;
  color: rgb(100 116 139);
}

.feedback-archive-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.4;
}

.feedback-archive-badge--responded {
  background: rgb(220 252 231);
  color: rgb(21 128 61);
}

.feedback-archive-badge--pending {
  background: rgb(254 243 199);
  color: rgb(180 83 9);
}

.feedback-archive-badge--project {
  background: rgb(219 234 254);
  color: rgb(29 78 216);
}

.feedback-archive-badge--rating {
  background: rgb(241 245 249);
  color: rgb(71 85 105);
}

.feedback-archive-card__project {
  margin: 0 1.25rem 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background: rgb(239 246 255);
  border-left: 3px solid rgb(37 99 235);
}

.feedback-archive-card__project-label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(30 64 175);
}

.feedback-archive-card__project-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgb(30 58 138);
  text-decoration: none;
}

.feedback-archive-card__project-link:hover {
  text-decoration: underline;
}

.feedback-archive-card__project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.625rem;
}

.feedback-archive-card__meta-item {
  font-size: 0.72rem;
  color: rgb(51 65 85);
}

.public-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.public-status-badge--completed {
  background: rgb(220 252 231);
  color: rgb(21 128 61);
}

.public-status-badge--ongoing {
  background: rgb(219 234 254);
  color: rgb(29 78 216);
}

.public-status-badge--not_started,
.public-status-badge--under_procurement {
  background: rgb(254 243 199);
  color: rgb(180 83 9);
}

.public-status-badge--stalled {
  background: rgb(254 226 226);
  color: rgb(185 28 28);
}

.feedback-archive-card__body {
  padding: 0 1.25rem 1rem;
}

.feedback-archive-card__subject {
  margin: 0 0 0.375rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgb(30 58 138);
}

.feedback-archive-card__comment {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgb(51 65 85);
}

.feedback-archive-card__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding: 0 1.25rem 1rem;
}

.feedback-archive-attachment--image {
  padding: 0;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.feedback-archive-attachment--image img {
  display: block;
  width: 6.25rem;
  height: 6.25rem;
  object-fit: cover;
}

.feedback-archive-attachment--file {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(29 78 216);
  text-decoration: none;
}

.feedback-archive-card__reply {
  margin: 0 1.25rem 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0 0.625rem 0.625rem 0;
  border-left: 3px solid rgb(34 197 94);
  background: rgb(240 253 244);
}

.feedback-archive-card__reply-label {
  margin: 0 0 0.375rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(21 128 61);
}

.feedback-archive-card__reply-label a {
  color: rgb(21 128 61);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.feedback-archive-card__reply-text {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgb(51 65 85);
}

.feedback-archive-sidebar-card {
  position: sticky;
  top: 5rem;
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.04);
}

.feedback-archive-sidebar__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: rgb(15 23 42);
}

.feedback-archive-sidebar__text {
  margin: 0.5rem 0 1.125rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgb(100 116 139);
}

.feedback-archive-sidebar__btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.625rem;
}

.feedback-archive-sidebar__hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(148 163 184);
}

.feedback-archive-pagination {
  margin-top: 1.25rem;
}

/* ------------------------------------------------------------------ */
/* Responsive safety — prevent horizontal overflow on public pages     */
/* ------------------------------------------------------------------ */

.public-page-content,
.public-project-page,
.landing-page,
.public-page-body {
  min-width: 0;
}

.public-page-content img,
.public-page-content video,
.public-page-content iframe,
.public-project-page img,
.public-project-page video,
.public-project-page iframe,
.public-page-body table {
  max-width: 100%;
  height: auto;
}

.public-page-content pre,
.public-page-content code {
  overflow-x: auto;
  max-width: 100%;
}

@media (max-width: 991px) {
  .public-site-header__row {
    gap: 0.5rem;
  }

  .public-site-header__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ------------------------------------------------------------------ */
/* Legal pages                                                         */
/* ------------------------------------------------------------------ */

.legal-page {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-page__meta {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.legal-page__layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .legal-page__layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
  }
}

.legal-page__aside {
  position: sticky;
  top: 1rem;
}

.legal-page__nav {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
}

.legal-page__nav-label {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(100 116 139);
}

.legal-page__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.legal-page__nav-link {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(51 65 85);
  text-decoration: none;
}

.legal-page__nav-link:hover,
.legal-page__nav-link:focus-visible {
  background: rgb(248 250 252);
  color: var(--dashboard-brand, #bf5f0b);
}

.legal-page__nav-link--active {
  background: rgb(255 247 237);
  color: var(--dashboard-brand, #bf5f0b);
}

.legal-prose h2 {
  scroll-margin-top: 5rem;
}

.legal-prose h2:not(:first-child) {
  margin-top: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(241 245 249);
}

.legal-prose ul,
.legal-prose ol {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose code {
  font-size: 0.85em;
  background: rgb(248 250 252);
  border: 1px solid rgb(226 232 240);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.8125rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgb(226 232 240);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgb(248 250 252);
  font-weight: 700;
  color: rgb(30 41 59);
}

.legal-page__footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(226 232 240);
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.legal-page__footer-note p {
  margin: 0 0 0.5rem;
}

.legal-index-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.legal-index-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.legal-index-card {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.1rem 1.15rem;
}

.legal-index-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(100 116 139);
}

.legal-index-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}

.legal-index-card__title a {
  color: rgb(15 23 42);
  text-decoration: none;
}

.legal-index-card__title a:hover {
  color: var(--dashboard-brand, #bf5f0b);
}

.legal-index-card__desc {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.legal-index-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dashboard-brand, #bf5f0b);
  text-decoration: none;
}

.public-page-hero--legal {
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
