:root {
  --bg: #0a0b0a;
  --bg-2: #11120f;
  --surface: #171814;
  --surface-soft: #f5efe3;
  --ink: #f8f3e8;
  --ink-dark: #17140f;
  --muted: #b7ad9b;
  --muted-dark: #6f6556;
  --gold: #c99b4a;
  --gold-light: #e7c477;
  --gold-soft: rgba(201, 155, 74, 0.14);
  --line: rgba(231, 196, 119, 0.22);
  --line-dark: rgba(23, 20, 15, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --shadow-gold: 0 20px 60px rgba(201, 155, 74, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-lg: 0;
  --radius-md: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(201, 155, 74, 0.16), transparent 28rem),
    linear-gradient(180deg, #080908 0%, var(--bg) 46%, #12110d 100%);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(231, 196, 119, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 196, 119, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 196, 119, 0.16);
  background: rgba(8, 9, 8, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
}

.navbar,
.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 8px rgba(201, 155, 74, 0.08), var(--shadow-gold);
}

.nav-links {
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 12px 14px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(201, 155, 74, 0.08);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  margin-left: 8px;
  color: var(--ink-dark);
  background: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 1px;
  margin: 6px auto;
  background: var(--gold-light);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-media {
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1613977257363-707ba9348227?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 7, 6, 0.92), rgba(6, 7, 6, 0.58) 48%, rgba(6, 7, 6, 0.36)),
    linear-gradient(180deg, rgba(6, 7, 6, 0.42), rgba(6, 7, 6, 0.84));
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 340px;
  gap: 48px;
  align-items: end;
  min-height: 100vh;
  padding: 170px 0 74px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(4.6rem, 10vw, 9.8rem);
  line-height: 0.82;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 5vw, 5.35rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.62rem;
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-copy > p:not(.eyebrow),
.intro > p,
.contact-copy p,
.property-content p,
.service-grid p,
.experience-copy > p,
.process-list p,
.hero-reservation p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: var(--ink-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
}

.button.primary:hover {
  box-shadow: 0 22px 70px rgba(201, 155, 74, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: rgba(8, 9, 8, 0.3);
}

.button.secondary:hover {
  color: var(--ink-dark);
  background: var(--gold-light);
}

.hero-reservation {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(13, 14, 12, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-reservation span,
.hero-reservation strong {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-reservation h2 {
  margin: 10px 0;
  font-size: 2.8rem;
}

.hero-reservation p {
  margin-bottom: 22px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 52px;
  align-items: end;
  padding: 108px 0 58px;
}

.intro .hero-stats {
  grid-column: 1 / -1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stats div {
  padding: 30px;
  background: rgba(18, 17, 13, 0.92);
}

.hero-stats dt {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 0.9;
}

.hero-stats dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 860px;
  padding: 70px 0 34px;
  text-align: center;
}

.section-heading.compact {
  max-width: 600px;
  padding: 0;
  text-align: left;
}

.property-grid {
  display: grid;
  grid-template-columns: 1.24fr 0.88fr 0.88fr;
  gap: 24px;
}

.property-card,
.service-grid article,
.contact-form,
.process-list article {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(20, 20, 16, 0.92);
  box-shadow: var(--shadow);
}

.property-card,
.service-grid article,
.process-list article,
.hero-stats div {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.property-card:hover,
.service-grid article:hover,
.process-list article:hover,
.hero-stats div:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 196, 119, 0.44);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}

.property-image {
  min-height: 330px;
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.04);
}

.feature-card .property-image {
  min-height: 520px;
}

.estate {
  background-image:
    linear-gradient(180deg, transparent 48%, rgba(9, 9, 7, 0.72)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1400&q=84");
}

.penthouse {
  background-image:
    linear-gradient(180deg, transparent 48%, rgba(9, 9, 7, 0.7)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1000&q=84");
}

.villa {
  background-image:
    linear-gradient(180deg, transparent 48%, rgba(9, 9, 7, 0.7)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1000&q=84");
}

.experience-image {
  min-height: 620px;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(180deg, rgba(9, 9, 7, 0.02), rgba(9, 9, 7, 0.36)),
    url("https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?auto=format&fit=crop&w=1200&q=84");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.property-content,
.contact-form,
.service-grid article,
.process-list article {
  padding: 30px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.property-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.property-content li {
  padding: 8px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.experience,
.services,
.contact {
  padding: 110px 0;
}

.experience {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 62px;
  align-items: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.process-list span,
.service-grid span {
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.services {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

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

.testimonial {
  padding: 70px 8vw;
  border-block: 1px solid var(--line);
  text-align: center;
}

.testimonial p {
  max-width: 920px;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.testimonial span {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.contact-copy a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-light);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: var(--surface-soft);
  color: var(--ink-dark);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  padding: 15px 16px;
  color: var(--ink-dark);
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 155, 74, 0.28);
  border-color: var(--gold);
}

.contact-form .button.primary {
  width: fit-content;
}

.contact-form .button.primary:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: var(--ink-dark);
  font-weight: 700;
}

.form-status.is-success {
  color: #1c6f3f;
}

.form-status.is-error {
  color: #9b2f24;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(8, 9, 8, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero-content,
  .intro,
  .experience,
  .services,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-reservation {
    max-width: 420px;
  }

  .property-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .feature-card .property-image,
  .experience-image {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .navbar,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero-content {
    padding-top: 140px;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 5.8rem);
  }

  .hero-actions,
  .button,
  .contact-form .button.primary {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .intro,
  .experience,
  .services,
  .contact {
    padding: 72px 0;
  }

  .property-image,
  .feature-card .property-image,
  .experience-image {
    min-height: 330px;
  }
}

/* Admin editing layer. The public homepage never renders these controls. */
.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.admin-login-card {
  width: min(520px, 100%);
  padding: 44px;
  border: 1px solid var(--line);
  background: rgba(20, 20, 16, 0.94);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-login-error {
  min-height: 1.5em;
  color: #ffb8a8;
}

.admin-workspace[hidden],
.admin-login[hidden] {
  display: none;
}

.admin-toolbar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: min(620px, calc(100% - 36px));
  gap: 8px;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(8, 9, 8, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.admin-toolbar strong,
.admin-toolbar small {
  padding: 0 8px;
}

.admin-toolbar button,
.edit-drag-handle,
.edit-card-handle,
.edit-image-button {
  min-height: 34px;
  border: 1px solid rgba(231, 196, 119, 0.38);
  color: var(--ink-dark);
  background: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: grab;
}

.admin-toolbar button {
  padding: 0 12px;
  cursor: pointer;
}

.editable-section {
  position: relative;
}

[data-home-root="true"],
[data-home-root] {
  min-height: 40vh;
}

[data-home-root][data-editable="true"] .editable-section {
  outline: 1px dashed rgba(231, 196, 119, 0.7);
  outline-offset: -6px;
}

[data-home-root][data-editable="true"] [contenteditable="true"] {
  cursor: text;
  outline: 1px solid transparent;
  outline-offset: 4px;
}

[data-home-root][data-editable="true"] [contenteditable="true"]:hover,
[data-home-root][data-editable="true"] [contenteditable="true"]:focus {
  outline-color: rgba(231, 196, 119, 0.78);
  background: rgba(201, 155, 74, 0.08);
}

.edit-drag-handle,
.edit-card-handle,
.edit-image-button,
.edit-resize-handle {
  position: absolute;
  z-index: 20;
}

.edit-drag-handle {
  top: 12px;
  left: 12px;
  padding: 0 12px;
}

.edit-image-button {
  top: 12px;
  left: 86px;
  padding: 0 12px;
  cursor: pointer;
}

.edit-image-button.small {
  top: 12px;
  right: 12px;
  left: auto;
}

.edit-card-handle {
  top: 12px;
  left: 12px;
  width: 34px;
  cursor: grab;
}

.edit-resize-handle {
  right: 8px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  border-right: 3px solid var(--gold-light);
  border-bottom: 3px solid var(--gold-light);
  cursor: nwse-resize;
}

.property-card {
  position: relative;
}

.is-previewing .edit-drag-handle,
.is-previewing .edit-card-handle,
.is-previewing .edit-image-button,
.is-previewing .edit-resize-handle,
.is-previewing .admin-toolbar + [data-home-root] .editable-section {
  outline: 0;
}

@media (max-width: 620px) {
  .admin-login-card {
    padding: 28px;
  }

  .admin-toolbar {
    right: 10px;
    bottom: 10px;
    max-height: 38vh;
    overflow: auto;
  }
}
