:root {
  --grove: #12372d;
  --grove-deep: #0c241f;
  --ivory: #f7f4ec;
  --stone: #d8d0bf;
  --linen: #eee7da;
  --charcoal: #232622;
  --ink: #17201c;
  --gold: #b79a63;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(7, 18, 15, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 24, 20, 0.86), rgba(8, 24, 20, 0));
}

.brand img {
  width: auto;
  height: clamp(44px, 5vw, 62px);
  border-radius: 4px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  opacity: 0.9;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
  color: var(--stone);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--grove-deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 42%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 17, 0.82) 0%, rgba(7, 20, 17, 0.46) 42%, rgba(7, 20, 17, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 20, 17, 0.75) 0%, rgba(7, 20, 17, 0) 46%);
}

.hero-content {
  position: relative;
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 172px 0 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--stone);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold);
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 9rem);
}

h2 {
  color: var(--grove);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--grove-deep);
  background: var(--stone);
  border-color: var(--stone);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.58);
  background: rgba(255, 253, 248, 0.05);
}

.button.full {
  width: 100%;
}

.band,
.band-light,
.inquiry,
.site-footer {
  padding: clamp(72px, 9vw, 128px) 0;
}

.band {
  background: var(--ivory);
}

.band-light {
  background: var(--linen);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid,
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro p:not(.eyebrow),
.location p,
.copy-panel p,
.inquiry-copy p,
.thanks p {
  margin: 0;
  color: rgba(23, 32, 28, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--grove);
  color: var(--white);
}

.stat {
  min-height: 170px;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid rgba(255, 253, 248, 0.18);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.95fr);
}

.image-panel {
  min-height: clamp(380px, 50vw, 620px);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.residence-panel {
  background-image:
    linear-gradient(180deg, rgba(13, 40, 33, 0.04), rgba(13, 40, 33, 0.48)),
    url("/assets/market-street-render-hero.jpg");
  background-position: 52% center;
}

.retail-panel {
  background-image:
    linear-gradient(180deg, rgba(13, 40, 33, 0.02), rgba(13, 40, 33, 0.5)),
    url("/assets/market-street-render-hero.jpg");
  background-position: 74% center;
}

.copy-panel {
  max-width: 590px;
}

.copy-panel p {
  margin-top: 24px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(23, 32, 28, 0.8);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--grove);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  font-size: 0.78rem;
}

.address-block {
  padding-top: 8px;
}

.address-block p {
  color: var(--grove);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.inquiry {
  background: var(--grove-deep);
  color: var(--white);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(340px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.inquiry-copy {
  position: sticky;
  top: 120px;
}

.inquiry-copy img {
  width: min(420px, 100%);
  margin-bottom: 42px;
  border-radius: 8px;
}

.inquiry h2 {
  color: var(--white);
}

.inquiry-copy p {
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.76);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(16px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.09);
  font: inherit;
}

textarea {
  resize: vertical;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hidden {
  display: none;
}

.form-note {
  margin: -4px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.86rem;
}

.site-footer {
  padding-block: 44px;
  color: var(--white);
  background: var(--grove);
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 26px;
  align-items: center;
}

.footer-grid img {
  width: 190px;
  border-radius: 8px;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
}

.footer-grid a {
  color: var(--stone);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--grove-deep);
}

.thanks {
  width: min(720px, 100%);
  color: var(--white);
  text-align: center;
}

.thanks img {
  width: min(330px, 80%);
  margin: 0 auto 36px;
  border-radius: 8px;
}

.thanks h1 {
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}

.thanks p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px auto 34px;
  color: rgba(255, 253, 248, 0.76);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 12px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 880px;
  }

  .hero-content {
    padding-bottom: 52px;
  }

  .intro-grid,
  .location-grid,
  .split-grid,
  .split-grid.reverse,
  .inquiry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-copy {
    position: static;
  }

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

  .stat {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  }

  .stat:last-child {
    border-bottom: 0;
  }

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

  .footer-grid {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    gap: 14px;
    padding: 14px 18px;
  }

  .brand img {
    height: 38px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  h1 {
    font-size: 3.8rem;
  }

  .hero {
    min-height: 790px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 150px;
  }

  .button {
    width: 100%;
  }

  .image-panel {
    min-height: 330px;
  }
}
