:root {
  --navy: #102a43;
  --navy-deep: #071b2e;
  --slate: #4d6173;
  --ivory: #f7f1e6;
  --paper: #fffdf8;
  --amber: #e6a23c;
  --amber-dark: #a86100;
  --sand: #d8cdbe;
  --mist: #eaf0f3;
  --red: #a63030;
  --white: #ffffff;
  --shadow: 0 16px 42px rgb(16 42 67 / 0.11);
  --radius: 12px;
  --shell: 1220px;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.content-narrow { width: min(calc(100% - 48px), 900px); }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-160%); padding: 12px 18px; color: var(--white); background: var(--navy); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.safety-strip { color: var(--white); background: var(--navy-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.safety-strip__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.safety-strip a { color: var(--white); }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--sand); background: rgb(255 253 248 / 0.96); backdrop-filter: blur(12px); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 700; line-height: 1; letter-spacing: -0.045em; }
.wordmark > span:last-child > span { color: var(--amber-dark); }
.wordmark small { font-size: 0.56em; font-weight: 600; letter-spacing: -0.02em; }
.wordmark__mark { position: relative; width: 34px; height: 34px; flex: none; border: 2px solid var(--navy); border-radius: 50%; }
.wordmark__mark i { position: absolute; width: 7px; height: 7px; background: var(--amber); border: 2px solid var(--paper); border-radius: 50%; }
.wordmark__mark i:nth-child(1) { left: 4px; top: 13px; }
.wordmark__mark i:nth-child(2) { left: 18px; top: 4px; }
.wordmark__mark i:nth-child(3) { left: 20px; top: 20px; }
.wordmark__mark::before, .wordmark__mark::after { content: ""; position: absolute; height: 2px; background: var(--navy); transform-origin: left center; }
.wordmark__mark::before { width: 17px; left: 9px; top: 15px; transform: rotate(-32deg); }
.wordmark__mark::after { width: 15px; left: 10px; top: 17px; transform: rotate(28deg); }

.primary-nav { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 28px); }
.primary-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; font-size: 0.88rem; font-weight: 750; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; right: 50%; bottom: 3px; left: 50%; height: 3px; background: var(--amber); transition: left 180ms ease, right 180ms ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { left: 0; right: 0; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--sand); color: var(--navy); background: transparent; border-radius: 8px; cursor: pointer; }
.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { display: block; width: 23px; height: 2px; margin: auto; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: relative; }
.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); background: var(--navy); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: -2px; transform: rotate(-45deg); background: var(--navy); }

.eyebrow { margin: 0 0 13px; color: var(--amber-dark); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.15em; line-height: 1.4; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-family: var(--serif); letter-spacing: -0.035em; line-height: 1.08; }
h1, h2, h3, [id] { scroll-margin-top: 150px; }
h1 { font-size: clamp(2.8rem, 7vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }

.hero { overflow: hidden; background: var(--ivory); }
.hero__grid { min-height: 660px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); align-items: center; gap: 34px; }
.hero__copy { position: relative; z-index: 2; padding-block: 72px 80px; }
.hero__copy h1 { max-width: 810px; margin-bottom: 26px; }
.hero__copy > p:not(.eyebrow) { max-width: 670px; margin-bottom: 32px; color: #243d55; font-size: clamp(1.06rem, 1.8vw, 1.27rem); }
.button-row, .tool-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 2px solid transparent; border-radius: 10px; text-decoration: none; text-transform: uppercase; font-size: 0.82rem; font-weight: 850; letter-spacing: 0.055em; line-height: 1.2; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgb(16 42 67 / 0.14); }
.button--primary { color: var(--navy-deep); background: var(--amber); border-color: var(--amber); }
.button--primary:hover { background: #efaf4c; }
.button--secondary { color: var(--navy); background: transparent; border-color: var(--navy); }
.button--secondary:hover { color: var(--white); background: var(--navy); }
.button--light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button--quiet { min-height: 46px; padding-inline: 16px; color: var(--navy); background: transparent; border-color: var(--sand); }

.hero-map { position: relative; height: 560px; min-width: 470px; }
.hero-map::before { content: ""; position: absolute; width: 780px; height: 190px; left: -90px; top: 290px; border: 36px solid rgb(16 42 67 / 0.92); border-right-color: transparent; border-left-color: rgb(230 162 60 / 0.85); border-radius: 50%; transform: rotate(-15deg); }
.hero-map::after { content: ""; position: absolute; width: 680px; height: 170px; left: -30px; top: 210px; border: 16px solid rgb(127 150 168 / 0.52); border-right-color: transparent; border-radius: 50%; transform: rotate(17deg); }
.hero-map__ring { position: absolute; z-index: 2; border: 2px solid rgb(16 42 67 / 0.58); border-radius: 50%; }
.hero-map__ring--one { width: 255px; height: 255px; left: 105px; top: 124px; }
.hero-map__ring--two { width: 150px; height: 150px; left: 158px; top: 178px; border-color: var(--amber); }
.hero-map__ring--three { width: 84px; height: 84px; left: 190px; top: 211px; background: rgb(230 162 60 / 0.18); border-style: dashed; }
.hero-map__path { position: absolute; z-index: 3; height: 2px; background: var(--navy); transform-origin: left center; }
.hero-map__path--one { width: 250px; left: 232px; top: 250px; transform: rotate(-25deg); }
.hero-map__path--two { width: 220px; left: 215px; top: 255px; transform: rotate(28deg); }
.hero-map__node { position: absolute; z-index: 4; width: 15px; height: 15px; border: 3px solid var(--ivory); background: var(--amber); border-radius: 50%; }
.hero-map__node--one { left: 207px; top: 244px; }
.hero-map__node--two { left: 430px; top: 141px; background: #7f96a8; }
.hero-map__node--three { left: 410px; top: 361px; background: var(--navy); }

.section { padding-block: clamp(72px, 9vw, 120px); }
.section--pathways { background: var(--paper); }
.section--tint { background: var(--ivory); }
.section--split { border-top: 1px solid var(--sand); background: linear-gradient(120deg, var(--paper) 0 56%, var(--mist) 56%); }
.section--founder { background: var(--navy); }
.section-heading { margin-bottom: 40px; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 4px; color: var(--slate); }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pathway-card { min-height: 315px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--sand); color: var(--navy); background: var(--white); border-radius: var(--radius); text-decoration: none; box-shadow: 0 6px 22px rgb(16 42 67 / 0.06); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.pathway-card:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: var(--shadow); }
.pathway-card > span { color: var(--amber-dark); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.13em; }
.pathway-card h3 { margin: 36px 0 15px; font-size: 1.85rem; }
.pathway-card p { color: var(--slate); }
.pathway-card strong { margin-top: auto; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pathway-card strong i { margin-left: 8px; font-style: normal; }
.pathway-card--accent { border-color: var(--amber); background: #fff9ec; }

.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(40px, 8vw, 100px); }
.split-grid h2 { max-width: 620px; }
.trust-panel, .contact-boundary { padding: 34px; border: 1px solid #b8c8d2; background: rgb(255 255 255 / 0.75); border-radius: var(--radius); }
.trust-panel h3 { font-size: 1.75rem; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 12px; padding-left: 29px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 13px; height: 8px; border-left: 2px solid var(--amber-dark); border-bottom: 2px solid var(--amber-dark); transform: rotate(-45deg); }
.text-link { font-weight: 800; }

.cta-band { padding-block: 62px; color: var(--white); background: var(--navy); }
.cta-band h2 { margin-bottom: 12px; color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { max-width: 720px; margin-bottom: 0; color: #dbe7ee; }
.cta-band .eyebrow { color: #f4c97f; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .button { flex: none; }

.page-hero { overflow: hidden; border-bottom: 1px solid var(--sand); background: var(--ivory); }
.page-hero__grid { min-height: 440px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr); align-items: center; gap: 40px; padding-block: 72px; }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 4.75rem); }
.page-hero__lead { max-width: 790px; margin-bottom: 0; color: #304a60; font-size: 1.2rem; }
.review-date { margin: 22px 0 0; color: var(--slate); font-size: 0.85rem; font-weight: 650; }
.page-hero__signal { position: relative; width: 300px; height: 260px; justify-self: end; }
.page-hero__signal::before, .page-hero__signal::after, .page-hero__signal span { content: ""; position: absolute; border: 2px solid var(--sand); border-radius: 50%; }
.page-hero__signal::before { inset: 10px; }
.page-hero__signal::after { inset: 60px; border-color: var(--amber); }
.page-hero__signal span:nth-child(1) { width: 18px; height: 18px; left: 20px; top: 120px; background: var(--amber); border: 4px solid var(--ivory); }
.page-hero__signal span:nth-child(2) { width: 15px; height: 15px; right: 25px; top: 75px; background: var(--navy); border: 3px solid var(--ivory); }
.page-hero__signal span:nth-child(3) { width: 11px; height: 11px; right: 55px; bottom: 32px; background: #8397a7; border: 2px solid var(--ivory); }

.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.route-grid > a { min-height: 235px; padding: 30px; border: 1px solid var(--sand); background: var(--white); border-radius: var(--radius); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.route-grid > a:hover { transform: translateY(-3px); border-color: var(--amber); }
.route-grid span { color: var(--amber-dark); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.14em; }
.route-grid h2 { margin: 28px 0 12px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.route-grid p { margin-bottom: 0; color: var(--slate); }
.route-card--urgent { border-color: #ce9b9b !important; background: #fff8f6 !important; }

.callout { margin-block: 28px 48px; padding: 25px 28px; border-left: 5px solid var(--amber); color: #243d55; background: var(--ivory); }
.category-stack, .standards-list { display: grid; gap: 0; border-top: 1px solid var(--sand); }
.category-stack article, .standards-list article { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--sand); }
.category-stack article > span, .standards-list article > span, .step-list > li > span { color: var(--amber-dark); font-weight: 850; letter-spacing: 0.12em; }
.category-stack h2, .standards-list h2 { margin-bottom: 10px; font-size: 2rem; }

.role-grid, .replacement-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.role-grid article, .replacement-grid article { padding: 34px; border: 1px solid var(--sand); background: var(--white); border-radius: var(--radius); }
.role-grid article > span, .replacement-grid article > span { color: var(--amber-dark); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.13em; }
.role-grid h2, .replacement-grid h2 { margin: 26px 0 12px; font-size: 2rem; }
.role-grid h3 { margin: 26px 0 8px; font-family: var(--sans); font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; }
.role-grid ul { padding-left: 20px; }

.step-list { margin: 0; padding: 0; list-style: none; }
.step-list > li { display: grid; grid-template-columns: 75px 1fr; gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--sand); }
.step-list > li:first-child { border-top: 1px solid var(--sand); }
.step-list h2 { margin-bottom: 10px; font-size: 2rem; }
.tool-promo { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 38px; color: var(--white); background: var(--navy); border-radius: var(--radius); }
.tool-promo h2 { margin-bottom: 12px; color: var(--white); }
.tool-promo p:not(.eyebrow) { max-width: 640px; margin-bottom: 0; color: #dbe7ee; }
.tool-promo .eyebrow { color: #f4c97f; }
.tool-promo .button { flex: none; }

.tool-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tool-card-grid article { padding: 34px; border: 1px solid var(--sand); background: var(--white); border-radius: var(--radius); }
.tool-card-grid article > span { color: var(--amber-dark); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.13em; }
.tool-card-grid h2 { margin: 28px 0 12px; font-size: 2rem; }
.tool-card-grid ul { margin-bottom: 26px; padding-left: 20px; }
.tool-card--future { background: var(--ivory) !important; }

.tool-shell { max-width: 980px; }
.privacy-banner { margin-bottom: 30px; display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 22px; color: var(--navy); background: #edf4f1; border: 1px solid #a9c3b8; border-radius: 10px; }
.tool-form { display: grid; gap: 24px; }
.tool-form fieldset, .field { margin: 0; padding: 28px; border: 1px solid var(--sand); background: var(--white); border-radius: 10px; }
.tool-form legend { padding: 0 10px; color: var(--navy); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.tool-form fieldset label { min-height: 48px; display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start; padding: 12px 8px; border-bottom: 1px solid #ece6db; cursor: pointer; }
.tool-form fieldset label:last-child { border-bottom: 0; }
.tool-form input[type="checkbox"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); }
.field > label { display: block; margin-bottom: 10px; font-weight: 800; }
.field > label span { color: var(--slate); font-weight: 500; }
.field textarea, .field select { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #9aabba; color: var(--navy); background: var(--white); border-radius: 7px; }
.field textarea { resize: vertical; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-output { margin-top: 48px; padding: 38px; border: 2px solid var(--navy); background: var(--ivory); border-radius: var(--radius); }
.tool-output h2 { font-size: 2.35rem; }
.tool-output ul { margin-bottom: 28px; padding-left: 22px; }
.tool-output li { margin-bottom: 10px; }
.tool-status { min-height: 1.4em; margin: 14px 0 0; color: var(--slate); font-size: 0.9rem; font-weight: 700; }

.replacement-grid { grid-template-columns: repeat(3, 1fr); }
.replacement-grid article { min-height: 265px; }
.founder-note { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: 60px; }
.founder-note picture { overflow: hidden; max-height: 630px; border: 1px solid #53687a; border-radius: var(--radius); }
.founder-note img { width: 100%; height: 100%; object-fit: cover; }
.founder-note h2 { color: var(--white); }
.founder-note p:not(.eyebrow) { color: #dbe7ee; }
.founder-note a { color: var(--white); }
.founder-note .eyebrow { color: #f4c97f; }

.conversation-card { margin-top: 60px; padding: 38px; border: 1px solid var(--sand); background: var(--ivory); border-radius: var(--radius); }
.conversation-card ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 35px; padding-left: 22px; }

.resource-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-directory article { min-height: 310px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--sand); background: var(--white); border-radius: var(--radius); }
.resource-directory h2 { margin-bottom: 14px; font-size: 1.85rem; }
.resource-directory a { margin-top: auto; font-weight: 800; }

.emergency-panel { margin-bottom: 50px; padding: 38px; border: 3px solid var(--red); background: #fff5f2; border-radius: var(--radius); }
.emergency-panel h2 { color: #781f1f; }
.safety-grid { display: grid; gap: 28px; }
.safety-grid article { padding-bottom: 28px; border-bottom: 1px solid var(--sand); }
.safety-grid h2 { font-size: 2rem; }

.about-grid { display: grid; grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr); align-items: center; gap: 70px; }
.about-grid picture { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact-grid h2 a { word-break: break-word; }
.contact-boundary { background: var(--ivory); }

.legal-copy { max-width: 850px; }
.legal-copy h2 { margin: 46px 0 12px; font-size: 2rem; }
.legal-copy h2:first-of-type { margin-top: 24px; }
.legal-copy ul { padding-left: 22px; }
.not-found { min-height: 620px; display: grid; align-items: center; background: var(--ivory); }
.not-found .shell { max-width: 900px; }
.not-found h1 { margin-bottom: 24px; }
.not-found p:not(.eyebrow) { max-width: 680px; font-size: 1.2rem; }

.source-stamp { max-width: 900px; margin: 0 auto 80px; padding: 22px 26px; border: 1px solid #aebdca; color: var(--navy); background: #eef3f6; border-radius: 10px; }
.source-stamp__label { display: block; margin-bottom: 6px; color: var(--slate); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.14em; }
.source-stamp p { margin-bottom: 6px; }
.source-stamp a { font-weight: 750; }
.section--sources { border-top: 1px solid var(--sand); background: var(--ivory); }
.source-list { margin-top: 34px; padding: 0; list-style: none; border-top: 1px solid var(--sand); }
.source-list li { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr); gap: 30px; padding-block: 22px; border-bottom: 1px solid var(--sand); }
.source-list a { font-weight: 800; }
.source-list span { color: var(--slate); }

.site-footer { color: var(--white); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 0.75fr 0.75fr 1.05fr; gap: 45px; padding-block: 70px 45px; }
.wordmark--footer { color: var(--white); }
.wordmark--footer .wordmark__mark { border-color: var(--white); }
.wordmark--footer .wordmark__mark::before, .wordmark--footer .wordmark__mark::after { background: var(--white); }
.footer-belief { max-width: 410px; margin: 24px 0 14px; color: var(--white); font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.footer-note { color: #aebdca; font-size: 0.84rem; }
.site-footer h2 { margin-bottom: 20px; color: var(--white); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--white); }
.footer-email { display: inline-block; margin: 5px 0 18px; font-weight: 800; word-break: break-word; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #264159; color: #aebdca; font-size: 0.8rem; }
.mj-owner-mark { padding: 32px 20px 40px; text-align: center; color: var(--white); background: #000000; }
.mj-owner-mark p { margin: 0 0 16px; font-size: 0.69rem; font-weight: 750; letter-spacing: 0.18em; }
.mj-owner-mark a { display: inline-block; border-radius: 3px; }
.mj-owner-mark img { width: min(285px, 70vw); }

@media (max-width: 1120px) {
  .site-header__inner { min-height: 78px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 14px 24px 22px; border-bottom: 1px solid var(--sand); background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav[data-open="true"] { display: grid; grid-template-columns: repeat(2, 1fr); }
  .primary-nav a { padding-inline: 10px; border-bottom: 1px solid #ece6db; }
  .primary-nav a::after { display: none; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-map { min-width: 360px; transform: translateX(-20px) scale(0.86); }
  .pathway-grid, .replacement-grid, .resource-directory { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; max-width: 760px; }
}

@media (max-width: 820px) {
  .shell, .content-narrow { width: min(calc(100% - 34px), var(--shell)); }
  .safety-strip__inner { min-height: 48px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding-block: 6px; }
  .hero__grid { min-height: auto; display: block; }
  .hero__copy { padding-block: 64px 42px; }
  .hero-map { width: 100%; height: 240px; min-width: 0; transform: translateY(-28px) scale(0.68); transform-origin: top center; }
  .section-heading, .split-grid, .page-hero__grid, .about-grid, .founder-note, .contact-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 14px; }
  .page-hero__grid { min-height: auto; padding-block: 60px; }
  .page-hero__signal { display: none; }
  .route-grid, .role-grid, .tool-card-grid, .impact-grid { grid-template-columns: 1fr; }
  .section--split { background: var(--paper); }
  .tool-promo, .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .founder-note picture { max-height: 520px; }
  .founder-note picture img { object-position: center 25%; }
  .source-list li { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wordmark { font-size: 1.3rem; }
  .wordmark__mark { width: 30px; height: 30px; }
  .primary-nav[data-open="true"] { grid-template-columns: 1fr; max-height: calc(100vh - 120px); overflow-y: auto; }
  .button-row, .tool-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero__copy h1 { font-size: clamp(2.8rem, 15vw, 4.3rem); }
  .hero-map { display: none; }
  .section { padding-block: 68px; }
  .pathway-grid, .replacement-grid, .resource-directory { grid-template-columns: 1fr; }
  .pathway-card { min-height: 280px; }
  .category-stack article, .standards-list article, .step-list > li { grid-template-columns: 46px 1fr; gap: 12px; }
  .tool-promo, .tool-form fieldset, .field, .tool-output { padding: 24px 20px; }
  .privacy-banner { grid-template-columns: 1fr; gap: 2px; }
  .conversation-card ul { grid-template-columns: 1fr; }
  .about-grid { gap: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  @page { margin: 0.6in; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .safety-strip, .site-header, .site-footer, .page-hero, .cta-band, .section--sources, .source-stamp, .tool-form, .privacy-banner { display: none !important; }
  .section { padding: 0; }
  .tool-shell { width: 100%; max-width: none; }
  .tool-output { display: block !important; margin: 0; padding: 0; border: 0; color: #000; background: #fff; }
  .tool-output .tool-actions, .tool-status { display: none !important; }
  .tool-output h2, .tool-output .eyebrow { color: #000; }
  a { color: #000; text-decoration: none; }
}
