:root {
  --midnight: #071a2d;
  --navy: #0b2238;
  --blue-ink: #173b58;
  --gold: #c99a3d;
  --gold-bright: #e2b95f;
  --ivory: #f7f1e7;
  --warm-white: #fffbf4;
  --line: rgba(201, 154, 61, 0.3);
  --ink: #172332;
  --muted: #5d6772;
  --soft: #edf1f4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(226, 185, 95, 0.55);
}

a:hover {
  color: var(--gold-bright);
}

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

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

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--warm-white);
  color: var(--midnight);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(201, 154, 61, 0.18);
  background: rgba(7, 26, 45, 0.7);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 26, 45, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.header-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
  text-decoration: none;
}

.brand-link img {
  width: 250px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex: 1;
}

.nav-links,
.nav-actions,
.hero-actions,
.cta-actions,
.center-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-links {
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -1rem;
  left: -1rem;
  height: 0.85rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: rgba(255, 251, 244, 0.84);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold-bright);
  transition: transform 160ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--gold-bright);
}

.nav-parent {
  padding-right: 0.9rem;
}

.nav-parent::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.05rem;
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
  transform: translateY(-62%) rotate(45deg);
}

.nav-submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.55rem);
  left: 50%;
  display: grid;
  min-width: 220px;
  gap: 0.2rem;
  border: 1px solid rgba(226, 185, 95, 0.28);
  border-radius: 8px;
  background: rgba(7, 26, 45, 0.98);
  padding: 0.55rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.nav-submenu-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-radius: 6px;
  color: rgba(255, 251, 244, 0.84);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
  padding: 0.58rem 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-submenu-link:hover,
.nav-submenu-link.is-active {
  background: rgba(226, 185, 95, 0.12);
  color: var(--gold-bright);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 185, 95, 0.38);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.06);
  color: var(--warm-white);
  padding: 0;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--midnight);
  box-shadow: 0 16px 36px rgba(201, 154, 61, 0.25);
}

.button-outline {
  border-color: rgba(226, 185, 95, 0.5);
  background: rgba(255, 251, 244, 0.05);
  color: var(--warm-white);
}

.section:not(.section-navy) .button-outline {
  border-color: rgba(7, 26, 45, 0.26);
  background: rgba(7, 26, 45, 0.04);
  color: var(--midnight);
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 138px 0 58px;
  background:
    linear-gradient(110deg, rgba(7, 26, 45, 0.98) 0%, rgba(11, 34, 56, 0.88) 48%, rgba(23, 59, 88, 0.72) 100%),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=2200&q=80") center/cover;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 26, 45, 0.98), rgba(11, 34, 56, 0.96) 48%, rgba(16, 47, 74, 0.96)),
    repeating-linear-gradient(90deg, rgba(226, 185, 95, 0.06) 0 1px, transparent 1px 96px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.04), transparent 38%),
    linear-gradient(90deg, transparent, rgba(201, 154, 61, 0.08), transparent);
}

.hero-shell,
.page-hero-shell,
.section-shell,
.footer-shell,
.footer-bottom,
.trust-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.page-hero-shell {
  position: relative;
  min-height: 470px;
  padding: 150px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: center;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 7vw, 4rem);
}

.page-hero p {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: rgba(247, 241, 231, 0.86);
  font-size: 1.08rem;
}

.page-hero .hero-actions {
  margin-top: 2rem;
}

.page-hero-mark {
  justify-self: end;
  max-width: 100%;
  opacity: 0.55;
  text-align: center;
}

.page-hero-mark img {
  max-height: 220px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.6rem);
}

h3 {
  font-size: 1.7rem;
}

.hero-lede {
  max-width: 700px;
  margin: 1.35rem 0 1.8rem;
  color: rgba(255, 251, 244, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.compliance-note {
  max-width: 760px;
  color: rgba(255, 251, 244, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-visual {
  justify-self: end;
}

.portrait-arch,
.brand-plate,
.team-hero-person,
.metric-panel,
.contact-card,
.widget-panel {
  border: 1px solid rgba(226, 185, 95, 0.25);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-arch {
  width: min(430px, 100%);
  aspect-ratio: 558 / 742;
}

.portrait-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero-visual {
  width: min(540px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.team-hero-person {
  margin: 0;
  background: #071a2d;
}

.team-hero-person:nth-child(2) {
  transform: translateY(2rem);
}

.team-hero-person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-hero-person figcaption {
  min-height: 92px;
  padding: 0.85rem;
  background: var(--warm-white);
  color: var(--navy);
}

.team-hero-person strong,
.team-hero-person span {
  display: block;
}

.team-hero-person strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.team-hero-person span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-plate {
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.brand-plate img {
  width: 240px;
  margin: 0 auto 1rem;
}

.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b2238;
}

.trust-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 0.8rem 0;
}

.trust-shell span {
  border: 1px solid rgba(226, 185, 95, 0.28);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  color: rgba(255, 251, 244, 0.78);
  font-size: 0.78rem;
  font-weight: 650;
}

.section {
  background: var(--warm-white);
  color: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-navy {
  background: var(--navy);
  color: var(--ivory);
}

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

.section-intro {
  max-width: 820px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-intro-left {
  margin-left: 0;
  text-align: left;
}

.section-intro p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-navy .section-intro p {
  color: rgba(255, 251, 244, 0.72);
}

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

.card-grid-center-last > :last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.community-grid,
.guide-grid,
.tool-grid,
.neighborhood-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  display: block;
  min-height: 220px;
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 1.35rem;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
}

.section-navy .info-card {
  border-color: rgba(226, 185, 95, 0.24);
  background: rgba(255, 251, 244, 0.06);
  color: var(--ivory);
}

.info-card p {
  color: var(--muted);
}

.section-navy .info-card p {
  color: rgba(255, 251, 244, 0.72);
}

.info-card-link:hover {
  transform: translateY(-2px);
  color: inherit;
}

.review-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-score-card,
.review-card {
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
}

.review-score-card {
  display: grid;
  align-content: center;
  min-height: 180px;
  padding: 1.35rem;
}

.review-score-card span {
  color: var(--midnight);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.2rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.88;
}

.review-score-card strong {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.review-score-card p,
.review-card p,
.review-summary-copy p {
  color: var(--muted);
}

.review-summary-copy {
  border: 1px solid rgba(201, 154, 61, 0.24);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.7);
  padding: 1.35rem;
}

.review-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.review-theme-list span {
  border: 1px solid rgba(201, 154, 61, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--blue-ink);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
  padding: 0.45rem 0.7rem;
}

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

.review-card {
  padding: 1.25rem;
}

.review-card blockquote {
  margin: 1rem 0;
  color: var(--midnight);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.05;
}

.reviews-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

.card-kicker,
.card-link-text,
.metric-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.split-shell,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-section {
  padding-top: clamp(4rem, 7vw, 6rem);
}

.contact-shell {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
}

.contact-cards {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.contact-cards article {
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 1.1rem;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.06);
}

.contact-cards p {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-cards a {
  color: var(--midnight);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
}

.contact-compliance-note,
.form-disclaimer {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

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

.team-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.team-card:focus-within,
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(7, 26, 45, 0.12);
}

.team-card-body,
.team-photo {
  position: relative;
}

.team-card-body {
  z-index: 2;
}

.team-photo {
  z-index: 0;
}

.team-card-compact {
  grid-template-columns: 160px minmax(0, 1fr);
}

.team-photo {
  min-height: 100%;
  background: var(--midnight);
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  padding: 1.35rem;
}

.team-card-body p {
  margin: 0;
  color: var(--muted);
}

.team-card-body .team-credentials {
  color: var(--midnight);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-card h3 a {
  color: var(--midnight);
  text-decoration-color: rgba(201, 154, 61, 0.4);
  text-decoration-thickness: 1px;
}

.team-card h3 a:hover {
  color: var(--gold);
}

.team-license-list,
.team-contact-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.team-license-list span,
.team-contact-actions a,
.mini-note {
  position: relative;
  z-index: 3;
  border: 1px solid rgba(201, 154, 61, 0.24);
  border-radius: 8px;
  background: rgba(201, 154, 61, 0.08);
  padding: 0.45rem 0.62rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.team-contact-actions a:hover {
  color: var(--midnight);
  background: rgba(226, 185, 95, 0.24);
}

.profile-hero .hero-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
}

.profile-portrait {
  margin: 0;
  border: 1px solid rgba(226, 185, 95, 0.28);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.profile-portrait figcaption {
  padding: 1rem;
  background: rgba(7, 26, 45, 0.92);
}

.profile-portrait strong,
.profile-portrait span {
  display: block;
}

.profile-portrait strong {
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.profile-portrait span {
  margin-top: 0.35rem;
  color: rgba(255, 251, 244, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.profile-license-panel {
  border-radius: 8px;
}

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

.designation-card {
  display: grid;
  grid-template-rows: 124px 1fr;
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
}

.designation-logo {
  display: grid;
  place-items: center;
  min-height: 124px;
  border-bottom: 1px solid rgba(23, 35, 50, 0.08);
  background: linear-gradient(180deg, #fff, #f7f1e7);
  padding: 1rem;
}

.designation-logo img {
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.designation-fallback {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(201, 154, 61, 0.28);
  border-radius: 50%;
  background: var(--midnight);
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.designation-card-body {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.2rem;
}

.designation-card h3 a {
  color: inherit;
  text-decoration-thickness: 1px;
}

.designation-card p {
  margin: 0;
  color: var(--muted);
}

.designation-card strong {
  color: var(--ink);
}

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

.affiliation-card {
  min-height: 230px;
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
}

.affiliation-card span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 58px;
  border: 1px solid rgba(201, 154, 61, 0.28);
  border-radius: 50%;
  background: var(--midnight);
  color: var(--gold-bright);
  font-weight: 850;
}

.affiliation-card h3 {
  margin-top: 1rem;
}

.affiliation-card p {
  color: var(--muted);
}

.community-region {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.community-region:first-of-type {
  margin-top: 0;
}

.community-card .card-kicker {
  line-height: 1.4;
}

.neighborhood-card {
  min-height: 280px;
}

.mini-note {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.mini-note strong {
  color: var(--ink);
}

.metric-panel,
.contact-card {
  padding: 1.4rem;
  background: var(--midnight);
  color: var(--ivory);
}

.metric-panel div {
  border-top: 1px solid rgba(226, 185, 95, 0.24);
  padding: 1rem 0;
}

.metric-panel strong,
.metric-panel span {
  display: block;
}

.metric-panel span {
  color: rgba(255, 251, 244, 0.7);
}

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

.timeline-item {
  border-left: 1px solid rgba(201, 154, 61, 0.5);
  padding: 0 0 0 1rem;
}

.timeline-item span,
.guide-block span {
  color: var(--gold);
  font-weight: 850;
}

.timeline-item p,
.guide-block p,
.legal-copy p {
  color: var(--muted);
}

.search-widget-section {
  overflow: visible;
}

.widget-panel {
  min-height: 86px;
  margin: 1rem auto 0;
  padding: 1.2rem;
  border-color: rgba(226, 185, 95, 0.28);
  background: rgba(255, 251, 244, 0.055);
  color: var(--ivory);
}

.widget-results {
  min-height: 520px;
}

.YLOPO_searchWidget,
.YLOPO_resultsWidget,
.YLOPO_marketTrendsWidget {
  min-height: 64px;
}

.widget-panel .YLOPO-widget {
  color: var(--ivory);
  font-family: "Inter", system-ui, sans-serif;
}

.widget-panel .YLOPO-widget input,
.widget-panel .YLOPO-widget select,
.widget-panel .YLOPO-widget textarea {
  border-color: rgba(7, 26, 45, 0.22) !important;
  border-radius: 8px !important;
  background: var(--warm-white) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.widget-panel .YLOPO-widget button,
.widget-panel .YLOPO-widget .simple-button,
.widget-panel .YLOPO-widget .registration-squeeze-submit-button,
.widget-panel .YLOPO-widget .registration-squeeze-question button {
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)) !important;
  color: var(--midnight) !important;
  font-weight: 800 !important;
}

.widget-panel .YLOPO-widget .favorite-icon-wrapper {
  border-color: var(--gold) !important;
}

.widget-panel .YLOPO-widget .gallery-card-b,
.widget-panel .YLOPO-widget .grid-view-item,
.widget-panel .YLOPO-widget .listing-card,
.widget-panel .YLOPO-widget .widget-gallery-container a {
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--ink) !important;
  overflow: hidden;
}

.widget-panel .YLOPO-widget .widget-gallery-container {
  color: var(--ink) !important;
}

.widget-panel .YLOPO-widget .listing-card *,
.widget-panel .YLOPO-widget .grid-view-item *,
.widget-panel .YLOPO-widget .gallery-card-b *,
.widget-panel .YLOPO-widget .widget-gallery-container * {
  color: var(--ink) !important;
}

.widget-panel .YLOPO-widget .listing-status-with-overlay-flag,
.widget-panel .YLOPO-widget .full-background-img .flag,
.widget-panel .YLOPO-widget .main-color-background {
  background: var(--midnight) !important;
  color: var(--gold-bright) !important;
}

.widget-panel .YLOPO-widget .listing-status-with-overlay-flag *,
.widget-panel .YLOPO-widget .full-background-img .flag *,
.widget-panel .YLOPO-widget .main-color-background * {
  color: inherit !important;
}

.center-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details {
  border-top: 1px solid rgba(23, 35, 50, 0.16);
  padding: 1rem 0;
}

details:last-child {
  border-bottom: 1px solid rgba(23, 35, 50, 0.16);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
}

.narrow-shell {
  max-width: 880px;
}

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

.guide-feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  min-height: 310px;
  border: 1px solid rgba(23, 35, 50, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guide-feature-card:hover {
  transform: translateY(-2px);
  color: var(--ink);
  box-shadow: 0 24px 55px rgba(7, 26, 45, 0.12);
}

.guide-card-image {
  min-height: 100%;
  background: var(--midnight);
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.guide-card-copy {
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: 1.3rem;
}

.guide-card-copy p {
  margin: 0;
  color: var(--muted);
}

.guide-visual-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
}

.guide-photo-panel {
  min-height: 420px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.08);
}

.guide-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-diagram {
  display: grid;
  align-content: center;
  gap: 1rem;
  border-radius: 8px;
  background: var(--midnight);
  color: var(--ivory);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.guide-diagram h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.guide-step-flow {
  display: grid;
  gap: 0.7rem;
}

.guide-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border-top: 1px solid rgba(226, 185, 95, 0.24);
  padding-top: 0.72rem;
}

.guide-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(226, 185, 95, 0.12);
  color: var(--gold-bright);
  font-weight: 850;
}

.guide-step strong {
  color: var(--ivory);
  font-size: 1rem;
}

.guide-block {
  border-top: 1px solid rgba(23, 35, 50, 0.14);
  padding: 1.4rem 0;
}

.guide-detail .section-intro {
  margin-bottom: 1.4rem;
}

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

.guide-resource-grid article {
  border: 1px solid rgba(226, 185, 95, 0.24);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.06);
  padding: 1.35rem;
}

.guide-resource-grid h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.guide-resource-grid ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.guide-resource-grid li {
  margin: 0.55rem 0;
  color: rgba(255, 251, 244, 0.76);
}

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

.guide-related-grid .guide-feature-card {
  grid-template-columns: 1fr;
}

.guide-related-grid .guide-card-image img {
  min-height: 190px;
  aspect-ratio: 16 / 9;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  scroll-margin-top: 112px;
  border: 1px solid rgba(201, 154, 61, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(255, 248, 237, 0.94)),
    var(--warm-white);
  padding: clamp(1.25rem, 2.8vw, 1.75rem);
  box-shadow: 0 26px 70px rgba(7, 26, 45, 0.14);
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), rgba(201, 154, 61, 0.22));
}

.contact-form-head {
  display: grid;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(201, 154, 61, 0.24);
  margin-bottom: 0.15rem;
  padding-bottom: 1rem;
}

.contact-form-head .eyebrow {
  margin: 0;
}

.contact-form-head h2 {
  margin: 0;
  color: var(--midnight);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.contact-form-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 750;
}

.contact-form label span {
  color: var(--blue-ink);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid rgba(23, 35, 50, 0.2);
  border-radius: 8px;
  background-color: var(--warm-white);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.35;
  padding: 0.74rem 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input,
.contact-form select {
  height: 48px;
}

.contact-form select {
  padding-right: 2.65rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue-ink) 50%),
    linear-gradient(135deg, var(--blue-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 52%,
    calc(100% - 0.82rem) 52%;
  background-repeat: no-repeat;
  background-size: 0.34rem 0.34rem, 0.34rem 0.34rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(23, 35, 50, 0.42);
  font-weight: 650;
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(201, 154, 61, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(226, 185, 95, 0.18);
  outline: none;
}

.contact-form textarea {
  min-height: 152px;
  padding-top: 0.9rem;
  resize: vertical;
}

.turnstile-wrap {
  width: 100%;
  min-height: 70px;
}

.turnstile-wrap .cf-turnstile {
  width: 100%;
}

.contact-form button {
  width: 100%;
  min-height: 54px;
  font-size: 0.98rem;
}

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

.form-assurance-grid span {
  border: 1px solid rgba(201, 154, 61, 0.24);
  border-radius: 8px;
  background: rgba(201, 154, 61, 0.09);
  color: var(--midnight);
  padding: 0.62rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.form-status {
  min-height: 1.35rem;
  margin: 0;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #206c3d;
}

.form-status[data-state="error"] {
  color: #9b1c1c;
}

.form-status[data-state="pending"] {
  color: var(--gold);
}

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

.legal-section {
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(247, 241, 231, 0.86)),
    var(--ivory);
}

.legal-meta {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(201, 154, 61, 0.32);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.84);
  color: var(--gold);
  padding: 0.48rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.legal-block {
  border: 1px solid rgba(201, 154, 61, 0.24);
  border-radius: 8px;
  background: rgba(255, 251, 244, 0.82);
  margin-bottom: 1rem;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  box-shadow: 0 16px 44px rgba(23, 35, 50, 0.08);
}

.legal-block h2 {
  margin: 0 0 0.75rem;
  color: var(--midnight);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.12;
}

.legal-block p,
.legal-block li {
  color: var(--muted);
}

.legal-block p {
  margin: 0;
  line-height: 1.72;
}

.legal-block p + p {
  margin-top: 0.72rem;
}

.legal-block ul {
  display: grid;
  gap: 0.52rem;
  margin: 0.9rem 0 0;
  padding-left: 1.18rem;
}

.legal-block li {
  line-height: 1.62;
  padding-left: 0.14rem;
}

.legal-block li::marker {
  color: var(--gold);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 154, 61, 0.35);
  border-radius: 8px;
  color: var(--midnight);
  padding: 0.58rem 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.legal-links a:hover {
  border-color: rgba(201, 154, 61, 0.72);
  color: var(--gold);
}

.site-footer {
  background: #061523;
  color: rgba(255, 251, 244, 0.78);
  padding: 3.5rem 0 1.4rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand img {
  width: 260px;
  margin-bottom: 1rem;
}

.footer-column h2 {
  margin: 0 0 0.8rem;
  color: var(--gold-bright);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column p,
.footer-brand p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
}

.footer-contact-line span,
.footer-nowrap {
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(226, 185, 95, 0.18);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: 0.82rem;
}

.footer-bottom div {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .mobile-menu-button {
    display: inline-block;
  }

  body.nav-open .site-header {
    bottom: 0;
    height: 100dvh;
    min-height: 100vh;
  }

  .site-nav {
    position: absolute;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: stretch;
    gap: 1.2rem;
    flex: none;
    background: rgba(7, 26, 45, 0.98);
    padding: 1rem 24px 2rem;
    overflow-y: auto;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .nav-links,
  .nav-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    gap: 0.35rem;
  }

  .nav-item {
    display: grid;
    width: 100%;
  }

  .nav-item-has-submenu::after {
    display: none;
  }

  .nav-link,
  .nav-actions .button {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
  }

  .nav-parent {
    padding-right: 0;
  }

  .nav-parent::before {
    display: none;
  }

  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin: -0.1rem 0 0.35rem 0.8rem;
    border: 0;
    border-left: 1px solid rgba(226, 185, 95, 0.28);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    padding: 0 0 0 0.55rem;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-submenu-link {
    min-height: 42px;
    white-space: normal;
  }

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

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

  .guide-feature-grid,
  .guide-related-grid,
  .guide-visual-shell,
  .guide-resource-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 860px) {
  .header-shell,
  .hero-shell,
  .page-hero-shell,
  .section-shell,
  .footer-shell,
  .footer-bottom,
  .trust-shell {
    width: min(100% - 32px, var(--max));
  }

  .brand-link {
    min-width: 0;
  }

  .brand-link img {
    width: 210px;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .page-hero-shell {
    min-height: auto;
    padding: 132px 0 72px;
    grid-template-columns: 1fr;
  }

  .page-hero-mark {
    justify-self: center;
    opacity: 0.42;
  }

  .hero-shell,
  .page-hero-shell,
  .split-shell,
  .contact-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .card-grid,
  .community-grid,
  .guide-grid,
  .tool-grid,
  .neighborhood-grid,
  .review-overview,
  .review-grid,
  .form-grid,
  .team-grid,
  .designation-grid,
  .affiliation-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .card-grid-center-last > :last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .team-card,
  .team-card-compact,
  .guide-feature-card {
    grid-template-columns: 1fr;
  }

  .guide-card-image img {
    min-height: 230px;
  }

  .guide-photo-panel {
    min-height: 260px;
  }

  .team-photo img {
    min-height: 420px;
  }

  .profile-hero .hero-shell {
    grid-template-columns: 1fr;
  }

  .team-hero-visual {
    gap: 0.6rem;
  }

  .team-hero-person:nth-child(2) {
    transform: none;
  }

  .team-hero-person figcaption {
    min-height: 86px;
    padding: 0.7rem;
  }

  .team-hero-person strong {
    font-size: 1.35rem;
  }

  .team-hero-person span {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .portrait-arch img {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
  }
}
