:root {
  --ink: #171717;
  --muted: #666a61;
  --line: #ded8cc;
  --paper: #f7f5ef;
  --white: #ffffff;
  --charcoal: #20251f;
  --green: #29483b;
  --leaf: #4c735f;
  --brick: #a95d3e;
  --gold: #b79654;
  --shadow: 0 18px 48px rgba(23, 23, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(20, 25, 22, 0.92);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  min-height: 34px;
  padding: 8px clamp(18px, 4vw, 58px);
}

.site-header {
  position: fixed;
  z-index: 25;
  top: 34px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(18, 26, 23, 0.72), rgba(18, 26, 23, 0.05));
}

.brand,
.site-nav,
.nav-action,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
}

.site-nav {
  gap: clamp(14px, 2.6vw, 32px);
  font-size: 0.94rem;
}

.site-nav a {
  opacity: 0.95;
}

.nav-action,
.secondary-btn {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  padding: 148px clamp(18px, 4vw, 58px) 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 16, 13, 0.88), rgba(8, 16, 13, 0.46) 50%, rgba(8, 16, 13, 0.16)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=82") center / cover;
}

.hero-content {
  max-width: 820px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow,
.lead-band .eyebrow {
  color: #f3c08f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
  cursor: pointer;
}

button:hover,
.nav-action:hover,
.primary-btn:hover,
.secondary-btn:hover,
.text-link:hover {
  filter: brightness(1.06);
}

.search-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
  width: min(1140px, 100%);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

select,
input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.category-section,
.section,
.intro-band,
.lead-band,
.contact-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 58px);
}

.category-section {
  background: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 560px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section p,
.intro-copy p,
.rent-list p,
.news-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.category-grid a {
  min-height: 132px;
  padding: 22px;
  background: var(--paper);
}

.category-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 2.1rem;
}

.category-grid span {
  color: var(--charcoal);
  font-weight: 900;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  background: #eceee8;
}

.portrait {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(10, 20, 16, 0.08), rgba(10, 20, 16, 0.08)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=1200&q=82") center / cover;
  box-shadow: var(--shadow);
}

.intro-copy ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--green);
  font-weight: 900;
}

.project-grid,
.property-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.property-card,
.news-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 23, 23, 0.08);
}

.project-card.featured {
  grid-column: span 2;
}

.project-card img,
.property-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card.featured img {
  aspect-ratio: 16 / 9;
}

.project-card div,
.property-body,
.news-grid article {
  padding: 18px;
}

.project-card span,
.news-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card a {
  color: var(--green);
  font-weight: 900;
}

.project-detail {
  background: var(--white);
}

.blog-hero-media,
.blog-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.blog-hero-media {
  margin-bottom: 22px;
}

.blog-hero-media img,
.blog-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.blog-hero-media img {
  aspect-ratio: 16 / 7;
}

.blog-hero-media figcaption,
.blog-gallery figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.blog-date {
  color: var(--brick);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.detail-main,
.detail-facts,
.detail-points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-main {
  padding: clamp(22px, 4vw, 38px);
}

.detail-main p,
.detail-points p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-facts {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.detail-facts dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-facts div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-facts dt,
.detail-points span {
  color: var(--brick);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-facts dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 800;
  line-height: 1.45;
}

.detail-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.detail-points article {
  padding: 20px;
}

.blog-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}

.blog-gallery img {
  aspect-ratio: 4 / 3;
}

.pale {
  background: #f0ede5;
}

.result-count {
  margin: 0;
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  color: var(--green);
  background: var(--white);
}

.filter-chip.is-active {
  color: var(--white);
  background: var(--green);
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.property-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: #e8eee8;
  font-size: 0.78rem;
  font-weight: 900;
}

.property-price {
  margin-bottom: 10px;
  color: var(--brick);
  font-size: 1.15rem;
  font-weight: 900;
}

.property-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.lead-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 36, 30, 0.94), rgba(20, 36, 30, 0.76)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.lead-band h2 {
  margin-bottom: 0;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
}

.rent-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.rent-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  padding: 24px;
  background: var(--white);
}

.rent-list strong {
  color: var(--gold);
  font-size: 1.4rem;
}

.rent-list h3,
.rent-list p {
  grid-column: 2;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 6vw, 76px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 33, 28, 0.96), rgba(18, 33, 28, 0.82)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.contact-form .full-field,
.contact-form button,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form .form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.float-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: var(--brick);
  box-shadow: var(--shadow);
  font-size: 1.35rem;
}

@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 820px) {
  .topbar,
  .site-header {
    position: absolute;
  }

  .topbar-inner {
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .search-band,
  .intro-band,
  .lead-band,
  .split-section,
  .contact-section,
  .detail-grid,
  .detail-points,
  .blog-gallery {
    grid-template-columns: 1fr;
  }

  .blog-hero-media img {
    aspect-ratio: 4 / 3;
  }

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

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

  .result-count {
    white-space: normal;
  }

  .portrait {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-action {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .category-grid,
  .project-grid,
  .property-grid,
  .news-grid,
  .contact-form,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .category-grid a {
    min-height: 108px;
  }
}
