:root {
  --bg-dark: #11212c;
  --bg-dark-strong: #0c1a24;
  --bg-soft: #edf5f5;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 33, 44, 0.1);
  --text: #12212c;
  --muted: #5d6a72;
  --light: #f4fbfc;
  --accent: #f5eee1;
  --accent-deep: #d6b583;
  --container: 1180px;
  --radius: 28px;
  --radius-sm: 20px;
  --shadow: 0 28px 70px rgba(18, 33, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(214, 181, 131, 0.18), transparent 20%),
    linear-gradient(180deg, #f7fbfb, #eef5f5);
}

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

img {
  max-width: 100%;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #16303c;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--light);
}

.brand,
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

.brand {
  font-size: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: clamp(168px, 17vw, 224px);
  height: auto;
}

.site-nav {
  display: flex;
  gap: 18px 22px;
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: end;
  overflow: hidden;
}

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

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(9, 20, 28, 0.18), rgba(9, 20, 28, 0.78)),
    linear-gradient(90deg, rgba(9, 20, 28, 0.34), transparent 56%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  padding: 34px 0 84px;
  color: var(--light);
}

.hero-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-topline span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(244, 251, 252, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #56707a;
}

h1,
h2 {
  margin: 0;
  line-height: 0.95;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.8rem, 8vw, 7rem);
}

h2 {
  max-width: 22ch;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
}

.hero-copy,
.section-copy,
.masterplan-copy p:not(.eyebrow),
.signature-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--muted);
}

.hero-copy {
  color: rgba(244, 251, 252, 0.86);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
  cursor: pointer;
}

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

.button-primary {
  background: var(--accent);
  color: #16303c;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--light);
}

.hero-availability {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.hero-availability div,
.detail-panel,
.masterplan-card,
.feature-grid article,
.signature-cards article,
.faq-grid article,
.contact-form,
.contact-facts article {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-availability div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-availability strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.hero-availability span {
  display: block;
  margin-top: 8px;
  color: rgba(244, 251, 252, 0.76);
}

.section {
  padding: 76px 0;
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-strong));
  color: var(--light);
}

.section-dark .masterplan-copy h2,
.section-dark .masterplan-copy p {
  color: var(--light);
}

.section-dark .masterplan-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .masterplan-card article + article {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section-dark .masterplan-card strong {
  color: var(--light);
}

.section-dark .masterplan-card span {
  color: rgba(244, 251, 252, 0.72);
}

.section-dark .eyebrow {
  color: rgba(244, 251, 252, 0.78);
}

.section-light {
  background: transparent;
}

.section-soft {
  background: linear-gradient(180deg, rgba(203, 220, 222, 0.42), rgba(244, 251, 252, 0.04));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  height: 100%;
}

.metric-grid strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.metric-grid span {
  color: rgba(244, 251, 252, 0.74);
}

.split-shell,
.masterplan-grid,
.location-shell,
.signature-shell,
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-head h2,
.faq-shell .section-head h2 {
  max-width: 22ch;
}

.detail-panel,
.masterplan-card,
.feature-grid article,
.signature-cards article,
.faq-grid article,
.contact-form,
.contact-facts article {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.detail-panel article + article,
.masterplan-card article + article {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 33, 44, 0.08);
}

.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.detail-top span {
  color: var(--muted);
  font-weight: 700;
}

.detail-panel h3,
.masterplan-card strong,
.feature-grid h3,
.faq-grid h3 {
  margin: 0;
  font-size: 1.6rem;
}

.detail-panel p,
.masterplan-card span,
.feature-grid p,
.signature-cards span,
.faq-grid p,
.contact-facts span,
.contact-facts a,
.footer-shell p,
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.masterplan-card strong,
.signature-cards strong,
.contact-facts strong {
  display: block;
}

.location-visual img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.distance-grid,
.feature-grid,
.signature-cards,
.faq-grid,
.footer-shell {
  display: grid;
  gap: 18px;
}

.distance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.distance-grid article,
.contact-facts article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  height: 100%;
}

.distance-grid strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

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

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.gallery-section {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 192px;
  gap: 18px;
  align-items: stretch;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid img:nth-child(1) {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.gallery-grid img:nth-child(2) {
  grid-column: 6 / span 4;
  grid-row: 1 / span 2;
}

.gallery-grid img:nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: 1 / span 2;
}

.gallery-grid img:nth-child(4) {
  grid-column: 1 / span 12;
  grid-row: 3 / span 1;
  height: 230px;
}

.signature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.signature-cards article {
  min-height: 108px;
}

.faq-shell .section-head h2 {
  max-width: 18ch;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.faq-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-grid p {
  color: rgba(244, 251, 252, 0.72);
}

.section-contact {
  background: linear-gradient(180deg, #0f2230, #0b1821);
  color: var(--light);
}

.contact-facts {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  align-items: stretch;
}

.contact-facts article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-facts span,
.contact-facts a {
  color: rgba(244, 251, 252, 0.72);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: rgba(244, 251, 252, 0.88);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--light);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(244, 251, 252, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(214, 181, 131, 0.48);
  box-shadow: 0 0 0 4px rgba(214, 181, 131, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  grid-column: 1 / -1;
  color: rgba(244, 251, 252, 0.72);
  font-size: 0.94rem;
}

.site-footer {
  padding: 0 0 40px;
  background: #0b1821;
  color: rgba(244, 251, 252, 0.82);
}

.footer-shell {
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links,
.footer-legal {
  display: grid;
  gap: 10px;
  align-content: start;
  color: rgba(244, 251, 252, 0.68);
}

@media (max-width: 1024px) {
  .split-shell,
  .masterplan-grid,
  .location-shell,
  .signature-shell,
  .contact-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .signature-cards,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .metric-grid,
  .hero-availability,
  .distance-grid,
  .feature-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    height: 300px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-shell {
    padding-bottom: 66px;
  }

  .section {
    padding: 74px 0;
  }

  .location-visual img {
    height: 400px;
  }

  .detail-panel,
  .masterplan-card,
  .feature-grid article,
  .signature-cards article,
  .faq-grid article,
  .contact-form,
  .hero-availability div,
  .contact-facts article {
    border-radius: 22px;
  }
}
