:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #17202a;
  --muted: #667085;
  --line: #d8dee8;
  --panel: #ffffff;
  --canvas: #f5f7fa;
  --primary: #155e75;
  --accent: #f59e0b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
}

a {
  color: inherit;
}

button,
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.ghost {
  color: var(--primary);
  background: transparent;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 700;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #eef6f7 0%, #f8fafc 55%, #fff7ed 100%);
}

.login-panel {
  width: min(420px, 100%);
}

.panel,
.empty,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.notice {
  margin: 0;
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 700;
}

.notice.error {
  color: #991b1b;
  background: #fee2e2;
}

.notice.success {
  color: #166534;
  background: #dcfce7;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid #cbd5e1;
  padding: 24px 18px;
  color: #e5eef4;
  background: #12313b;
}

.brand {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.sidebar nav {
  display: grid;
  gap: 4px;
}

.sidebar nav a,
.logout {
  border-radius: 6px;
  padding: 10px 12px;
  color: #e5eef4;
  text-decoration: none;
}

.sidebar nav a:hover,
.logout:hover {
  background: rgba(255, 255, 255, 0.1);
}

.logout {
  margin-top: auto;
}

.admin-main {
  min-width: 0;
  padding: 0 28px 48px;
}

.admin-top {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 22px;
}

.section-head h1,
.panel h2,
.hero h1 {
  margin: 0;
}

.section-head p,
.panel p,
.hero p {
  margin: 6px 0 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.metric strong {
  font-size: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compact-form {
  margin-bottom: 14px;
}

.table-wrap {
  overflow: auto;
  margin-top: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
}

th {
  color: #475467;
  background: #f8fafc;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.empty {
  padding: 20px;
  color: var(--muted);
}

.editor-stack,
.panel-group {
  display: grid;
  gap: 16px;
}

.panel-group {
  margin: 18px 0;
}

.panel-group h2,
.panel-group p {
  margin: 0;
}

.action-editor-grid,
.photo-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-editor {
  align-content: start;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-preview {
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.media-preview img {
  width: 100%;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #f8fafc;
}

.media-preview figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-home {
  min-height: 100vh;
  color: #111827;
  background: #fff;
  font-family: "Source Sans Pro", Arial, ui-sans-serif, system-ui, sans-serif;
}

.site-home h1,
.site-home h2,
.site-home h3 {
  margin: 0;
  font-family: "Source Serif Pro", Georgia, "Times New Roman", serif;
  line-height: 1;
}

.site-home p {
  margin: 0;
}

.home-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(110px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 10px clamp(18px, 4vw, 58px);
  background: #cb2c30;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.18);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: min(100%, var(--site-logo-width, 390px));
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 8px 13px;
  color: #cb2c30;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.home-action.social-action {
  width: 44px;
  padding: 8px;
}

.social-icon,
.social-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.social-icon svg {
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.home-action.filled {
  color: #cb2c30;
  background: #fff;
}

.home-action.light {
  color: #cb2c30;
  background: #fff;
}

.home-action.outline {
  color: #cb2c30;
  background: #fff;
}

.home-hero {
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 58px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.82) 0%, rgba(17, 24, 39, 0.56) 46%, rgba(17, 24, 39, 0.14) 100%),
    var(--hero-image),
    #cb2c30;
  background-size: cover;
  background-position: center;
}

.home-hero.no-hero-photo {
  background: #cb2c30;
}

.hero-copy {
  max-width: 720px;
  display: grid;
  gap: 20px;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.35rem, 6vw, 5.55rem);
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Source Sans Pro", Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-style: italic;
  line-height: 1.45;
}

.hero-cta {
  width: fit-content;
  min-height: 48px;
  border-radius: 6px;
  padding: 13px 18px;
  color: #cb2c30;
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.home-overview,
.home-dashboard,
.pillar-showcase,
.strategic-plan-note,
.pillar-pathways,
.photo-story,
.story-band {
  padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 58px);
}

.pillar-showcase {
  padding-bottom: clamp(30px, 4.5vw, 58px);
}

.strategic-plan-note {
  padding-top: clamp(32px, 4.5vw, 62px);
  padding-bottom: clamp(32px, 4.5vw, 62px);
}

.home-overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: start;
  border-bottom: 1px solid #e5e7eb;
}

.home-overview h2,
.home-dashboard h2,
.strategic-plan-note h2,
.section-title h2,
.story-band h2 {
  max-width: 900px;
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.overview-copy,
.dashboard-text div,
.strategic-plan-note-inner div,
.section-title div,
.pillar-goals {
  display: grid;
  gap: 12px;
}

.overview-copy p,
.dashboard-text p,
.strategic-plan-note p,
.section-title p,
.home-pillar p,
.pillar-goals p,
.photo-slot p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.55;
}

.home-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(22px, 5vw, 72px);
  background: #f7f7f8;
}

.dashboard-text {
  display: grid;
  gap: 16px;
  align-content: start;
}

.public-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-stats div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.public-stats strong {
  color: #cb2c30;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.public-stats span {
  color: #374151;
  font-weight: 800;
}

.section-title {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home-pillar {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  filter: drop-shadow(0 18px 26px rgba(17, 24, 39, 0.12));
}

.pillar-cap {
  height: 52px;
  border-radius: 8px 8px 2px 2px;
  background: #cb2c30;
  clip-path: polygon(10% 0, 90% 0, 100% 54%, 92% 100%, 8% 100%, 0 54%);
}

.pillar-shaft {
  min-height: 310px;
  display: grid;
  align-content: start;
  gap: 16px;
  border-right: 2px solid rgba(203, 44, 48, 0.2);
  border-left: 2px solid rgba(203, 44, 48, 0.2);
  padding: 26px 18px 24px;
  background:
    linear-gradient(90deg, rgba(203, 44, 48, 0.05), rgba(248, 250, 252, 0) 18%, rgba(248, 250, 252, 0) 82%, rgba(203, 44, 48, 0.05)),
    #f8fafc;
}

.pillar-base {
  height: 58px;
  border-radius: 2px 2px 8px 8px;
  background: #cb2c30;
  clip-path: polygon(8% 0, 92% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
}

.pillar-number {
  width: fit-content;
  border: 1px solid rgba(203, 44, 48, 0.22);
  border-radius: 999px;
  padding: 5px 10px;
  color: #cb2c30;
  background: #fff5f5;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-pillar h2 {
  min-height: 2.15em;
  color: #111827;
  font-size: clamp(1.28rem, 1.75vw, 1.82rem);
}

.home-pillar p {
  color: #4b5563;
  font-size: 0.94rem;
  line-height: 1.55;
}

.strategic-plan-note {
  font-family: "Source Sans Pro", Arial, sans-serif;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background:
    linear-gradient(90deg, rgba(203, 44, 48, 0.08), rgba(203, 44, 48, 0) 38%),
    #f8fafc;
}

.strategic-plan-note-inner {
  max-width: 980px;
  margin: 0 auto;
  border-left: 6px solid #cb2c30;
  padding-left: clamp(18px, 3vw, 34px);
}

.strategic-plan-note p {
  max-width: 900px;
  color: #1f2937;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.strategic-plan-note strong {
  color: #111827;
  font-weight: 800;
}

.pillar-pathways {
  background:
    linear-gradient(180deg, #ffffff 0, #f8fafc 240px),
    #f8fafc;
}

.pillar-pathways-list {
  max-width: 1240px;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin: 0 auto;
}

.pillar-pathway {
  display: grid;
  grid-template-columns: minmax(360px, 1.45fr) minmax(150px, 0.42fr) minmax(150px, 0.42fr);
  gap: 16px;
  align-items: stretch;
}

.pillar-pathway-photo,
.pathway-box {
  min-height: clamp(260px, 26vw, 360px);
  border-radius: 8px;
}

.pillar-pathway-photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(203, 44, 48, 0.95), rgba(17, 24, 39, 0.88)),
    #cb2c30;
}

.pillar-pathway-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pillar-pathway-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.2) 54%, rgba(17, 24, 39, 0.05)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.66), rgba(17, 24, 39, 0));
}

.pillar-pathway-photo.no-photo::after {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.06)),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.2), transparent 26%);
}

.pillar-pathway-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: 760px;
  padding: clamp(22px, 4vw, 38px);
  color: #fff;
}

.pillar-pathway-copy span {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pillar-pathway-copy h3 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 0.95;
}

.pillar-pathway-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: clamp(0.98rem, 1.55vw, 1.22rem);
  line-height: 1.45;
}

.pathway-box {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  border: 1px solid rgba(203, 44, 48, 0.18);
  border-top: 7px solid var(--pillar-color);
  padding: 24px 18px;
  background:
    linear-gradient(180deg, rgba(203, 44, 48, 0.055), rgba(203, 44, 48, 0)),
    #fff;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.08);
}

.pathway-box strong {
  color: #111827;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 900;
}

.pathway-icon {
  width: clamp(58px, 7vw, 82px);
  height: clamp(58px, 7vw, 82px);
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #cb2c30;
  background: #fff5f5;
}

.pathway-icon svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pathway-icon rect,
.pathway-icon circle {
  fill: currentColor;
  stroke: none;
}

.photo-story {
  background: #111827;
  color: #fff;
}

.photo-story .eyebrow {
  color: #fff;
}

.photo-story .section-title p,
.photo-story .section-title div p {
  color: rgba(255, 255, 255, 0.78);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 12px;
}

.photo-slot {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #374151;
}

.photo-slot:first-child {
  grid-row: span 2;
}

.photo-slot img,
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.photo-slot div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0));
}

.photo-slot h3 {
  font-size: 1.5rem;
}

.photo-slot p {
  color: rgba(255, 255, 255, 0.82);
}

.story-band {
  display: grid;
  gap: 14px;
  color: #fff;
  background: #cb2c30;
}

.story-band .eyebrow {
  color: #fff;
}

@media (max-width: 920px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .metrics,
  .pillar-grid,
  .public-stats,
  .action-editor-grid,
  .photo-editor-grid,
  .preview-grid,
  .home-top,
  .home-hero,
  .home-overview,
  .home-dashboard,
  .pillar-pathway,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .home-top {
    position: static;
  }

  .home-actions {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 560px;
    padding-top: 64px;
    padding-bottom: 54px;
  }

  .hero-copy {
    max-width: 100%;
    gap: 16px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 1rem;
  }

  .home-pillar {
    min-height: 0;
  }

  .pillar-cap {
    height: 44px;
  }

  .pillar-shaft {
    min-height: 0;
    padding: 24px 22px;
  }

  .pillar-base {
    height: 44px;
  }

  .home-pillar h2 {
    min-height: 0;
  }

  .pillar-pathway-photo,
  .pathway-box {
    min-height: 220px;
  }

  .pathway-box {
    min-height: 170px;
  }

  .photo-slot:first-child {
    grid-row: span 1;
  }

  .form-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-main {
    padding: 0 18px 36px;
  }
}

@media (max-width: 560px) {
  .home-hero {
    min-height: 520px;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-cta {
    width: 100%;
  }
}
