:root {
  --ink: #161616;
  --muted: #6d6963;
  --paper: #fbfaf7;
  --white: #ffffff;
  --soft: #f0ece4;
  --line: #e4ddd2;
  --charcoal: #202427;
  --charcoal-2: #111820;
  --gold: #c5a36b;
  --cta: #a96f2a;
  --cta-dark: #7f4b17;
  --gold-soft: #eadfc9;
  --shadow: 0 24px 80px rgba(17, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  margin: 0;
}

.hidden {
  display: none;
}

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

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(228, 221, 210, 0.75);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 76px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, #f2dfa4, #a5804b);
  color: var(--charcoal);
  display: inline-flex;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.logo-mark {
  background: var(--charcoal);
  overflow: hidden;
}

.logo-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  width: 100%;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-sticky-cta {
  display: none;
}

.desktop-sticky-register {
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  border: 1px solid rgba(255, 255, 255, 0.38);
  bottom: 28px;
  box-shadow: 0 18px 52px rgba(127, 75, 23, 0.34);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-width: 178px;
  padding: 16px 20px;
  position: fixed;
  right: 28px;
  text-align: center;
  text-transform: uppercase;
  z-index: 35;
}

.hero {
  min-height: 780px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  background:
    linear-gradient(115deg, rgba(17, 24, 32, 0.74) 0%, rgba(17, 24, 32, 0.46) 44%, rgba(17, 24, 32, 0.16) 100%),
    url("assets/whitestone-city-clean.jpg") center / cover;
  filter: saturate(0.94) brightness(0.98);
  inset: 0;
  position: absolute;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.12), rgba(17, 24, 32, 0.68)),
    radial-gradient(circle at 76% 18%, rgba(197, 163, 107, 0.12), transparent 34%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 980px;
  padding: clamp(110px, 13vw, 190px) clamp(20px, 5vw, 76px) 72px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #aa874f;
}

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

h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  margin-bottom: 28px;
  max-width: 960px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 14px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
  margin-bottom: 34px;
  max-width: 820px;
}

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

.button {
  align-items: center;
  border: 1px solid currentColor;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 16px 22px;
  text-transform: uppercase;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  box-shadow: 0 16px 38px rgba(17, 24, 32, 0.18);
  transform: translateY(-1px);
}

.primary {
  background: var(--white);
  color: var(--charcoal);
}

.secondary {
  background: var(--white);
  color: var(--charcoal);
}

.dark-button {
  background: var(--white);
  color: var(--charcoal);
}

.full {
  width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  padding: 6px 0 6px 12px;
  text-transform: uppercase;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(20px, 5vw, 76px);
}

.proof-strip > div {
  border-right: 1px solid var(--line);
  min-height: 142px;
  padding: clamp(24px, 4vw, 38px) clamp(20px, 3vw, 34px);
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.proof-strip span,
.section p,
.offer-note span,
footer span {
  color: var(--muted);
  line-height: 1.6;
}

.location-brief {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: clamp(38px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1fr);
  padding: clamp(70px, 8vw, 110px) clamp(20px, 5vw, 76px);
}

.location-brief p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 740px;
}

.map-comparison {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-item {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 22px;
  padding: 0 clamp(24px, 4vw, 42px);
}

.location-item strong {
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.location-item p {
  font-size: 16px;
  margin-bottom: 0;
}

.map-frame {
  aspect-ratio: 1.38;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.map-link {
  border-bottom: 1px solid currentColor;
  color: var(--charcoal);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 18px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.section {
  padding: clamp(78px, 9vw, 128px) clamp(20px, 5vw, 76px);
}

.split-section {
  align-items: start;
  display: grid;
  gap: clamp(34px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
}

.section-copy {
  max-width: 720px;
}

.section-copy p,
.project-copy p,
.offer-copy p {
  font-size: 18px;
  line-height: 1.65;
}

.route-cards {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
}

.route-cards article {
  border-left: 1px solid var(--line);
  min-height: 390px;
  padding: clamp(28px, 4vw, 44px);
}

.route-cards span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 26px 0 0;
  padding-left: 18px;
}

.project-section {
  align-items: stretch;
  background: var(--white);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 0;
}

.project-section.reverse .project-visual {
  order: 2;
}

.project-copy {
  align-self: center;
  padding: clamp(58px, 7vw, 100px);
}

.project-copy h2 {
  font-size: clamp(34px, 4vw, 56px);
  max-width: 760px;
}

.project-visual {
  min-height: 660px;
}

.milestone-visual {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(17, 24, 32, 0.18)),
    url("assets/milestone-exterior-clean.png") center / cover;
}

.whitestone-visual {
  background:
    linear-gradient(160deg, rgba(17, 24, 32, 0.02), rgba(17, 24, 32, 0.18)),
    url("assets/whitestone-exterior-public.jpeg") center / cover;
}

.feature-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.feature-grid div {
  border-left: 1px solid var(--line);
  padding: 24px;
}

.feature-grid div:first-child {
  border-left: 0;
}

.feature-grid strong {
  display: block;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.feature-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.location-section {
  background: var(--soft);
}

.location-section h2 {
  max-width: 920px;
}

.location-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 36px;
}

.location-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 150px;
  padding: 24px;
}

.compact-location-grid {
  grid-template-columns: repeat(4, 1fr);
}

.location-grid strong {
  color: var(--gold);
  display: block;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 12px;
}

.location-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.developer-section {
  background: var(--paper);
}

.developer-copy {
  max-width: 980px;
}

.developer-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 820px;
}

.developer-points {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.developer-points div {
  border-left: 1px solid var(--line);
  padding: 24px;
}

.developer-points div:first-child {
  border-left: 0;
}

.developer-points strong {
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.developer-points span {
  color: var(--muted);
  line-height: 1.55;
}

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

.inventory-header {
  align-items: end;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.inventory-header p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 820px;
}

.inventory-summary {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.inventory-summary div {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 132px;
  padding: 20px;
}

.inventory-summary strong {
  color: var(--gold);
  display: block;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}

.inventory-summary span,
.offer-row span,
.inventory-footnote {
  color: var(--muted);
  line-height: 1.45;
}

.offer-table {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.offer-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 0.55fr 0.7fr 0.5fr 1fr 1.25fr 1.25fr 1.1fr;
  min-height: 68px;
  padding: 16px 0;
}

.offer-row-head {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  min-height: 48px;
  text-transform: uppercase;
}

.offer-row strong {
  font-size: 20px;
  font-weight: 400;
}

.inventory-footnote {
  font-size: 13px;
  margin: 22px 0 0;
}

.offer-section {
  align-items: start;
  background: var(--charcoal-2);
  color: var(--white);
  display: grid;
  gap: clamp(34px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
}

.offer-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.offer-note {
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  margin-top: 30px;
  padding: 24px;
}

.offer-note strong {
  display: block;
  margin-bottom: 8px;
}

.offer-form {
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: clamp(26px, 4vw, 42px);
}

.offer-form .button.primary.full {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

select,
input {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  min-height: 48px;
  padding: 12px 14px;
}

.phone-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
}

.phone-row select,
.phone-row input {
  min-width: 0;
}

.offer-output {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.offer-output > div,
.offer-output dl {
  max-width: 1180px;
}

.offer-output p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.6;
}

.offer-output dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0;
}

.offer-output dl > div {
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.offer-output dt,
.offer-output dd {
  margin: 0;
}

.offer-output dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.matched-offers {
  max-width: 1180px;
}

.matched-offers h3 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  margin-bottom: 22px;
}

.match-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.match-grid article,
.match-empty {
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.match-grid strong,
.match-empty strong {
  color: var(--white);
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.match-grid > article > span,
.match-empty span {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  line-height: 1.45;
  margin-bottom: 18px;
}

.match-grid dl {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  margin: 0;
}

.match-grid dl > div {
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
}

.match-grid dd {
  color: var(--white);
}

footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 76px);
}

footer strong {
  text-transform: uppercase;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .mobile-sticky-cta {
    bottom: 0;
    display: block;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .mobile-sticky-cta a {
    background: linear-gradient(135deg, var(--cta), var(--cta-dark));
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    padding: 16px 12px;
    text-align: center;
    text-transform: uppercase;
  }

  .desktop-sticky-register {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .proof-strip,
  .location-brief,
  .map-comparison,
  .split-section,
  .route-cards,
  .project-section,
  .feature-grid,
  .location-grid,
  .developer-points,
  .inventory-header,
  .inventory-summary,
  .match-grid,
  .offer-section,
  .offer-output dl {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    padding: 0 20px;
  }

  .proof-strip > div,
  .route-cards article,
  .location-item,
  .feature-grid div,
  .developer-points div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-strip > div:first-child,
  .route-cards article:first-child,
  .location-item:first-child,
  .feature-grid div:first-child,
  .developer-points div:first-child {
    border-top: 0;
  }

  .project-section.reverse .project-visual {
    order: 0;
  }

  .project-visual {
    min-height: 420px;
  }

  .project-copy {
    padding: 44px 20px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 86px;
  }

  .offer-row-head {
    display: none;
  }

  .offer-row {
    align-items: start;
    background: var(--paper);
    border: 1px solid var(--line);
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
    min-height: 0;
    padding: 18px;
  }

  .offer-row strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section,
  .location-brief,
  .offer-output {
    padding-left: 18px;
    padding-right: 18px;
  }

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