:root {
  --ink: #142b27;
  --forest: #1d4a40;
  --forest-deep: #173b35;
  --paper: #f4f0e7;
  --surface: #fffcf5;
  --citron: #dceb78;
  --fern: #789989;
  --clay: #b86143;
  --rule: #c9d3cb;
  --muted: #527068;
  --white: #fffef9;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --shell: min(1200px, calc(100vw - 48px));
  --section-space: clamp(88px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgb(244 240 231 / 92%);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header[data-scrolled] {
  border-color: rgb(20 43 39 / 12%);
  box-shadow: 0 10px 30px rgb(20 43 39 / 5%);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.brand img {
  width: 230px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
}

.primary-nav a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(20 43 39 / 20%);
  background: transparent;
  cursor: pointer;
}

.menu-button span[aria-hidden] {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s ease;
}

.menu-button[aria-expanded="true"] span[aria-hidden]:first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span[aria-hidden]:last-of-type {
  transform: translateY(-3.5px) rotate(-45deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  color: var(--white);
  background: var(--forest);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color .22s ease, background .22s ease, transform .22s var(--ease), box-shadow .22s ease;
}

.button:hover {
  color: var(--ink);
  background: var(--citron);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgb(20 43 39 / 14%);
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
}

.text-link,
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 118px) 0 clamp(84px, 10vw, 132px);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgb(29 74 64 / 12%);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  top: 92px;
  right: 22%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  content: "";
  background: var(--citron);
  box-shadow: 0 0 0 12px rgb(220 235 120 / 12%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .86fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.hero-copy h1,
.section-heading h2,
.inquiry-copy h2,
.disclosure h2,
.legal-main h1,
.error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero-copy h1 {
  max-width: 740px;
  font-size: clamp(54px, 6.3vw, 94px);
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: #38534d;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.microcopy {
  max-width: 620px;
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.map-frame {
  position: relative;
  isolation: isolate;
  color: var(--white);
  box-shadow: 0 42px 100px rgb(20 43 39 / 20%);
  transform: rotate(1.2deg);
}

.map-frame::before {
  position: absolute;
  z-index: -1;
  right: -28px;
  bottom: -28px;
  width: 58%;
  height: 44%;
  content: "";
  background: var(--citron);
}

.map-frame img {
  width: 100%;
  height: auto;
  background: var(--forest-deep);
}

.principles {
  padding: 34px 0;
  border-block: 1px solid rgb(20 43 39 / 14%);
  background: rgb(255 252 245 / 56%);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 8px clamp(22px, 3vw, 42px);
  border-right: 1px solid var(--rule);
}

.principles article:first-child {
  padding-left: 0;
}

.principles article:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-number {
  color: var(--clay);
  font-family: var(--display);
  font-size: 20px;
}

.principles h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section {
  padding: var(--section-space) 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.inquiry-copy h2,
.disclosure h2 {
  font-size: clamp(44px, 5vw, 72px);
}

.section-heading > p:last-child,
.inquiry-copy > p,
.disclosure-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.pathways {
  background: var(--surface);
}

.pathway-explorer {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border: 1px solid var(--rule);
  background: var(--paper);
}

.pathway-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--rule);
  background: #e9e5dc;
}

.pathway-tabs button {
  position: relative;
  z-index: 2;
  min-height: 124px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
}

.pathway-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.tab-index {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tab-route {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 124px;
  background: var(--citron);
  transition: transform .45s var(--ease);
}

.pathway-explorer[data-active-purpose="consolidation"] .tab-route {
  transform: translateY(124px);
}

.pathway-panels {
  min-height: 390px;
}

.pathway-panel {
  padding: clamp(36px, 5vw, 68px);
}

.panel-kicker {
  margin-bottom: 40px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: clamp(38px, 5vw, 72px);
}

.panel-grid h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.panel-grid p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.question-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  color: #304b44;
  font-size: 14px;
}

.question-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.question-list span {
  color: var(--clay);
  font-size: 10px;
  font-weight: 800;
}

.panel-link {
  margin-top: 42px;
}

.process {
  color: var(--white);
  background: var(--ink);
}

.section-heading-light .eyebrow {
  color: var(--citron);
}

.section-heading-light > p:last-child {
  color: #a9beb7;
}

.process-list {
  margin: 76px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 72px minmax(70px, 1fr) minmax(420px, .92fr);
  align-items: start;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid rgb(255 252 245 / 16%);
}

.process-list li:last-child {
  border-bottom: 1px solid rgb(255 252 245 / 16%);
}

.process-index {
  color: var(--citron);
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
}

.process-line {
  position: relative;
  height: 1px;
  margin-top: 20px;
  background: #527068;
}

.process-line::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  content: "";
  background: var(--citron);
}

.process-content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
}

.process-content p {
  margin: 12px 0 16px;
  color: #b9cbc5;
}

.process-content span {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgb(220 235 120 / 30%);
  color: var(--citron);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.considerations-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.considerations .section-heading {
  position: sticky;
  top: 130px;
}

.factor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.factor {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgb(255 252 245 / 40%);
}

.factor-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  color: var(--ink);
  background: var(--citron);
  font-size: 20px;
}

.factor h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
}

.factor p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.inquiry {
  position: relative;
  overflow: hidden;
  background: #dfe7df;
}

.inquiry::before {
  position: absolute;
  top: -420px;
  left: -280px;
  width: 700px;
  height: 700px;
  border: 1px solid rgb(20 43 39 / 12%);
  border-radius: 50%;
  content: "";
}

.inquiry-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(470px, .82fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.inquiry-copy > p {
  max-width: 570px;
}

.privacy-note {
  max-width: 570px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgb(20 43 39 / 18%);
}

.privacy-note > span {
  color: var(--clay);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-shell {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgb(20 43 39 / 15%);
  background: var(--surface);
  box-shadow: 0 30px 80px rgb(20 43 39 / 10%);
}

.form-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.form-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--citron);
  box-shadow: 0 0 0 4px rgb(220 235 120 / 22%);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-shell label:not(.check-label):not(.form-trap) {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.form-shell input,
.form-shell select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  background: #fffef9;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-shell input:focus,
.form-shell select:focus {
  border-color: var(--forest);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(29 74 64 / 14%);
}

.form-shell fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.field-optional {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.check-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.check-label input {
  width: 16px;
  min-height: auto;
  margin-top: 2px;
}

.check-label a {
  color: var(--ink);
  font-weight: 800;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-button {
  width: 100%;
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.form-button:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.form-button:disabled {
  cursor: wait;
  opacity: .64;
}

.form-message,
.form-boundary-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.form-message:empty {
  display: none;
}

.form-message[data-state="success"] {
  padding: 14px 16px;
  border-left: 3px solid var(--forest);
  color: var(--ink);
  background: #e8f0e8;
}

.form-message[data-state="error"] {
  padding: 14px 16px;
  border-left: 3px solid var(--clay);
  color: #6e3329;
  background: #f6eae5;
}

.questions {
  background: var(--surface);
}

.questions-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(500px, 1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rule);
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform .2s ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 650px;
  margin: -4px 44px 28px 0;
  color: var(--muted);
  font-size: 15px;
}

.disclosure {
  padding: clamp(76px, 9vw, 120px) 0;
  color: var(--white);
  background: var(--forest);
}

.disclosure .eyebrow {
  color: var(--citron);
}

.disclosure-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(500px, .9fr);
  gap: clamp(60px, 9vw, 130px);
}

.disclosure-copy {
  padding-top: 4px;
}

.disclosure-copy > p {
  margin-top: 0;
  color: #d7e4df;
  font-size: 16px;
}

.disclosure-copy > p + p {
  margin-top: 20px;
}

.disclosure-copy span {
  display: block;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 252 245 / 20%);
  color: var(--citron);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid rgb(255 252 245 / 14%);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--white);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}

.footer-brand small {
  display: block;
  margin-top: 5px;
  color: #a7bbb4;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.footer-top > p {
  max-width: 360px;
  margin: 0;
  color: #a7bbb4;
  font-family: var(--display);
  font-size: 19px;
}

.footer-top nav {
  display: flex;
  gap: 24px;
}

.footer-top nav a {
  color: #c8d6d1;
  font-size: 12px;
  text-underline-offset: 5px;
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #819991;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal[data-delay="1"] {
  transition-delay: .12s;
}

.js .reveal[data-delay="2"] {
  transition-delay: .24s;
}

.js .reveal[data-visible] {
  opacity: 1;
  transform: translateY(0);
}

/* Legal and error pages */
.legal-page,
.error-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--rule);
}

.legal-main {
  max-width: 900px;
  padding-block: clamp(80px, 10vw, 150px);
}

.legal-main h1,
.error-page h1 {
  max-width: 780px;
  font-size: clamp(52px, 7vw, 88px);
}

.legal-lede {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.legal-notice {
  max-width: 760px;
  margin-top: 54px;
  padding: 28px;
  border-left: 4px solid var(--citron);
  background: var(--surface);
}

.legal-notice h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 27px;
}

.legal-notice p,
.legal-meta {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  max-width: 760px;
  margin-top: 56px;
}

.legal-content section + section {
  margin-top: 46px;
  padding-top: 46px;
  border-top: 1px solid var(--rule);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(29px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -.025em;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--forest);
  font-weight: 750;
}

.legal-meta {
  margin-top: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.error-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-page main {
  max-width: 760px;
  text-align: center;
}

.error-page img {
  margin: 0 auto 32px;
}

.error-page .eyebrow {
  justify-content: center;
}

.error-page p:not(.eyebrow) {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 210px 1fr auto;
    gap: 20px;
  }

  .brand img {
    width: 205px;
  }

  .primary-nav {
    gap: 20px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 54px;
  }

  .pathway-explorer {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .considerations-grid,
  .questions-grid,
  .disclosure-grid {
    grid-template-columns: minmax(0, .8fr) minmax(440px, 1fr);
    gap: 60px;
  }
}

@media (max-width: 899px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  html {
    scroll-padding-top: 92px;
  }

  .header-inner {
    position: relative;
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 196px;
  }

  .menu-button {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: -18px;
    left: -18px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
    box-shadow: 0 30px 50px rgb(20 43 39 / 12%);
  }

  .primary-nav[data-open] {
    display: grid;
  }

  .primary-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding-inline: 12px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }

  .hero-grid,
  .inquiry-grid,
  .considerations-grid,
  .questions-grid,
  .disclosure-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-copy h1 {
    max-width: 680px;
    font-size: clamp(58px, 11vw, 82px);
  }

  .hero-visual {
    max-width: 620px;
    margin: 12px auto 0;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article:first-child,
  .principles article:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .pathway-explorer {
    grid-template-columns: 1fr;
  }

  .pathway-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .pathway-tabs button {
    min-height: 100px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 8px;
    padding: 16px;
    font-size: 20px;
  }

  .tab-route {
    top: 14px;
    right: auto;
    left: 14px;
    width: calc(50% - 14px);
    height: 100px;
  }

  .pathway-explorer[data-active-purpose="consolidation"] .tab-route {
    transform: translateX(100%);
  }

  .process-list li {
    grid-template-columns: 60px 1fr;
  }

  .process-line {
    display: none;
  }

  .considerations .section-heading {
    position: static;
  }

  .inquiry-grid,
  .questions-grid,
  .disclosure-grid {
    gap: 52px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding-block: 48px;
  }

  .footer-top nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  :root {
    --shell: calc(100% - 30px);
    --section-space: 82px;
  }

  .brand img {
    width: 176px;
  }

  .hero::before {
    width: 380px;
    height: 380px;
  }

  .hero::after {
    top: 36px;
    right: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    min-height: 44px;
  }

  .map-frame {
    padding: 12px;
    transform: none;
  }

  .map-frame::before {
    right: -9px;
    bottom: -9px;
  }

  .section-heading h2,
  .inquiry-copy h2,
  .disclosure h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .section-heading > p:last-child,
  .inquiry-copy > p {
    font-size: 16px;
  }

  .pathway-tabs button {
    min-height: 112px;
    font-size: 17px;
  }

  .tab-route {
    height: 112px;
  }

  .pathway-panel {
    padding: 30px 22px;
  }

  .panel-kicker {
    margin-bottom: 24px;
  }

  .panel-grid h3 {
    font-size: 36px;
  }

  .process-list {
    margin-top: 48px;
  }

  .process-list li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .process-index {
    font-size: 30px;
  }

  .process-content h3 {
    font-size: 25px;
  }

  .factor-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .factor {
    min-height: 220px;
    padding: 26px;
  }

  .factor-symbol {
    margin-bottom: 34px;
  }

  .form-shell {
    padding: 24px 18px;
  }

  .faq-list summary {
    min-height: 76px;
    font-size: 19px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-top nav {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 24px;
  }

  .legal-header {
    min-height: 86px;
  }

  .legal-header .brand img {
    width: 165px;
  }

  .legal-main h1,
  .error-page h1 {
    font-size: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
