:root {
  --background: #f4efe7;
  --surface: rgba(250, 245, 238, 0.96);
  --surface-strong: #fffaf1;
  --text-primary: #102644;
  --text-muted: rgba(16, 38, 68, 0.72);
  --accent: #b9975b;
  --accent-deep: #8d6d38;
  --accent-contrast: #fffaf1;
  --border-subtle: rgba(16, 38, 68, 0.12);
  --shadow-soft: 0 24px 70px rgba(16, 38, 68, 0.16);
  --header-height: clamp(4.65rem, 5.8vw, 5.6rem);
  --content-width: 1180px;
  --wide-width: min(calc(100% - (var(--gutter) * 2)), 1520px);
  --content-max: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
  --gutter: clamp(1.2rem, 3vw, 2.5rem);
  --display-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(185, 151, 91, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f2ea 0%, #f3ece3 48%, #eee6da 100%);
  color: var(--text-primary);
  font-family: var(--body-font);
}

body.site-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

.page-shell {
  position: relative;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(248, 243, 235, 0.98) 0%, rgba(248, 243, 235, 0.9) 100%);
  border-bottom: 1px solid rgba(16, 38, 68, 0.08);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: var(--wide-width);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 0;
}

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

.site-brand-image {
  width: clamp(21rem, 34.5vw, 30rem);
  height: auto;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.85rem);
}

.header-menu a,
.header-cta {
  padding: 0.72rem 0;
  color: rgba(16, 38, 68, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.header-menu a {
  border-bottom: 1px solid transparent;
}

.header-menu a:hover,
.header-menu a:focus-visible,
.header-menu a[aria-current="page"] {
  color: var(--text-primary);
  border-color: rgba(185, 151, 91, 0.48);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid rgba(16, 38, 68, 0.14);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.62);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: rgba(255, 250, 241, 0.88);
  border-color: rgba(185, 151, 91, 0.38);
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  min-height: 2.85rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(16, 38, 68, 0.14);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--text-primary);
}

.site-menu-toggle-bars,
.site-menu-toggle-bars::before,
.site-menu-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.site-menu-toggle-bars {
  position: relative;
}

.site-menu-toggle-bars::before,
.site-menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-menu-toggle-bars::before {
  top: -0.32rem;
}

.site-menu-toggle-bars::after {
  top: 0.32rem;
}

.site-menu-open .site-menu-toggle-bars {
  background: transparent;
}

.site-menu-open .site-menu-toggle-bars::before {
  transform: translateY(0.32rem) rotate(45deg);
}

.site-menu-open .site-menu-toggle-bars::after {
  transform: translateY(-0.32rem) rotate(-45deg);
}

.home-hero {
  position: relative;
  min-height: clamp(34rem, calc(100svh - var(--header-height) - 2.5rem), 45rem);
  display: flex;
  align-items: end;
  padding:
    clamp(4rem, 7vw, 6rem)
    var(--gutter)
    clamp(3.2rem, 6vw, 4.75rem);
  color: #fffaf1;
  isolation: isolate;
  overflow: hidden;
  background: #101d31;
}

.home-hero-media,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  overflow: hidden;
}

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

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 18, 31, 0.86) 0%, rgba(8, 18, 31, 0.62) 36%, rgba(8, 18, 31, 0.24) 68%, rgba(8, 18, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 18, 31, 0.18) 0%, rgba(8, 18, 31, 0.44) 100%);
}

.home-hero-inner,
.home-paths,
.home-advisor,
.faq-section,
.coming-soon-section,
.contact-section,
.guide-hero,
.guide-proof,
.guide-links {
  width: var(--content-max);
  margin: 0 auto;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
}

.home-hero-copy {
  max-width: 34rem;
}

.home-hero-kicker,
.home-section-kicker {
  margin: 0 0 1rem;
  color: rgba(16, 38, 68, 0.6);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero-kicker {
  color: rgba(255, 250, 241, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.96;
  text-wrap: balance;
}

.home-hero h1 {
  max-width: 11.6ch;
  color: #fffaf1;
  font-size: clamp(3.1rem, 5.35vw, 5.35rem);
}

.home-section-heading h2,
.home-advisor-copy h2,
.faq-section h2,
.contact-copy h2,
.guide-hero-copy h1,
.guide-proof h2,
.guide-links h2 {
  color: var(--text-primary);
  font-size: clamp(2.45rem, 4.4vw, 4.35rem);
}

.guide-hero-copy h1 {
  max-width: 12ch;
}

.home-hero-summary,
.home-section-summary,
.home-path-item p,
.home-advisor-copy p,
.faq-hub-card p,
.soon-item p,
.contact-copy p,
.guide-hero-copy p,
.guide-proof article p,
.footer-contact p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.home-hero-summary {
  max-width: 32rem;
  margin-top: 1.15rem;
  color: rgba(255, 250, 241, 0.84);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.home-hero-actions,
.home-advisor-actions,
.home-footer-contact-links,
.direct-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.home-hero-actions {
  align-items: center;
  margin-top: 1.45rem;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.86rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.home-button:hover,
.home-button:focus-visible,
.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
}

.home-button-primary,
.home-button-gold {
  background: linear-gradient(135deg, #c9a567 0%, #9a7537 100%);
  color: var(--accent-contrast);
}

.home-button-primary:hover,
.home-button-gold:hover,
.home-button-primary:focus-visible,
.home-button-gold:focus-visible {
  background: linear-gradient(135deg, #d0af75 0%, #a57f41 100%);
}

.home-button-secondary {
  border-color: rgba(255, 250, 241, 0.28);
  background: rgba(255, 250, 241, 0.08);
  color: #fffaf1;
}

.home-button-light {
  border-color: rgba(16, 38, 68, 0.14);
  background: rgba(255, 250, 241, 0.82);
  color: var(--text-primary);
}

.home-inline-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(185, 151, 91, 0.46);
  text-underline-offset: 0.22rem;
}

.home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 1.25rem;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-hero-proof span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.85rem;
  margin-left: 1rem;
  vertical-align: middle;
  background: rgba(255, 250, 241, 0.26);
}

.home-paths,
.home-advisor,
.faq-section,
.coming-soon-section,
.contact-section,
.guide-proof,
.guide-links {
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
}

.home-section-heading,
.faq-hero-copy {
  display: grid;
  gap: 0.8rem;
  max-width: 43rem;
  margin-bottom: 2rem;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 38, 68, 0.1);
  border-bottom: 1px solid rgba(16, 38, 68, 0.1);
}

.home-path-item {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  min-height: 15.5rem;
  padding: 1.5rem 1.6rem 1.7rem 0;
}

.home-search-path-card {
  align-content: space-between;
}

.home-path-item + .home-path-item {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(16, 38, 68, 0.08);
}

.home-path-label,
.faq-hub-label,
.soon-item span {
  margin: 0;
  color: rgba(16, 38, 68, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-path-item h3,
.faq-hub-card h3,
.soon-item strong,
.guide-proof article h3,
.resource-column h3 {
  color: var(--text-primary);
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.home-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.15rem;
}

.home-path-actions .home-button {
  min-height: 2.85rem;
  padding: 0.78rem 1rem;
}

.custom-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(1.4rem, 3.6vw, 3rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border: 1px solid rgba(16, 38, 68, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.95) 0%, rgba(247, 239, 228, 0.88) 100%);
  box-shadow: 0 22px 52px rgba(16, 38, 68, 0.08);
  scroll-margin-top: 7rem;
}

.custom-search-copy {
  display: grid;
  gap: 0.8rem;
}

.custom-search-copy h3 {
  margin: 0;
  max-width: 11ch;
  color: var(--text-primary);
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.custom-search-copy p {
  margin: 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.inner-page-main {
  padding-top: clamp(1.8rem, 3vw, 2.6rem);
}

.custom-search-page-section {
  width: var(--content-max);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto clamp(3rem, 6vw, 4.5rem);
}

.page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  margin-top: 0.65rem;
}

.home-advisor {
  display: grid;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(16, 38, 68, 0.08);
}

.guide-hero {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(16, 38, 68, 0.08);
}

.home-advisor-media,
.guide-hero-media {
  overflow: hidden;
  margin: 0;
  border-radius: 0.9rem;
  background: rgba(16, 38, 68, 0.08);
}

.home-advisor-media img,
.guide-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
}

.home-advisor-media img {
  object-position: center top;
}

.guide-hero {
  padding-top: clamp(2.2rem, 4vw, 3.5rem);
}

.guide-hero-media img {
  object-position: center;
}

.guide-hero-media-wide img {
  min-height: 0;
  aspect-ratio: 13 / 8;
  object-fit: cover;
}

.home-advisor-copy,
.guide-hero-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(16, 38, 68, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  color: var(--text-primary);
  box-shadow: 0 10px 24px rgba(16, 38, 68, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.home-brokerage-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(16, 38, 68, 0.08);
}

.home-brokerage-mark span {
  color: rgba(16, 38, 68, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-brokerage-mark img {
  width: clamp(7rem, 16vw, 10rem);
  height: auto;
}

.faq-section,
.coming-soon-section,
.guide-proof,
.guide-links {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(16, 38, 68, 0.08);
}

.faq-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.faq-counts span {
  padding: 0.56rem 0.75rem;
  border: 1px solid rgba(16, 38, 68, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  color: rgba(16, 38, 68, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
}

.faq-hub-grid,
.coming-soon-grid,
.guide-proof-grid,
.resource-grid {
  display: grid;
  gap: 1rem;
}

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

.faq-detail-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

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

.faq-hub-card,
.faq-list-card,
.soon-item,
.guide-proof article,
.resource-column {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid rgba(16, 38, 68, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 250, 241, 0.68);
}

.faq-list-card {
  gap: 1rem;
  scroll-margin-top: 7rem;
}

.faq-list-card > h3 {
  margin: 0;
  max-width: 18ch;
  color: var(--text-primary);
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.faq-counts a {
  padding: 0.56rem 0.75rem;
  border: 1px solid rgba(16, 38, 68, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  color: rgba(16, 38, 68, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.faq-counts a:hover {
  border-color: rgba(185, 151, 91, 0.58);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.faq-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(16, 38, 68, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.94) 0%, rgba(247, 239, 228, 0.82) 100%);
  box-shadow: 0 22px 52px rgba(16, 38, 68, 0.07);
}

.faq-preview-card .home-button {
  min-width: 9rem;
}

.faq-item {
  border-top: 1px solid rgba(16, 38, 68, 0.11);
  padding-top: 1rem;
}

.faq-item summary {
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
}

.faq-item summary::marker {
  color: var(--accent-deep);
}

.faq-item p {
  margin: 0.7rem 0 0;
  max-width: 62rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.soon-item {
  min-height: 12rem;
}

.soon-item span {
  color: var(--accent-deep);
}

.guide-proof article a,
.resource-column a {
  width: fit-content;
  color: var(--text-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(185, 151, 91, 0.46);
  text-underline-offset: 0.22rem;
}

.resource-column a + a {
  margin-top: -0.15rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(3rem, 6vw, 4.75rem);
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.direct-contact-links {
  margin-top: 0.4rem;
}

.direct-contact-links a {
  color: var(--text-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(185, 151, 91, 0.46);
  text-underline-offset: 0.22rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(16, 38, 68, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 22px 48px rgba(16, 38, 68, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.contact-form label span {
  color: rgba(16, 38, 68, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(16, 38, 68, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  padding: 0.9rem 1rem;
  box-shadow: none;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(16, 38, 68, 0.7) 50%),
    linear-gradient(135deg, rgba(16, 38, 68, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 50%,
    calc(100% - 0.82rem) 50%;
  background-size: 0.38rem 0.38rem, 0.38rem 0.38rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(185, 151, 91, 0.64);
  box-shadow: 0 0 0 3px rgba(185, 151, 91, 0.12);
}

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

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

.honeypot {
  display: none;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(18rem, 1fr) auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
  padding: 2.2rem var(--gutter) 2.6rem;
  background: rgba(250, 245, 238, 0.96);
}

.home-footer-logo {
  width: min(17rem, 100%);
  height: auto;
}

.home-footer-contact-links {
  margin-top: 1rem;
}

.footer-contact {
  min-width: 0;
  max-width: 30rem;
}

.footer-social-links {
  margin-top: 1rem;
}

.home-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  justify-self: end;
  width: auto;
  min-width: 11rem;
}

.home-footer-links a {
  color: rgba(16, 38, 68, 0.82);
  font-weight: 600;
}

.toast {
  position: fixed;
  right: var(--gutter);
  bottom: 1.2rem;
  z-index: 40;
  max-width: min(25rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 0.7rem;
  background: #101d31;
  color: #fff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.toast.has-action {
  pointer-events: auto;
}

.toast a {
  display: inline-block;
  margin-left: 0.5rem;
  color: #f8dca8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.home-button:focus-visible,
.site-menu-toggle:focus-visible,
.header-menu a:focus-visible,
.header-cta:focus-visible,
.toast a:focus-visible,
.home-inline-link:focus-visible,
.direct-contact-links a:focus-visible,
.home-path-item:focus-visible,
.resource-column a:focus-visible,
.guide-proof article a:focus-visible {
  outline: 2px solid rgba(185, 151, 91, 0.72);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .home-path-grid,
  .home-advisor,
  .contact-section,
  .custom-search-panel,
  .faq-preview-card,
  .guide-hero,
  .home-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-path-item,
  .home-path-item + .home-path-item {
    min-height: auto;
    padding: 1.3rem 0;
    border-left: 0;
  }

  .home-path-item + .home-path-item {
    border-top: 1px solid rgba(16, 38, 68, 0.08);
  }

  .home-path-actions .home-button {
    width: fit-content;
  }

  .faq-hub-grid,
  .coming-soon-grid,
  .guide-proof-grid,
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-advisor-media img,
  .guide-hero-media img {
    min-height: 28rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    overflow: visible;
  }

  .site-header-inner {
    position: relative;
    width: 100%;
    display: block;
    padding: 0.85rem var(--gutter);
  }

  .site-brand-image {
    width: clamp(12.5rem, 54vw, 17rem);
  }

  .site-menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: var(--gutter);
    transform: translateY(-50%);
    margin-left: 0;
    width: 2.7rem;
    min-height: 2.7rem;
  }

  .header-actions {
    position: absolute;
    top: calc(100% - 1px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem 0 0.5rem;
    background:
      linear-gradient(180deg, rgba(247, 239, 228, 0.98) 0%, rgba(247, 239, 228, 0.96) 100%);
    border-top: 1px solid rgba(16, 38, 68, 0.08);
  }

  .header-actions.is-open {
    display: flex;
  }

  .header-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .header-menu a {
    width: 100%;
    padding: 0.7rem 0;
  }

  .header-cta {
    width: fit-content;
  }

  .home-hero {
    min-height: 39rem;
    padding-top: clamp(4rem, 13vw, 5.5rem);
  }

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

@media (max-width: 640px) {
  .home-hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 3.2rem;
  }

  .home-hero-media img {
    height: 118%;
    object-position: center 58%;
    transform: translateY(-9%);
  }

  .home-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 18, 31, 0.48) 0%, rgba(8, 18, 31, 0.58) 36%, rgba(8, 18, 31, 0.78) 100%);
  }

  .home-hero-copy,
  .home-hero-summary {
    max-width: none;
  }

  .home-hero-actions,
  .home-advisor-actions,
  .home-path-actions,
  .page-intro-actions,
  .home-footer-contact-links,
  .direct-contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-actions .home-button,
  .home-advisor-actions .home-button,
  .home-path-actions .home-button,
  .page-intro-actions .home-button,
  .header-cta,
  .submit-button {
    width: 100%;
  }

  .form-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-proof {
    display: grid;
    gap: 0.55rem;
  }

  .home-hero-proof span:not(:last-child)::after {
    display: none;
  }

  .home-section-heading h2,
  .home-advisor-copy h2,
  .faq-section h2,
  .contact-copy h2,
  .guide-hero-copy h1,
  .guide-proof h2,
  .guide-links h2 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .home-path-item h3,
  .faq-hub-card h3,
  .soon-item strong,
  .guide-proof article h3,
  .resource-column h3 {
    font-size: clamp(1.7rem, 8.8vw, 2.25rem);
  }

  .home-advisor-media img,
  .guide-hero-media img {
    min-height: 23rem;
  }

  .home-footer-links {
    justify-self: start;
  }
}

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