:root {
  --ink: #1f2a24;
  --muted: #647168;
  --gold: #c9942e;
  --gold-dark: #9b6f1f;
  --leaf: #24614a;
  --cream: #fbfaf6;
  --line: rgba(31, 42, 36, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

html {
  scroll-behavior: smooth;
}

#enquiry {
  scroll-margin-top: 24px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
  height: 100%;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 23, 17, 0.82) 0%, rgba(11, 23, 17, 0.45) 48%, rgba(11, 23, 17, 0.14) 100%),
    linear-gradient(0deg, rgba(11, 23, 17, 0.72) 0%, rgba(11, 23, 17, 0.02) 42%);
  z-index: 1;
}

.hero-nav,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-nav {
  position: absolute;
  inset: 0 0 auto 0;
  padding-top: 20px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
}

.builder-logo {
  width: min(190px, 38vw);
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta,
.btn-gold,
.btn-glass {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  padding: 10px 18px;
}

.opal-title-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
}

.opal-title-lockup h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: rgba(255, 255, 255, 0.88);
}

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

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  padding: 12px 22px;
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-glass {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  padding: 12px 22px;
}

.btn-glass:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.launch-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 24, 17, 0.58);
  backdrop-filter: blur(12px);
  border-radius: 8px;
}

.launch-panel > span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.timer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.timer div {
  padding: 14px 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.timer strong {
  display: block;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  line-height: 1;
}

.timer small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.launch-panel p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.project-band {
  background: #fff;
}

.project-logo {
  width: min(180px, 52vw);
  height: auto;
  display: block;
  margin-bottom: 22px;
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(31, 42, 36, 0.14);
}

.project-band h2,
.enquiry-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
}

.project-band p,
.contact-copy p,
address {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-grid div {
  border-left: 4px solid var(--gold);
  background: #f4f1ea;
  padding: 16px;
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid strong {
  font-size: 1.5rem;
}

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

.image-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.image-mosaic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.image-mosaic .mosaic-main {
  grid-row: span 2;
  height: 452px;
}

.enquiry-band {
  background: linear-gradient(180deg, #f7f6f1 0%, #fff 100%);
}

.contact-copy,
.enquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 36px);
}

.contact-copy address {
  margin: 24px 0 14px;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--gold-dark);
}

.contact-link svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 9px;
  fill: var(--gold);
  background: rgba(201, 148, 46, 0.12);
  border: 1px solid rgba(201, 148, 46, 0.28);
  border-radius: 50%;
}

.enquiry-form label {
  font-weight: 700;
  margin-bottom: 7px;
}

.form-control,
.form-select {
  min-height: 48px;
  border-radius: 4px;
  border-color: var(--line);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 148, 46, 0.18);
}

.form-status {
  color: var(--leaf);
  font-weight: 700;
}

@media (max-width: 993px) {
  .hero::after {
    background:
      linear-gradient(90deg, rgba(11, 23, 17, 0.78), rgba(11, 23, 17, 0.38)),
      linear-gradient(0deg, rgba(11, 23, 17, 0.78), rgba(11, 23, 17, 0.08));
  }

  .hero {
    min-height: auto;
  }

  .hero-content .row {
    min-height: auto !important;
    padding-top: 190px;
    padding-bottom: 56px !important;
    margin-top: 100px;
  }

  .opal-title-lockup h1 {
    font-size: clamp(3.75rem, 9vw, 6.5rem);
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-nav .container-fluid {
    align-items: flex-start;
    gap: 10px;
  }

  .navbar-brand {
    min-height: 58px;
    padding: 8px 10px;
  }

  .builder-logo {
    width: min(130px, 36vw);
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 7px;
  }

  .hero-content .row {
    min-height: auto !important;
    padding-top: 190px;
    padding-bottom: 40px !important;
  }

  .opal-title-lockup {
    gap: 12px;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .image-mosaic .mosaic-main,
  .image-mosaic img {
    height: 250px;
  }
}

@media (max-width: 575px) {
  .hero-nav {
    padding-top: 14px;
  }

  .hero-nav .container-fluid {
    padding-inline: 16px !important;
  }

  .navbar-brand {
    min-height: 48px;
    padding: 7px 9px;
  }

  .builder-logo {
    width: 104px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .hero-content .row {
    padding-top: 210px;
  }

  .opal-title-lockup {
    display: block;
    margin-bottom: 14px;
  }

  .opal-title-lockup h1 {
    font-size: clamp(3.25rem, 19vw, 4.25rem);
    line-height: 0.92;
  }

  .eyebrow {
    font-size: 0.78rem;
    margin-bottom: 9px;
  }

  .lead {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
    padding: 10px 8px;
    font-size: 0.92rem;
  }

  .launch-panel {
    padding: 18px;
    margin-top: 8px;
  }

  .timer {
    gap: 8px;
  }

  .timer div {
    min-width: 0;
    padding: 12px 4px;
  }

  .timer strong {
    font-size: 1.8rem;
  }

  .timer small {
    font-size: 0.82rem;
  }

  .project-band h2,
  .enquiry-band h2 {
    font-size: 2rem;
  }

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

  .contact-copy,
  .enquiry-form {
    padding: 20px;
  }

  .contact-link {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .builder-logo {
    width: 92px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .hero-content .row {
    padding-top: 198px;
  }

  .opal-title-lockup h1 {
    font-size: 3.15rem;
  }

  .hero-actions .btn {
    font-size: 0.86rem;
  }
}
