:root {
  --ink: #151515;
  --muted: #61615d;
  --paper: #f7f3ec;
  --white: #ffffff;
  --gold: #c5934d;
  --gold-dark: #8a612d;
  --graphite: #23272b;
  --line: rgba(21, 21, 21, 0.12);
  --shadow: 0 24px 80px rgba(21, 21, 21, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 22, 24, 0.66);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  color: #21180d;
  background: linear-gradient(135deg, #f3c977, #b77b32);
  font-size: 14px;
}

.brand-text {
  font-size: 18px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav a,
.header-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav a:hover {
  color: var(--white);
}

.header-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.header-action:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 138px max(24px, calc((100vw - 1180px) / 2)) 74px;
  color: var(--white);
  background: #141618;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.88) 0%, rgba(12, 13, 14, 0.58) 38%, rgba(12, 13, 14, 0.1) 72%),
    linear-gradient(0deg, rgba(12, 13, 14, 0.72) 0%, rgba(12, 13, 14, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #1d160c;
  background: linear-gradient(135deg, #f5c873, #c89142);
  box-shadow: 0 16px 36px rgba(197, 147, 77, 0.26);
}

.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.secondary.dark {
  color: var(--ink);
  border-color: rgba(21, 21, 21, 0.22);
  background: rgba(255, 255, 255, 0.58);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-card div {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-card div:last-child {
  border-right: 0;
}

.metric,
.metric-label {
  display: block;
}

.metric {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 760px;
  display: block;
}

.section-heading.narrow p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.intro-grid article,
.steps article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.icon,
.steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 6px;
  color: #21180d;
  background: #e9c27d;
  font-size: 13px;
  font-weight: 900;
}

.intro-grid p,
.steps p,
.project-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.project {
  padding-top: 0;
}

.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.project-copy {
  padding: 58px;
  color: var(--white);
}

.project-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 44px 0 0;
}

.details div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.details dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.details dd {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.project-visual {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(140deg, rgba(197, 147, 77, 0.22), rgba(255, 255, 255, 0)),
    url("assets/hero-residence.png") center / cover;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(35, 39, 43, 0.58), rgba(35, 39, 43, 0.08));
}

.building-card {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  width: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 22, 24, 0.66);
  backdrop-filter: blur(16px);
}

.building-card span,
.building-card small,
footer span:last-child {
  color: rgba(255, 255, 255, 0.64);
}

.building-card strong {
  display: block;
  margin: 6px 0;
  font-size: 28px;
  line-height: 1;
}

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

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  margin: 0 max(24px, calc((100vw - 1180px) / 2)) 42px;
  padding: 54px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.88), rgba(35, 39, 43, 0.72)),
    url("assets/hero-residence.png") center / cover;
}

.cta p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2)) 34px;
  color: var(--white);
  background: #151515;
  font-size: 14px;
}

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

  .nav {
    display: none;
  }

  .hero {
    min-height: 740px;
    padding-top: 126px;
  }

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

  .hero-card,
  .intro-grid,
  .steps,
  .details,
  .project-panel,
  .section-heading,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-card div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-card div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-heading {
    gap: 18px;
  }

  .project-copy,
  .cta {
    padding: 34px;
  }

  .contact-actions {
    margin-top: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 8px;
  }

  .brand-text {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 760px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  h2 {
    font-size: 29px;
    line-height: 1.08;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro-grid article,
  .steps article {
    min-height: auto;
    padding: 24px;
  }

  .project-panel {
    border-radius: 0;
    margin-left: -18px;
    margin-right: -18px;
  }

  .project-copy {
    padding: 34px 18px;
  }

  .building-card {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }

  .cta {
    margin-left: 18px;
    margin-right: 18px;
    padding: 28px;
  }
}
