:root {
  --navy: #071d38;
  --navy2: #0a2a4d;
  --gold: #d99b13;
  --mist: #c4c9d1;
  --text: #071b35;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter,Arial,sans-serif;
  color: var(--text);
}

body {
  background: #0a223d;
}

.residences-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a223d;
}

.hero-wrap {
  position: relative;
  flex: 1;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 90px;
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.76) 0%, rgba(221,225,231,.86) 31%, rgba(104,119,136,.82) 58%, rgba(28,51,75,.95) 100%), linear-gradient(135deg,#0a223d 0%,#c1c6cd 47%,#0a223d 100%);
}

.hero-wrap:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 0%, transparent 38%, rgba(5,22,42,.14) 68%, rgba(5,17,34,.35) 100%), linear-gradient(90deg, rgba(4,17,34,.44), transparent 34%, transparent 66%, rgba(4,17,34,.44));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin-top: -20px;
}

.brand-logo {
  width: min(520px,86vw);
  filter: drop-shadow(0 9px 13px rgba(0,0,0,.22));
  margin-bottom: 8px;
}

.gold-rule {
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--gold),transparent);
  margin: 8px auto 26px;
}

h1 {
  font-size: clamp(2.2rem,4.2vw,4.1rem);
  font-weight: 400;
  letter-spacing: -.035em;
  color: #071d38;
  text-shadow: 0 2px 0 rgba(255,255,255,.44),0 4px 12px rgba(0,0,0,.22);
  margin: 0 0 22px;
}

.lead-copy {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.05rem,1.7vw,1.45rem);
  line-height: 1.55;
  font-weight: 400;
  color: #071d38;
  text-shadow: 0 1px 0 rgba(255,255,255,.38);
}

.pill {
  display: inline-block;
  margin-top: 34px;
  padding: 15px 34px;
  border-radius: 999px;
  background: linear-gradient(180deg,#0c3158,#071d38);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 12px 24px rgba(3,15,30,.22), inset 0 1px 0 rgba(255,255,255,.18);
  color: white;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: clamp(.8rem,1.35vw,1.03rem);
}

.info-bar {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg,#081f3c,#061a32);
  padding: 38px 0 34px;
  color: white;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -18px 40px rgba(0,0,0,.16);
}

.info-bar:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--gold),transparent);
}

.info-items {
  max-width: 980px;
  margin: auto;
}

.info-item {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 1.04rem;
  color: rgba(255,255,255,.94);
  padding: 0 20px;
}

.info-item i {
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}

.info-item.middle {
  border-left: 1px solid rgba(255,255,255,.34);
  border-right: 1px solid rgba(255,255,255,.34);
}

.house-line {
  position: absolute;
  bottom: 24px;
  width: 28vw;
  max-width: 430px;
  min-width: 260px;
  z-index: 3;
  opacity: .86;
}

.house-left {
  left: -10px;
}

.house-right {
  right: -4px;
}

.house-line svg {
  width: 100%;
  height: auto;
  display: block;
}

.house-line path {
  fill: none;
  stroke: rgba(255,255,255,.76);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.house-line path:nth-child(2n) {
  stroke: rgba(255,255,255,.42);
}

@media (max-width:900px) {
  .hero-wrap {
    min-height: 78vh;
    padding-top: 34px;
    padding-bottom: 58px;
  }
}

@media (max-width:900px) {
  .brand-logo {
    width: min(420px,88vw);
  }
}

@media (max-width:900px) {
  .house-line {
    opacity: .45;
    width: 38vw;
  }
}

@media (max-width:900px) {
  .info-item.middle {
    border: none;
    border-top: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
    padding: 22px 10px;
  }
}

@media (max-width:900px) {
  .info-item {
    min-height: 80px;
  }
}

@media (max-width:900px) {
  .pill {
    padding: 13px 24px;
  }
}

@media (max-width:560px) {
  .hero-wrap {
    padding-bottom: 42px;
  }
}

@media (max-width:560px) {
  .brand-logo {
    width: 92vw;
  }
}

@media (max-width:560px) {
  .lead-copy {
    max-width: 92vw;
  }
}

@media (max-width:560px) {
  .house-line {
    display: none;
  }
}

@media (max-width:560px) {
  .info-bar {
    padding: 28px 0;
  }
}

@media (max-width:560px) {
  .pill {
    letter-spacing: .11em;
  }
}

@media (max-width:560px) {
  .hero-content {
    margin-top: -8px;
  }
}

