:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #0d2036;
  --muted: #5f6973;
  --border: rgba(0, 35, 73, 0.12);
  --accent: #c29b40;
  --brand-blue: #002349;
  --shadow: 0 26px 60px rgba(0, 35, 73, 0.08);
  --max-width: 1320px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfd 0%, #f0f3f6 100%);
}

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

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

main {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
}

.brokerage-strip {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 16px auto 0;
  padding: 16px 24px;
  display: flex;
  justify-content: flex-end;
  background: var(--brand-blue);
  border-radius: 16px;
  max-height: 76px;
  overflow: hidden;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    max-height 0.24s ease,
    margin 0.24s ease,
    padding 0.24s ease;
}

.site-header.scrolled .brokerage-strip {
  opacity: 0;
  transform: translateY(-20px);
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.brokerage-logo {
  min-width: 300px;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.nav {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 10px auto 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    margin 0.24s ease,
    transform 0.24s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  box-shadow: 0 16px 40px rgba(0, 35, 73, 0.08);
}

.site-header.scrolled .nav {
  margin-top: 8px;
  transform: translateY(-2px);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--brand-blue);
  min-width: 0;
}

.logo-primary {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    font-size 0.24s ease,
    letter-spacing 0.24s ease,
    opacity 0.24s ease;
}

.logo-section {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    opacity 0.24s ease,
    max-width 0.24s ease;
}

.logo-divider {
  color: rgba(0, 35, 73, 0.35);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    opacity 0.24s ease,
    max-width 0.24s ease,
    transform 0.24s ease;
}

.nav.scrolled .logo-primary {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.nav.scrolled .logo-section {
  opacity: 1;
  max-width: 180px;
}

.nav.scrolled .nav-links {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(-8px);
  pointer-events: none;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.menu-toggle,
.nav-cta,
.btn,
.carousel-button {
  border-radius: 999px;
  font: inherit;
}

.menu-toggle {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  cursor: pointer;
}

.nav-cta,
.btn-primary {
  padding: 12px 18px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
}

.btn-secondary {
  padding: 12px 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.section-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
}

.section-indicator-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.section-menu {
  width: min(460px, calc(100% - 48px));
  margin: 10px auto 0;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 35, 73, 0.08);
}

.section-menu[hidden] {
  display: none;
}

.section-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
  padding: 64px 0 56px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Amiri", Garamond, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 7vw, 7rem);
}

.hero-text,
.body-copy p,
.service-column p,
.city-band-copy p,
.transaction-note,
.quote-card p,
.update-feature p,
.update-secondary p,
.closing-copy p,
.compliance-copy {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  align-items: center;
}

.hero .btn-primary {
  padding: 10px 16px;
  background: rgba(0, 35, 73, 0.92);
}

.hero .btn-secondary {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}

.hero .btn-secondary::after {
  content: " →";
}

.hero-portrait {
  min-height: 760px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  object-position: center top;
}

.closing-links a,
.update-feature a,
.update-secondary a {
  color: var(--brand-blue);
  font-weight: 700;
}

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

.metrics article {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.metrics span {
  display: block;
  color: var(--brand-blue);
  font-family: "Amiri", Garamond, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.1vw, 2.15rem);
  line-height: 1.15;
}

.metrics p {
  margin-top: 8px;
  color: var(--muted);
}

.section-shell {
  padding: 64px 0;
}

.section-intro {
  max-width: 880px;
  margin-bottom: 34px;
}

.section-intro h2 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
}

.editorial-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.feature-image-frame,
.closing-image-frame {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-image {
  width: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center 60%;
}

.body-copy {
  display: grid;
  gap: 22px;
}

.team-feature {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.about-subheading {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-feature-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.team-photo-frame {
  overflow: hidden;
  border-radius: 18px;
}

.team-photo {
  width: 100%;
  min-height: 270px;
  object-fit: cover;
}

.expandable-copy {
  display: grid;
  gap: 12px;
}

.expandable-copy-text {
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.expandable-copy.is-collapsed .expandable-copy-text {
  max-height: 10.5em;
}

.expandable-copy:not(.is-collapsed) .expandable-copy-text {
  max-height: 40em;
}

.expand-toggle {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.services-band {
  padding: 24px 0 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-column {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--brand-blue);
  font-weight: 700;
}

.service-link::after {
  content: " →";
}

.city-band {
  padding: 0 0 72px;
}

.city-band-image {
  width: 100%;
  min-height: 360px;
  max-height: 420px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 20px;
}

.section-intro-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.carousel-controls {
  display: inline-flex;
  gap: 10px;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.transaction-carousel-editorial {
  overflow: hidden;
}

.listing-empty-message {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.transaction-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 2);
  gap: 28px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.transaction-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.transaction-meta,
.update-date {
  color: var(--accent);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.transaction-footnote-marker {
  margin-left: 3px;
  font-size: 0.7em;
  line-height: 0;
  vertical-align: super;
}

.transaction-image-placeholder {
  min-height: 420px;
  border-radius: 20px;
  border: 1px dashed rgba(0, 35, 73, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(236, 240, 244, 0.95)),
    repeating-linear-gradient(
      45deg,
      rgba(0, 35, 73, 0.04) 0,
      rgba(0, 35, 73, 0.04) 14px,
      rgba(255, 255, 255, 0.18) 14px,
      rgba(255, 255, 255, 0.18) 28px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.transaction-image {
  display: block;
  width: 100%;
  min-height: 420px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.09);
  transform-origin: center;
}

.transaction-price {
  color: var(--brand-blue);
  font-family: "Amiri", Garamond, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.carousel-status {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.carousel-status[hidden],
.transaction-track[hidden] {
  display: none;
}

.transaction-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.carousel-dots {
  display: inline-flex;
  gap: 10px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 35, 73, 0.18);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--brand-blue);
}

.quotes-band {
  padding: 8px 0 72px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.quotes-band[hidden] {
  display: none !important;
}

.quote-card {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.quote-card footer {
  margin-top: 16px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.updates-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.updates-stack {
  display: grid;
  gap: 28px;
}

.update-feature,
.update-secondary {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.update-feature h3,
.update-secondary h3 {
  margin: 10px 0 12px;
  font-size: 2rem;
}

.update-link-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.market-snapshot {
  margin: 18px 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.market-snapshot-card {
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  gap: 8px;
}

.market-snapshot-label,
.market-snapshot-detail {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.market-snapshot-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.market-snapshot-value {
  color: var(--brand-blue);
  font-family: "Amiri", Garamond, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
}

.closing-section {
  padding: 48px 0 64px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.closing-image {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.closing-copy h2 {
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  margin-bottom: 18px;
}

.closing-links {
  display: grid;
  gap: 8px;
  margin: 24px 0 26px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-weight: 600;
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.social-label {
  line-height: 1;
}

.compliance-section {
  padding: 18px 0 30px;
  border-top: 1px solid var(--border);
}

.compliance-logo-panel {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 24px;
  border-radius: 18px;
  background: var(--brand-blue);
}

.compliance-logo {
  min-width: 300px;
  width: auto;
  height: 48px;
  object-fit: contain;
}

.compliance-dre {
  margin-top: 18px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compliance-copy {
  max-width: 980px;
  margin-top: 12px;
  font-size: 0.88rem;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1100px) {
  .hero,
  .editorial-body,
  .city-band,
  .updates-grid,
  .closing-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
  }

  .hero-portrait,
  .hero-image {
    min-height: 560px;
  }

  .team-feature-grid,
  .metrics,
  .services-band,
  .quotes-band {
    grid-template-columns: 1fr;
  }

  .market-snapshot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .nav-links,
  .section-indicator,
  .logo-section {
    display: none;
  }

  .section-menu {
    width: min(var(--max-width), calc(100% - 28px));
    grid-template-columns: 1fr;
  }

  .transaction-track {
    grid-auto-columns: 100%;
  }

  .section-intro-row {
    align-items: start;
    flex-direction: column;
  }

  .logo-primary,
  .nav.scrolled .logo-primary {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 640px) {
  main,
  .nav,
  .site-footer {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .brokerage-strip {
    width: min(var(--max-width), calc(100% - 28px));
    justify-content: center;
  }

  .brokerage-logo,
  .compliance-logo {
    min-width: 0;
    width: 100%;
    height: auto;
    max-height: 56px;
  }

  .hero {
    padding: 42px 0 38px;
  }

  .hero h1,
  .section-intro h2,
  .closing-copy h2 {
    max-width: none;
  }

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

  .hero-portrait,
  .hero-image,
  .feature-image,
  .closing-image {
    min-height: 380px;
  }
}
