@import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --cream: #faf6f0;
  --warm-white: #fdf9f4;
  --sand: #e8ddd0;
  --taupe: #c4b5a5;
  --mocha: #8b7355;
  --espresso: #4a3728;
  --blush: #d4a898;
  --sage: #9aaa8c;
  --text: #2c2018;
  --text-light: #7a6555;
  --accent: #c2896a;
  --accent-light: #f0e4da;
  --partner-bg: #f5f2ee;
  --partner-border: #ddd3c8;
  --white: #ffffff;

  --font-family: "PT Serif", Georgia, serif;
  --font-small: 14px;
  --font-text: 16px;
  --font-subtitle: 25.6px;
  --font-title: 40.96px;
  --line-tight: 1.35;
  --line-text: 1.66;
  --line-subtitle: 1.14;
  --line-title: 1.02;
  --muted: var(--text-light);

  --space-1: 12px;
  --space-2: 16px;
  --space-3: 20px;
  --space-4: 26px;
  --space-5: 33px;
  --space-6: 42px;
  --space-7: 54px;
  --space-8: 69px;
  --space-9: 88px;

  --page-inline: 32px;
  --measure: 74ch;
  --measure-readable: 64ch;
  --measure-tight: 52ch;
  --page-width: 1040px;
  --page-width-narrow: 820px;
  --page-width-wide: 1180px;

  --radius: 14px;
  --radius-pill: 18px;
  --shadow: 0 18px 44px rgba(74, 55, 40, 0.09);
  --shadow-hover: 0 22px 52px rgba(74, 55, 40, 0.12);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--text);
  font-family: var(--font-family);
  font-size: var(--font-text);
  line-height: var(--line-text);
  text-rendering: optimizeLegibility;
}

body,
p,
li {
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  color: var(--text-light);
}

p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: var(--space-4);
}

li + li {
  margin-top: var(--space-1);
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--espresso);
  font-weight: 400;
  hyphens: none;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: wrap;
  word-break: normal;
}

h1 {
  max-width: none;
  font-size: var(--font-title);
  line-height: var(--line-title);
}

h2 {
  font-size: var(--font-subtitle);
  line-height: var(--line-subtitle);
}

h3,
h4 {
  font-size: var(--font-text);
  font-weight: 700;
  line-height: var(--line-tight);
}

.lead,
.hero__lead {
  max-width: var(--measure-readable);
  color: var(--text-light);
  font-size: var(--font-subtitle);
  line-height: var(--line-subtitle);
  overflow-wrap: break-word;
  text-wrap: wrap;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--mocha);
  font-size: var(--font-text);
  font-style: italic;
  line-height: var(--line-text);
}

.page {
  width: min(var(--page-width), calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto;
  padding: var(--space-8) 0 var(--space-9);
}

.page--narrow {
  --page-width: var(--page-width-narrow);
}

.page--wide {
  --page-width: var(--page-width-wide);
}

.page--wash {
  background:
    linear-gradient(180deg, var(--accent-light), rgba(253, 249, 244, 0) 330px),
    var(--warm-white);
}

.lead {
  margin-top: var(--space-3);
}

.page > .lead {
  max-width: var(--measure-readable);
  margin: var(--space-4) auto 0;
  font-size: var(--font-text);
  font-style: italic;
  line-height: var(--line-text);
  text-align: center;
}

.page > .lead + section {
  margin-top: var(--space-6);
}

.page > section > h2 {
  font-weight: 700;
  text-align: center;
}

.draft-status {
  width: fit-content;
  margin: var(--space-3) auto 0;
  color: var(--mocha);
  font-size: var(--font-text);
  font-style: italic;
}

.content,
.placeholder,
.topics,
.district-card,
.video-card,
.screens figure {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.content,
.placeholder,
.topics {
  margin-top: var(--space-6);
  padding: var(--space-5);
}

.content p + p,
.placeholder p,
.district-card p {
  margin-top: var(--space-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: var(--font-text);
  line-height: 1.2;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  box-shadow: 0 12px 24px rgba(74, 55, 40, 0.14);
  transform: translateY(-1px);
}

.button--primary,
.button:not([class*="button--"]) {
  background: var(--espresso);
  color: var(--cream);
}

.button--secondary {
  border-color: var(--partner-border);
  background: var(--white);
  color: var(--espresso);
}

.text-link {
  display: inline-flex;
  margin-top: var(--space-3);
  color: var(--accent);
  font-size: var(--font-text);
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-contact {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(154, 170, 140, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2f8f58;
  box-shadow: 0 14px 34px rgba(44, 32, 24, 0.16);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-contact svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.guide-contact:hover {
  border-color: rgba(47, 143, 88, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(44, 32, 24, 0.2);
}

.local-editor {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.local-editor__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(74, 55, 40, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--espresso);
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(44, 32, 24, 0.16);
  cursor: pointer;
  pointer-events: auto;
}

.local-editor__button[aria-pressed="true"] {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--cream);
}

.local-editor__status {
  max-width: min(240px, calc(100vw - 88px));
  padding: 7px 10px;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: rgba(253, 249, 244, 0.96);
  color: var(--espresso);
  font-size: var(--font-small);
  line-height: 1.25;
  box-shadow: 0 10px 26px rgba(44, 32, 24, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.local-editor__status:not(:empty) {
  opacity: 1;
}

.local-editor__status[data-state="error"] {
  border-color: #b76a55;
  color: #8a3f2f;
}

.local-edit-mode [data-local-edit] {
  position: relative;
  border-radius: 6px;
  outline: 1px dashed rgba(194, 137, 106, 0.72);
  outline-offset: 4px;
  cursor: text;
}

.local-edit-mode [data-local-edit]:focus {
  outline: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.42);
}

.local-edit-mode [data-local-edit][data-local-edit-state="dirty"] {
  outline-color: var(--mocha);
}

.local-edit-mode [data-local-edit][data-local-edit-state="saving"] {
  outline-color: var(--sage);
}

.local-edit-mode [data-local-edit][data-local-edit-state="error"] {
  outline-color: #b76a55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: rgba(253, 249, 244, 0.94);
  border-bottom: 1px solid rgba(196, 181, 165, 0.38);
  backdrop-filter: blur(12px);
}

.smart-back-wrap {
  position: sticky;
  top: 62px;
  z-index: 19;
  width: min(var(--page-width), calc(100vw - (var(--page-inline) + var(--page-inline))));
  height: 0;
  margin: 0 auto;
  pointer-events: none;
}

.smart-back-wrap[hidden] {
  display: none;
}

.smart-back {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin-top: var(--space-1);
  padding: 7px 13px;
  border: 1px solid rgba(196, 181, 165, 0.72);
  border-radius: 12px;
  background: rgba(253, 249, 244, 0.94);
  color: var(--espresso);
  font-family: inherit;
  font-size: var(--font-small);
  line-height: 1;
  box-shadow: 0 10px 26px rgba(44, 32, 24, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.smart-back:hover {
  border-color: var(--taupe);
  color: var(--accent);
  transform: translateY(-1px);
}

.smart-back__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 1px solid rgba(253, 249, 244, 0.94);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(44, 32, 24, 0.18);
}

.smart-back__badge[hidden] {
  display: none;
}

.brand {
  display: grid;
  justify-self: start;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--partner-border);
  border-radius: 50%;
  background: var(--white);
}

.brand img {
  width: 26px;
  height: 26px;
  object-fit: cover;
}

.guide-map {
  position: relative;
  justify-self: end;
}

.guide-map__button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--partner-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--espresso);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.guide-map__button::-webkit-details-marker {
  display: none;
}

.guide-map__button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-map[open] .guide-map__button {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--cream);
}

.guide-map__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: var(--space-1);
  width: min(440px, calc(100vw - 28px));
  max-height: min(74vh, 680px);
  overflow: auto;
  padding: var(--space-2);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(253, 249, 244, 0.98);
  box-shadow: var(--shadow);
}

.guide-map__eyebrow {
  margin: 0;
  color: var(--mocha);
  font-size: var(--font-small);
  font-style: italic;
  line-height: var(--line-tight);
}

.guide-map__stages,
.guide-map__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-map__stage {
  display: grid;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(216, 198, 186, 0.62);
}

.guide-map__stage:first-child {
  padding-top: 0;
  border-top: 0;
}

.guide-map__stage-link,
.guide-map__steps a,
.guide-map__steps > li > span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 5px 0;
  color: var(--espresso);
  line-height: 1.25;
}

.guide-map__stage-link:hover,
.guide-map__steps a:hover {
  color: var(--accent);
}

.guide-map__stage-link span,
.guide-map__steps a span,
.guide-map__steps span span {
  flex: 0 0 auto;
  color: var(--mocha);
  font-size: var(--font-small);
}

.guide-map__stage-link strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: var(--font-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-map__steps {
  padding-left: var(--space-2);
  border-left: 1px solid var(--sand);
}

.guide-map__steps a,
.guide-map__steps > li > span {
  padding-block: 3px;
  color: var(--text-light);
  font-size: var(--font-small);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-map__steps em,
.guide-map__stage-link em {
  width: fit-content;
  color: var(--muted);
  font-size: var(--font-small);
  font-style: normal;
}

.guide-map__steps--muted {
  opacity: 0.78;
}

.nav {
  display: flex;
  justify-self: center;
  gap: var(--space-1);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a,
.header-cta {
  flex: 0 0 auto;
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--partner-border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--espresso);
  font-size: var(--font-text);
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav a[aria-current="page"] {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--cream);
}

.nav a:hover {
  border-color: var(--taupe);
  color: var(--accent);
}

.nav a[aria-current="page"]:hover {
  color: var(--cream);
}

.mobile-menu {
  display: none;
  justify-self: center;
}

.header-cta {
  display: none;
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--cream);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(44, 32, 24, 0.88), rgba(74, 55, 40, 0.58) 54%, rgba(74, 55, 40, 0.16)),
    linear-gradient(0deg, rgba(253, 249, 244, 0.25), rgba(253, 249, 244, 0));
}

.hero__inner {
  width: min(var(--page-width-wide), calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto;
  padding: var(--space-9) 0 var(--space-8);
  color: var(--cream);
}

.hero h1 {
  max-width: min(760px, 100%);
  color: var(--cream);
}

.hero__lead {
  max-width: var(--measure-tight);
  margin-top: var(--space-5);
  color: var(--cream);
}

.section-head {
  width: min(var(--measure), calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-head h2,
.start h2 {
  max-width: none;
  margin-inline: auto;
}

.roadmap {
  padding: var(--space-6) 0 var(--space-7);
  background:
    linear-gradient(180deg, var(--accent-light), rgba(253, 249, 244, 0)),
    var(--warm-white);
  scroll-margin-top: 76px;
}

.roadmap--compact {
  padding: 0 0 var(--space-5);
  background: transparent;
}

.roadmap-compact__card {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.roadmap-compact__card .eyebrow {
  margin-bottom: 0;
}

.roadmap-compact__summary {
  display: grid;
  gap: calc(var(--space-1) / 1.5);
}

.roadmap-compact__count {
  color: var(--mocha);
  font-size: calc(var(--font-text) * 0.94);
  line-height: 1.3;
}

.roadmap-compact__title {
  margin: 0;
  color: var(--espresso);
  font-size: var(--font-text);
  font-weight: 700;
  line-height: 1.35;
}

.roadmap-compact__details {
  margin-top: var(--space-1);
}

.roadmap-compact__details summary {
  width: fit-content;
  color: var(--accent);
  cursor: pointer;
  font-size: var(--font-text);
  line-height: var(--line-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.roadmap .section-head {
  margin-bottom: var(--space-4);
}

.roadmap--compact .section-head {
  width: 100%;
  margin-bottom: var(--space-3);
  text-align: left;
}

.roadmap--compact .section-head h2 {
  max-width: none;
  font-size: var(--font-text);
  font-style: italic;
  line-height: var(--line-text);
}

.roadmap__list {
  position: relative;
  display: grid;
  gap: var(--space-1);
  width: min(760px, calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto;
  padding: 0 0 var(--space-7);
  list-style: none;
  counter-reset: roadmap;
}

.roadmap__list::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.46;
  background-image: url("data:image/svg+xml,%3Csvg width='760' height='520' viewBox='0 0 760 520' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 28 C650 24 746 116 444 166 C92 224 30 306 374 342 C622 368 744 424 724 486' stroke='%23f1e7df' stroke-width='34' stroke-linecap='butt' stroke-linejoin='miter' stroke-dasharray='68 52'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 100%;
}

.roadmap__list::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  z-index: 0;
  width: 72px;
  height: 84px;
  pointer-events: none;
  opacity: 0.62;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='84' viewBox='0 0 72 84' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6 H48 L60 18 V78 H18 Z' stroke='%23d8c6ba' stroke-width='4' stroke-linejoin='miter'/%3E%3Cpath d='M48 6 V20 H60' stroke='%23d8c6ba' stroke-width='4' stroke-linejoin='miter'/%3E%3Cpath d='M28 36 H52' stroke='%23d8c6ba' stroke-width='4' stroke-linecap='butt'/%3E%3Cpath d='M28 48 H50' stroke='%23d8c6ba' stroke-width='4' stroke-linecap='butt'/%3E%3Cpath d='M28 60 H44' stroke='%23d8c6ba' stroke-width='4' stroke-linecap='butt'/%3E%3Cpath d='M25 18 L32 25 L25 32 L18 25 Z' stroke='%23d8c6ba' stroke-width='3.5' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.roadmap__item {
  position: relative;
  z-index: 1;
  counter-increment: roadmap;
}

.roadmap__item:not(:last-child)::after {
  content: none;
}

.roadmap__link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--space-1);
  align-items: center;
  min-height: 0;
  padding: var(--space-1) var(--space-2);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.roadmap__link:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.roadmap__number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--espresso);
  font-size: var(--font-text);
  font-weight: 700;
  line-height: 1;
}

.roadmap__title {
  color: var(--espresso);
  font-size: var(--font-text);
  font-style: italic;
  line-height: var(--line-text);
  text-wrap: wrap;
}

.roadmap__item.is-current .roadmap__number {
  background: var(--espresso);
  color: var(--cream);
}

.roadmap__item.is-current .roadmap__title {
  color: var(--accent);
  font-weight: 700;
}

.roadmap--compact .roadmap__list {
  width: 100%;
  margin-top: var(--space-3);
  padding-bottom: 0;
}

.roadmap--compact .roadmap__list::before {
  content: none;
}

.roadmap--compact .roadmap__list::after {
  content: none;
}

.roadmap--compact .roadmap__link {
  padding-inline: 0;
}

.roadmap__link--disabled {
  cursor: default;
  opacity: 0.74;
}

.roadmap__link--disabled:hover {
  color: inherit;
  transform: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  margin-left: var(--space-1);
  padding: 2px 8px;
  border: 1px solid var(--partner-border);
  border-radius: 999px;
  color: var(--mocha);
  font-size: 0.78em;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  vertical-align: middle;
}

.stage-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.stage-title h1 {
  min-width: 0;
}

.stage-title__icons {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--accent);
}

.stage-title__icons svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  width: min(var(--page-width-wide), calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto;
  padding: var(--space-9) 0;
  scroll-margin-top: 76px;
}

.story__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story__text {
  max-width: var(--measure);
}

.story__text .eyebrow {
  color: var(--accent);
}

.about-hub {
  display: grid;
  gap: var(--space-8);
}

.about-hero {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.about-hero__photo img {
  width: 100%;
  max-height: 620px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.about-hero__text {
  min-width: 0;
}

.about-hero__text .lead {
  margin-top: var(--space-4);
  text-align: left;
}

.content--plain {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.about-section {
  min-width: 0;
}

.about-section .section-head {
  width: min(var(--measure), 100%);
  margin-bottom: 0;
}

.about-values__body {
  display: grid;
  gap: var(--space-3);
  max-width: var(--measure);
}

.about-values__body > p,
.about-values__body section {
  margin: 0;
}

.about-values__body section {
  display: grid;
  gap: var(--space-1);
}

.about-values__body h3 {
  margin: 0;
  font-size: var(--font-subtitle);
  line-height: var(--line-tight);
}

.about-video-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.about-video-card {
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-video-card__placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(194, 137, 106, 0.22), rgba(154, 170, 140, 0.28)),
    var(--accent-light);
}

.about-video-card__placeholder span {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(74, 55, 40, 0.22);
  border-radius: 50%;
  background: rgba(253, 249, 244, 0.86);
  box-shadow: 0 10px 28px rgba(74, 55, 40, 0.12);
}

.about-video-card__placeholder span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-34%, -50%);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--espresso);
}

.about-video-card__body {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
}

.about-video-card__body h2 {
  font-size: var(--font-subtitle);
  line-height: 1.18;
}

.personal-article__cover {
  margin-top: var(--space-6);
}

.personal-article__cover img {
  width: min(520px, 100%);
  max-height: 560px;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.personal-article__body {
  display: grid;
  gap: var(--space-7);
  width: min(900px, 100%);
  margin: var(--space-7) auto 0;
}

.personal-section {
  display: flow-root;
  scroll-margin-top: 96px;
}

.personal-section h2 {
  max-width: var(--measure-readable);
  margin-bottom: var(--space-3);
  font-weight: 700;
}

.personal-section p {
  max-width: none;
}

.personal-section p + p {
  margin-top: var(--space-2);
}

.personal-section__media {
  width: min(320px, 38%);
  margin: 0 0 var(--space-2) var(--space-4);
  float: right;
}

.personal-section__media--left {
  margin: 0 var(--space-4) var(--space-2) 0;
  float: left;
}

.personal-section__media img {
  max-height: 430px;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.personal-video {
  clear: both;
  width: min(760px, 100%);
  margin: var(--space-5) auto 0;
}

.personal-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--accent-light);
  box-shadow: var(--shadow);
}

.personal-section__cta {
  clear: both;
}

.spark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: min(220px, 100%);
  margin: var(--space-2) auto 0;
  color: var(--taupe);
  font-size: var(--font-text);
  letter-spacing: 0;
}

.spark::before,
.spark::after {
  content: "";
  width: var(--space-8);
  height: 1px;
  background: var(--taupe);
}

.calculator-section {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: var(--warm-white);
  scroll-margin-top: 76px;
}

.calculator-frame {
  display: block;
  width: 100%;
  height: 1600px;
  border: 0;
  background: var(--warm-white);
}

.quality {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  width: min(var(--page-width-wide), calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-3);
}

.quality__list {
  display: grid;
  gap: var(--space-1);
  width: min(430px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}

.quality__list li {
  position: relative;
  margin: 0;
  padding-left: calc(var(--space-3) + 2px);
  color: var(--espresso);
  font-size: var(--font-text);
  font-style: italic;
  line-height: var(--line-text);
}

.quality__list li::before {
  content: "✦";
  position: absolute;
  top: 0.02em;
  left: 0;
  color: var(--accent);
  font-style: normal;
  line-height: var(--line-text);
}

.quality .button,
.quality .text-link {
  margin-top: 0;
}

.start {
  display: grid;
  justify-items: center;
  width: min(var(--measure), calc(100% - (var(--page-inline) + var(--page-inline))));
  margin: 0 auto;
  padding: var(--space-4) 0 var(--space-9);
  text-align: center;
}

.start__arrow {
  margin-top: var(--space-5);
  color: var(--mocha);
  font-size: var(--font-subtitle);
  line-height: 1;
}

.footer {
  padding: var(--space-5) var(--space-3) var(--space-7);
  border-top: 1px solid var(--sand);
  color: var(--text-light);
  font-size: var(--font-text);
  text-align: center;
}

.footer p + p {
  margin-top: var(--space-1);
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topics ul {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-4);
}

.topics li::marker {
  color: var(--accent);
}

.step-nav {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.step-nav span:empty {
  display: none;
}

.step-nav a {
  display: inline-flex;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--partner-border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--espresso);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.step-nav .nav-disabled,
.related-nav .nav-disabled {
  display: inline-flex;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  border: 1px dashed var(--partner-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-light);
  text-align: center;
}

.step-nav a:hover {
  border-color: var(--taupe);
  box-shadow: 0 12px 24px rgba(74, 55, 40, 0.1);
  transform: translateY(-1px);
}

.districts,
.videos,
.screens {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.module-list {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.module-card {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-list {
  display: grid;
  gap: 0;
  margin-top: var(--space-6);
  border-top: 1px solid var(--sand);
}

.hub-item {
  display: grid;
  gap: calc(var(--space-1) / 1.5);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--sand);
  color: inherit;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.hub-item h2 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: baseline;
  max-width: none;
  font-size: var(--font-subtitle);
  line-height: 1.18;
}

.hub-item p {
  max-width: var(--measure-readable);
}

.hub-item:hover {
  color: var(--accent);
  padding-left: var(--space-1);
}

.hub-item--disabled {
  opacity: 0.72;
}

.hub-item--disabled:hover {
  color: inherit;
  padding-left: 0;
}

.module-card--disabled {
  opacity: 0.74;
}

.module-card--disabled:hover {
  border-color: var(--sand);
  box-shadow: var(--shadow);
  transform: none;
}

.module-card:hover {
  border-color: var(--taupe);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.module-card h2 {
  max-width: none;
  font-style: italic;
}

.module-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.module-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  z-index: 1;
}

.module-card__step,
.topic-step {
  color: var(--mocha);
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
  line-height: inherit;
}

.module-card__step {
  color: inherit;
}

.module-card:hover .module-card__link {
  color: var(--accent);
}

.module-card__toc {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-1);
  padding-top: var(--space-1);
  border-top: 1px solid rgba(216, 198, 186, 0.72);
}

.module-card__toc p {
  margin: 0;
  color: var(--espresso);
  font-size: var(--font-text);
  font-weight: 700;
  line-height: var(--line-text);
}

.module-card__toc ol {
  display: grid;
  gap: calc(var(--space-1) / 1.5);
  margin: 0;
  padding-left: var(--space-4);
}

.module-card__toc li {
  margin: 0;
  color: var(--mocha);
}

.module-card__toc a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.module-card__toc a:hover {
  color: var(--espresso);
}

.article-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-7);
}

.article-toc {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-3);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.article-toc__title {
  margin: 0;
  color: var(--espresso);
  font-size: var(--font-text);
  font-weight: 700;
  line-height: var(--line-text);
}

.article-toc ol {
  display: grid;
  gap: calc(var(--space-1) / 1.5);
  padding-left: var(--space-4);
}

.article-toc li {
  margin-top: 0;
  color: var(--mocha);
}

.article-toc a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-section {
  scroll-margin-top: 96px;
}

.article-section {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.article-section h2 {
  max-width: var(--measure-readable);
  font-weight: 700;
}

.article-section--draft {
  min-height: 180px;
  place-items: center;
  text-align: center;
}

.article-section--draft h2 {
  font-weight: 700;
}

.article-section p,
.article-section li {
  max-width: var(--measure);
}

.page--article > .eyebrow,
.page--article > h1,
.page--article > .district-subtitle {
  text-align: center;
}

.page--article > h1 {
  max-width: min(860px, 100%);
  margin-inline: auto;
}

.district-subtitle {
  max-width: var(--measure-readable);
  margin: var(--space-3) auto 0;
  color: var(--mocha);
  font-size: var(--font-text);
  font-style: italic;
  line-height: var(--line-text);
  text-wrap: wrap;
}

.article-hero-image {
  margin-top: var(--space-6);
}

.article-hero-image + .article-grid,
.article-hero-image + .article-toc,
.article-toc + .article-grid {
  margin-top: var(--space-7);
}

.article-hero-image img,
.district-guide__media img {
  max-width: 100%;
  max-height: 760px;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.article-hero-image img {
  width: 100%;
}

.district-guide {
  gap: var(--space-7);
  --district-block-width: 1040px;
}

.district-guide__block {
  gap: var(--space-3);
  width: min(100%, var(--district-block-width));
  margin-inline: auto;
}

.district-guide__block h2 {
  max-width: none;
}

.district-guide__block--large,
.district-guide__block--gallery,
.district-guide__block--video {
  width: 100%;
}

.district-guide__block:not(.district-guide__block--media) > h2,
.district-guide__block:not(.district-guide__block--media) > .rich-text {
  margin-inline: auto;
}

.rich-text {
  color: var(--text-light);
}

.rich-text > * + * {
  margin-top: var(--space-2);
}

.rich-text > h2,
.rich-text > h3,
.rich-text > h4 {
  max-width: var(--measure-readable);
  color: var(--espresso);
}

.rich-text > h2 {
  margin-top: var(--space-7);
  font-size: var(--font-subtitle);
  line-height: var(--line-subtitle);
}

.rich-text > h3 {
  margin-top: var(--space-5);
  font-size: var(--font-text);
  font-weight: 700;
  line-height: var(--line-tight);
}

.rich-text > h4 {
  margin-top: var(--space-4);
}

.rich-text > h2:first-child,
.rich-text > h3:first-child,
.rich-text > h4:first-child {
  margin-top: 0;
}

.rich-text > h2 + *,
.rich-text > h3 + *,
.rich-text > h4 + * {
  margin-top: var(--space-2);
}

.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text table {
  max-width: var(--measure);
}

.rich-text .text-center {
  max-width: var(--measure-readable);
  margin-inline: auto;
  text-align: center;
}

.rich-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-section > .rich-text {
  width: min(100%, var(--measure));
  max-width: var(--measure);
  line-height: var(--line-text);
}

.rich-text strong {
  color: var(--text);
  font-weight: 700;
}

.rich-text .highlight-box,
.rich-text .warning-box,
.rich-text .tip-box {
  display: grid;
  gap: var(--space-1);
  max-width: var(--measure);
  margin-block: var(--space-3);
  padding: var(--space-3);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.62);
}

.rich-text .warning-box {
  border-left-color: var(--mocha);
  background: rgba(255, 248, 239, 0.76);
}

.rich-text .tip-box {
  border-left-color: #62a66f;
  background: rgba(242, 251, 242, 0.72);
}

.rich-text .highlight-box > * + *,
.rich-text .warning-box > * + *,
.rich-text .tip-box > * + * {
  margin-top: 0;
}

.rich-text .platform-card {
  max-width: var(--measure);
  padding-block: var(--space-3);
  border-top: 1px solid var(--sand);
}

.rich-text .platform-card:last-child {
  border-bottom: 1px solid var(--sand);
}

.rich-text .platform-card h3 {
  font-size: var(--font-subtitle);
  line-height: 1.2;
}

.rich-text .platform-card h4 {
  margin-top: var(--space-2);
  color: var(--espresso);
  font-size: var(--font-text);
  line-height: var(--line-text);
}

.rich-text .checklist {
  display: grid;
  gap: var(--space-1);
  padding-left: 0;
  list-style: none;
}

.rich-text .checklist li {
  position: relative;
  margin: 0;
  padding-left: var(--space-4);
}

.rich-text .checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.rich-text ul,
.rich-text ol {
  margin-block: var(--space-2);
  padding-left: var(--space-4);
}

.rich-text br {
  display: none;
}

.article-media-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.article-media {
  margin: 0;
}

.article-media img {
  display: block;
  width: min(420px, 100%);
  max-height: 560px;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.article-media--large img {
  width: 100%;
  max-height: 780px;
}

.article-media figcaption {
  max-width: var(--measure);
  margin: var(--space-1) auto 0;
  color: var(--muted);
  font-size: var(--font-small);
  line-height: var(--line-tight);
  text-align: center;
}

.rich-text table {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  border-collapse: separate;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rich-text colgroup {
  display: none;
}

.rich-text tbody,
.rich-text thead {
  display: grid;
  gap: 8px;
}

.rich-text tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: var(--space-2);
  align-items: baseline;
  padding: 10px 12px;
  border-top: 1px solid var(--sand);
  background: rgba(255, 255, 255, 0.62);
}

.rich-text td,
.rich-text th {
  display: block;
  padding: 0;
  border: 0;
  vertical-align: top;
}

.rich-text td p,
.rich-text th p {
  max-width: none;
  margin: 0;
}

.rich-text td:last-child,
.rich-text th:last-child {
  color: var(--espresso);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.district-guide__media {
  display: grid;
  gap: var(--space-2);
  margin: 0;
}

.district-guide__media--gallery {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.district-guide__media--gallery img {
  justify-self: center;
  max-height: 560px;
}

.district-video {
  width: min(880px, 100%);
  margin: 0 auto;
}

.district-video--hero {
  margin-top: var(--space-6);
}

.district-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--accent-light);
  box-shadow: var(--shadow);
}

.district-guide__block--video {
  margin-block: calc(var(--space-2) * -1);
}

@media (min-width: 860px) {
  .page--article {
    --page-width: var(--page-width-wide);
  }

  .district-guide__block--large {
    gap: var(--space-4);
  }

  .district-guide__block--large .district-guide__media img {
    width: 100%;
    max-height: 820px;
  }

  .district-guide__block--side {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    column-gap: var(--space-5);
    align-items: start;
  }

  .district-guide__block--side h2 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .district-guide__block--side .rich-text {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .district-guide__block--side .district-guide__media {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .district-guide__block--side.district-guide__block--has-title .rich-text,
  .district-guide__block--side.district-guide__block--has-title .district-guide__media {
    grid-row: 2;
  }

  .district-guide__block--side:nth-child(even) {
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  }

  .district-guide__block--side:nth-child(even) .district-guide__media {
    grid-column: 1;
  }

  .district-guide__block--side:nth-child(even) .rich-text {
    grid-column: 2;
  }

  .district-guide__block--side .district-guide__media img {
    max-height: 520px;
  }

  .article-section--with-side-media {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.5fr);
    column-gap: var(--space-5);
    align-items: start;
  }

  .article-section--with-side-media h2 {
    grid-column: 1 / -1;
  }

  .article-section--with-side-media .rich-text {
    grid-column: 1;
  }

  .article-section--with-side-media .article-media-list {
    grid-column: 2;
    margin-top: 0;
  }

  .article-section--with-side-media .article-media img {
    max-height: 520px;
  }

  .district-guide__block--float {
    display: block;
  }

  .district-guide__block--float::after {
    content: "";
    display: block;
    clear: both;
  }

  .district-guide__block--float h2 {
    margin-bottom: var(--space-2);
  }

  .district-guide__block--float .rich-text {
    display: block;
  }

  .district-guide__block--float .rich-text > * + * {
    margin-top: var(--space-2);
  }

  .district-guide__block--float .rich-text table {
    clear: both;
  }

  .district-guide__block--float .district-guide__media {
    float: right;
    width: min(34%, 320px);
    margin: 0 0 var(--space-2) var(--space-4);
  }

  .district-guide__block--float:nth-child(even) .district-guide__media {
    float: left;
    margin: 0 var(--space-4) var(--space-2) 0;
  }

  .district-guide__block--float .district-guide__media img {
    max-height: 360px;
  }

  .district-guide__block--gallery .district-guide__media {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .district-guide__block--gallery .district-guide__media img {
    max-height: 420px;
  }
}

.resource-links {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-left: 2px solid var(--accent-light);
  background: rgba(255, 255, 255, 0.52);
}

.resource-links ul {
  display: grid;
  gap: var(--space-1);
  padding-left: var(--space-4);
}

.draft-comparison {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-3) 0;
}

.draft-old {
  color: var(--muted);
  opacity: 0.72;
}

.draft-old,
.draft-old * {
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  text-decoration-color: currentColor;
}

.draft-new {
  display: grid;
  gap: var(--space-2);
  padding-left: var(--space-3);
  border-left: 2px solid var(--accent-light);
}

.draft-new h2,
.draft-new h3 {
  margin: 0;
}

.draft-new p,
.draft-old p {
  margin: 0;
}

.draft-new ul,
.draft-old ul {
  margin: 0;
}

.resource-links li {
  margin: 0;
}

.resource-links a {
  color: var(--mocha);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resource-links a:hover {
  color: var(--accent);
}

.related-nav {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-7);
}

.related-nav a {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--partner-border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--espresso);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-points {
  display: grid;
  gap: var(--space-1);
  max-width: var(--measure-tight);
  margin: var(--space-5) auto 0;
  color: var(--text-light);
}

.service-points li::marker {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.module-card:focus-visible,
.hub-item:focus-visible {
  outline: 3px solid rgba(194, 137, 106, 0.42);
  outline-offset: 3px;
}

.related-nav a:hover {
  border-color: var(--taupe);
  box-shadow: 0 12px 24px rgba(74, 55, 40, 0.1);
  transform: translateY(-1px);
}

.district-card {
  padding: var(--space-5);
}

.video-card {
  overflow: hidden;
}

.video-card h2 {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--accent-light);
}

.screens img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}

@media (max-width: 520px) {
  :root {
    --page-inline: 16px;
    --font-subtitle: 21px;
    --font-title: 31px;
  }

  body {
    overflow-x: hidden;
  }

  h1 {
    max-width: none;
    line-height: 1.1;
  }

  .hero h1,
  .hero__lead,
  .section-head h2,
  .page > h1,
  .page > .lead,
  .article-section h2,
  .article-section p,
  .article-section li,
  .rich-text p,
  .rich-text li,
  .rich-text table,
  .article-toc,
  .module-card__toc,
  .hub-item p {
    max-width: min(100%, 326px);
  }

  .page--article .article-section h2,
  .page--article .article-section p,
  .page--article .article-section li,
  .page--article .rich-text p,
  .page--article .rich-text li,
  .page--article .rich-text table,
  .page--article .article-toc {
    max-width: 100%;
  }

  .page--article .district-guide__block {
    width: 100%;
  }

  .page--article .rich-text tr {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .page--article .rich-text td:last-child,
  .page--article .rich-text th:last-child {
    text-align: left;
  }

  .hero__inner,
  .section-head,
  .roadmap__list,
  .story,
  .quality,
  .start {
    width: calc(100vw - (var(--page-inline) + var(--page-inline)));
    max-width: 100%;
  }

  .page {
    width: calc(100vw - (var(--page-inline) + var(--page-inline)));
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100vw;
    max-width: 100%;
    gap: 8px;
    padding: 8px 10px;
    overflow: visible;
  }

  .brand {
    display: grid;
    width: 38px;
    height: 38px;
  }

  .guide-map__button {
    width: 38px;
    height: 38px;
  }

  .guide-map__button svg {
    width: 22px;
    height: 22px;
  }

  .guide-map__panel {
    position: fixed;
    top: 54px;
    right: 10px;
    width: min(360px, calc(100vw - 20px));
    max-height: calc(100svh - 70px);
    padding: var(--space-2);
  }

  .nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    z-index: 30;
    display: block;
  }

  .mobile-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 16px;
    border: 1px solid var(--partner-border);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--espresso);
    cursor: pointer;
    line-height: 1;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu[open] summary {
    border-color: var(--espresso);
    background: var(--espresso);
    color: var(--cream);
  }

  .mobile-menu__nav {
    position: fixed;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 6px;
    width: min(260px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    background: rgba(253, 249, 244, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-menu__nav a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--partner-border);
    border-radius: 12px;
    background: var(--white);
    color: var(--espresso);
    line-height: 1.2;
  }

  .mobile-menu__nav a[aria-current="page"] {
    border-color: var(--espresso);
    background: var(--espresso);
    color: var(--cream);
  }

  .page > .lead {
    max-width: min(100%, 326px);
    margin-inline: 0;
    text-align: left;
  }

  .page--article > h1 {
    max-width: 100%;
  }

  .personal-article > h1 {
    max-width: min(100%, 300px);
    font-size: 26px;
  }

  .hero {
    min-height: 74svh;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(44, 32, 24, 0.9), rgba(74, 55, 40, 0.6)),
      linear-gradient(0deg, rgba(253, 249, 244, 0.22), rgba(253, 249, 244, 0));
  }

  .button {
    width: 100%;
  }

  .guide-contact {
    right: calc(var(--page-inline) + env(safe-area-inset-right));
    bottom: calc(var(--page-inline) + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .roadmap__link {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: calc(var(--space-1) / 1.28) var(--space-1);
  }

  .roadmap__number {
    width: 34px;
    height: 34px;
  }

  .roadmap__list::before {
    background-image: url("data:image/svg+xml,%3Csvg width='360' height='620' viewBox='0 0 360 620' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 24 C330 60 342 146 178 204 C34 255 20 346 192 398 C322 438 354 518 326 584' stroke='%23f1e7df' stroke-width='32' stroke-linecap='butt' stroke-linejoin='miter' stroke-dasharray='64 50'/%3E%3C/svg%3E");
    background-position: left top;
    background-size: 100% 100%;
  }

  .roadmap__list::after {
    right: -2px;
    bottom: -4px;
    width: 62px;
    height: 74px;
  }

  .stage-title {
    gap: var(--space-2);
  }

  .stage-title__icons svg {
    width: 36px;
    height: 36px;
  }

  .stage-title__icons {
    display: none;
  }

  .quality__list {
    width: min(100%, 326px);
  }

  .about-hero__text .lead,
  .personal-section h2,
  .personal-section p,
  .personal-section .rich-text {
    max-width: min(100%, 326px);
  }

  .personal-section__media,
  .personal-section__media--left {
    width: min(100%, 326px);
    margin: 0 0 var(--space-3);
    float: none;
  }

  .personal-section__media img {
    max-height: 420px;
  }

}

@media (min-width: 720px) {
  .step-nav {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (min-width: 760px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: var(--space-4);
  }

  .smart-back-wrap {
    top: 78px;
  }

  .story {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  }

  .about-hero {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .districts,
  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .quality__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(620px, 100%);
    gap: var(--space-1) var(--space-5);
  }

  .related-nav {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (min-width: 1080px) {
  .nav {
    justify-content: center;
    overflow: visible;
  }
}

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

  .button,
  .roadmap__link,
  .step-nav a,
  .related-nav a,
  .guide-contact {
    transition: none;
  }
}
