:root {
  --green: rgb(4, 43, 26);
  --green-2: #0a3324;
  --green-3: #102d23;
  --stone: #e6ded3;
  --paper: #f8f5ef;
  --white: #ffffff;
  --ink: #132019;
  --muted: #6e756f;
  --gold: #d4be8b;
  --line: rgba(255, 255, 255, 0.28);
  --dark-line: rgba(4, 43, 26, 0.16);
  --shadow: 0 24px 70px rgba(4, 43, 26, 0.22);
}

* {
  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;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

svg {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 22px clamp(18px, 3.8vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 43, 26, 0.36), rgba(4, 43, 26, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.brand-mark::after {
  inset: auto 7px 7px auto;
  width: 12px;
  height: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 74px);
}

.top-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.icon-button,
.menu-button,
.menu-close,
.menu-inquire,
.primary-action,
.portfolio-card,
.filter-form button,
.lifestyle-card-copy a,
.empty-state a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(4, 43, 26, 0.42);
  text-decoration: none;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.menu-button {
  min-width: 82px;
  height: 44px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(4, 43, 26, 0.72);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 38px clamp(24px, 4vw, 64px) 34px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(4, 43, 26, 0.94), rgba(16, 45, 35, 0.98)),
    var(--green);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 360ms ease, visibility 360ms ease;
}

.menu-overlay.open {
  transform: translateY(0);
  visibility: visible;
}

.menu-top,
.menu-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.menu-close {
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.close-mark {
  position: relative;
  width: 54px;
  height: 54px;
}

.close-mark::before,
.close-mark::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 2px;
  width: 50px;
  height: 2px;
  background: currentColor;
}

.close-mark::before {
  transform: rotate(35deg);
}

.close-mark::after {
  transform: rotate(-35deg);
}

.menu-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.2vw, 4.3rem);
  line-height: 1;
  text-decoration: none;
}

.menu-inquire {
  justify-self: end;
  min-width: 210px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.menu-inquire svg,
.primary-action svg,
.portfolio-card svg,
.filter-form button svg,
.lifestyle-card-copy a svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-body {
  display: grid;
  grid-template-columns: minmax(260px, 34vw) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(56px, 8vw, 130px);
  min-height: 0;
}

.menu-body img {
  width: 100%;
  height: min(64vh, 720px);
  object-fit: cover;
}

.menu-links {
  display: grid;
  gap: clamp(6px, 1vw, 14px);
}

.menu-links a {
  width: fit-content;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  line-height: 0.98;
  text-decoration: none;
}

.menu-links a.active {
  border-bottom: 3px solid var(--gold);
}

.menu-bottom a {
  color: var(--white);
  text-decoration: none;
}

.menu-bottom > div {
  display: flex;
  gap: 42px;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-bottom > a {
  grid-column: 3;
  justify-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 130px clamp(18px, 5vw, 82px) 34px;
  color: var(--white);
  background: var(--hero-image) center / cover no-repeat;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 43, 26, 0.86) 0%, rgba(4, 43, 26, 0.56) 38%, rgba(4, 43, 26, 0.14) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.06) 42%);
}

.hero-content,
.hero-carousel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 46px;
}

.hero-location {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 8.6vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
}

.hero-content > p:last-of-type {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

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

.primary-action {
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: var(--green);
  background: var(--stone);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-price {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-carousel {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 22px;
  align-items: end;
}

.project-thumb {
  position: relative;
  min-height: 126px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  padding: 18px;
  color: var(--white);
  background: var(--thumb-image) center / cover no-repeat;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.project-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 43, 26, 0.08), rgba(0, 0, 0, 0.62));
}

.project-thumb span {
  position: relative;
  z-index: 1;
  font-size: clamp(0.88rem, 1.4vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.2em;
}

.project-thumb.active {
  border-color: var(--white);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.project-thumb.active::after {
  content: "";
  position: absolute;
  left: 36%;
  right: 36%;
  bottom: 0;
  height: 4px;
  background: var(--white);
}

.search-band {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 0 clamp(18px, 3vw, 42px) 46px;
  background: var(--green);
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
  gap: 24px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 28px 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.filter-form label {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.filter-form label > span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.filter-form select {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.filter-form select option {
  color: var(--ink);
}

.filter-form button {
  align-self: end;
  min-height: 58px;
  min-width: 220px;
  padding: 0 28px;
  border-radius: 999px;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.expertise {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.pattern {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  opacity: 0.24;
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(0deg, var(--line) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(90deg, transparent 49%, var(--line) 50%, transparent 51%) 0 0 / 184px 184px;
}

.expertise-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 16px minmax(260px, 560px);
  gap: 56px;
  align-content: start;
  padding: clamp(78px, 10vw, 130px) clamp(28px, 7vw, 110px);
}

.vertical-rule {
  width: 14px;
  height: 178px;
  background: rgba(255, 255, 255, 0.76);
}

.expertise h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.expertise p {
  margin: 24px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.75;
}

.portfolio-lockup {
  position: relative;
  align-self: end;
  min-height: 420px;
  padding: 80px clamp(28px, 7vw, 110px) 70px 0;
}

.portfolio-lockup img {
  width: min(760px, 100%);
  height: 330px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portfolio-card {
  position: absolute;
  right: clamp(28px, 7vw, 110px);
  bottom: 70px;
  width: min(320px, 42vw);
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  justify-content: stretch;
  gap: 12px;
  padding: 28px;
  border: 0;
  color: var(--ink);
  background: var(--white);
}

.portfolio-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.portfolio-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.portfolio-card svg {
  grid-row: span 2;
  align-self: center;
}

.results,
.lifestyle {
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 82px);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 940px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

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

.property-card {
  overflow: hidden;
  border: 1px solid rgba(4, 43, 26, 0.12);
  border-radius: 6px;
  background: var(--white);
}

.property-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.property-card-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.property-card-body > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
}

.property-card-body > p:not(:first-child) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.meta span,
.meta strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(4, 43, 26, 0.13);
  border-radius: 999px;
  color: var(--green);
  background: #eef2ec;
  font-size: 0.82rem;
}

.meta strong {
  margin-left: auto;
  color: var(--white);
  background: var(--green);
}

.empty-state {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 560px;
  padding: 36px;
  border: 1px solid var(--dark-line);
  background: var(--white);
}

.empty-state h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.empty-state a {
  min-height: 44px;
  padding: 0 18px;
  border-color: var(--dark-line);
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  font-weight: 900;
}

.lifestyle {
  overflow: hidden;
  background: var(--white);
}

.lifestyle-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x proximity;
}

.lifestyle-card {
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 0;
  background: var(--stone);
}

.lifestyle-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.lifestyle-card-copy {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 28px 28px 26px 96px;
}

.feature-icon {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: #5d675e;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon circle {
  fill: none;
}

.lifestyle-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.lifestyle-card p {
  margin: 0;
  color: #39433c;
  line-height: 1.58;
}

.lifestyle-card-copy a {
  width: fit-content;
  margin-top: auto;
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 42px clamp(18px, 5vw, 82px);
  color: var(--white);
  background: var(--green);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

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

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

  .filter-form button {
    grid-column: span 2;
  }

  .expertise {
    grid-template-columns: 1fr;
  }

  .portfolio-lockup {
    padding-left: clamp(28px, 7vw, 110px);
  }
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    max-width: calc(100vw - 126px);
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .icon-button {
    display: none;
  }

  .header-actions {
    position: fixed;
    top: 20px;
    right: auto;
    left: clamp(232px, calc(100vw - 88px), 300px);
    z-index: 45;
  }

  .menu-button {
    flex: 0 0 auto;
    min-width: 70px;
    height: 40px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 18px 24px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 18vw, 5.4rem);
    max-width: 6.8ch;
    overflow-wrap: break-word;
  }

  .hero-content {
    max-width: calc(100vw - 36px);
    padding-bottom: 28px;
  }

  .hero-content > p:last-of-type {
    max-width: 28ch;
  }

  .hero-carousel,
  .property-grid,
  .filter-form {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    max-width: calc(100vw - 36px);
  }

  .project-thumb {
    min-height: 96px;
  }

  .project-thumb.active {
    outline-offset: -3px;
  }

  .search-band {
    padding: 0 18px 36px;
  }

  .filter-form {
    padding: 24px;
  }

  .filter-form button {
    grid-column: auto;
    min-width: 0;
    width: 100%;
  }

  .expertise-copy {
    grid-template-columns: 8px 1fr;
    gap: 24px;
    padding: 64px 18px;
  }

  .vertical-rule {
    width: 8px;
    height: 150px;
  }

  .portfolio-lockup {
    min-height: 390px;
    padding: 0 18px 56px;
  }

  .portfolio-lockup img {
    height: 260px;
  }

  .portfolio-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -36px;
  }

  .menu-overlay {
    padding: 26px 22px;
  }

  .menu-top {
    grid-template-columns: 1fr auto;
  }

  .menu-brand {
    justify-self: end;
    font-size: 2rem;
  }

  .menu-inquire {
    display: none;
  }

  .menu-body {
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: center;
  }

  .menu-body img {
    height: 28vh;
  }

  .menu-links a {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .menu-bottom {
    grid-template-columns: 1fr;
  }

  .menu-bottom > a {
    grid-column: auto;
    justify-self: start;
  }

  .lifestyle-rail {
    grid-auto-columns: minmax(292px, 88vw);
  }

  .lifestyle-card-copy {
    padding-left: 88px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
