:root {
  --bg: #bfeaff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --text: #090909;
  --muted: #4f565d;
  --line: rgba(9, 9, 9, 0.12);
  --accent: #2d93a1;
  --accent-2: #ff8e73;
  --card-blue: linear-gradient(180deg, #a8edf8 0%, #d9f6fb 100%);
  --card-pink: linear-gradient(180deg, #ffd0da 0%, #ffe8ee 100%);
  --card-cream: linear-gradient(180deg, #ffe8e3 0%, #fff7f4 100%);
  --shadow: 0 18px 50px rgba(19, 43, 57, 0.08);
  --container: 1180px;
  --radius-lg: 54px;
  --radius-md: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: #ffffff;
}

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

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

button,
input {
  font: inherit;
}

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

.cookie-slot:empty {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.estate-body {
  background: #ffffff;
}

.estate-header {
  background: rgba(191, 234, 255, 0.96);
  backdrop-filter: blur(12px);
}

.estate-topbar,
.estate-nav-left,
.estate-nav-right,
.footer-row,
.footer-links,
.curve-top-row,
.avatar-row,
.listing-grid {
  display: flex;
}

.estate-topbar {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

.estate-nav-left,
.estate-nav-right {
  align-items: center;
  gap: 28px;
}

.estate-nav-left a,
.estate-nav-right a,
.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 500;
}

.estate-nav-left a.is-active,
.estate-nav-left a:hover,
.estate-nav-right a:hover,
.mobile-nav a:hover {
  color: var(--accent);
}

.estate-brand {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.estate-divider {
  height: 1px;
  background: rgba(45, 147, 161, 0.4);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px auto;
  background: #111;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px 18px;
  background: rgba(191, 234, 255, 0.98);
}

.mobile-nav.is-open {
  display: flex;
}

.estate-main {
  background: var(--bg);
}

.estate-hero {
  padding: 44px 0 0;
}

.estate-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.estate-copy h1,
.curve-heading h2,
.subpage-hero h1,
.subpage-title {
  margin: 0;
  letter-spacing: -0.06em;
}

.estate-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.6rem, 8vw, 5.8rem);
  line-height: 0.95;
  font-weight: 800;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 84px;
  width: min(100%, 430px);
  margin-top: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.search-box input {
  min-height: 74px;
  border: 0;
  padding: 0 28px;
  background: #fff;
}

.search-box button {
  border: 0;
  background: #0f0f0f;
  color: #fff;
  font-size: 1.9rem;
}

.estate-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.estate-lead,
.curve-heading p,
.listing-copy span,
.subpage-hero p,
.subpage-copy p,
.feature-panel p,
.metric-card span,
.portfolio-card p,
.project-showcase-card p,
.article-card p,
.process-list span,
.footer-row p {
  color: var(--muted);
  line-height: 1.8;
}

.estate-lead {
  max-width: 470px;
  margin: 4px 0 22px auto;
  font-size: 1rem;
}

.house-visual {
  overflow: hidden;
}

.house-visual img {
  aspect-ratio: 0.98;
  object-fit: cover;
}

.curve-panel {
  position: relative;
  margin-top: -126px;
  padding-bottom: 44px;
}

.curve-inner {
  padding: 74px 0 0;
  background: #ffffff;
  border-top-left-radius: 260px 110px;
  border-top-right-radius: 260px 110px;
}

.curve-top-row {
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.success-badge {
  padding-left: 34px;
}

.avatar-row {
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
}

.avatar-row span,
.avatar-row em {
  width: 42px;
  height: 42px;
  margin-left: -6px;
  border-radius: 50%;
  border: 3px solid #fff;
}

.avatar-row span:nth-child(1) { background: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=200&q=80") center/cover; margin-left: 0; }
.avatar-row span:nth-child(2) { background: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=200&q=80") center/cover; }
.avatar-row span:nth-child(3) { background: url("https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&w=200&q=80") center/cover; }
.avatar-row span:nth-child(4) { background: url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=200&q=80") center/cover; }

.avatar-row em {
  display: grid;
  place-items: center;
  background: #a9eaf7;
  font-style: normal;
  font-weight: 700;
}

.success-badge strong {
  display: block;
  max-width: 240px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.scroll-note {
  margin: 0 30px 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.curve-heading {
  max-width: 860px;
  margin: 90px auto 0;
  text-align: center;
}

.curve-heading h2 {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 0.96;
  font-weight: 800;
}

.curve-heading p {
  max-width: 860px;
  margin: 28px auto 0;
  font-size: 1rem;
}

.listing-grid {
  gap: 26px;
  margin-top: 54px;
}

.listing-card {
  flex: 1 1 0;
  overflow: hidden;
  min-height: 470px;
  padding: 32px 30px 0;
  box-shadow: var(--shadow);
}

.buying-card { background: var(--card-blue); }
.renting-card { background: var(--card-pink); }
.selling-card { background: var(--card-cream); }

.listing-copy {
  text-align: center;
}

.listing-copy h3 {
  margin: 0 0 16px;
  font-size: 1.9rem;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.listing-copy span {
  display: inline-block;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.86rem;
}

.listing-card img {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.site-footer {
  padding: 0 0 32px;
}

.estate-footer {
  background: #ffffff;
}

.footer-row {
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-row strong {
  font-size: 1rem;
  font-weight: 800;
}

.footer-row p {
  max-width: 420px;
  margin: 8px 0 0;
}

.footer-links {
  gap: 22px;
  flex-wrap: wrap;
}

.subpage-shell {
  min-height: 100vh;
  padding: 38px 0 70px;
  background: #ffffff;
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.subpage-hero {
  padding: 40px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.subpage-hero h1 {
  margin-top: 12px;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.94;
}

.subpage-section {
  margin-top: 26px;
}

.section-label,
.popular-label,
.micro-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.subpage-two-col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
}

.subpage-title {
  margin-top: 12px;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 0.96;
}

.subpage-copy {
  display: grid;
  gap: 16px;
}

.metric-grid,
.feature-panel-grid,
.portfolio-grid,
.project-showcase-grid,
.article-grid {
  display: grid;
  gap: 20px;
}

.metric-grid,
.feature-panel-grid,
.article-grid,
.portfolio-grid,
.project-showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card,
.feature-panel,
.portfolio-card,
.project-showcase-card,
.article-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-card,
.feature-panel,
.article-card {
  padding: 28px;
}

.feature-panel h3,
.portfolio-card h3,
.project-showcase-card h3,
.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.metric-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 800;
}

.portfolio-card,
.project-showcase-card {
  overflow: hidden;
}

.portfolio-card img,
.project-showcase-card img {
  aspect-ratio: 1.02;
  object-fit: cover;
}

.portfolio-card div,
.project-showcase-card div {
  padding: 22px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-list div:first-child {
  border-top: 0;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 2px solid #101010;
  border-radius: 999px;
  font-weight: 700;
}

.outline-button:hover {
  background: #101010;
  color: #fff;
}

.back-link {
  font-weight: 700;
}

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

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

@media (max-width: 1100px) {
  .estate-nav-left,
  .estate-nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .estate-hero-grid,
  .listing-grid,
  .subpage-two-col,
  .metric-grid,
  .feature-panel-grid,
  .portfolio-grid,
  .project-showcase-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .curve-inner {
    border-top-left-radius: 140px 70px;
    border-top-right-radius: 140px 70px;
  }

  .curve-top-row,
  .footer-row {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .estate-topbar {
    min-height: 78px;
  }

  .estate-brand {
    font-size: 1.45rem;
  }

  .estate-copy h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .search-box {
    grid-template-columns: 1fr 70px;
  }

  .search-box input,
  .search-box button {
    min-height: 62px;
  }

  .curve-panel {
    margin-top: -70px;
  }

  .curve-inner {
    padding-top: 40px;
  }

  .curve-heading {
    margin-top: 48px;
  }

  .curve-heading h2 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .listing-card {
    min-height: 380px;
    padding: 24px 22px 0;
  }

  .subpage-hero,
  .metric-card,
  .feature-panel,
  .article-card {
    padding: 24px;
  }
}
