:root {
  color-scheme: light;
  --bg: #eef4fa;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --navy: #12314d;
  --navy-2: #19476f;
  --orange: #ff7417;
  --teal: #139b9a;
  --magenta: #c12861;
  --green: #5cab47;
  --line: #d4e0eb;
  --line-strong: #b8c8d8;
  --text: #13243a;
  --muted: #62748b;
  --shadow: 0 16px 42px rgba(18, 49, 77, 0.13);
  --radius: 8px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #e5edf5;
  color: var(--navy);
  font-size: 13px;
}

.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--surface);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(18, 49, 77, 0.06);
  text-decoration: none;
}

.btn:hover {
  background: #f9fcff;
  border-color: #9fb2c4;
}

.btn-primary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn-primary:hover {
  color: #fff;
  background: var(--navy-2);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.btn-icon {
  width: 38px;
  padding-inline: 8px;
}

.login-view {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-shell {
  width: min(100%, 430px);
}

.login-card {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card img {
  width: min(100%, 310px);
  margin: 0 auto 26px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-error {
  margin: 0;
  padding: 10px 12px;
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(160px, 270px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px clamp(18px, 2vw, 36px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 49, 77, 0.08);
  backdrop-filter: blur(14px);
}

.site-menu {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: auto;
  height: clamp(46px, 4vw, 62px);
  max-width: min(58vw, 270px);
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(18, 49, 77, 0.06);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav,
.header-actions,
.hero-actions,
.admin-actions,
.admin-side-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav {
  justify-content: flex-end;
}

.main-nav a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--navy);
  background: var(--surface-soft);
}

.header-actions {
  justify-content: flex-end;
}

main {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: clamp(18px, 2.8vw, 42px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100vh - 128px);
  padding-block: clamp(18px, 2.5vw, 36px);
}

.page-hero:not(.is-home) {
  min-height: auto;
  padding-block: clamp(24px, 4vw, 58px);
}

.hero-copy h1 {
  max-width: 860px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero:not(.is-home) .hero-copy h1 {
  font-size: clamp(34px, 4vw, 56px);
}

.hero-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
}

.hero-actions {
  margin-top: 28px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-media,
.media-frame,
.wide-media,
.platform-media,
.gallery-item {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--surface);
}

figcaption {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

figcaption strong {
  color: var(--navy);
  font-size: 13px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.metric-card,
.feature-card,
.objective-card,
.wp-card,
.unit-card,
.impact-card,
.platform-card,
.resource-list a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 49, 77, 0.08);
}

.metric-card {
  min-height: 112px;
  padding: 18px;
  border-top: 4px solid var(--accent);
}

.metric-card strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  scroll-margin-top: 100px;
  padding-block: clamp(34px, 5vw, 82px);
  border-top: 1px solid rgba(184, 200, 216, 0.72);
}

.section h2 {
  max-width: 980px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.22;
}

.section p {
  margin: 14px 0 0;
  color: var(--text);
}

.section-head {
  display: grid;
  gap: 6px;
  max-width: 980px;
  margin-bottom: 24px;
}

.section-head p:not(.section-label) {
  max-width: 880px;
  color: var(--muted);
  font-size: 17px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}

.media-frame img,
.wide-media img,
.platform-media img,
.gallery-item img {
  width: 100%;
  background: var(--surface);
  object-fit: contain;
}

.media-frame img {
  max-height: 560px;
}

.wide-media {
  margin-top: 28px;
}

.wide-media img {
  max-height: 720px;
}

.two-column,
.objective-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.impact-card {
  padding: 22px;
}

.feature-card svg,
.impact-card svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--teal);
  stroke-width: 2.1;
}

.highlight-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.highlight-list span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--navy);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

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

.objective-card {
  min-height: 235px;
  padding: 18px;
}

.objective-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.objective-card p,
.wp-card p,
.unit-card p,
.impact-card p {
  color: var(--muted);
}

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

.wp-card,
.unit-card {
  padding: 18px;
  border-top: 4px solid var(--accent);
}

.wp-card > span,
.unit-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.wp-card small,
.unit-card small {
  display: block;
  margin-top: 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.content-card {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 49, 77, 0.08);
}

.content-card > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  color: var(--accent);
  stroke-width: 2.1;
}

.content-card h3 {
  margin-top: 0;
}

.content-card p {
  color: var(--muted);
}

.content-card small {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.content-card .btn {
  margin-top: 14px;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.card-media {
  margin: -18px -18px 16px;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: none;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--surface);
}

.card-media figcaption {
  display: none;
}

.callout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.page-callout {
  margin-block: 18px clamp(34px, 5vw, 62px);
}

.callout-row h3,
.callout-row p {
  color: #fff;
}

.callout-row p {
  margin-top: 4px;
  opacity: 0.82;
}

.platform-list {
  display: grid;
  gap: 16px;
}

.platform-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 16px;
}

.platform-media {
  box-shadow: none;
}

.platform-media figcaption {
  display: none;
}

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

.media-gallery {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  box-shadow: 0 8px 24px rgba(18, 49, 77, 0.08);
}

.gallery-item img,
.media-frame img,
.wide-media img,
.platform-media img,
.document-frame {
  cursor: zoom-in;
}

.document-frame {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px;
  color: var(--navy);
  background: var(--surface-soft);
  text-decoration: none;
}

.document-frame svg {
  width: 34px;
  height: 34px;
}

.resources-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-list a {
  display: grid;
  gap: 4px;
  padding: 16px;
  text-decoration: none;
}

.resource-list span {
  color: var(--navy);
  font-weight: 900;
}

.resource-list small {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 2vw, 36px);
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 24px;
  background: rgba(7, 20, 34, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  align-self: center;
  justify-self: center;
  max-width: min(100%, 1500px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
}

.lightbox p {
  justify-self: center;
  max-width: 1000px;
  margin: 0;
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: #fff;
  border: 0;
  border-radius: var(--radius);
}

.has-lightbox {
  overflow: hidden;
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.admin-brand img {
  height: 58px;
}

.admin-sidebar nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.admin-sidebar nav a {
  padding: 10px 12px;
  color: var(--navy);
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.admin-sidebar nav a:hover {
  border-color: var(--line-strong);
}

.admin-main {
  width: min(100%, 1260px);
  margin: 0;
}

.admin-top,
.admin-panel {
  margin-bottom: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 49, 77, 0.07);
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-top h1,
.admin-panel h2,
.repeater h3,
.password-form h3 {
  margin: 0;
  color: var(--navy);
}

.admin-top p,
.admin-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.field {
  display: grid;
  gap: 6px;
}

.field span,
.check-field span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.field input,
.field textarea,
.field select,
.json-editor {
  width: 100%;
  min-height: 40px;
  padding: 10px 11px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  outline: 0;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field-wide {
  grid-column: 1 / -1;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.repeater {
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

.repeater:first-child {
  border-top: 0;
}

.repeater-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.repeater-head p {
  margin: 4px 0 0;
}

.repeater-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  margin-bottom: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel-head,
.page-editor-head,
.block-toolbar,
.page-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-head {
  margin-bottom: 16px;
}

.panel-head h2,
.page-editor-head h3,
.block-manager h3,
.mini-repeater h3 {
  margin: 0;
  color: var(--navy);
}

.cms-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.page-list-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
}

.page-list-title {
  padding: 10px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-list-title strong {
  color: var(--navy);
}

.page-list-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.page-list {
  display: grid;
  gap: 8px;
}

.page-list-item {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px;
  color: var(--text);
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-list-item:hover,
.page-list-item.is-selected {
  border-color: var(--navy);
  background: #fff;
}

.page-list-item strong {
  color: var(--navy);
  font-size: 14px;
}

.page-list-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.page-editor,
.block-manager {
  display: grid;
  gap: 14px;
}

.block-manager {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.block-card,
.mini-repeater {
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.block-card {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}

.block-toolbar {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.block-toolbar .field {
  width: min(100%, 260px);
}

.mini-repeater {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  background: #fff;
}

.compact-row,
.item-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.item-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  margin-bottom: 10px;
}

.item-row-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

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

.advanced-json summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.json-editor {
  min-height: 520px;
  margin-top: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
}

.upload-row,
.password-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.password-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.password-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  max-width: 380px;
  padding: 12px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.is-error {
  background: #991b1b;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-menu {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: end;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease, visibility 0.18s ease;
  }

  .site-menu.is-open {
    max-height: min(72vh, 560px);
    padding-top: 8px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .main-nav {
    width: min(100%, 640px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: end;
    overflow: visible;
    padding-bottom: 0;
  }

  .main-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    padding: 9px 10px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
  }

  .header-actions {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }

  .header-actions .btn {
    width: 100%;
  }

  .hero-section,
  .split-section,
  .resources-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .metric-band,
  .objective-grid,
  .wp-grid,
  .unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .cms-layout {
    grid-template-columns: 1fr;
  }

  .page-list-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  main,
  .admin-main {
    padding: 14px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .main-nav,
  .header-actions {
    grid-template-columns: 1fr;
  }

  .metric-band,
  .two-column,
  .objective-grid,
  .wp-grid,
  .unit-grid,
    .impact-grid,
    .platform-card,
    .form-grid,
    .upload-row,
    .password-grid,
    .compact-row,
    .item-row,
    .item-row-wide,
    .media-row {
    grid-template-columns: 1fr;
  }

  .repeater-row {
    grid-template-columns: 1fr;
  }

  .admin-top,
  .panel-head,
  .page-editor-head,
  .block-toolbar,
  .callout-row,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .block-toolbar .field {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
