@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Oswald:wght@500;600&display=swap");
:root {
  --ink: #142231;
  --muted: #5b6875;
  --navy: #173f63;
  --deep: #0e253c;
  --blue: #266c96;
  --teal: #2f7e78;
  --rust: #a85d3e;
  --gold: #e9bd57;
  --paper: #f7f4ed;
  --mist: #e7eff3;
  --sage: #e2ece6;
  --white: #ffffff;
  --line: #d8e0e6;
  --shadow: 0 18px 48px rgba(20, 34, 49, 0.14);
  --radius: 8px;
  --max: 1180px;
  --header-offset: 128px;
}

.hbi-published-content[hidden] {
  display: none !important;
}

.hbi-published-content > h2 {
  margin: 0 0 1.25rem;
}

.hbi-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.hbi-testimonial-grid article {
  padding: 1.25rem;
  border: 1px solid rgba(33, 54, 88, .14);
  border-radius: 1rem;
  background: #fff;
}

.hbi-testimonial-grid blockquote {
  margin: 0 0 .75rem;
  color: #243650;
  line-height: 1.65;
}

.hbi-testimonial-grid p {
  margin: 0;
  color: #66748a;
  font-size: .875rem;
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.overlay-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--deep);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(20, 34, 49, 0.08);
}

.header-top {
  max-width: var(--max);
  min-height: 74px;
  margin: 0 auto;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.brand-lockup {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-headshot {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid var(--navy);
  background: var(--deep);
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.brand-copy em {
  color: var(--rust);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.header-search,
.mobile-search,
.search-overlay-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.header-search input,
.mobile-search input,
.search-overlay-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0 15px;
}

.header-search button,
.mobile-search button,
.search-overlay-form button {
  min-height: 46px;
  border: 1px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--navy);
  color: var(--white);
  padding: 0 17px;
  font-weight: 800;
}

.button,
.header-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  font-weight: 850;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.header-contact {
  background: var(--rust);
  color: var(--white);
  white-space: nowrap;
}

.button:hover,
.header-contact:hover,
.header-search button:hover,
.mobile-search button:hover,
.search-overlay-form button:hover {
  filter: brightness(0.96);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.mobile-search {
  display: none;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px 12px;
}

.primary-nav {
  position: relative;
  min-height: 48px;
  display: flex;
  justify-content: center;
  gap: 1px;
  padding: 0 18px;
  background: var(--navy);
  color: var(--white);
}

.nav-item {
  position: static;
}

.nav-trigger,
.nav-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: var(--white);
  padding: 0 16px;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-trigger[aria-expanded="true"],
.nav-trigger[aria-current="page"],
.nav-link[aria-current="page"],
.nav-trigger.is-active,
.nav-link.is-active,
.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: var(--gold);
}

.short-label {
  display: none;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: 48px;
  transform: translateX(-50%);
  width: min(1120px, calc(100vw - 48px));
  min-height: 268px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  padding: 22px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-item:hover .mega-menu,
.nav-item.is-open .mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mega-feature {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(23, 63, 99, 0.92), rgba(14, 37, 60, 0.94)),
    var(--deep);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.mega-feature h2,
.mega-feature p {
  margin: 0;
}

.mega-feature h2 {
  font-size: 1.6rem;
  line-height: 1.08;
}

.mega-feature p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.mega-feature .button {
  justify-self: start;
  margin-top: 4px;
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}

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

.mega-groups section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mega-groups h3 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.mega-groups a {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.mega-groups span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.menu-panel {
  position: fixed;
  inset: 126px 0 auto 0;
  z-index: 100;
  max-height: calc(100vh - 126px);
  overflow: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--line);
}

.overlay-bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 8px;
}

.overlay-bar h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.plain-close {
  min-height: 38px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 900;
}

.mobile-menu-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 24px 34px;
}

.mobile-menu-grid a {
  min-height: 104px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.mobile-menu-grid strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.mobile-menu-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  overflow: auto;
  padding: 24px;
  background: rgba(14, 37, 60, 0.62);
}

.search-dialog {
  max-width: 860px;
  margin: 7vh auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-overlay-form {
  padding: 18px 24px 10px;
}

.search-results {
  display: grid;
  gap: 10px;
  padding: 8px 24px 26px;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.search-result strong {
  color: var(--navy);
}

.search-result span {
  color: var(--muted);
}

main > section,
.site-footer {
  scroll-margin-top: var(--header-offset);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 37, 60, 0.98) 0%, rgba(23, 63, 99, 0.88) 54%, rgba(14, 37, 60, 0.7) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 92px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: 0;
  width: 520px;
  height: 520px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(233, 189, 87, 0.92) 42% 54%, transparent 54%),
    linear-gradient(45deg, transparent 0 50%, rgba(47, 126, 120, 0.6) 50% 66%, transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  min-height: 520px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) 24px clamp(42px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.78fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.77rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .eyebrow,
.mega-feature .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.55rem, 4.6vw, 4.7rem);
  line-height: 0.98;
}

.hero-lede {
  margin: 18px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

.hero-actions,
.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.hero-actions .button-primary {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}

.hero-actions .button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
}

.hero-quicklinks {
  margin-top: 24px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quicklinks a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-media {
  position: relative;
  margin: 0;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0b1f33;
  box-shadow: 0 28px 70px rgba(5, 14, 24, 0.36);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  max-width: 340px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(14, 37, 60, 0.78);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-media figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.mission-strip {
  background: var(--navy);
  color: var(--white);
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
}

.mission-strip h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.15;
}

.section {
  padding: clamp(54px, 7vw, 88px) max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  max-width: 830px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  line-height: 1.06;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.decision-section {
  position: relative;
  background:
    linear-gradient(90deg, #f6f8f5 0%, #e7eff3 58%, #e2ece6 100%);
}

.decision-heading {
  max-width: 760px;
}

.decision-console {
  display: grid;
  grid-template-columns: 230px minmax(250px, 0.44fr) minmax(0, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.decision-visual {
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep);
}

.decision-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.decision-options {
  display: grid;
  gap: 8px;
  align-content: start;
}

.decision-card {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(20, 34, 49, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: left;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 8px 20px rgba(20, 34, 49, 0.05);
}

.decision-card:hover,
.decision-card:focus-visible {
  transform: translateX(3px);
  border-color: var(--teal);
  background: var(--white);
}

.decision-card.is-selected {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
  box-shadow: inset 5px 0 0 var(--gold), 0 16px 34px rgba(20, 34, 49, 0.17);
}

.decision-panel {
  min-height: 460px;
  display: grid;
  align-content: center;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(20, 34, 49, 0.12);
  box-shadow: 0 24px 60px rgba(20, 34, 49, 0.12);
}

.decision-response {
  display: grid;
  gap: 16px;
}

.decision-response h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 1.08;
}

.decision-response p {
  margin: 0;
  color: #344353;
}

.best-step {
  padding: 14px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.support-link {
  color: var(--navy);
  font-weight: 850;
}

.decision-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.decision-inline {
  display: none;
}

.paths-section {
  background: var(--white);
}

.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tabs-row button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
}

.tabs-row button[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.carousel-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: stretch;
}

.carousel-button {
  min-height: 48px;
  height: 72px;
  display: grid;
  align-self: center;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 0;
  font-weight: 900;
}

.carousel-button::before {
  font-size: 1.35rem;
  line-height: 1;
}

.carousel-button[data-carousel-prev]::before {
  content: "<";
}

.carousel-button[data-carousel-next]::before {
  content: ">";
}

.article-track,
.area-track {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding: 2px 0 12px;
}

.article-card,
.area-card {
  scroll-snap-align: start;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(20, 34, 49, 0.08);
  text-decoration: none;
}

.carousel-shell {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.carousel-button {
  display: none;
}

.article-track,
.area-track {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  overflow-x: visible;
  overscroll-behavior-inline: auto;
  scroll-snap-type: none;
  scrollbar-width: auto;
  padding-bottom: 0;
}

.article-card,
.area-card {
  scroll-snap-align: none;
}

.article-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--mist);
}

.area-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
}

.article-body,
.area-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.article-category,
.area-group-label {
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-body h3,
.area-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.16;
}

.article-body p,
.area-body p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.card-cta {
  color: var(--navy);
  font-weight: 900;
}

.local-section {
  background: var(--paper);
}

.local-heading {
  max-width: 920px;
}

.local-support {
  margin-top: 18px;
  max-width: 560px;
}

.local-support a,
.social-support a,
.profile-link,
.footer-social a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  text-decoration: none;
}

.local-support a > span:not(.external-icon),
.social-support a > span:not(.external-icon),
.footer-social a > span:not(.external-icon) {
  grid-column: 1 / -1;
}

.local-support a > .external-icon,
.social-support a > .external-icon,
.footer-social a > .external-icon,
.profile-link > .external-icon {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.local-support a {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.local-support strong,
.social-support strong {
  color: var(--navy);
}

.local-support span:not(.external-icon),
.social-support span:not(.external-icon) {
  color: var(--muted);
}

.resources-section {
  background: var(--deep);
  color: var(--white);
}

.resources-section .section-heading h2,
.resources-section .section-heading p {
  color: var(--white);
}

.resources-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

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

.resource-item {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-align: left;
  text-decoration: none;
}

.resource-button {
  width: 100%;
}

.resource-item strong {
  font-size: 1.05rem;
  line-height: 1.18;
}

.resource-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.resource-item em {
  color: var(--gold);
  font-style: normal;
  font-weight: 850;
  font-size: 0.9rem;
}

.resource-icon {
  width: 42px;
  height: 42px;
  display: block;
  padding: 7px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(255, 255, 255, 0.04);
}

.resource-icon * {
  vector-effect: non-scaling-stroke;
}

.authority-paths-section {
  background: var(--cream);
}

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

.authority-path-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.authority-path-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.authority-path-card p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.45;
}

.authority-path-card a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid rgba(23, 63, 99, 0.12);
  color: var(--navy);
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
}

.authority-path-card a:hover,
.authority-path-card a:focus-visible {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-support {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.social-support a {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.resources-section .social-support a {
  min-height: 146px;
  align-content: start;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.72);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.resources-section .social-support strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.resources-section .social-support span:not(.external-icon) {
  color: var(--muted);
}

.resources-section .social-support span.support-label {
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.resources-section .social-support .external-icon {
  color: var(--rust);
}

.external-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  border: 1.8px solid currentColor;
  border-left: 0;
  border-bottom: 0;
}

.external-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 1.8px;
  right: 0;
  top: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.advisor-section {
  background: var(--mist);
}

.advisor-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 26px;
  align-items: start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.advisor-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
}

.advisor-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 430px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
}

.advisor-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.advisor-copy h2,
.advisor-copy p {
  margin: 0;
}

.advisor-copy h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.advisor-copy p:not(.eyebrow) {
  color: var(--muted);
}

.advisor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advisor-credentials span,
.advisor-credentials strong {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.profile-link {
  min-height: 44px;
  padding-block: 8px;
  justify-self: start;
  color: var(--navy);
  font-weight: 850;
}

.contact-form {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

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

.google-prefill {
  display: grid;
  min-height: 40px;
}

.google-prefill-button {
  width: 100%;
  min-height: 40px;
  overflow: hidden;
}

.google-prefill-button > div,
.google-prefill-button iframe {
  max-width: 100% !important;
}

.contact-form label,
.form-field,
.phone-consent,
.form-optional-context label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 850;
  color: var(--navy);
}

.form-field-full,
.phone-consent,
.form-optional-context {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 76px;
  resize: vertical;
}

.intent-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.intent-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--ink);
}

.intent-option:hover {
  border-color: var(--navy);
}

.intent-option:has(input:checked) {
  border-color: var(--navy);
  background: var(--mist);
  box-shadow: 0 0 0 1px var(--navy);
}

.intent-option input {
  margin: 0;
  accent-color: var(--navy);
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .intent-options {
    grid-template-columns: 1fr;
  }
}

.form-step-label {
  margin: 0;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.optional-label,
.form-privacy-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.phone-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.phone-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-optional-context {
  padding-top: 2px;
}

.form-optional-context summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.form-optional-context label {
  margin-top: 10px;
}

.form-privacy-note {
  margin: 0;
  line-height: 1.4;
}

.intake-step-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: grid;
  place-items: center;
  padding: 18px;
}

.intake-step-modal[hidden] {
  display: none;
}

.intake-step-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 28, 0.62);
}

.intake-step-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(740px, calc(100vh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.intake-step-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 16px;
  padding: 22px 24px 16px;
}

.intake-step-header h2,
.intake-step-header p {
  margin: 0;
}

.intake-step-header h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.05;
}

.intake-step-header [data-intake-modal-copy] {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.intake-step-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 800;
  cursor: pointer;
}

.intake-step-form {
  overflow-y: auto;
  padding: 0 24px 18px;
}

.intake-step-fields {
  display: grid;
  gap: 14px;
}

.intake-choice-group {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-choice-group legend {
  color: var(--ink);
  font-weight: 900;
}

.intake-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-chip-row label {
  cursor: pointer;
}

.intake-chip-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intake-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 850;
}

.intake-chip-row input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.intake-step-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 14px 24px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.intake-submit-status {
  margin: 0 24px 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7faf8;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.contact-form > .intake-submit-status {
  margin: 0;
}

.intake-submit-status.is-success {
  border-color: rgba(48, 105, 88, 0.28);
  background: #eef8f2;
  color: #256348;
}

.intake-submit-status.is-error {
  border-color: rgba(168, 73, 43, 0.34);
  background: #fff3ee;
  color: #9f3f27;
}

.lead-capture-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(48, 105, 88, 0.28);
  border-radius: 12px;
  background: #eef8f2;
  color: #163d30;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  font-weight: 850;
  line-height: 1.35;
}

.lead-capture-notice[hidden] {
  display: none;
}

.overlay-open .lead-capture-notice {
  display: none;
}

.lead-capture-notice.is-error {
  border-color: rgba(168, 73, 43, 0.34);
  background: #fff3ee;
  color: #9f3f27;
}

.site-footer {
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  background: #0b1f33;
  color: var(--white);
}

.footer-brand {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.footer-headshot {
  width: 82px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-identity div {
  display: grid;
  gap: 4px;
}

.footer-identity > .profile-social-links {
  flex: 0 0 auto;
  margin-top: 0;
}

.footer-brand strong {
  font-size: 1.25rem;
}

.footer-brand span,
.footer-brand em,
.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-brand em {
  color: var(--gold);
  font-style: normal;
  font-weight: 850;
}

.footer-brand a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.site-footer .profile-social-link,
.article-profile-social .profile-social-link {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
}

.site-footer .profile-social-link {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: #fff;
  color: #0b2233;
}

.site-footer .profile-social-link:hover,
.site-footer .profile-social-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.profile-social-link::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.profile-social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.profile-social-instagram {
  color: #c13584;
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='4.5' width='15' height='15' rx='4.2' fill='none' stroke='black' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='12' r='3.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3Ccircle cx='16.7' cy='7.3' r='1.35' fill='black'/%3E%3C/svg%3E");
}

.profile-social-linkedin {
  color: #0a66c2;
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.7 9h3.7v11H4.7V9Zm1.9-5.3a2.1 2.1 0 1 1 0 4.2 2.1 2.1 0 0 1 0-4.2ZM10.4 9H14v1.5h.1c.5-.9 1.8-1.8 3.7-1.8 3.9 0 4.6 2.5 4.6 5.8V20h-3.7v-5.1c0-1.2 0-2.8-1.8-2.8s-2.1 1.3-2.1 2.7V20h-3.8V9Z'/%3E%3C/svg%3E");
}

.profile-social-substack {
  color: #ff6719;
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 4h14v2.8H5V4Zm0 4.8h14v2.8H5V8.8Zm0 4.8h14V21l-7-3.9L5 21v-7.4Z'/%3E%3C/svg%3E");
}

.profile-social-youtube {
  color: #ff0000;
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.6 7.2a3 3 0 0 0-2.1-2.1C17.7 4.6 12 4.6 12 4.6s-5.7 0-7.5.5a3 3 0 0 0-2.1 2.1C2 9 2 12 2 12s0 3 .4 4.8a3 3 0 0 0 2.1 2.1c1.8.5 7.5.5 7.5.5s5.7 0 7.5-.5a3 3 0 0 0 2.1-2.1c.4-1.8.4-4.8.4-4.8s0-3-.4-4.8ZM10 15.4V8.6l5.9 3.4-5.9 3.4Z'/%3E%3C/svg%3E");
}

.profile-social-google {
  color: #4285f4;
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.6 12.2c0-.7-.1-1.3-.2-1.9H12v3.5h5.4a4.6 4.6 0 0 1-2 3v2.5h3.2c1.9-1.7 3-4.3 3-7.1Z'/%3E%3Cpath fill='black' d='M12 22c2.7 0 5-0.9 6.6-2.6l-3.2-2.5c-.9.6-2 .9-3.4.9a5.8 5.8 0 0 1-5.5-4H3.2v2.6A10 10 0 0 0 12 22Z'/%3E%3Cpath fill='black' d='M6.5 13.8a6 6 0 0 1 0-3.6V7.6H3.2a10 10 0 0 0 0 8.8l3.3-2.6Z'/%3E%3Cpath fill='black' d='M12 6.2c1.5 0 2.8.5 3.8 1.5l2.9-2.9A9.7 9.7 0 0 0 12 2a10 10 0 0 0-8.8 5.6l3.3 2.6A5.8 5.8 0 0 1 12 6.2Z'/%3E%3C/svg%3E");
}

.footer-brand > img {
  width: 160px;
  max-height: 74px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 8px;
}

.footer-taxonomy {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 18px;
}

.footer-taxonomy section {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-taxonomy h2 {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer-taxonomy a,
.footer-taxonomy span {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-taxonomy a:hover,
.footer-social a:hover {
  color: var(--gold);
}

.footer-social {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.footer-social a {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.footer-social strong {
  color: var(--white);
}

.footer-social span:not(.external-icon) {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 24px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  :root {
    --header-offset: 126px;
  }

  .header-top {
    grid-template-columns: minmax(240px, 1fr) auto auto;
  }

  .menu-toggle {
    display: grid;
  }

  .desktop-search {
    display: none;
  }

  .mobile-search {
    display: grid;
  }

  .primary-nav {
    display: none;
  }

  .decision-console,
  .advisor-card {
    grid-template-columns: 1fr;
  }

  .decision-visual {
    display: none;
  }

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

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

  .footer-taxonomy {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  :root {
    --header-offset: 76px;
  }

  .header-top {
    min-height: 72px;
    grid-template-columns: minmax(270px, 0.95fr) minmax(230px, 1fr) auto auto;
    gap: 12px;
  }

  .desktop-search {
    display: grid;
  }

  .mobile-search {
    display: none;
  }

  .menu-panel {
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
  }

  .header-search input {
    min-height: 44px;
    padding-inline: 12px;
  }

  .header-search button {
    min-height: 44px;
    padding-inline: 14px;
  }

  .brand-copy span,
  .brand-copy em {
    line-height: 1.15;
  }

  .hero-grid {
    min-height: 510px;
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.74fr);
    gap: clamp(24px, 3vw, 36px);
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 4.4vw, 3.45rem);
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .decision-visual {
    display: block;
    min-height: 424px;
  }

  .decision-console {
    grid-template-columns: minmax(150px, 0.28fr) minmax(260px, 0.44fr) minmax(0, 0.74fr);
  }

  .decision-panel {
    min-height: 424px;
    padding: 26px;
  }

  .advisor-card {
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  }

  .advisor-card .contact-form {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  :root {
    --header-offset: 126px;
  }

  .header-top {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 18px;
  }

  .brand-headshot {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy span {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .brand-copy em {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .header-contact,
  .primary-nav {
    display: none;
  }

  .menu-panel {
    inset: 124px 0 0;
    max-height: calc(100vh - 124px);
  }

  .mobile-menu-grid {
    grid-template-columns: 1fr;
    padding: 12px 18px 30px;
  }

  .mobile-menu-grid a {
    min-height: 0;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .hero-media figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .mission-strip,
  .section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mission-strip h2 {
    font-size: 1.32rem;
  }

  .split-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .decision-panel {
    display: none;
  }

  .decision-option .decision-card.is-selected + .decision-inline {
    display: block;
  }

  .decision-inline .decision-response {
    margin-top: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(20, 34, 49, 0.08);
  }

  .tabs-row {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .tabs-row button {
    flex: 1 1 min(150px, 100%);
  }

  .carousel-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 0;
  }

  .carousel-button {
    display: none;
  }

  .article-track,
  .area-track {
    grid-area: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 14px;
    overflow-x: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
    scrollbar-width: auto;
    padding-bottom: 0;
  }

  .resource-row,
  .authority-path-grid,
  .social-support,
  .footer-social,
  .footer-taxonomy {
    grid-template-columns: 1fr;
  }

  .resource-item {
    min-height: 0;
  }

  .advisor-card {
    padding: 18px;
  }

  .advisor-media img {
    max-height: 340px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-identity {
    align-items: flex-start;
  }

  .intake-step-modal {
    align-items: start;
    padding: 24px 14px;
  }

  .intake-step-dialog {
    width: 100%;
    max-height: calc(100vh - 48px);
    border-radius: 12px;
  }

  .intake-step-header {
    padding: 18px 18px 12px;
  }

  .intake-step-form {
    padding: 0 18px 16px;
  }

  .intake-step-actions {
    grid-template-columns: 1fr;
    padding: 12px 18px 16px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .intake-step-modal {
    align-items: center;
    padding: 10px 14px;
  }

  .intake-step-dialog {
    max-height: calc(100dvh - 20px);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .intake-step-header {
    padding: 12px 18px 8px;
  }

  .intake-step-header h2 {
    font-size: 1.45rem;
  }

  .intake-step-header [data-intake-modal-copy] {
    margin-top: 4px;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .intake-step-form {
    padding: 0 18px 10px;
  }

  .intake-step-fields {
    gap: 8px;
  }

  .intake-step-form .form-field {
    gap: 3px;
    font-size: 0.78rem;
  }

  .intake-step-form input,
  .intake-step-form select,
  .intake-step-form textarea {
    min-height: 34px;
    padding: 7px 9px;
  }

  .intake-step-form textarea {
    min-height: 48px;
  }

  .intake-step-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 10px 18px 12px;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  :root {
    --header-offset: 126px;
  }

  .mission-strip,
  .section,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    min-height: 500px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: 22px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 5.2vw, 3rem);
  }

  .hero-media {
    max-width: 720px;
  }

  .hero-media figcaption {
    position: absolute;
    max-width: 300px;
    border-radius: var(--radius);
  }

  .decision-console {
    grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
    gap: 16px;
  }

  .decision-visual {
    display: block;
    min-height: 420px;
  }

  .decision-panel {
    display: none;
  }

  .carousel-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 0;
  }

  .carousel-button {
    display: none;
  }

  .article-track,
  .area-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
    scrollbar-width: auto;
    padding-bottom: 0;
  }

  .resource-row,
  .social-support,
  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .advisor-card {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 18px;
  }

  .advisor-card .contact-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .home-advisor-media {
    aspect-ratio: 4 / 3;
  }
  .home-advisor-media img {
    min-height: 0;
  }

  .button,
  .header-contact {
    width: 100%;
  }

  .hero-actions,
  .advisor-actions {
    align-items: stretch;
  }

  .hero-quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
  }

  .hero-quicklinks a {
    min-width: 0;
    padding: 8px 10px;
    border-radius: var(--radius);
    white-space: normal;
  }

  .decision-card {
    min-height: 78px;
  }

  .carousel-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .carousel-button {
    display: none;
  }

  .article-track,
  .area-track,
  .resource-row,
  .resources-section .social-support {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
    scrollbar-width: auto;
    padding-bottom: 0;
  }

  .resource-item,
  .article-card,
  .area-card,
  .resources-section .social-support a {
    min-height: 0;
    scroll-snap-align: none;
  }

  .footer-identity {
    flex-direction: column;
  }

  .search-panel {
    padding: 12px;
  }

  .search-dialog {
    margin: 4vh auto;
  }

  .search-overlay-form,
  .search-results {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-height: 460px) and (orientation: landscape) {
  :root {
    --header-offset: 104px;
  }

  .header-top {
    min-height: 58px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .brand-copy span {
    display: none;
  }

  .mobile-search {
    padding-bottom: 8px;
  }

  .mobile-search input,
  .mobile-search button {
    min-height: 44px;
  }

  .menu-panel {
    inset: 102px 0 auto;
    max-height: calc(100vh - 102px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.45rem);
  }

  .hero-lede {
    margin-top: 10px;
    font-size: 0.95rem;
  }

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

  .hero-quicklinks,
  .hero-media figcaption {
    display: none;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .tabs-row {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .carousel-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .carousel-button {
    display: none;
  }

  .article-track,
  .area-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 14px;
    overflow-x: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
    scrollbar-width: auto;
    padding-bottom: 0;
  }

  .article-card,
  .area-card {
    min-height: 0;
    scroll-snap-align: none;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  :root {
    --header-offset: 56px;
  }

  .header-top {
    min-height: 54px;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 10px;
  }

  .brand-lockup {
    gap: 9px;
  }

  .brand-headshot {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy span,
  .brand-copy em,
  .mobile-search {
    display: none !important;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-panel {
    inset: 54px 0 auto;
    max-height: calc(100dvh - 54px);
  }

  .overlay-bar {
    padding-top: 12px;
    padding-bottom: 4px;
  }

  .mobile-menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .mobile-menu-grid a {
    min-height: 0;
    padding: 10px;
  }

  .mobile-menu-grid strong {
    font-size: 0.92rem;
  }

  .mobile-menu-grid span {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.56fr);
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.5rem);
    line-height: 1;
  }

  .hero-lede {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 14px;
    gap: 8px;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 9px 12px;
  }

  .hero-quicklinks,
  .hero-media figcaption {
    display: none;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) and (max-height: 460px) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: none;
  }
}

/* Keep the shared footer compact without changing its overall structure. */
@media (max-width: 900px) {
  .footer-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 118px);
    gap: 14px;
    align-items: center;
  }

  .footer-identity {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .footer-headshot {
    width: 62px;
    height: 68px;
  }

  .footer-identity div {
    min-width: 0;
  }

  .footer-identity > .profile-social-links {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .footer-brand strong {
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .footer-brand span,
  .footer-brand em,
  .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .footer-brand > img {
    width: 100%;
    max-height: 54px;
    padding: 6px;
  }

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

@media (max-width: 560px) {
  .home-advisor-media {
    aspect-ratio: 4 / 3;
  }
  .home-advisor-media img {
    min-height: 0;
  }

  .footer-brand {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 12px;
  }

  .footer-headshot {
    width: 56px;
    height: 62px;
  }

  .footer-brand strong {
    font-size: 1rem;
  }

  .footer-brand span,
  .footer-brand em,
  .footer-brand p,
  .footer-taxonomy a,
  .footer-taxonomy span {
    font-size: 0.84rem;
  }

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

  .footer-taxonomy section {
    min-height: 0;
  }
}

/* Homepage main body refresh */
#main {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 11%, rgba(226, 232, 240, 0.56) 0, rgba(226, 232, 240, 0.32) 18rem, transparent 34rem),
    linear-gradient(180deg, #f9fafb 0%, #f8fafc 48%, #f9fafb 100%);
  color: var(--ink);
}

.decision-state-card,
.market-context-card a,
.context-choice-card a,
.context-county-actions a,
.home-advisor-card a {
  text-decoration: none;
}

.home-main .eyebrow {
  color: #9b573c;
}

.home-hero {
  padding: clamp(78px, 9vw, 132px) max(24px, calc((100vw - var(--max)) / 2)) clamp(78px, 9vw, 132px);
  background:
    radial-gradient(circle at 50% 38%, rgba(231, 239, 243, 0.92) 0%, rgba(247, 250, 248, 0.74) 42%, rgba(255, 253, 249, 0.98) 78%),
    #fbfcfd;
  border-bottom: 1px solid rgba(20, 34, 49, 0.08);
}

.home-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.home-hero__inner h1 {
  margin: 0;
  max-width: 1010px;
  color: #0f172a;
  font-size: clamp(3.25rem, 7vw, 6.45rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.home-hero__lede {
  max-width: 940px;
  margin: 44px 0 0;
  color: #475569;
  font-size: clamp(1.34rem, 2.1vw, 2.15rem);
  line-height: 1.45;
}

.home-hero-search {
  width: min(100%, 1000px);
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: stretch;
  margin-top: 80px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.home-hero-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  padding: 0 36px;
  font-size: clamp(1.16rem, 1.8vw, 1.85rem);
  outline: 0;
}

.home-hero-search input::placeholder {
  color: #8ea0b8;
  opacity: 1;
}

.home-hero-search button {
  border: 0;
  background: #0f172a;
  color: var(--white);
  font-size: clamp(1.12rem, 1.55vw, 1.58rem);
  font-weight: 850;
}

.home-section {
  padding: 76px max(24px, calc((100vw - var(--max)) / 2));
}

.home-section__heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.home-section__heading h2 {
  margin: 0;
  color: #132839;
  font-size: 2.7rem;
  line-height: 1.05;
}

.home-section__heading p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 720px;
  color: #5b6875;
  font-size: 1.06rem;
}

.home-section__heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.44fr);
  gap: 30px;
  align-items: end;
}

.home-section__heading--split > p {
  margin-bottom: 4px;
}

.start-here-section {
  background: transparent;
}

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

.decision-state-card {
  grid-column: span 4;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 45px rgba(15, 23, 42, 0.1),
    0 3px 10px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.decision-state-card:hover,
.decision-state-card:focus-visible,
.decision-state-card.is-selected {
  transform: translateY(-3px);
  border-color: rgba(47, 126, 120, 0.44);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 26px 58px rgba(15, 23, 42, 0.14),
    0 5px 16px rgba(15, 23, 42, 0.08);
}

.decision-state-card.is-selected {
  outline: 3px solid rgba(47, 126, 120, 0.16);
  outline-offset: 3px;
}

.decision-state-card--large {
  grid-column: span 5;
  background:
    linear-gradient(180deg, rgba(19, 40, 57, 0.94), rgba(19, 40, 57, 0.88)),
    url("assets/home-hero-exterior.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  border-color: rgba(15, 23, 42, 0.24);
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.22),
    0 8px 20px rgba(15, 23, 42, 0.14);
}

.decision-state-card--medium {
  grid-column: span 4;
  background: linear-gradient(180deg, #fbfdfb, #eef5f0);
}

.decision-state-card--compact {
  grid-column: span 3;
  background: linear-gradient(180deg, #fffdf8, #f3eadc);
}

.decision-state-card--photo {
  background:
    linear-gradient(180deg, rgba(19, 40, 57, 0.78), rgba(19, 40, 57, 0.9)),
    url("assets/home-editorial-interior.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  border-color: rgba(15, 23, 42, 0.24);
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.2),
    0 8px 20px rgba(15, 23, 42, 0.13);
}

.card-kicker {
  color: #9b573c;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.decision-state-card--large .card-kicker,
.decision-state-card--photo .card-kicker,
.market-context-card--dark .card-kicker {
  color: #e9bd57;
}

.decision-state-card h3,
.market-context-card h3,
.context-choice-card h3,
.context-county-card h3 {
  margin: 0;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1.12;
}

.decision-state-card p,
.market-context-card p,
.context-choice-card p,
.context-county-card p {
  margin: 0;
  color: #526171;
  line-height: 1.55;
}

.decision-state-card--large p,
.decision-state-card--photo p,
.market-context-card--dark p,
.context-choice-card--reports p {
  color: rgba(255, 255, 255, 0.8);
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 34, 49, 0.12);
  color: #173f63;
  font-size: 0.92rem;
  font-weight: 900;
}

.decision-state-card--large .card-link,
.decision-state-card--photo .card-link,
.market-context-card--dark .card-link,
.context-choice-card--reports .card-link {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.decision-recommendation {
  max-width: var(--max);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.8fr) minmax(220px, 0.42fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 237, 0.93)),
    radial-gradient(circle at 100% 0%, rgba(47, 126, 120, 0.12), transparent 24rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 62px rgba(15, 23, 42, 0.12),
    0 4px 14px rgba(15, 23, 42, 0.06);
}

.decision-recommendation:focus-visible {
  outline: 3px solid rgba(47, 126, 120, 0.2);
  outline-offset: 4px;
}

.decision-recommendation__copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.decision-recommendation__copy h3 {
  margin: 0;
  color: #132839;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.decision-recommendation__copy p:not(.eyebrow) {
  margin: 0;
  color: #526171;
  line-height: 1.62;
}

.decision-recommendation__questions {
  display: grid;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.decision-recommendation__questions li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-weight: 700;
  line-height: 1.45;
}

.decision-recommendation__questions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a85d3e;
}

.decision-recommendation__actions {
  display: grid;
  align-content: center;
  gap: 10px;
}

.decision-recommendation__actions .button {
  justify-content: center;
  width: 100%;
  text-align: center;
  white-space: normal;
}

.market-context-section {
  background: transparent;
  border-top: 1px solid rgba(20, 34, 49, 0.08);
  border-bottom: 1px solid rgba(20, 34, 49, 0.08);
}

.market-context-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.72)),
    radial-gradient(circle at 92% 12%, rgba(233, 189, 87, 0.12), transparent 28rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 24px 70px rgba(15, 23, 42, 0.09);
}

.market-context-shell .home-section__heading {
  margin-bottom: 24px;
}

.market-context-shell .home-section__heading--split > p {
  align-self: center;
  max-width: 420px;
  padding: 16px 18px;
  border-left: 3px solid rgba(168, 93, 62, 0.42);
  background: rgba(255, 255, 255, 0.54);
  color: #334155;
  font-weight: 650;
  line-height: 1.55;
}

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

.market-context-card {
  grid-column: span 3;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.95));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 18px 44px rgba(15, 23, 42, 0.09),
    0 3px 10px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.market-context-card:hover,
.market-context-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(47, 126, 120, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 26px 58px rgba(15, 23, 42, 0.13),
    0 5px 16px rgba(15, 23, 42, 0.08);
}

.market-context-card a {
  min-height: 100%;
  display: grid;
  color: inherit;
}

.market-context-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.market-context-card__body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 23px;
}

.market-context-card--feature {
  grid-column: span 6;
  grid-row: span 2;
}

.market-context-card--feature a {
  grid-template-rows: minmax(260px, 0.9fr) auto;
}

.market-context-card--feature h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.market-context-card--warm {
  background: linear-gradient(180deg, #fffdf8, #f4eadc);
}

.market-context-card--dark {
  grid-column: span 6;
  background: linear-gradient(180deg, #172c3e, #0f2334);
  color: var(--white);
  border-color: rgba(15, 23, 42, 0.26);
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.2),
    0 8px 20px rgba(15, 23, 42, 0.12);
}

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

.context-choice-card,
.context-county-card,
.context-choice-note {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 18px 44px rgba(15, 23, 42, 0.09),
    0 3px 10px rgba(15, 23, 42, 0.05);
}

.context-choice-card {
  grid-column: span 6;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.context-choice-card:hover,
.context-choice-card:focus-within,
.context-county-card:hover,
.context-county-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(47, 126, 120, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 26px 58px rgba(15, 23, 42, 0.13),
    0 5px 16px rgba(15, 23, 42, 0.08);
}

.context-choice-card a {
  min-height: 100%;
  display: grid;
  color: inherit;
}

.context-choice-card--places a {
  grid-template-rows: minmax(210px, 0.72fr) auto;
}

.context-choice-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.context-choice-card__body {
  display: grid;
  gap: 13px;
  align-content: start;
  padding: 25px;
}

.context-choice-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.context-choice-card--reports {
  color: var(--white);
  border-color: rgba(15, 23, 42, 0.24);
  background:
    linear-gradient(180deg, rgba(23, 44, 62, 0.95), rgba(15, 35, 52, 0.97)),
    url("assets/home-editorial-interior.jpg");
  background-position: center;
  background-size: cover;
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.2),
    0 8px 20px rgba(15, 23, 42, 0.12);
}

.context-choice-card--reports .card-kicker {
  color: #e9bd57;
}

.context-choice-card--reports a {
  align-content: stretch;
}

.context-choice-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 6px;
}

.context-choice-signals span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.context-county-card {
  grid-column: span 6;
  min-height: 230px;
  display: grid;
  gap: 20px;
  align-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.context-county-card--warm {
  background: linear-gradient(180deg, #fffdf8, #f4eadc);
}

.context-county-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 34, 49, 0.12);
}

.context-county-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(20, 34, 49, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #173f63;
  font-weight: 900;
}

.context-county-actions a:hover,
.context-county-actions a:focus-visible {
  border-color: rgba(47, 126, 120, 0.38);
  background: #ffffff;
}

.context-choice-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.context-choice-note span {
  display: grid;
  gap: 4px;
  padding: 17px 18px;
  color: #526171;
  font-weight: 750;
}

.context-choice-note span + span {
  border-left: 1px solid rgba(20, 34, 49, 0.1);
}

.context-choice-note strong {
  color: #132839;
}

.home-advisor-section {
  background: transparent;
}

.home-advisor-card {
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(190px, 0.65fr) minmax(0, 0.82fr) minmax(340px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border-color: rgba(15, 23, 42, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 30px 70px rgba(15, 23, 42, 0.12),
    0 5px 18px rgba(15, 23, 42, 0.07);
}

.home-advisor-media {
  overflow: hidden;
  border: 1px solid rgba(20, 34, 49, 0.12);
  border-radius: var(--radius);
  background: #132839;
}

.home-advisor-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; max-height: 100%; display: block; }

.home-advisor-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.home-advisor-copy h2,
.home-advisor-copy p {
  margin: 0;
}

.home-advisor-copy h2 {
  color: #132839;
  font-size: 2.35rem;
  line-height: 1.06;
}

.home-advisor-copy p:not(.eyebrow) {
  color: #526171;
  line-height: 1.65;
}

.home-advisor-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-advisor-notes span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(20, 34, 49, 0.14);
  border-radius: var(--radius);
  background: #f7f4ed;
  color: #315c50;
  font-weight: 850;
}

.home-contact-form {
  align-content: start;
  border-color: rgba(15, 23, 42, 0.14);
  background: linear-gradient(180deg, #fbf7ef, #f4eadc);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.home-contact-form .button-primary {
  width: 100%;
  background: #132839;
  border-color: #132839;
}

.home-contact-form .field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.home-contact-form .required-mark {
  color: #9b573c;
}

.home-contact-form .intake-submit-status {
  margin: 0;
}

@media (max-width: 980px) {
  .home-advisor-media {
    aspect-ratio: 16 / 9;
  }

  .home-hero {
    padding-top: 68px;
  }

  .home-advisor-card {
    grid-template-columns: 1fr;
  }

  .home-hero-search {
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) 150px;
    margin-top: 48px;
  }

  .decision-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .decision-state-card,
  .decision-state-card--medium,
  .decision-state-card--compact {
    grid-column: span 3;
  }

  .decision-state-card--large,
  .decision-state-card--photo {
    grid-column: span 6;
  }

  .decision-recommendation {
    grid-template-columns: 1fr;
  }

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

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

  .context-choice-card,
  .context-county-card {
    grid-column: span 1;
  }

  .context-choice-note {
    grid-column: 1 / -1;
  }

  .market-context-card,
  .market-context-card--feature,
  .market-context-card--dark {
    grid-column: span 2;
  }

  .home-advisor-media img {
    max-height: none;
    min-height: auto;
    object-position: center 20%;
  }
}

@media (max-width: 700px) {
  .home-hero,
  .home-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-hero {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .home-hero__lede {
    margin-top: 26px;
  }

  .home-hero-search {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 40px;
    border-radius: 12px;
  }

  .home-hero-search input {
    min-height: 62px;
    padding: 0 18px;
    text-align: left;
  }

  .home-hero-search button {
    min-height: 58px;
  }

  .home-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-section__heading,
  .home-section__heading--split {
    display: block;
  }

  .market-context-shell {
    padding: 18px;
  }

  .market-context-shell .home-section__heading--split > p {
    max-width: none;
    margin-top: 14px;
    padding: 14px 15px;
  }

  .home-section__heading h2 {
    font-size: 2.05rem;
  }

  .decision-bento,
  .market-context-grid,
  .context-choice-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .decision-bento::-webkit-scrollbar,
  .market-context-grid::-webkit-scrollbar,
  .context-choice-grid::-webkit-scrollbar {
    display: none;
  }

  .decision-state-card,
  .decision-state-card--large,
  .decision-state-card--medium,
  .decision-state-card--compact,
  .decision-state-card--photo,
  .market-context-card,
  .market-context-card--feature,
  .market-context-card--dark,
  .context-choice-card,
  .context-county-card,
  .context-choice-note {
    flex: 0 0 85%;
    scroll-snap-align: center;
    grid-column: auto;
    min-height: auto;
  }


  .decision-recommendation {
    padding: 18px;
  }

  .decision-recommendation__actions {
    align-content: start;
  }

  .market-context-card--feature a {
    grid-template-rows: auto;
  }

  .context-choice-card--places a {
    grid-template-rows: auto;
  }

  .context-choice-card img {
    min-height: 190px;
    max-height: 230px;
  }

  .context-choice-signals {
    grid-template-columns: 1fr;
  }

  .context-choice-note {
    grid-template-columns: 1fr;
  }

  .context-choice-note span + span {
    border-top: 1px solid rgba(20, 34, 49, 0.1);
    border-left: 0;
  }

  .home-advisor-card {
    padding: 18px;
  }

  .home-advisor-copy h2 {
    font-size: 2rem;
  }

  .home-contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Header top controls removed in favor of the homepage hero search. */
@media (max-width: 1120px) {
  :root {
    --header-offset: 76px;
  }

  .header-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .desktop-search,
  .mobile-search,
  .header-contact {
    display: none !important;
  }

  .menu-panel {
    inset: 76px 0 auto;
    max-height: calc(100vh - 76px);
  }
}

@media (max-width: 560px) {
  .home-advisor-media {
    aspect-ratio: 4 / 3;
  }
  .home-advisor-media img {
    min-height: 0;
  }

  :root {
    --header-offset: 72px;
  }

  .menu-panel {
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
  }
}

@media (min-width: 1440px) {
  :root {
    --max: 1360px;
  }
}

@media (min-width: 1920px) {
  :root {
    --max: 1680px;
  }
  .home-hero__inner h1 {
    font-size: 8rem;
    max-width: 1300px;
  }
  .home-hero__lede {
    font-size: 2.5rem;
    max-width: 1200px;
  }
  .home-hero-search {
    width: min(100%, 1200px);
  }
}
.mls-mini-tracker {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(20, 34, 49, 0.08);
}

.mls-tracker-widget--unavailable {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
  border: 1px solid var(--home-border-strong, rgba(20, 34, 49, 0.14));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--home-ink, #323232);
}

.mls-tracker-widget--unavailable .mls-tracker-widget__kicker {
  color: var(--home-accent, #606c38);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mls-tracker-widget--unavailable strong {
  color: var(--home-strong, #151414);
  font-size: 14px;
  line-height: 1.35;
}

.mls-tracker-widget--unavailable p {
  margin: 0;
  color: var(--home-muted, #6b6e64);
  font-size: 12px;
  line-height: 1.5;
}

.mls-tracker-widget--unavailable a {
  justify-self: start;
  color: var(--home-strong, #151414);
  font-size: 12px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mls-tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mls-tracker-header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-base);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mls-tracker-header h3::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mls-tracker-timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mls-full-report-link:hover,
.mls-full-report-link:focus-visible {
  color: #2f7e78 !important;
}

.mls-city-tracker {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mls-city-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #173f63;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(20, 34, 49, 0.08);
  padding-bottom: 0.25rem;
}

.mls-metric-row {
  display: grid;
  grid-template-columns: 1fr max-content 80px;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.35rem 0;
}

.mls-metric-label {
  font-size: 0.8125rem;
  color: #526171;
  font-weight: 500;
}

.mls-metric-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #142231;
}

.mls-metric-trend {
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 600;
}

.mls-trend-up {
  color: #059669;
}

.mls-trend-down {
  color: #dc2626;
}

.mls-trend-neutral {
  color: var(--text-muted);
}

@media (min-width: 1920px) {
  .home-hero-search input {
    font-size: 1.5rem;
  }
  .home-hero-search button {
    font-size: 1.25rem;
  }
  .home-section__heading h2 {
    font-size: 4rem;
  }
  .home-section__heading p:not(.eyebrow) {
    font-size: 1.5rem;
    max-width: 1000px;
  }
}

@media (min-width: 1920px) {
  .home-advisor-card {
    padding: 60px;
    gap: 40px;
  }
  .home-advisor-copy h2 {
    font-size: 3rem;
  }
  .home-advisor-copy p {
    font-size: 1.25rem;
  }
}

/* Responsive Headshot Overrides */
@media (max-width: 980px) {
  .home-advisor-media {
    aspect-ratio: 3 / 2;
  }
  .home-advisor-media img {
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    max-height: none !important;
  }
}

@media (max-width: 560px) {
  .home-advisor-media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 981px) { .home-advisor-media { aspect-ratio: 4 / 5; } .home-advisor-media img { min-height: 0; } }

/* Calculators Hub Layout */
.calc-hub-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .calc-hub-container {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (min-width: 1025px) {
  .calc-rail {
    position: sticky;
    top: 128px;
  }
}

.calc-hub-main {
  display: grid;
  gap: 40px;
}

.calc-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 600px) {
  .calc-hero-cards {
    grid-template-columns: 1fr;
  }
}

.calc-hero-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  transition: transform 150ms ease;
}
.calc-hero-card:hover {
  transform: translateY(-2px);
}
.calc-hero-card strong {
  font-size: 1.25rem;
}

.calc-rail {
  display: grid;
  gap: 24px;
}

.calc-rail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.calc-rail-card h3 {
  margin: 0 0 16px 0;
  font-size: 1.15rem;
  color: var(--ink);
}
.calc-rail-links {
  display: grid;
  gap: 12px;
}
.calc-rail-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.calc-rail-links a:hover {
  background: var(--line);
}

.calc-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.calc-form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.calc-form-field input, .calc-form-field select, .calc-form-field textarea {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
.calc-form-field textarea {
  resize: vertical;
  min-height: 80px;
}


.calc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.calc-list li a:after {
  content: "→";
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.calc-list li a:hover {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.calc-list li a:hover:after {
  transform: translateX(4px);
  color: var(--navy);
}

.calc-hero {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.calc-hero-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .calc-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.calc-menu-list li a:hover {
  border-color: var(--navy) !important;
  background: var(--mist);
}
.calc-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .calc-featured-grid {
    grid-template-columns: 1fr;
  }
}
.calc-link-inline:hover {
  text-decoration: underline !important;
}
.calc-library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .calc-library-grid {
    grid-template-columns: 1fr;
  }
}
.calc-list2 li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: all 0.2s;
}
.calc-list2 li a:hover {
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.calc-list2 li a .arrow {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s;
}
.calc-list2 li a:hover .arrow {
  transform: translateX(4px);
  color: var(--navy) !important;
}
.calc-cta-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
@media (max-width: 768px) {
  .calc-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}
.calc-cta-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Homepage decision journey — scoped to the homepage only. */
.home-decision-page {
  --home-canvas: #f9f9f8;
  --home-surface: #ffffff;
  --home-subtle: #f4f5f0;
  --home-tint: #f0f2e8;
  --home-ink: #323232;
  --home-strong: #151414;
  --home-muted: #6b6e64;
  --home-accent: #606c38;
  --home-accent-soft: #a4af7a;
  --home-border: #e3e5dd;
  --home-border-strong: #c8cdc0;
  --home-stage-width: 1240px;
  --home-motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --home-hero-scroll-progress: 0;
  --home-hero-copy-opacity: 1;
  --home-hero-copy-y: 0px;
  --home-hero-guide-opacity: 1;
  --home-hero-guide-y: 0px;
  background: var(--home-canvas);
  color: var(--home-ink);
  font-family: "Open Sans", system-ui, sans-serif;
  overflow-x: clip;
}

.home-decision-page .site-header,
.home-decision-page .home-main {
  width: min(var(--home-stage-width), calc(100% - 64px));
  margin-inline: auto;
}

.home-decision-page .site-header {
  margin-top: 32px;
  border: 1px solid var(--home-border);
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 16px 48px rgba(21, 20, 20, 0.1);
}

body.home-decision-page #main.home-main {
  overflow-x: clip;
  overflow-y: visible;
}

.home-decision-page .home-advisor-section {
  border-radius: 0 0 16px 16px;
}

.home-decision-page .home-main {
  margin-bottom: 32px;
  overflow: clip;
  border: 1px solid var(--home-border);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: var(--home-canvas);
  box-shadow: 0 16px 48px rgba(21, 20, 20, 0.1);
}

.home-decision-page .header-top,
.home-decision-page .primary-nav {
  max-width: 100%;
}

.home-decision-page .home-main .eyebrow,
.home-decision-page .home-stage-label {
  color: var(--home-accent) !important;
  font: 600 12px/18px "Open Sans", sans-serif;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.home-decision-page .home-main h1,
.home-decision-page .home-main h2,
.home-decision-page .home-path-panel h3 {
  color: var(--home-strong);
  font-family: Oswald, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.home-decision-page .home-main .button-primary {
  border: 1px solid #000;
  border-radius: 9px;
  background: #000;
  color: #fff;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.home-decision-page .home-main .button-primary:hover,
.home-decision-page .home-main .button-primary:focus-visible {
  background: #1f1f1f;
  box-shadow: 0 10px 24px rgba(21, 20, 20, 0.16);
}

.home-decision-page .home-main .button-primary:active {
  transform: translateY(1px);
  background: #323232;
}

.home-decision-page .home-main .button-secondary {
  border: 1px solid var(--home-strong);
  border-radius: 9px;
  background: transparent;
  color: var(--home-strong);
}

.home-decision-page :focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 3px;
}

.home-hero.home-stage {
  --home-hero-scroll-progress: 0;
  --home-hero-copy-opacity: 1;
  --home-hero-copy-y: 0px;
  --home-hero-guide-opacity: 1;
  --home-hero-guide-y: 0px;
  min-height: 650px;
  overflow: hidden;
  padding: 72px 64px 64px;
  border-bottom: 1px solid var(--home-border);
  background: var(--home-surface);
}

.home-hero .home-hero__inner {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 56px;
  align-items: center;
  justify-items: stretch;
  text-align: left;
}

.home-hero__copy {
  min-width: 0;
}

.home-hero .home-hero__copy h1 {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: clamp(52px, 5.4vw, 72px);
  line-height: 1.02;
}

.home-hero .home-hero__lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--home-muted);
  font: 400 17px/27px "Open Sans", sans-serif;
}

.home-hero .home-hero-search {
  width: min(100%, 620px);
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 30px;
  border-color: var(--home-border-strong);
  border-radius: 10px;
  box-shadow: none;
}

.home-hero .home-hero-search:focus-within {
  border-color: var(--home-accent);
  box-shadow: 0 0 0 3px rgba(96, 108, 56, 0.12);
}

.home-hero .home-hero-search input {
  padding-inline: 20px;
  color: var(--home-strong);
  font: 400 16px/24px "Open Sans", sans-serif;
}

.home-hero .home-hero-search input::placeholder {
  color: #85897e;
}

.home-hero .home-hero-search button {
  min-width: 126px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 20px;
  background: #000;
  color: #fff;
  font: 600 15px/22px "Open Sans", sans-serif;
}

.home-hero .home-hero-search button span {
  transition: transform 180ms ease;
}

.home-hero .home-hero-search button:hover span,
.home-hero .home-hero-search button:focus-visible span {
  transform: translateX(4px);
}

.home-hero-search-note {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 18px;
}

.home-hero-guide {
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: var(--home-subtle);
}

.home-hero-guide__heading {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--home-border);
}

.home-hero-guide__heading h2 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.08;
}

.home-hero-guide__heading p {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 21px;
}

.home-quick-paths {
  display: grid;
  gap: 1px;
  background: var(--home-border);
}

.home-quick-paths button {
  min-height: 76px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border: 0;
  background: var(--home-surface);
  color: var(--home-ink);
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-quick-paths button:hover,
.home-quick-paths button:focus-visible,
.home-quick-paths button.is-selected {
  background: var(--home-tint);
}

.home-quick-paths button:hover > span:last-child,
.home-quick-paths button:focus-visible > span:last-child,
.home-quick-paths button.is-selected > span:last-child {
  transform: translateX(4px);
}

.home-quick-paths button > span:last-child {
  color: var(--home-accent);
  transition: transform 180ms ease;
}

.home-quick-paths__index {
  color: var(--home-accent);
  font: 600 12px/18px "Open Sans", sans-serif;
}

.home-quick-paths button strong,
.home-quick-paths button small {
  display: block;
}

.home-quick-paths button strong {
  color: var(--home-strong);
  font-size: 14px;
  line-height: 20px;
}

.home-quick-paths button small {
  margin-top: 2px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 18px;
}

.home-journey-nav {
  position: sticky;
  top: var(--header-offset);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--home-border);
  background: rgba(249, 249, 248, 0.96);
  backdrop-filter: blur(12px);
}

.home-journey-nav a {
  position: relative;
  min-height: 54px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--home-muted);
  text-decoration: none;
  font-size: 13px;
}

.home-journey-nav a + a {
  border-left: 1px solid var(--home-border);
}

.home-journey-nav a span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--home-border-strong);
  border-radius: 50%;
  background: var(--home-surface);
  font-size: 10px;
  font-weight: 700;
}

.home-journey-nav a.is-active,
.home-journey-nav a[aria-current="step"] {
  color: var(--home-strong);
}

.home-journey-nav a.is-active::after,
.home-journey-nav a[aria-current="step"]::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: -1px;
  left: 20%;
  height: 2px;
  background: var(--home-accent);
}

.home-journey-nav a.is-active span,
.home-journey-nav a[aria-current="step"] span {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #fff;
}

.home-stage {
  scroll-margin-top: calc(var(--header-offset) + 72px);
}

.home-section.home-stage {
  padding: 72px 64px;
}

.home-section__heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.home-section__heading .home-stage-label {
  display: block;
  margin-bottom: 12px;
}

.home-decision-page .home-section__heading h2 {
  color: var(--home-strong);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.04;
}

.home-decision-page .home-section__heading p:not(.eyebrow) {
  color: var(--home-muted);
  font: 400 16px/25px "Open Sans", sans-serif;
}

.start-here-section {
  background: var(--home-canvas);
}

.home-decision-explorer {
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.home-path-rail {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: var(--home-surface);
}

.home-path-rail::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 35px;
  width: 1px;
  background: var(--home-border-strong);
}

.home-path-rail button {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 16px 13px 18px;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--home-border);
  background: transparent;
  color: var(--home-ink);
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.home-path-rail button:last-child {
  border-bottom: 0;
}

.home-path-rail button:hover,
.home-path-rail button:focus-visible {
  background: var(--home-subtle);
}

.home-path-rail button[aria-selected="true"] {
  border-left-color: var(--home-accent);
  background: var(--home-tint);
}

.home-path-marker {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--home-border-strong);
  border-radius: 50%;
  background: var(--home-surface);
  color: var(--home-muted);
  font-size: 10px;
  font-weight: 700;
}

.home-path-rail button[aria-selected="true"] .home-path-marker {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(96, 108, 56, 0.12);
}

.home-path-rail button strong,
.home-path-rail button small {
  display: block;
}

.home-path-rail button strong {
  color: var(--home-strong);
  font-size: 14px;
  line-height: 20px;
}

.home-path-rail button small {
  margin-top: 2px;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 16px;
}

.home-path-panel {
  position: relative;
  min-height: 514px;
  display: grid;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  padding: 46px;
  border: 1px solid #000;
  border-radius: 14px;
  background: #151414;
  color: #fff;
  box-shadow: 0 24px 58px rgba(21, 20, 20, 0.18);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-path-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 148px;
  height: 6px;
  background: var(--home-accent-soft);
}

.home-path-panel.is-updating {
  opacity: 0.35;
  transform: translateX(12px);
}

.home-path-panel__status {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.home-path-panel .home-stage-label {
  color: var(--home-accent-soft) !important;
}

.home-path-panel__count {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.home-decision-page .home-path-panel h3 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.04;
}

.home-path-panel > p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 26px;
}

.home-path-panel__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.home-path-panel__signals li {
  min-width: 0;
}

.home-path-panel__signals button {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 13px;
  line-height: 19px;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-path-panel__signals button > span:last-child {
  color: var(--home-accent-soft);
  font-size: 18px;
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-path-panel__signals button:hover,
.home-path-panel__signals button:focus-visible {
  border-color: rgba(204, 212, 170, 0.72);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-path-panel__signals button:focus-visible {
  outline: 3px solid rgba(204, 212, 170, 0.46);
  outline-offset: 3px;
}

.home-path-panel__signals button:hover > span:last-child,
.home-path-panel__signals button:focus-visible > span:last-child,
.home-path-panel__signals button.is-selected > span:last-child {
  transform: translateX(4px);
}

.home-path-panel__signals button.is-selected {
  border-color: var(--home-accent-soft);
  background: rgba(204, 212, 170, 0.16);
  color: #fff;
  box-shadow: inset 3px 0 var(--home-accent-soft);
}

.home-path-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.home-path-panel__actions .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  text-decoration: none;
}

.home-path-panel__actions .button-primary {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.home-path-panel__actions .button-primary:hover,
.home-path-panel__actions .button-primary:focus-visible {
  background: var(--home-tint);
  color: #000;
}

.home-path-panel__actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.home-path-panel__actions [aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.52;
}

.home-path-panel__helper {
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 11px !important;
  line-height: 17px !important;
}

.home-noscript-paths {
  max-width: 1080px;
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
}

.market-context-section {
  border-color: var(--home-border);
  background: var(--home-subtle);
}

.market-context-section .market-context-shell {
  max-width: 1080px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-context-guidance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid var(--home-border-strong);
  border-left: 3px solid var(--home-accent);
  border-radius: 10px;
  background: var(--home-tint);
}

.home-context-guidance > span {
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-context-guidance strong,
.home-context-guidance p {
  display: block;
  margin: 0;
}

.home-context-guidance strong {
  color: var(--home-strong);
  font-size: 14px;
}

.home-context-guidance p {
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 18px;
}

.home-context-guidance a {
  color: var(--home-strong);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.market-context-section .context-choice-grid {
  gap: 18px;
}

.market-context-section .context-choice-card,
.market-context-section .context-county-card {
  border-color: var(--home-border);
  border-radius: 14px;
  box-shadow: none;
}

.market-context-section .context-choice-card {
  transition: opacity 180ms ease, transform 220ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.market-context-section .context-choice-card.is-context-recommended {
  transform: translateY(-4px);
  border-color: var(--home-accent);
  box-shadow: 0 18px 42px rgba(21, 20, 20, 0.12);
}

.market-context-section .context-choice-card.is-context-muted {
  opacity: 0.64;
}

.market-context-section .context-choice-card.is-context-muted:hover,
.market-context-section .context-choice-card.is-context-muted:focus-within {
  opacity: 1;
}

.home-advisor-section {
  background: var(--home-surface);
}

.home-advisor-section .home-advisor-card {
  max-width: 1080px;
  grid-template-columns: minmax(184px, 250px) minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: center;
  border-color: var(--home-border);
  border-radius: 14px;
  background: var(--home-canvas);
  box-shadow: 0 20px 52px rgba(21, 20, 20, 0.11);
}

.home-advisor-section .home-advisor-media {
  align-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-height: 340px;
  padding: 14px 14px 0;
  aspect-ratio: 4 / 5;
  border-color: var(--home-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(21, 20, 20, 0.1)),
    #151414;
}

.home-advisor-section .home-advisor-media img {
  width: min(100%, 218px);
  height: auto;
  max-height: 306px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 16px 34px rgba(21, 20, 20, 0.18);
}

.home-advisor-card > *,
.home-decision-explorer > *,
.home-path-panel > * {
  min-width: 0;
}

.home-advisor-copy .home-stage-label {
  margin-bottom: 2px;
}

.home-advisor-selection {
  padding: 13px 14px;
  border: 1px solid var(--home-border-strong);
  border-left: 3px solid var(--home-accent);
  border-radius: 8px;
  background: var(--home-tint);
}

.home-advisor-selection span,
.home-advisor-selection p {
  display: block;
  margin: 0;
}

.home-advisor-selection span {
  color: var(--home-strong);
  font-size: 13px;
  font-weight: 700;
}

.home-advisor-selection p {
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 18px;
}

.home-advisor-section .home-advisor-notes span {
  border-color: var(--home-border-strong);
  border-radius: 999px;
  background: var(--home-surface);
  color: var(--home-accent);
}

.home-advisor-section .home-contact-form {
  border-color: var(--home-border);
  background: var(--home-subtle);
  box-shadow: none;
}

.home-advisor-section .home-contact-form .form-grid {
  grid-template-columns: 1fr;
}

.home-motion-ready .home-stage .home-reveal {
  transition: opacity 460ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-motion-ready .home-stage:not(.is-revealed) .home-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.home-motion-ready .home-hero:not(.is-revealed) .home-hero__copy {
  transform: translateX(-28px);
}

.home-motion-ready .home-hero:not(.is-revealed) .home-hero-guide {
  transform: translateX(40px);
}

.home-motion-ready .home-stage.is-past-stage > .home-reveal,
.home-motion-ready .home-stage.is-past-stage > .market-context-shell,
.home-motion-ready .home-stage.is-past-stage > .home-hero__inner {
  opacity: 0.56;
  transform: translateY(-14px);
}

.home-motion-ready .home-stage:focus-within > .home-reveal,
.home-motion-ready .home-stage:focus-within > .market-context-shell,
.home-motion-ready .home-stage:focus-within > .home-hero__inner,
.home-motion-ready .home-stage.is-active-stage > .home-reveal,
.home-motion-ready .home-stage.is-active-stage > .market-context-shell,
.home-motion-ready .home-stage.is-active-stage > .home-hero__inner {
  opacity: 1;
  transform: none;
}

.home-motion-ready .home-hero .home-hero__copy,
.home-motion-ready .home-hero:not(.is-revealed) .home-hero__copy {
  opacity: var(--home-hero-copy-opacity, 1);
  transform: translate3d(0, var(--home-hero-copy-y, 0px), 0);
  transition: opacity 90ms linear, transform 90ms linear;
  will-change: opacity, transform;
}

.home-motion-ready .home-hero .home-hero-guide,
.home-motion-ready .home-hero:not(.is-revealed) .home-hero-guide {
  opacity: var(--home-hero-guide-opacity, 1);
  transform: translate3d(0, var(--home-hero-guide-y, 0px), 0);
  transition: opacity 90ms linear, transform 90ms linear;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: no-preference) {
  .home-motion-ready .home-hero .home-hero__copy > .eyebrow,
  .home-motion-ready .home-hero .home-hero__copy > h1,
  .home-motion-ready .home-hero .home-hero__copy > .home-hero__lede,
  .home-motion-ready .home-hero .home-hero__copy > .home-hero-search,
  .home-motion-ready .home-hero .home-hero__copy > .home-hero-search-note,
  .home-motion-ready .home-hero .home-hero-guide__heading,
  .home-motion-ready .home-hero .home-quick-paths button {
    opacity: 0;
    animation-name: homeHeroSlideFadeIn;
    animation-duration: 680ms;
    animation-timing-function: var(--home-motion-ease);
    animation-fill-mode: both;
  }

  .home-motion-ready .home-hero .home-hero__copy > .eyebrow {
    animation-delay: 80ms;
    animation-duration: 520ms;
  }

  .home-motion-ready .home-hero .home-hero__copy > h1 {
    animation-delay: 170ms;
    animation-duration: 760ms;
  }

  .home-motion-ready .home-hero .home-hero__copy > .home-hero__lede {
    animation-delay: 340ms;
  }

  .home-motion-ready .home-hero .home-hero__copy > .home-hero-search {
    animation-delay: 500ms;
    animation-duration: 720ms;
  }

  .home-motion-ready .home-hero .home-hero__copy > .home-hero-search-note {
    animation-delay: 650ms;
    animation-duration: 560ms;
  }

  .home-motion-ready .home-hero .home-hero-guide__heading {
    animation-delay: 760ms;
    animation-name: homeHeroPanelFadeIn;
    animation-duration: 700ms;
  }

  .home-motion-ready .home-hero .home-quick-paths button:nth-child(1) {
    animation-delay: 900ms;
    animation-name: homeHeroPanelFadeIn;
  }

  .home-motion-ready .home-hero .home-quick-paths button:nth-child(2) {
    animation-delay: 980ms;
    animation-name: homeHeroPanelFadeIn;
  }

  .home-motion-ready .home-hero .home-quick-paths button:nth-child(3) {
    animation-delay: 1060ms;
    animation-name: homeHeroPanelFadeIn;
  }

  .home-motion-ready .home-hero .home-quick-paths button:nth-child(4) {
    animation-delay: 1140ms;
    animation-name: homeHeroPanelFadeIn;
  }
}

@keyframes homeHeroSlideFadeIn {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(-24px, 28px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes homeHeroPanelFadeIn {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(36px, 18px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1120px) {
  .home-decision-page .site-header,
  .home-decision-page .home-main {
    width: min(100% - 32px, 960px);
  }

  .home-decision-page .site-header {
    margin-top: 16px;
  }

  .home-hero.home-stage {
    padding: 56px 40px;
  }

  .home-hero .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-hero .home-hero__copy h1,
  .home-hero .home-hero__lede {
    max-width: 760px;
  }

  .home-hero-guide {
    max-width: 760px;
  }

  .home-section.home-stage {
    padding-inline: 40px;
  }
}

@media (max-width: 900px) {
  .home-decision-explorer {
    grid-template-columns: 1fr;
  }

  .home-path-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-path-rail::before {
    display: none;
  }

  .home-path-rail button {
    border-left: 0;
    border-bottom: 1px solid var(--home-border);
  }

  .home-path-rail button:nth-child(odd) {
    border-right: 1px solid var(--home-border);
  }

  .home-path-rail button[aria-selected="true"] {
    box-shadow: inset 3px 0 var(--home-accent);
  }

  .home-path-panel {
    min-height: 0;
  }

  .home-advisor-section .home-advisor-card {
    grid-template-columns: 1fr;
  }

  .home-advisor-section .home-advisor-media {
    width: min(100%, 320px);
    max-height: none;
    margin-inline: auto;
  }

  .home-advisor-section .home-advisor-media img {
    width: min(100%, 232px);
    max-height: 326px;
  }
}

@media (max-width: 620px) {
  .home-decision-page .site-header,
  .home-decision-page .home-main {
    width: 100%;
  }

  .home-decision-page .header-top {
    min-height: 72px;
    padding-inline: 18px;
  }

  .home-decision-page .brand-headshot {
    width: 44px;
    height: 44px;
  }

  .home-decision-page .brand-copy span {
    display: none;
  }

  .home-decision-page .brand-copy strong {
    font-size: 1rem;
  }

  .home-decision-page .brand-copy em {
    max-width: 126px;
    font-size: 0.69rem;
    line-height: 1.15;
  }

  .home-decision-page .footer-identity > div {
    min-width: auto;
  }

  .home-decision-page .footer-identity p,
  .home-decision-page .footer-identity a {
    overflow-wrap: normal;
    word-break: normal;
  }

  .home-decision-page .site-header {
    margin-top: 0;
    border-inline: 0;
    border-radius: 0;
  }

  .home-decision-page .home-main {
    margin-bottom: 0;
    border-inline: 0;
    border-radius: 0;
  }

  .home-hero.home-stage {
    min-height: 0;
    padding: 44px 20px 40px;
  }

  .home-hero .home-hero__copy h1 {
    font-size: 44px;
  }

  .home-hero .home-hero__lede {
    font-size: 15px;
    line-height: 24px;
  }

  .home-hero .home-hero-search {
    grid-template-columns: 1fr;
  }

  .home-hero .home-hero-search input,
  .home-hero .home-hero-search button {
    min-height: 54px;
  }

  .home-hero-guide__heading {
    padding: 20px;
  }

  .home-hero-guide__heading h2 {
    font-size: 27px;
  }

  .home-quick-paths button {
    min-height: 72px;
    padding-inline: 14px;
  }

  .home-journey-nav {
    top: var(--header-offset);
    grid-template-columns: repeat(4, minmax(126px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .home-journey-nav a {
    min-height: 48px;
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .home-stage {
    scroll-margin-top: calc(var(--header-offset) + 60px);
  }

  .home-section.home-stage {
    padding: 52px 20px;
  }

  .home-decision-page .home-section__heading h2 {
    font-size: 36px;
  }

  .home-path-rail {
    grid-template-columns: 1fr;
  }

  .home-path-rail button,
  .home-path-rail button:nth-child(odd) {
    min-height: 72px;
    border-right: 0;
  }

  .home-path-panel {
    padding: 26px 22px;
  }

  .home-path-panel__status {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .home-path-panel__signals {
    grid-template-columns: 1fr;
  }

  .home-path-panel__signals button {
    min-height: 54px;
  }

  .home-path-panel__actions {
    display: grid;
  }

  .home-context-guidance {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home-context-guidance a {
    justify-self: start;
  }

  .market-context-section .context-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .market-context-section .context-choice-card,
  .market-context-section .context-county-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    flex: initial;
    grid-column: 1;
    scroll-snap-align: none;
  }

  .market-context-section .context-choice-card a,
  .market-context-section .context-choice-card img,
  .market-context-section .context-choice-card__body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-quick-paths {
    overflow: hidden;
  }

  .market-context-section .context-choice-card.is-context-muted {
    opacity: 0.82;
  }

  .home-advisor-section .home-advisor-card {
    padding: 18px;
  }

  .home-advisor-section .home-advisor-media {
    width: min(100%, 280px);
  }

  .home-advisor-section .home-advisor-media img {
    width: min(100%, 202px);
    max-height: 284px;
  }

  .home-motion-ready .home-stage.is-past-stage > .home-reveal,
  .home-motion-ready .home-stage.is-past-stage > .market-context-shell,
  .home-motion-ready .home-stage.is-past-stage > .home-hero__inner {
    opacity: 0.82;
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.home-motion-terrace,
  .home-decision-page {
    scroll-behavior: auto;
  }

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

  .home-motion-ready .home-stage:not(.is-revealed) .home-reveal,
  .home-motion-ready .home-stage.is-past-stage > .home-reveal,
  .home-motion-ready .home-stage.is-past-stage > .market-context-shell,
  .home-motion-ready .home-stage.is-past-stage > .home-hero__inner,
  .home-motion-ready .home-hero .home-hero__copy,
  .home-motion-ready .home-hero .home-hero-guide {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Homepage Terrace interaction refinement — single market workspace, contained advisor CTA, and calibrated motion. */
.home-decision-page .site-header,
.home-decision-page .header-top,
.home-decision-page .brand-headshot,
.home-decision-page .brand-copy > span,
.home-decision-page .brand-copy > em,
.home-decision-page .primary-nav,
.home-decision-page .nav-trigger,
.home-decision-page .nav-link {
  transition:
    min-height 420ms var(--home-motion-ease),
    height 420ms var(--home-motion-ease),
    padding 420ms var(--home-motion-ease),
    margin 420ms var(--home-motion-ease),
    border-radius 420ms var(--home-motion-ease),
    box-shadow 420ms var(--home-motion-ease),
    opacity 260ms ease,
    transform 420ms var(--home-motion-ease);
}

.home-decision-page .site-header.is-compressed {
  margin-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 34px rgba(21, 20, 20, 0.14);
}

.home-decision-page .site-header.is-compressed .header-top {
  min-height: 58px;
  padding-block: 6px;
}

.home-decision-page .site-header.is-compressed .brand-headshot {
  width: 40px;
  height: 40px;
}

.home-decision-page .site-header.is-compressed .brand-copy > span {
  font-size: 0.72rem;
}

.home-decision-page .site-header.is-compressed .brand-copy > em {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
}

.home-stage {
  scroll-margin-top: calc(var(--header-offset) + 18px);
}

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

.context-market-workspace {
  grid-column: 1 / span 8;
  grid-row: 1 / span 2;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: var(--home-surface);
  box-shadow: 0 18px 42px rgba(21, 20, 20, 0.08);
}

.context-market-workspace__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.context-market-workspace__header h3 {
  margin: 7px 0 0;
  color: var(--home-strong);
  font: 600 clamp(30px, 3.2vw, 42px)/1.04 Oswald, sans-serif;
}

.context-market-workspace__header p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 20px;
}

.context-bento-card {
  grid-column: 9 / -1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.context-bento-card > a {
  height: 100%;
}

.context-bento-card.context-choice-card--places > a {
  display: grid;
  grid-template-columns: minmax(116px, 0.82fr) minmax(0, 1.18fr);
}

.context-bento-card.context-choice-card--places img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.context-bento-card .context-choice-card__body {
  min-width: 0;
  padding: 22px;
}

.context-bento-card h3 {
  margin-top: 8px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
}

.context-bento-card p {
  font-size: 13px;
  line-height: 20px;
}

.context-bento-card .card-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.context-bento-card .card-link span {
  transition: transform 220ms var(--home-motion-ease);
}

.context-bento-card:hover .card-link span,
.context-bento-card:focus-within .card-link span {
  transform: translateX(5px);
}

.market-widget-loading {
  min-height: 440px;
  display: grid;
  place-content: center;
  gap: 12px;
  color: var(--home-muted);
  text-align: center;
}

.market-widget-loading > span {
  width: 34px;
  height: 34px;
  justify-self: center;
  border: 2px solid var(--home-border);
  border-top-color: var(--home-accent);
  border-radius: 50%;
  animation: terraceSpinner 760ms linear infinite;
}

.mls-mini-tracker,
.mls-tracker-widget {
  min-width: 0;
}

.mls-tracker-widget {
  display: grid;
  gap: 16px;
  color: var(--home-ink);
  font-family: "Open Sans", system-ui, sans-serif;
}

.market-search-block {
  display: grid;
  gap: 9px;
}

.market-search-control {
  display: grid;
  gap: 7px;
}

.market-search-control > label,
.market-property-types legend {
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.market-search-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--home-border-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(96, 108, 56, 0);
  transition: border-color 180ms ease, box-shadow 220ms ease;
}

.market-search-row:focus-within {
  border-color: var(--home-accent);
  box-shadow: 0 0 0 4px rgba(96, 108, 56, 0.13);
}

.market-search-row input[type="search"] {
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-strong);
  font-size: 15px;
  font-weight: 600;
}

.market-search-row input[type="search"]::placeholder {
  color: #85897e;
  font-weight: 400;
}

.market-search-row button {
  min-width: 118px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0 9px 9px 0;
  background: #000;
  color: #fff;
  font-weight: 700;
}

.market-search-row button span {
  transition: transform 200ms var(--home-motion-ease);
}

.market-search-row button:hover span,
.market-search-row button:focus-visible span {
  transform: translateX(5px);
}

.market-search-row button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.market-match-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-subtle);
  animation: terraceMatchStripIn 300ms var(--home-motion-ease) both;
}

.market-match-strip__label {
  padding-inline: 4px;
  color: var(--home-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.market-match-strip button {
  min-height: 36px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--home-border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--home-strong);
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 200ms var(--home-motion-ease);
}

.market-match-strip button:hover,
.market-match-strip button:focus-visible {
  border-color: var(--home-accent);
  background: var(--home-tint);
  transform: translateY(-1px);
}

.market-match-strip button strong {
  font-size: 12px;
}

.market-match-strip button small {
  color: var(--home-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.market-search-status {
  min-height: 18px;
  margin: 0;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 18px;
}

.market-property-types {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.market-property-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.market-property-chips label {
  position: relative;
}

.market-property-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.market-property-chips span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--home-border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 200ms var(--home-motion-ease);
}

.market-property-chips input:checked + span {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #fff;
}

.market-property-chips input:focus-visible + span {
  outline: 2px solid var(--home-accent);
  outline-offset: 3px;
}

.market-property-chips label:hover span {
  transform: translateY(-1px);
}

.market-live-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  border-radius: 14px;
  background: #181917;
  color: #fff;
  transition: opacity 260ms ease;
}

.market-live-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 0%, rgba(164, 175, 122, 0.2), transparent 34%);
  content: "";
}

.market-live-panel > * {
  position: relative;
}

.market-live-panel__header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.market-live-panel__header span {
  display: block;
  color: #b9c295;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.market-live-panel__header h4 {
  margin: 5px 0 0;
  color: #fff;
  font: 600 27px/1.1 Oswald, sans-serif;
}

.market-live-panel__header > strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
}

.market-gauge {
  padding: 24px 0 20px;
}

.market-gauge__pointer {
  position: relative;
  height: 15px;
}

.market-gauge__pointer span {
  position: absolute;
  left: var(--market-position, 50%);
  bottom: 1px;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-bottom: 0;
  border-left: 7px solid transparent;
  border-top: 10px solid #fff;
  transform: translateX(-50%);
  transition: left 620ms var(--home-motion-ease);
}

.market-gauge__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
}

.market-gauge__track span:nth-child(1) {
  background: #a4af7a;
}

.market-gauge__track span:nth-child(2) {
  background: #7b8854;
}

.market-gauge__track span:nth-child(3) {
  background: #4d5934;
}

.market-gauge__labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.market-gauge__labels span:nth-child(2) {
  text-align: center;
}

.market-gauge__labels span:last-child {
  text-align: right;
}

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

.market-metrics article {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.market-metrics article > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.market-metrics article > strong {
  margin-top: 8px;
  color: #fff;
  font: 600 27px/1 Oswald, sans-serif;
  transition: opacity 180ms ease, transform 320ms var(--home-motion-ease);
}

.market-metrics article > small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  line-height: 14px;
}

.market-trend--up {
  color: #c8d5a4 !important;
}

.market-trend--down {
  color: #e5b29d !important;
}

.market-live-panel__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.market-live-panel__footer > span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.market-live-panel__footer a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.market-live-panel__footer a span {
  transition: transform 200ms var(--home-motion-ease);
}

.market-live-panel__footer a:hover span,
.market-live-panel__footer a:focus-visible span {
  transform: translateX(5px);
}

.market-widget-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(229, 178, 157, 0.45);
  border-radius: 8px;
  background: rgba(168, 93, 62, 0.16);
  color: #f7d4c6;
  font-size: 11px;
  line-height: 17px;
}

.mls-tracker-widget.is-loading .market-metrics article > strong,
.mls-tracker-widget.is-loading .market-metrics article > small {
  opacity: 0.34;
  transform: translateY(3px);
}

.mls-tracker-widget--unavailable {
  min-height: 260px;
  align-content: center;
  justify-items: start;
  padding: 28px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: var(--home-subtle);
}

.mls-tracker-widget--unavailable strong {
  max-width: 520px;
  color: var(--home-strong);
  font: 600 30px/1.08 Oswald, sans-serif;
}

.mls-tracker-widget--unavailable p {
  max-width: 560px;
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
}

.mls-tracker-widget--unavailable a {
  color: var(--home-strong);
  font-size: 12px;
  font-weight: 700;
}

.home-advisor-section {
  padding-top: 28px !important;
  border-top: 0 !important;
  background: var(--home-subtle);
}

.home-advisor-section .home-advisor-card {
  grid-template-columns: minmax(180px, 220px) minmax(260px, 1fr) minmax(310px, 360px);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border-radius: 16px;
  background: var(--home-canvas);
  box-shadow: 0 24px 58px rgba(21, 20, 20, 0.1);
}

.home-advisor-section .home-advisor-media {
  width: 100%;
  max-height: 330px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  padding: 14px 14px 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(21, 20, 20, 0.04)),
    #171816;
}

.home-advisor-section .home-advisor-media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.home-advisor-section .home-advisor-media > span {
  display: block;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
}

.home-advisor-section .home-advisor-media > span small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.home-advisor-copy {
  align-self: center;
}

.home-advisor-copy h2 {
  margin-top: 8px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.02;
}

.home-advisor-copy > p:not(.eyebrow) {
  max-width: 520px;
  font-size: 13px;
  line-height: 21px;
}

.home-advisor-selection,
.home-advisor-market {
  transition: opacity 180ms ease, transform 320ms var(--home-motion-ease);
}

.home-advisor-market {
  display: grid;
  gap: 3px;
  margin-top: 9px;
  padding: 11px 13px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
}

.home-advisor-market > span {
  color: var(--home-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.home-advisor-market > strong {
  color: var(--home-strong);
  font-size: 12px;
}

.home-advisor-market.is-refreshing,
.home-context-guidance.is-updating,
.home-advisor-selection.is-updating,
.home-path-panel.is-updating {
  opacity: 0.32;
  transform: translateY(7px);
}

.home-advisor-section .home-contact-form {
  width: 100%;
  max-width: 360px;
  justify-self: end;
  align-self: stretch;
  padding: 22px;
  border-radius: 12px;
  background: var(--home-surface);
  box-shadow: 0 14px 32px rgba(21, 20, 20, 0.07);
}

.home-contact-form__heading {
  margin-bottom: 18px;
}

.home-contact-form__heading h3 {
  margin: 6px 0 0;
  color: var(--home-strong);
  font: 600 29px/1.05 Oswald, sans-serif;
}

.home-contact-form__heading > p:last-child {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 17px;
}

.home-advisor-section .home-contact-form .form-grid {
  gap: 10px;
}

.home-advisor-section .home-contact-form input:not([type="checkbox"]):not([type="radio"]),
.home-advisor-section .home-contact-form textarea,
.home-advisor-section .home-contact-form select {
  min-height: 50px;
  border-radius: 8px;
  border-color: var(--home-border-strong);
  background: #fff;
}

.home-contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.home-contact-actions .button {
  min-height: 48px;
  display: inline-flex;
  flex: 1;
  gap: 9px;
  align-items: center;
  justify-content: center;
}

.home-contact-actions .button span {
  transition: transform 200ms var(--home-motion-ease);
}

.home-contact-actions .button:hover span,
.home-contact-actions .button:focus-visible span {
  transform: translateX(5px);
}

.home-contact-actions--split .button-secondary {
  flex: 0 0 auto;
}

.home-contact-form .google-prefill {
  margin: 0 0 14px;
}

.home-contact-form .google-prefill-button {
  max-width: 100%;
}

.home-motion-ready .home-stage .home-reveal {
  will-change: opacity, transform;
  transition:
    opacity 760ms ease,
    transform 940ms var(--home-motion-ease),
    filter 760ms ease;
}

.home-motion-ready .home-stage:not(.is-revealed) .home-reveal--from-left {
  opacity: 0;
  transform: translate3d(-46px, 16px, 0);
}

.home-motion-ready .home-stage:not(.is-revealed) .home-reveal--from-right {
  opacity: 0;
  transform: translate3d(46px, 16px, 0);
}

.home-motion-ready .home-stage.is-past-stage > .home-reveal,
.home-motion-ready .home-stage.is-past-stage > .market-context-shell,
.home-motion-ready .home-stage.is-past-stage > .home-hero__inner {
  opacity: 0.38;
  filter: saturate(0.72);
  transform: translate3d(0, -24px, 0);
}

.home-motion-ready .home-stage:focus-within > .home-reveal,
.home-motion-ready .home-stage:focus-within > .market-context-shell,
.home-motion-ready .home-stage:focus-within > .home-hero__inner,
.home-motion-ready .home-stage.is-active-stage > .home-reveal,
.home-motion-ready .home-stage.is-active-stage > .market-context-shell,
.home-motion-ready .home-stage.is-active-stage > .home-hero__inner {
  opacity: 1;
  filter: none;
  transform: none;
}

.home-motion-ready .home-hero .home-hero__copy,
.home-motion-ready .home-hero .home-hero-guide {
  transition: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.home-motion-terrace .home-hero .home-hero__copy > .eyebrow,
  html.home-motion-terrace .home-hero .home-hero__copy > h1,
  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero__lede,
  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero-search,
  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero-search-note,
  html.home-motion-terrace .home-hero .home-hero-guide__heading,
  html.home-motion-terrace .home-hero .home-quick-paths button {
    opacity: 0;
    filter: none;
    animation-fill-mode: both;
    animation-timing-function: var(--home-motion-ease);
  }

  html.home-motion-terrace .home-hero .home-hero__copy > .eyebrow {
    animation-name: terraceSoftRise;
    animation-duration: 680ms;
    animation-delay: 130ms;
  }

  html.home-motion-terrace .home-hero .home-hero__copy > h1 {
    animation-name: terraceHeadlineReveal;
    animation-duration: 1080ms;
    animation-delay: 230ms;
  }

  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero__lede {
    animation-name: terraceSoftRise;
    animation-duration: 820ms;
    animation-delay: 480ms;
  }

  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero-search {
    animation-name: terraceSoftRise;
    animation-duration: 880ms;
    animation-delay: 650ms;
  }

  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero-search-note {
    animation-name: terraceSoftRise;
    animation-duration: 700ms;
    animation-delay: 790ms;
  }

  html.home-motion-terrace .home-hero .home-hero-guide__heading {
    animation-name: terracePanelReveal;
    animation-duration: 920ms;
    animation-delay: 560ms;
  }

  html.home-motion-terrace .home-hero .home-quick-paths button:nth-child(1) {
    animation-name: terraceRailReveal;
    animation-duration: 780ms;
    animation-delay: 760ms;
  }

  html.home-motion-terrace .home-hero .home-quick-paths button:nth-child(2) {
    animation-name: terraceRailReveal;
    animation-duration: 780ms;
    animation-delay: 850ms;
  }

  html.home-motion-terrace .home-hero .home-quick-paths button:nth-child(3) {
    animation-name: terraceRailReveal;
    animation-duration: 780ms;
    animation-delay: 940ms;
  }

  html.home-motion-terrace .home-hero .home-quick-paths button:nth-child(4) {
    animation-name: terraceRailReveal;
    animation-duration: 780ms;
    animation-delay: 1030ms;
  }
}

@keyframes terraceSoftRise {
  from {
    opacity: 0;
    transform: translate3d(0, 13px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes terraceHeadlineReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 42% 0);
    transform: translate3d(-14px, 18px, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes terracePanelReveal {
  from {
    opacity: 0;
    transform: translate3d(18px, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes terraceRailReveal {
  from {
    opacity: 0;
    transform: translate3d(22px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes terraceMatchStripIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes terraceSpinner {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 981px) {
  .home-decision-page .site-header.is-compressed .primary-nav {
    min-height: 40px;
  }

  .home-decision-page .site-header.is-compressed .nav-trigger,
  .home-decision-page .site-header.is-compressed .nav-link {
    min-height: 40px;
    padding-inline: 13px;
  }
}

@media (max-width: 1120px) {
  .context-market-workspace {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .context-bento-card {
    grid-column: span 6;
  }

  .home-advisor-section .home-advisor-card {
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  }

  .home-advisor-section .home-contact-form {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    max-width: 520px;
    justify-self: center;
  }

  .home-advisor-section .home-contact-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .context-bento-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .context-market-workspace {
    padding: 18px;
  }

  .context-market-workspace__header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .context-bento-card {
    grid-column: 1 / -1;
  }

  .context-bento-card.context-choice-card--places > a {
    grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
  }

  .market-live-panel {
    padding: 18px;
  }

  .home-advisor-section .home-advisor-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .home-advisor-section .home-advisor-media {
    width: min(100%, 220px);
    max-height: 310px;
    justify-self: start;
  }

  .home-advisor-section .home-contact-form {
    grid-column: auto;
    width: min(100%, 440px);
    max-width: 440px;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .home-decision-page .site-header.is-compressed .header-top {
    min-height: 60px;
  }

  .context-bento-grid {
    gap: 14px;
  }

  .context-market-workspace {
    padding: 14px;
  }

  .context-market-workspace__header {
    gap: 4px;
    margin-bottom: 12px;
  }

  .context-market-workspace__header h3 {
    margin-top: 4px;
    font-size: 28px;
    line-height: 1;
  }

  .context-market-workspace__header p {
    display: none;
  }

  .mls-tracker-widget {
    gap: 10px;
  }

  .market-search-block,
  .market-search-control {
    gap: 6px;
  }

  .context-bento-card.context-choice-card--places > a {
    grid-template-columns: 1fr;
  }

  .context-bento-card.context-choice-card--places img {
    height: 160px;
    min-height: 0;
  }

  .market-search-row {
    grid-template-columns: minmax(0, 1fr) 88px;
    overflow: hidden;
  }

  .market-search-row input[type="search"] {
    min-height: 50px;
    padding: 0 12px;
    font-size: 14px;
  }

  .market-search-row button {
    min-width: 0;
    min-height: 50px;
    gap: 7px;
    border-radius: 0 9px 9px 0;
    font-size: 12px;
  }

  .market-search-status {
    min-height: 16px;
    font-size: 10px;
    line-height: 16px;
  }

  .market-property-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
  }

  .market-property-chips label {
    min-width: 0;
    display: flex;
  }

  .market-property-chips span {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 6px 8px;
    line-height: 1.15;
    text-align: center;
  }

  .market-live-panel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding-bottom: 12px;
  }

  .market-live-panel__header > strong {
    justify-self: end;
    padding: 6px 8px;
    font-size: 10px;
  }

  .market-live-panel__header h4 {
    margin-top: 4px;
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1;
    text-wrap: balance;
  }

  .market-live-panel {
    padding: 14px;
    border-radius: 12px;
  }

  .market-gauge {
    padding: 12px 0 10px;
  }

  .market-gauge__pointer {
    height: 12px;
  }

  .market-gauge__labels {
    gap: 4px;
    margin-top: 6px;
    font-size: 8px;
    letter-spacing: 0.3px;
  }

  .market-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .market-metrics article {
    overflow: hidden;
    min-height: 88px;
    padding: 10px;
  }

  .market-metrics article > span {
    font-size: 9px;
    line-height: 12px;
  }

  .market-metrics article > strong {
    max-width: 100%;
    margin-top: 5px;
    font-size: 23px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .market-metrics article > small {
    margin-top: 5px;
    font-size: 8px;
    line-height: 11px;
    overflow-wrap: anywhere;
  }

  .market-live-panel__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: start;
    margin-top: 12px;
  }

  .market-live-panel__footer > span,
  .market-live-panel__footer a {
    width: 100%;
    max-width: 100%;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .market-live-panel__footer > span {
    font-size: 8px;
  }

  .market-live-panel__footer a {
    justify-content: space-between;
    font-size: 10px;
  }

  .home-advisor-section {
    padding-top: 18px !important;
  }

  .home-advisor-section .home-advisor-card {
    padding: 16px;
  }

  .home-advisor-section .home-advisor-media {
    width: min(100%, 210px);
    margin: 0;
  }

  .home-advisor-copy h2 {
    font-size: 36px;
  }

  .home-advisor-section .home-contact-form {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .home-advisor-section .home-contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-actions--split {
    display: grid;
  }

  .home-motion-ready .home-stage.is-past-stage > .home-reveal,
  .home-motion-ready .home-stage.is-past-stage > .market-context-shell,
  .home-motion-ready .home-stage.is-past-stage > .home-hero__inner {
    opacity: 0.76;
    filter: none;
    transform: translate3d(0, -8px, 0);
  }
}

@media (max-width: 360px) {
  .market-live-panel__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .market-live-panel__header h4 {
    max-width: 100%;
    font-size: clamp(22px, 7.2vw, 26px);
    line-height: 1.06;
  }

  .market-live-panel__header > strong {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }

  .market-metrics article {
    padding: 9px 8px;
  }

  .market-metrics article > span {
    overflow-wrap: anywhere;
  }

  .market-metrics article > strong {
    font-size: clamp(18px, 6.2vw, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-widget-loading > span {
    animation: none;
  }

  .home-decision-page .site-header,
  .home-decision-page .site-header *,
  .market-match-strip,
  .market-gauge__pointer span,
  .home-advisor-market,
  .home-context-guidance,
  .home-advisor-selection,
  .home-path-panel {
    animation: none !important;
    transition: none !important;
  }

  html.home-motion-terrace .home-hero .home-hero__copy > *,
  html.home-motion-terrace .home-hero .home-hero-guide__heading,
  html.home-motion-terrace .home-hero .home-quick-paths button {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .home-decision-page .site-header.is-compressed .header-top {
    min-height: 48px;
    padding-block: 4px;
  }

  .home-decision-page .site-header.is-compressed .brand-headshot {
    width: 34px;
    height: 34px;
  }

  .home-decision-page .site-header.is-compressed .menu-toggle {
    width: 38px;
    height: 38px;
  }
}

/* Sticky journey restoration: the hero now has one job, while navigation remains available during scroll. */
.home-hero.home-stage {
  min-height: 620px;
  display: grid;
  align-items: center;
}

.home-hero .home-hero__inner {
  width: 100%;
  max-width: 900px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.home-hero .home-hero__copy h1 {
  max-width: 850px;
}

.home-hero .home-hero__lede {
  max-width: 720px;
}

.home-hero .home-hero-search {
  width: min(100%, 680px);
}

.home-hero-search-note {
  max-width: 660px;
}

.home-journey-nav {
  top: var(--header-offset);
  z-index: 60;
  isolation: isolate;
  box-shadow: 0 10px 24px rgba(21, 20, 20, 0.06);
  transition: top 420ms var(--home-motion-ease), box-shadow 240ms ease;
}

.home-journey-nav a {
  min-width: 0;
}

.home-stage {
  scroll-margin-top: calc(var(--header-offset) + 68px);
}

@media (max-width: 620px) {
  .home-hero.home-stage {
    min-height: 0;
  }

  .home-journey-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }

  .home-journey-nav a {
    min-height: 58px;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    padding: 6px 4px;
    text-align: center;
  }

  .home-journey-nav a strong {
    font-size: 10px;
    line-height: 12px;
  }

  .home-journey-nav a span {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .home-journey-nav a.is-active::after,
  .home-journey-nav a[aria-current="step"]::after {
    right: 14%;
    left: 14%;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .home-hero.home-stage {
    min-height: 520px;
    padding-block: 50px;
  }
}

/* Hero search: a persistent, clearly actionable surface in resting and entrance states. */
.home-hero .home-hero-search {
  overflow: hidden;
  border: 1px solid #b9bfb0;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 34px rgba(21, 20, 20, 0.11),
    0 3px 9px rgba(21, 20, 20, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 240ms ease,
    transform 240ms var(--home-motion-ease);
}

.home-hero .home-hero-search:hover {
  border-color: #979f8b;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 40px rgba(21, 20, 20, 0.14),
    0 4px 10px rgba(21, 20, 20, 0.06);
}

.home-hero .home-hero-search:focus-within {
  border-color: var(--home-accent);
  box-shadow:
    0 0 0 4px rgba(96, 108, 56, 0.14),
    0 18px 42px rgba(21, 20, 20, 0.14);
}

.home-hero .home-hero-search input {
  border-right: 1px solid var(--home-border);
  background: #fff;
  color: var(--home-strong);
  font-weight: 500;
}

.home-hero .home-hero-search input::placeholder {
  color: #6f756a;
  opacity: 1;
}

.home-hero .home-hero-search button {
  box-shadow: -1px 0 0 #000;
}

.home-motion-ready .home-hero:focus-within .home-hero__copy {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  html.home-motion-terrace .home-hero .home-hero__copy > .home-hero-search {
    animation-name: terraceSearchSettle;
  }
}

@keyframes terraceSearchSettle {
  from {
    opacity: 0.82;
    transform: translate3d(0, 10px, 0) scale(0.997);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
/* Premium compact footer: mobile prioritizes identity, contact, destinations, then disclosure. */
.footer-affiliation {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-contact-links {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px !important;
}

.footer-contact-links a {
  white-space: nowrap;
}

.footer-contact-links a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.footer-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit !important;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.footer-section-link > span {
  display: none;
}

@media (max-width: 620px) {
  .home-decision-page .site-footer {
    position: relative;
    padding: 28px 18px 22px;
    border-top: 3px solid #63713a;
    background:
      radial-gradient(circle at 100% 0, rgba(104, 119, 64, 0.18), transparent 17rem),
      #0b1f33;
  }

  .home-decision-page .footer-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    grid-auto-rows: auto;
    gap: 3px 16px;
    align-items: center;
    padding-bottom: 22px;
  }

  .home-decision-page .footer-identity,
  .home-decision-page .footer-identity > div {
    display: contents;
  }

  .home-decision-page .footer-headshot {
    display: none;
  }

  .home-decision-page .footer-brand strong {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    min-width: 0;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .home-decision-page .footer-affiliation {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .home-decision-page .footer-affiliation-separator,
  .home-decision-page .footer-affiliation > [data-hbi-agent-license] {
    display: none;
  }

  .home-decision-page .footer-brand em {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .home-decision-page .footer-brand > img {
    grid-column: 2;
    grid-row: 1 / 4;
    width: 82px;
    max-height: 48px;
    padding: 5px;
    border-radius: 10px;
  }

  .home-decision-page .footer-contact-links {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px !important;
    margin-top: 15px;
  }

  .home-decision-page .footer-contact-links a {
    min-width: 0;
    min-height: 42px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.94);
    font-size: 12.5px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .home-decision-page .footer-contact-links a > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: #d5b34b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .home-decision-page .footer-contact-links a:focus-visible {
    outline: 3px solid rgba(183, 194, 137, 0.55);
    outline-offset: 2px;
  }

  .home-decision-page .footer-taxonomy {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-decision-page .footer-taxonomy section:not(.footer-credentials) {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-decision-page .footer-taxonomy section:not(.footer-credentials) > a:not(.footer-section-link) {
    display: none;
  }

  .home-decision-page .footer-taxonomy h2 {
    margin: 0;
  }

  .home-decision-page .footer-section-link {
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.085em;
    text-decoration: none;
  }

  .home-decision-page .footer-section-link > span {
    display: inline-block;
    color: #d5b34b;
    font-size: 18px;
    font-weight: 500;
    transition: transform 180ms ease;
  }

  .home-decision-page .footer-section-link:hover > span,
  .home-decision-page .footer-section-link:focus-visible > span {
    transform: translateX(3px);
  }

  .home-decision-page .footer-section-link:focus-visible {
    outline: 3px solid rgba(183, 194, 137, 0.55);
    outline-offset: -3px;
  }

  .home-decision-page .footer-credentials {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
  }

  .home-decision-page .footer-credentials h2 {
    margin-bottom: 4px;
    color: #d5b34b;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.11em;
  }

  .home-decision-page .footer-credentials > span,
  .home-decision-page .footer-credentials > span span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.45;
  }

  .home-decision-page .footer-bottom {
    margin-top: 18px;
    gap: 8px;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    line-height: 1.55;
  }

  .home-decision-page .footer-bottom p:last-child {
    color: rgba(255, 255, 255, 0.78);
  }
}

@media (max-width: 340px) {
  .home-decision-page .site-footer {
    padding-inline: 16px;
  }

  .home-decision-page .footer-brand {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 3px 12px;
  }

  .home-decision-page .footer-brand strong {
    font-size: 18px;
  }

  .home-decision-page .footer-brand > img {
    width: 76px;
  }
}
