@import url("https://fonts.googleapis.com/css2?family=Allura&family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap");

/* Brand palette — Lang & Associates brand outline */
:root {
  --navy: #0f2240;
  --navy-deep: #0a1830;
  --navy-soft: #1c3358;
  --gold: #c9a45c;
  --gold-light: #dcbd7c;
  --gold-ink: #8a6a2a;
  --cream: #f6f0e4;
  --cream-soft: #fbf8f1;
  --white: #ffffff;
  --gray: #8a8d93;
  --slate: #6e87a8;

  --text: var(--navy);
  --muted: #4d586a;
  --faint: #7a8292;
  --line: rgba(15, 34, 64, 0.1);
  --line-strong: rgba(15, 34, 64, 0.2);
  --card: var(--white);
  --surface: var(--cream-soft);
  --shadow: 0 18px 40px rgba(15, 34, 64, 0.08);
  --shadow-lg: 0 28px 70px rgba(15, 34, 64, 0.16);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --max: 1240px;
}

/* Dark surfaces re-point the text tokens so shared components adapt */
.hero,
.cta-band,
.brand-ribbon,
.site-footer,
.experience-badge {
  --text: #fbf8f1;
  --muted: rgba(251, 248, 241, 0.78);
  --faint: rgba(251, 248, 241, 0.56);
  --line: rgba(251, 248, 241, 0.12);
  --line-strong: rgba(251, 248, 241, 0.28);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

p + p {
  margin-top: 14px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- Brand logo ---------- */

.brand-logo {
  width: auto;
  height: 58px;
  transition: height 220ms ease;
}

.site-nav.scrolled .brand-logo {
  height: 48px;
}

/* The lockup is navy ink, so the footer seats it on a cream plaque */
.footer-brand-lockup {
  padding: 14px 20px;
  border-bottom: 3px solid var(--gold);
  background: var(--cream-soft);
}

.footer-logo {
  width: auto;
  height: 72px;
}

.brand,
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gold {
  color: var(--gold);
  font-style: italic;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 164, 92, 0.35);
  background: rgba(251, 248, 241, 0.97);
  backdrop-filter: blur(14px);
  transition: padding 220ms ease, box-shadow 220ms ease;
}

.site-nav.scrolled {
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(15, 34, 64, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-ink);
}

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

.nav-links .nav-cta {
  padding: 12px 20px;
  margin-left: 4px;
  border-radius: 2px;
  background: var(--navy);
  color: var(--cream-soft);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.nav-links .nav-cta:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero.compact {
  min-height: 440px;
  padding: 120px 0 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 24, 48, 0.94) 0%, rgba(10, 24, 48, 0.78) 48%, rgba(10, 24, 48, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 24, 48, 0.2), rgba(10, 24, 48, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 150px 0 72px;
}

.hero.compact .hero-content {
  padding: 40px 0 0;
}

.hero-copy {
  max-width: 1000px;
}

.hero-copy > p {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

/* Section label: letter-spaced caps flanked by gold rules */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--gold-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.pill::before,
.pill::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero .pill,
.cta-band .pill {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 1000px;
  color: var(--white);
  font-size: clamp(52px, 7.4vw, 100px);
  font-weight: 600;
}

.hero.compact h1 {
  font-size: clamp(42px, 5.6vw, 72px);
}

/* Script accent (Allura) for emphasised words in headings */
.hero h1 em,
.section h2 em,
.cta-content h2 em,
.contact-panel h2 em {
  color: var(--gold);
  font-family: var(--script);
  font-size: 1.22em;
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
}

.section h2 em,
.contact-panel h2 em {
  color: var(--gold-ink);
}

.cta-band h2 em {
  color: var(--gold);
}

/* Gold rule with centred diamond, echoing the wordmark */
.rule {
  position: relative;
  width: 96px;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, var(--gold) 0 42%, transparent 42% 58%, var(--gold) 58%);
}

.rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.section-head.center .rule,
.cta-content .rule {
  margin-right: auto;
  margin-left: auto;
}

.tagline {
  margin-bottom: 14px;
  color: var(--gold-light);
  font-family: var(--script);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
}

.tagline-two {
  margin-bottom: 22px;
  color: var(--cream-soft);
  font-family: var(--serif);
  font-size: clamp(17px, 1.9vw, 21px);
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero .hero-lead {
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero p {
  max-width: 640px;
  font-size: clamp(15px, 1.6vw, 18px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: border 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

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

.btn:focus-visible,
.nav-links a:focus-visible,
.filter-pills button:focus-visible {
  outline: 3px solid rgba(201, 164, 92, 0.55);
  outline-offset: 3px;
}

.btn.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream-soft);
  box-shadow: inset 0 -3px 0 var(--gold), 0 12px 28px rgba(15, 34, 64, 0.18);
}

.btn.primary:hover {
  border-color: var(--navy-soft);
  background: var(--navy-soft);
  color: var(--white);
}

.btn.outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn.outline:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

/* On navy surfaces the primary action turns gold */
.hero .btn.primary,
.cta-band .btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.hero .btn.primary:hover,
.cta-band .btn.primary:hover {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.hero .btn.outline,
.cta-band .btn.outline {
  border-color: rgba(251, 248, 241, 0.55);
  color: var(--cream-soft);
}

.hero .btn.outline:hover,
.cta-band .btn.outline:hover {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-light);
}

.btn:disabled,
.btn[disabled],
.btn.outline:disabled,
.btn.outline[disabled] {
  border-color: var(--line-strong);
  background: #e7e2d7;
  color: #7a7f88;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.4);
  background: rgba(201, 164, 92, 0.4);
}

.stat-box {
  padding: 26px 20px;
  text-align: center;
  background: rgba(10, 24, 48, 0.82);
}

.stat-box strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
}

.stat-box span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Brand ribbon ---------- */

.brand-ribbon {
  padding: 20px 0;
  border-top: 1px solid rgba(201, 164, 92, 0.45);
  border-bottom: 3px solid var(--gold);
  background: var(--navy);
}

.brand-ribbon ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-ribbon li {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--cream-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.brand-ribbon li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.ribbon-label {
  color: var(--gold);
  font-family: var(--script);
  font-size: 30px;
  line-height: 1;
}

.brand-ribbon .ribbon-inner ul {
  width: auto;
}

/* ---------- Sections ---------- */

.section {
  padding: 104px 0;
}

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

.section-head {
  margin-bottom: 54px;
}

.section-head.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.section-head p {
  max-width: 680px;
  margin-top: 16px;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 80px;
}

.about-image {
  position: relative;
  padding: 0 0 22px 22px;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 22px 22px 0 0;
  border: 1px solid var(--gold);
}

.about-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  left: -10px;
  bottom: -10px;
  padding: 20px 26px;
  border-top: 3px solid var(--gold);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.experience-badge strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
}

.experience-badge span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Grids & cards ---------- */

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

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

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

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

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

.service-card,
.value-card,
.testimonial-card,
.testimonial-large,
.property-card,
.person-card,
.person-compact,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  padding: 34px 30px;
  border-top: 3px solid var(--navy);
  transition: border 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.property-card:hover,
.person-card:hover,
.person-compact:hover,
.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card:hover {
  border-top-color: var(--gold);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(201, 164, 92, 0.6);
}

.service-card h3,
.value-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p,
.value-card p {
  font-size: 14px;
}

.property-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 2px;
  background: rgba(10, 24, 48, 0.85);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status.active {
  background: #1f6a47;
}

.status.pending {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.status.featured {
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--gold-light);
}

.property-body {
  padding: 22px 22px 20px;
  border-top: 3px solid var(--gold);
}

.property-type {
  color: var(--gold-ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.property-body h3 {
  margin: 8px 0;
  font-size: 22px;
}

.property-body p {
  font-size: 13.5px;
}

.property-location {
  margin-top: 4px;
  color: var(--faint);
  font-size: 13px;
}

.property-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.property-bottom strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.property-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.link-arrow:hover {
  color: var(--gold-ink);
}

/* ---------- Testimonials ---------- */

.testimonial-card,
.testimonial-large {
  position: relative;
  padding: 44px 36px 32px;
  overflow: hidden;
}

.testimonial-large {
  padding: clamp(36px, 4vw, 52px);
}

.testimonial-card p,
.testimonial-large p {
  position: relative;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
}

.testimonial-large p {
  font-size: 19px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--gold);
}

.stars .icon {
  fill: currentColor;
}

.testimonial-card .quote-mark,
.testimonial-large .quote-mark {
  position: absolute;
  top: 6px;
  right: 26px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  opacity: 0.55;
}

.testimonial-card footer,
.testimonial-large footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 164, 92, 0.45);
}

.testimonial-card strong,
.testimonial-large strong {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial-card span,
.testimonial-large span {
  color: var(--faint);
  font-size: 12.5px;
}

/* ---------- Values & people ---------- */

.value-card {
  padding: 30px 26px;
  text-align: center;
}

.value-card span {
  position: relative;
  display: block;
  width: 64px;
  height: 1px;
  margin: 4px auto 22px;
  background: linear-gradient(90deg, var(--gold) 0 38%, transparent 38% 62%, var(--gold) 62%);
}

.value-card span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.person-card {
  padding: 30px 24px;
  text-align: center;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gold);
}

.person-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.person-card p,
.person-compact p {
  margin-bottom: 14px;
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-card a,
.person-compact a,
.site-footer a,
.site-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.person-card a {
  justify-content: center;
  margin-top: 8px;
}

.person-card a:hover,
.person-compact a:hover {
  color: var(--gold-ink);
}

.person-compact {
  display: flex;
  gap: 14px;
  padding: 20px;
}

.person-compact .avatar {
  width: 44px;
  height: 44px;
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold);
}

.person-compact h3 {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.person-compact p {
  margin: 4px 0 8px;
}

/* ---------- Services 2x2, Legacy, Team ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}

.legacy {
  background:
    linear-gradient(180deg, rgba(201, 164, 92, 0.08), transparent 70%),
    var(--cream);
}

.legacy-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  text-align: center;
}

.legacy-inner .rule {
  margin: 22px auto 28px;
}

.legacy-body {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.team-groups {
  display: grid;
  gap: 56px;
}

.team-group-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.team-group-title::before,
.team-group-title::after {
  content: "";
  flex: 0 1 60px;
  height: 1px;
  background: var(--gold);
}

.team-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.person-card.featured {
  padding: 40px 32px 34px;
  border-top: 3px solid var(--gold);
}

.person-card.featured .avatar,
.person-card.featured .person-photo {
  width: 120px;
  height: 120px;
  font-size: 36px;
}

.person-photo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gold);
}

.person-card .person-title {
  max-width: 340px;
  margin: 0 auto 10px;
  line-height: 1.5;
}

.person-card .person-tagline {
  margin: 0 0 12px;
  color: var(--gold-ink);
  font-family: var(--script);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.person-card .person-bio {
  max-width: 420px;
  margin: 0 auto 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  text-transform: none;
}

.person-contact {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-address {
  display: grid;
  gap: 2px;
}

.contact-address small,
.footer-address small {
  display: block;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 500;
}

.site-footer .footer-address {
  align-items: flex-start;
}

.site-footer .footer-address .icon {
  margin-top: 3px;
}

.site-footer .footer-about {
  display: block;
}

.footer-tagline-two {
  display: block;
  margin-top: 6px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  border-top: 3px solid var(--gold);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(110, 135, 168, 0.28), transparent 60%),
    var(--navy);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 164, 92, 0.28);
  pointer-events: none;
}

.cta-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(36px, 4.8vw, 56px);
}

.cta-content p {
  max-width: 640px;
  margin: 18px auto 0;
}

/* ---------- Listings filters ---------- */

.filters {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, auto) minmax(360px, auto);
  gap: 14px;
  align-items: start;
}

.search-field {
  position: relative;
}

.search-field .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  color: var(--faint);
  transform: translateY(-50%);
}

.search-field input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--cream-soft);
  color: var(--navy);
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-field input {
  height: 44px;
  padding: 0 14px 0 42px;
}

.search-field input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.2);
}

::placeholder {
  color: #9097a3;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-pills button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
}

.filter-pills button:hover {
  border-color: var(--gold);
}

.filter-pills button.selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream-soft);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-pills {
    width: 100%;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.listing-count {
  margin-bottom: 22px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 72px 0;
  text-align: center;
}

/* ---------- Listing modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
  background: rgba(10, 24, 48, 0.78);
  backdrop-filter: blur(8px);
}

.modal.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 740px);
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 24, 48, 0.8);
  color: var(--white);
  cursor: pointer;
}

.modal-image {
  position: relative;
  height: 300px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 6px 12px;
  border-radius: 2px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.modal-body {
  padding: 30px;
}

.modal-body h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.modal-body > strong {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
}

.modal-body p {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.modal-meta span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream-soft);
  color: var(--navy);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
}

.contact-panel,
.form-panel {
  padding: 38px;
}

.contact-panel {
  border-top: 3px solid var(--gold);
}

.contact-panel h2 {
  font-size: clamp(30px, 3.4vw, 40px);
}

.contact-panel > p {
  margin-top: 16px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-list a,
.contact-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-weight: 500;
}

.contact-list .icon {
  box-sizing: content-box;
  padding: 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  min-height: 150px;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  resize: vertical;
}

.form-notice {
  min-height: 20px;
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 76px 0 0;
  border-top: 3px solid var(--gold);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 52px;
}

.site-footer .footer-brand-lockup {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
}

.site-footer .footer-about {
  max-width: 380px;
}

.site-footer h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-footer h2::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.site-footer a,
.site-footer p {
  margin: 0 0 12px;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.site-footer .staff-login-link {
  width: fit-content;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-weight: 600;
}

.site-footer .staff-login-link:hover,
.site-footer .staff-login-link:focus-visible {
  color: var(--gold-light);
}

.footer-signature {
  margin-top: 60px;
  padding: 34px 0 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-signature .sig-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--cream-soft);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-signature .sig-line::before,
.footer-signature .sig-line::after {
  content: "";
  flex: 0 1 140px;
  height: 1px;
  background: var(--gold);
}

.footer-signature .sig-line b {
  color: var(--gold);
  font-weight: 400;
}

.site-footer .footer-signature .sig-motto {
  display: block;
  margin: 12px 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  font-style: italic;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 1060px) {
  .grid-3,
  .testimonial-preview-grid,
  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 26px;
    border-top: 1px solid rgba(201, 164, 92, 0.35);
    border-bottom: 3px solid var(--gold);
    background: var(--cream-soft);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin: 12px 0 0;
    border-bottom: 0;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 780px;
  }

  .hero.compact {
    min-height: 380px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 24, 48, 0.82), rgba(10, 24, 48, 0.9));
  }

  .hero-content {
    padding-top: 130px;
  }

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

  .section {
    padding: 76px 0;
  }

  .section-head.split {
    display: block;
  }

  .section-head.split .link-arrow {
    margin-top: 20px;
  }

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

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

  .brand-ribbon li {
    gap: 14px;
    font-size: 10.5px;
    letter-spacing: 0.22em;
  }

  .brand-ribbon ul {
    gap: 8px 14px;
  }
}

@media (max-width: 820px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .brand-logo,
  .site-nav.scrolled .brand-logo {
    height: 46px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero.compact h1 {
    font-size: 40px;
  }

  .actions,
  .modal-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-grid,
  .grid-2,
  .team-group-grid,
  .grid-3,
  .testimonial-preview-grid,
  .grid-4,
  .team-grid,
  .consultant-grid,
  .properties-grid,
  .contact-form .two,
  .modal-meta {
    grid-template-columns: 1fr;
  }

  .about-image {
    padding: 0 0 14px 14px;
  }

  .about-image::before {
    inset: 14px 14px 0 0;
  }

  .experience-badge {
    left: 0;
    bottom: 0;
  }

  .contact-panel,
  .form-panel,
  .testimonial-card,
  .testimonial-large {
    padding: 28px 22px;
  }

  .cta-band::before {
    inset: 10px;
  }

  .footer-signature .sig-line {
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .footer-signature .sig-line::before,
  .footer-signature .sig-line::after {
    display: none;
  }
}
