:root {
  color-scheme: light;
  --ink: #21313b;
  --muted: #6d7a83;
  --mist: #eef3f5;
  --line: rgba(255, 255, 255, 0.74);
  --paper: #f5f8fa;
  --serif: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 82vh;
  color: #ffffff;
  overflow: hidden;
  --hero-parallax: 0px;
  background: #182631;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-slideshow,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slideshow {
  z-index: 0;
  transform: translate3d(0, var(--hero-parallax), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.hero-slide {
  background-size: cover;
  opacity: 0;
  transition: opacity 2600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 34, 47, 0.66) 0%, rgba(18, 34, 47, 0.34) 42%, rgba(18, 34, 47, 0.08) 76%),
    linear-gradient(180deg, rgba(18, 34, 47, 0.42) 0%, rgba(18, 34, 47, 0.05) 46%, rgba(18, 34, 47, 0.44) 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 4vw, 64px);
  align-items: center;
  padding: 30px clamp(24px, 6vw, 68px);
  color: #ffffff;
  transition: padding 240ms ease, background 240ms ease, box-shadow 240ms ease, color 240ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  color: var(--ink);
  background: rgba(245, 248, 250, 0.92);
  box-shadow: 0 12px 34px rgba(25, 45, 58, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  display: block;
  width: 48px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 240ms ease;
}

.brand-mark {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  transition: opacity 240ms ease, transform 240ms ease;
}

.brand-mark {
  justify-items: start;
  opacity: 0;
  transform: translateY(8px) scale(0.86);
}

.brand-mark img {
  display: block;
  width: auto;
  height: 48px;
  transform: scale(var(--brand-logo-scale, 1));
  transform-origin: left center;
}

.site-header.is-scrolled .brand {
  opacity: 1;
  pointer-events: auto;
  height: 52px;
}

.site-header.is-scrolled .brand-mark {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
  gap: clamp(22px, 4.2vw, 56px);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.primary-nav a,
.primary-nav button,
.text-link,
.inquire-button {
  text-decoration: none;
}

.primary-nav-dropdown { position: relative; display: flex; align-items: center; }
.primary-nav-dropdown > button { display: flex; align-items: center; gap: 8px; border: 0; padding: 0; color: inherit; background: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.primary-nav-dropdown > button > span[aria-hidden="true"] { flex: 0 0 6px; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.primary-nav-menu { position: absolute; top: calc(100% + 18px); left: 50%; z-index: 20; display: grid; width: max-content; min-width: 210px; padding: 8px; border: 1px solid rgba(95, 115, 125, .18); border-radius: 5px; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 42px rgba(24, 44, 56, .14); opacity: 0; pointer-events: none; transform: translate(-50%, -6px); transition: opacity 160ms ease, transform 160ms ease; }
.primary-nav-menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 20px; }
.primary-nav-menu a { padding: 11px 13px; color: #435761; font-size: .64rem; letter-spacing: .13em; white-space: nowrap; }
.primary-nav-menu a:hover { color: #243d49; background: #edf3f5; }
.primary-nav-dropdown:hover .primary-nav-menu,
.primary-nav-dropdown:focus-within .primary-nav-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.primary-nav-dropdown:hover > button > span[aria-hidden="true"],
.primary-nav-dropdown:focus-within > button > span[aria-hidden="true"] { transform: translateY(1px) rotate(225deg); }
.primary-nav-dropdown > button.is-active,
.primary-nav > a.is-active { position: relative; border-bottom: 0; padding-bottom: 0; }
.primary-nav-dropdown > button.is-active::after,
.primary-nav > a.is-active::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.mobile-nav-backdrop { position: fixed; inset: 0; z-index: 98; display: block; background: rgba(20, 35, 43, .34); opacity: 0; transition: opacity 220ms ease; }
.mobile-nav-backdrop[hidden] { display: none; }
.mobile-nav-backdrop.is-open { opacity: 1; }
.mobile-nav-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; display: grid; grid-template-rows: auto 1fr; width: min(390px, 88vw); padding: 24px 28px 34px; color: #314750; background: #f8fbfc; box-shadow: -18px 0 52px rgba(21, 39, 48, .18); overflow-y: auto; transform: translateX(105%); transition: transform 240ms ease; }
.mobile-nav-panel.is-open { transform: translateX(0); }
.mobile-nav-heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d5e0e4; padding-bottom: 19px; color: #72838b; font-size: .67rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.mobile-nav-close { position: relative; width: 34px; height: 34px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.mobile-nav-close span { position: absolute; top: 16px; left: 7px; width: 21px; height: 1px; background: #314750; }
.mobile-nav-close span:first-child { transform: rotate(45deg); }
.mobile-nav-close span:last-child { transform: rotate(-45deg); }
.mobile-nav-links { display: grid; align-content: start; padding-top: 22px; }
.mobile-nav-links > a,
.mobile-nav-group > p { margin: 0; border-bottom: 1px solid #dce5e8; padding: 16px 2px; color: #2c424b; font-family: var(--serif); font-size: 1.42rem; letter-spacing: -.01em; text-decoration: none; }
.mobile-nav-links a.is-active { color: #718f9c; }
.mobile-nav-submenu { display: grid; border-bottom: 1px solid #dce5e8; padding: 4px 0 12px 18px; }
.mobile-nav-submenu a { padding: 10px 0; color: #60737c; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.mobile-nav-quote { display: grid !important; place-items: center; min-height: 49px; margin-top: 26px !important; border: 1px solid #29434e !important; padding: 0 18px !important; color: #fff !important; background: #29434e; font-family: inherit !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .18em !important; text-transform: uppercase; }
body.mobile-nav-open { overflow: hidden; }

.inquire-button {
  display: inline-grid;
  min-width: 118px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.site-header.is-scrolled .inquire-button {
  border-color: rgba(33, 49, 59, 0.28);
}

.menu-button {
  display: grid;
  gap: 7px;
  width: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 1px;
  background: #ffffff;
  transition: background 240ms ease;
}

.site-header.is-scrolled .menu-button span {
  background: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 30px;
  width: min(520px, calc(100% - 48px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 120px 0 86px;
  text-align: center;
}

.section-kicker {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-content .section-kicker {
  justify-content: center;
}

.section-kicker::after {
  content: "";
  width: 62px;
  height: 1px;
  background: currentColor;
  opacity: 0.76;
}

.section-kicker.dark {
  color: #65737c;
}

.hero-logo {
  display: block;
  width: clamp(153px, 16.2vw, 234px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
  transform: scale(var(--brand-logo-scale, 1));
  transform-origin: center;
}

.hero-copy {
  width: min(390px, 100%);
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-cta {
  display: grid;
  justify-items: center;
  gap: 28px;
  width: 100%;
  margin-top: clamp(42px, 7vh, 86px);
}

.text-link {
  justify-self: start;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-content .text-link {
  justify-self: center;
}

.destinations {
  padding: 48px clamp(24px, 6.6vw, 86px) 74px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 48px;
  align-items: start;
}

.section-heading h2 {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-intro {
  display: grid;
  gap: 28px;
  padding-top: 6px;
}

.section-intro p {
  margin: 0;
  color: #61707a;
  font-family: Georgia, serif;
  line-height: 1.7;
}

.text-link.dark {
  color: #586975;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.destination-card {
  position: relative;
  min-height: clamp(250px, 27vw, 360px);
  overflow: hidden;
  background: #182631;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 26, 35, 0.02) 35%, rgba(12, 26, 35, 0.66) 100%);
}

.destination-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.95);
  opacity: 0.82;
}

.destination-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #ffffff;
}

.destination-card h3,
.destination-card p {
  margin: 0;
  text-transform: uppercase;
}

.destination-card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.destination-card p {
  margin-top: 7px;
  font-size: 0.67rem;
  letter-spacing: 0.28em;
}

.destination-card p::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin-top: 12px;
  background: #ffffff;
}

.inner-site-header {
  position: sticky;
  color: var(--ink);
}

.primary-nav-menu a.is-active { text-decoration: underline; text-underline-offset: 5px; }

.agents-intro {
  display: grid;
  justify-items: center;
  padding: clamp(72px, 9vw, 120px) 24px clamp(54px, 7vw, 88px);
  text-align: center;
  background: #e9f0f3;
}

.agents-intro h1 {
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.agents-intro > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #61707a;
  font-family: Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.75;
}

.special-needs-intro-copy { display: grid; gap: 18px; max-width: 780px; }
.special-needs-intro-copy p { margin: 0; color: #61707a; font-family: Georgia, serif; font-size: 1.04rem; line-height: 1.75; }

.agent-directory-public {
  padding: clamp(62px, 8vw, 108px) clamp(24px, 6.6vw, 96px) 120px;
}

.owners-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
  margin-bottom: clamp(82px, 11vw, 150px);
}

.owners-feature-image {
  position: relative;
}

.owners-feature-image::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  z-index: 0;
  border: 1px solid #bccbd1;
}

.owners-feature-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.owners-feature-copy h2 {
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.owners-feature-copy > p:not(.section-kicker) {
  margin: 0;
  color: #596a75;
  font-family: Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.75;
}

.owners-feature-copy > p:not(.section-kicker) + p:not(.section-kicker) {
  margin-top: 20px;
}

.owners-feature-paragraphs p { margin: 0; color: #596a75; font-family: Georgia, serif; font-size: 0.98rem; line-height: 1.75; white-space: pre-line; }
.owners-feature-paragraphs p + p { margin-top: 20px; }


.agents-loading {
  margin: 50px auto;
  color: #61707a;
  text-align: center;
}

.agents-loading.error {
  color: #9b3d2f;
}

.agent-level-section + .agent-level-section {
  margin-top: clamp(72px, 9vw, 126px);
}

.agent-level-heading {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr);
  align-items: center;
  gap: 26px;
  margin-bottom: 34px;
}

.agent-level-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.agent-level-heading span {
  height: 1px;
  background: #c7d2d7;
}

.public-agent-grid {
  --agent-card-gap: clamp(20px, 2.4vw, 32px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--agent-card-gap);
}

html[data-directory-type="special-needs"] .public-agent-grid,
html[data-directory-type="leadership"] .public-agent-grid {
  width: calc(75% - clamp(5px, .6vw, 8px));
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

html[data-directory-type="special-needs"] .public-agent-card,
html[data-directory-type="leadership"] .public-agent-card {
  flex: 0 0 calc((100% - (2 * var(--agent-card-gap))) / 3);
}

.public-agent-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(24, 44, 56, 0.08);
  overflow: hidden;
}

.public-agent-card > img {
  width: 100%;
  aspect-ratio: 1 / .94;
  object-fit: cover;
  object-position: center top;
  background: #dfe7ea;
}

.public-agent-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 205px;
  padding: 23px 18px 20px;
  text-align: center;
}

.public-agent-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  font-weight: 400;
  line-height: 1.15;
}

.public-agent-name-row { display: flex; align-items: center; justify-content: center; gap: 7px; }
.public-special-needs-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; color: #9b8152; }
.public-special-needs-icon svg { width: 100%; height: 100%; }

.public-agent-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 1em;
  margin: 7px 0 0;
  color: #71808a;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.public-agent-title-marker {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #9b8152;
}

.public-agent-title-marker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.public-agent-level {
  margin: 7px 0 0;
  color: #71808a;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.public-agent-email {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 11px;
  border-radius: 50%;
  color: #596a75;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.public-agent-email:hover {
  color: #ffffff;
  background: #243d49;
}

.public-agent-email svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.public-agent-more {
  display: inline-grid;
  place-items: center;
  min-width: 142px;
  min-height: 43px;
  margin-top: auto;
  border: 1px solid #7b8c96;
  padding: 0 18px;
  color: #42545f;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.public-agent-more:hover {
  color: #ffffff;
  background: #243d49;
}

.agent-load-sentinel {
  height: 1px;
}

.agent-profile-page { min-height: 100vh; background: #f7f4ef; }
.agent-profile-back { display: inline-block; margin: 132px clamp(24px, 6.6vw, 96px) 0; color: #667984; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.agent-profile-back:hover { color: #243d49; }
.public-agent-profile { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(44px, 7vw, 104px); align-items: start; min-height: 520px; padding: 42px clamp(24px, 8vw, 120px) 110px; }
.public-agent-profile:not(.is-loaded) { grid-template-columns: 1fr; place-items: center; }
.agent-profile-photo { display: block; width: 100%; max-height: 720px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: #dfe7ea; box-shadow: 24px 24px 0 #e2e9eb; }
.agent-profile-copy { padding-top: clamp(10px, 3vw, 42px); }
.agent-profile-copy h1 { margin: 16px 0 22px; font-family: var(--serif); font-size: clamp(3.1rem, 6vw, 6.6rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
.agent-profile-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 720px; }
.agent-profile-meta-copy { min-width: 0; }
.agent-profile-title { margin: 0 0 8px; color: #8b6f3f; font-size: .76rem; font-weight: 800; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.agent-profile-details { margin: 0; color: #768690; font-size: .82rem; }
.agent-profile-bio { max-width: 720px; margin: 34px 0 0; color: #536671; font-family: Georgia, serif; font-size: 1.04rem; line-height: 1.85; white-space: pre-line; }
.agent-profile-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 720px; margin-top: 36px; }
.agent-profile-tags h2 { margin: 0 0 10px; color: #596c77; font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }
.agent-profile-tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.agent-profile-tag-list span { border: 1px solid #cbd5da; border-radius: 2px; padding: 7px 10px; color: #536671; background: #fff; font-size: .72rem; }
.agent-profile-tag-group-specialties .agent-profile-tag-list span { border: 0; border-radius: 2px; background: #e2e9eb; }
.agent-profile-certifications { display: flex; align-items: center; justify-content: flex-start; gap: 8px; max-width: 720px; margin: 28px 0 0; color: inherit; text-align: left; text-decoration: none; transition: color 160ms ease, transform 160ms ease; }
.agent-profile-certifications:hover { color: #243d49; transform: translateX(2px); }
.agent-profile-certification-icon { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; color: #9b8152; }
.agent-profile-certification-icon svg { width: 100%; height: 100%; }
.agent-profile-certifications strong { display: block; color: #435761; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.agent-profile-achievements { max-width: 720px; margin-top: 34px; }
.agent-profile-achievement-list { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-profile-achievement { display: grid; justify-items: center; gap: 4px; }
.agent-profile-achievement-mark { display: grid; place-content: center; justify-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: #8b6f3f; background: transparent; font-size: 1.35rem; line-height: 1; overflow: visible; }
.agent-profile-achievement-mark img { width: 100%; height: 100%; object-fit: cover; }
.agent-profile-achievement-mark svg { width: 100%; height: 100%; }
.agent-profile-achievement-label { color: #687981; font-size: .55rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.agent-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.agent-profile-action { display: inline-grid; place-items: center; min-height: 44px; border: 1px solid #748791; padding: 0 18px; color: #435761; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.agent-profile-action.primary { color: #fff; border-color: #243d49; background: #243d49; }
.agent-profile-action:hover { color: #fff; background: #243d49; }
.agent-profile-action.primary:hover { border-color: #587582; background: #587582; box-shadow: 0 8px 20px rgba(36, 61, 73, .18); transform: translateY(-1px); }
.agent-profile-socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.agent-profile-socials .agent-profile-action { min-height: auto; border: 0; padding: 0; color: #72838c; text-decoration: underline; text-underline-offset: 4px; }
.agent-profile-socials .agent-profile-action:hover { color: #243d49; background: transparent; }

@media (max-width: 780px) {
  .public-agent-profile { grid-template-columns: 1fr; }
  .agent-profile-photo { max-width: 520px; }
  .agent-profile-meta { align-items: flex-start; }
  .agent-profile-tags { grid-template-columns: 1fr; }
}

.quote-intro {
  display: grid;
  justify-items: center;
  padding: clamp(72px, 9vw, 118px) 24px clamp(48px, 6vw, 76px);
  text-align: center;
  background: #e9f0f3;
}

.quote-intro h1 {
  max-width: 880px;
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.quote-intro > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #61707a;
  font-family: Georgia, serif;
  line-height: 1.75;
}

.quote-form-section {
  padding: clamp(54px, 7vw, 96px) 24px 120px;
}

.public-quote-form,
.quote-confirmation {
  width: min(940px, 100%);
  margin: 0 auto;
}

.quote-form-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid #c7d2d7;
  padding-top: 34px;
  margin: 54px 0 26px;
}

.quote-form-heading:first-of-type { margin-top: 0; }
.quote-form-heading > span { color: #9b8152; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.15em; }
.quote-form-heading h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.quote-form-heading p { margin: 7px 0 0; color: #71808a; font-family: Georgia, serif; }

.quote-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.public-quote-form label, .quote-contact-method legend { color: #465963; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; }
.public-quote-form label > span, .quote-contact-method legend span, .quote-submit-row p span { color: #9b4a3d; }
.public-quote-form label small { display: block; margin: 6px 0 8px; color: #7a878e; font-family: Georgia, serif; font-size: 0.82rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.public-quote-form input:not([type="checkbox"]), .public-quote-form select, .public-quote-form textarea { width: 100%; margin-top: 8px; border: 1px solid #bdc9ce; border-radius: 0; padding: 13px 14px; color: #21313b; background: #fff; font: inherit; }
.public-quote-form textarea { min-height: 105px; resize: vertical; }
.public-quote-form input:focus, .public-quote-form select:focus, .public-quote-form textarea:focus { outline: 2px solid #9fc2ca; outline-offset: 1px; border-color: #597d86; }
.quote-agent-field { position: relative; min-width: 0; }
.quote-agent-picker { position: relative; margin-top: 8px; }
.quote-agent-search-row { position: relative; }
.public-quote-form .quote-agent-search-row input { margin-top: 0; padding-right: 70px; }
.quote-agent-clear { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); border: 0; padding: 6px 7px; color: #61747c; background: transparent; font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.quote-agent-clear:hover { color: #243d49; }
.quote-agent-popover { position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; display: grid; grid-template-columns: minmax(155px, .85fr) minmax(210px, 1.25fr); width: min(550px, calc(100vw - 48px)); overflow: hidden; border: 1px solid #aebdc3; background: #fff; box-shadow: 0 18px 45px rgba(29,49,58,.18); }
.quote-agent-preview { display: grid; align-content: center; justify-items: center; gap: 13px; min-height: 240px; padding: 22px 18px; text-align: center; background: #edf3f5; }
.quote-agent-results { max-height: 310px; overflow-y: auto; padding: 7px; }
.quote-agent-option { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; align-items: center; width: 100%; border: 0; padding: 8px 9px; color: #31464f; background: transparent; text-align: left; cursor: pointer; }
.quote-agent-option:hover, .quote-agent-option:focus, .quote-agent-option.is-highlighted { outline: 0; color: #203942; background: #e7f0f2; }
.quote-agent-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; color: #fff; background: #6d8991; font-size: .72rem; font-weight: 900; }
.quote-agent-avatar.is-large { width: 104px; height: 104px; border: 4px solid #fff; box-shadow: 0 5px 18px rgba(29,52,62,.15); font-size: 1.1rem; }
.quote-agent-avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-agent-identity { display: grid; gap: 3px; min-width: 0; }
.quote-agent-identity strong { overflow: hidden; color: #29444d; font-family: var(--serif); font-size: 1rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.quote-agent-identity small { overflow: hidden; color: #718087; font-family: Georgia, serif; font-size: .72rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.quote-agent-preview .quote-agent-identity { justify-items: center; }
.quote-agent-preview .quote-agent-identity strong { font-size: 1.18rem; }
.quote-agent-preview-hint { margin-top: 4px; color: #8a754d; font-size: .62rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.quote-agent-selection { margin: 7px 0 0; color: #75848a; font-family: Georgia, serif; font-size: .75rem; line-height: 1.4; }
.quote-agent-empty { margin: 0; padding: 28px 14px; color: #718087; font-family: Georgia, serif; font-size: .82rem; text-align: center; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-contact-method { display: flex; flex-wrap: wrap; gap: 12px 28px; border: 0; padding: 0; margin: 0; }
.quote-contact-method legend { width: 100%; margin-bottom: 12px; }
.quote-contact-method label { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: 0; }
.quote-contact-method input { width: 18px; height: 18px; accent-color: #365f69; }
.quote-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #c7d2d7; margin-top: 52px; padding-top: 30px; }
.quote-submit-row p { margin: 0; color: #78858c; font-size: 0.76rem; }
.quote-submit-row button { min-height: 50px; border: 1px solid #243d49; padding: 0 28px; color: #fff; background: #243d49; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
.quote-submit-row button:disabled { opacity: 0.55; cursor: wait; }
.quote-form-status { min-height: 24px; margin: 18px 0 0; color: #365f69; font-weight: 700; text-align: right; }
.quote-form-status.error { color: #9b3d2f; }
.quote-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-confirmation { display: grid; justify-items: center; max-width: 720px; padding: 70px 30px; text-align: center; background: #fff; box-shadow: 0 18px 60px rgba(24,44,56,.1); }
.quote-confirmation-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border: 1px solid #9b8152; border-radius: 50%; color: #9b8152; font-size: 1.5rem; }
.quote-confirmation h2 { margin: 18px 0; font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 4.5rem); font-weight: 400; }
.quote-confirmation > p:not(.section-kicker) { max-width: 570px; margin: 0 0 30px; color: #61707a; font-family: Georgia, serif; line-height: 1.75; }
.hidden { display: none !important; }

@media (max-width: 1120px) {
  .public-agent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-directory-type="special-needs"] .public-agent-grid,
  html[data-directory-type="leadership"] .public-agent-grid {
    display: flex;
    width: 100%;
  }

  html[data-directory-type="special-needs"] .public-agent-card,
  html[data-directory-type="leadership"] .public-agent-card {
    flex-basis: calc((100% - (2 * var(--agent-card-gap))) / 3);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .primary-nav {
    display: none;
  }

  .section-heading,
  .destination-grid {
    grid-template-columns: 1fr;
  }

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

  html[data-directory-type="special-needs"] .public-agent-grid,
  html[data-directory-type="leadership"] .public-agent-grid {
    display: flex;
  }

  html[data-directory-type="special-needs"] .public-agent-card,
  html[data-directory-type="leadership"] .public-agent-card {
    flex-basis: calc((100% - var(--agent-card-gap)) / 2);
  }

  .owners-feature {
    grid-template-columns: 1fr;
  }


  .hero {
    min-height: 760px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 24px 20px;
  }

  .site-header.is-scrolled {
    padding: 12px 20px;
  }

  .inquire-button {
    display: none;
  }

  .hero-content {
    width: min(360px, calc(100% - 40px));
    min-height: 760px;
    padding: 112px 0 74px;
  }

  .hero-cta {
    margin-top: 54px;
  }

  .hero-logo {
    width: clamp(135px, 37.8vw, 189px);
  }

  .quote-agent-popover { grid-template-columns: 1fr; width: 100%; }
  .quote-agent-preview { grid-template-columns: 64px minmax(0, 1fr); align-content: center; justify-items: start; min-height: 0; padding: 14px; text-align: left; }
  .quote-agent-avatar.is-large { width: 64px; height: 64px; border-width: 2px; }
  .quote-agent-preview .quote-agent-identity { justify-items: start; }
  .quote-agent-results { max-height: 245px; }

  .agent-directory-public {
    padding-right: 20px;
    padding-left: 20px;
  }

  .owners-feature-image::before {
    top: 12px;
    right: -10px;
    bottom: -12px;
    left: 10px;
  }


  .public-agent-grid {
    grid-template-columns: 1fr;
  }

  html[data-directory-type="special-needs"] .public-agent-grid,
  html[data-directory-type="leadership"] .public-agent-grid {
    display: flex;
  }

  html[data-directory-type="special-needs"] .public-agent-card,
  html[data-directory-type="leadership"] .public-agent-card {
    flex-basis: 100%;
  }

  .quote-form-grid { grid-template-columns: 1fr; }
  .quote-field-wide { grid-column: auto; }
  .quote-submit-row { align-items: stretch; flex-direction: column; }
  .quote-submit-row button { width: 100%; }

}
