:root {
  color-scheme: dark;
  --bg: #08111b;
  --bg-soft: #0d1b29;
  --surface: rgba(10, 20, 32, 0.82);
  --surface-strong: rgba(15, 29, 45, 0.95);
  --surface-line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #aab7c8;
  --accent: #c79b5f;
  --accent-2: #7fd1c7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(199, 155, 95, 0.24), transparent 28%),
    radial-gradient(circle at right 20%, rgba(127, 209, 199, 0.18), transparent 24%),
    linear-gradient(180deg, #07101a 0%, #09131d 50%, #050b12 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
  opacity: 0.35;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 24px;
  background: rgba(8, 16, 26, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #10161f;
  background: linear-gradient(145deg, #f5ddb5, #c79b5f);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.brand-subtitle,
.footer p,
.footer-meta p {
  margin: 0;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(244, 247, 251, 0.88);
}

.nav a {
  position: relative;
  font-size: 0.95rem;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: 42px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 120px);
}

.pill,
.property-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e7f3f0;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.quote-section blockquote {
  font-family: 'Fraunces', Georgia, serif;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  max-width: 11ch;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #10161f;
  background: linear-gradient(145deg, #f8e2bf, #c79b5f);
  box-shadow: 0 16px 32px rgba(199, 155, 95, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.hero-facts div,
.contact-details > div {
  padding: 16px 18px;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.hero-facts dt,
.contact-details span {
  margin-bottom: 5px;
  color: var(--accent-2);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.visual-panel {
  position: absolute;
  inset: 72px 16px 0;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(127, 209, 199, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(8, 16, 26, 0.9), rgba(11, 20, 31, 0.98));
  box-shadow: var(--shadow);
}

.skyline {
  overflow: hidden;
}

.skyline::before,
.skyline::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, transparent, rgba(199, 155, 95, 0.1)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%);
  clip-path: polygon(0 100%, 0 54%, 8% 48%, 15% 38%, 22% 52%, 32% 28%, 43% 48%, 50% 24%, 60% 45%, 70% 18%, 80% 44%, 90% 30%, 100% 52%, 100% 100%);
}

.skyline::after {
  opacity: 0.5;
  transform: translateY(18px);
}

.tower {
  position: absolute;
  bottom: 0;
  width: 14%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(245, 221, 181, 0.95), rgba(199, 155, 95, 0.24));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tower::before {
  content: '';
  position: absolute;
  inset: 12px 10px 18px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    repeating-linear-gradient(180deg, rgba(8, 16, 26, 0.35) 0 10px, transparent 10px 20px);
}

.tower-a {
  left: 10%;
  height: 55%;
}

.tower-b {
  left: 27%;
  height: 72%;
}

.tower-c {
  left: 49%;
  height: 61%;
}

.tower-d {
  left: 69%;
  height: 80%;
}

.ground-line {
  position: absolute;
  inset: auto 10% 9% 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(127, 209, 199, 0.7), transparent);
}

.sky-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(127, 209, 199, 0.9);
  box-shadow: 0 0 26px rgba(127, 209, 199, 0.55);
}

.dot-one {
  top: 12%;
  right: 20%;
  width: 10px;
  height: 10px;
}

.dot-two {
  top: 23%;
  right: 12%;
  width: 6px;
  height: 6px;
  opacity: 0.8;
}

.dot-three {
  top: 31%;
  left: 18%;
  width: 8px;
  height: 8px;
}

.floating-card {
  position: absolute;
  width: min(280px, calc(100% - 48px));
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 17, 27, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.floating-card p {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.floating-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.55;
}

.card-a {
  left: 0;
  top: 38px;
}

.card-b {
  right: 0;
  bottom: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p:last-child,
.intro p,
.service-card p,
.process-list p,
.contact-copy p,
.property-body p,
.contact-details p,
.contact-details a {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.property-card,
.process-list article,
.contact-section,
.quote-section {
  border: 1px solid var(--surface-line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(199, 155, 95, 0.16);
  color: #f4dcb9;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card h3,
.property-body h3,
.process-list h3 {
  margin: 16px 0 10px;
  font-size: 1.16rem;
}

.section-heading-inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.filter-btn.is-active {
  color: #10161f;
  border-color: transparent;
  background: linear-gradient(145deg, #f8e2bf, #c79b5f);
}

.portfolio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.property-visual {
  height: 190px;
}

.gradient-a {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 22%),
    linear-gradient(135deg, #1e3a5a, #607d8b 48%, #d1a56b);
}

.gradient-b {
  background:
    radial-gradient(circle at 75% 28%, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(145deg, #15222f, #2f5161 55%, #c79b5f);
}

.gradient-c {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, #26403a, #5f8c79 56%, #f3cc8d);
}

.gradient-d {
  background:
    radial-gradient(circle at 60% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, #2d2740, #4b5c74 56%, #d4a16a);
}

.property-body {
  padding: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.process-list span {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(127, 209, 199, 0.14);
  color: var(--accent-2);
  font-weight: 800;
}

.quote-section {
  padding: 48px 28px;
  border-radius: 32px;
  text-align: center;
}

.quote-section blockquote {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  padding: 28px;
  border-radius: 32px;
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.contact-details a {
  word-break: break-word;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: #d8e1ea;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 15, 24, 0.7);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(127, 209, 199, 0.6);
  box-shadow: 0 0 0 3px rgba(127, 209, 199, 0.14);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 4px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 8px;
}

.footer-links {
  justify-items: center;
}

.footer-meta {
  justify-items: end;
  text-align: right;
}

.is-hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero,
  .intro,
  .split-section,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

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

  .footer-links,
  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    border-radius: 22px;
    padding: 14px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 10px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .hero-copy h1 {
    max-width: 9ch;
  }

  .hero-facts,
  .services-grid,
  .portfolio-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .section-heading-inline {
    flex-direction: column;
    align-items: start;
  }

  .hero-visual {
    min-height: 440px;
  }

  .visual-panel {
    inset: 46px 0 0;
  }

  .card-a {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .card-b {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .quote-section blockquote {
    max-width: 12ch;
  }
}
