:root {
  --gold: #e7b64e;
  --gold-bright: #ffd978;
  --gold-dark: #8d641d;
  --ink: #080704;
  --paper: #f8f1df;
  --muted: #b9b1a1;
  --line: rgba(231, 182, 78, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  transition: background .3s ease, height .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(8, 7, 4, .92);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand { justify-self: start; display: block; }
.brand img { display: block; width: clamp(132px, 14vw, 188px); height: 64px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; gap: 32px; font-size: 13px; font-weight: 700; letter-spacing: .07em; }
.desktop-nav a { color: #ded8cb; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--gold-bright); }
.header-cta {
  justify-self: end;
  padding: 11px 20px;
  border: 1px solid rgba(255, 217, 120, .65);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
  transition: color .2s, background .2s;
  font-family: inherit;
}
.header-cta:hover { color: #171004; background: var(--gold-bright); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.login-trigger {
  min-height: 41px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #211605;
  background: linear-gradient(135deg, var(--gold-bright), #c98f29);
  box-shadow: 0 8px 24px rgba(201, 142, 37, .2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.login-trigger:hover { transform: translateY(-1px); filter: brightness(1.08); }

.hero { position: relative; min-height: 94vh; display: flex; align-items: center; overflow: hidden; }
.hero-art {
  position: absolute;
  inset: 0;
  background: url("/assets/promo-luxury-card.jpg") center 37% / cover no-repeat;
  transform: scale(1.035);
  animation: hero-in 1.6s cubic-bezier(.2,.7,.2,1) both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,5,3,.98) 0%, rgba(6,5,3,.84) 34%, rgba(6,5,3,.25) 66%, rgba(6,5,3,.68) 100%),
    linear-gradient(0deg, #080704 0%, transparent 30%, rgba(0,0,0,.18) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(690px, 87vw); margin-left: clamp(24px, 7vw, 116px); padding-top: 70px; }
.eyebrow, .section-kicker { color: var(--gold-bright); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .19em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow i { width: 34px; height: 1px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { max-width: 660px; margin: 20px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.2vw, 92px); line-height: .94; letter-spacing: -.045em; text-wrap: balance; }
.hero p { max-width: 610px; color: #d5cec0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 0; border-radius: 7px; font-family: inherit; font-size: 14px; font-weight: 850; letter-spacing: .025em; transition: transform .2s, filter .2s, background .2s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button svg { width: 19px; fill: currentColor; }
.button-primary { color: #171004; background: linear-gradient(135deg, var(--gold-bright), #c88d28); box-shadow: 0 9px 30px rgba(201, 142, 37, .25); }
.button-ghost { color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 38px; color: #aaa292; font-size: 12px; }
.hero-meta span { position: relative; }
.hero-meta span + span::before { content: ""; position: absolute; left: -15px; top: 3px; width: 1px; height: 12px; background: var(--line); }
.hero-meta b { color: var(--paper); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 30px; width: 25px; height: 40px; border: 1px solid rgba(255,255,255,.32); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; border-radius: 4px; background: var(--gold-bright); animation: scroll 1.6s infinite; }

.catalog, .benefits, .feature, .final-cta { padding-left: clamp(24px, 7vw, 116px); padding-right: clamp(24px, 7vw, 116px); }
.catalog { position: relative; z-index: 4; padding-top: 82px; padding-bottom: 96px; background: linear-gradient(#080704, #0d0b07); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .benefit-intro h2, .feature-copy h2, .final-cta h2 { margin: 9px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3.2vw, 50px); line-height: 1.05; font-weight: 600; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { width: 42px; height: 42px; border-radius: 50%; color: var(--gold-bright); background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 18px; }
.slider-controls button:hover { background: rgba(231,182,78,.12); }
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(238px, 25vw, 352px); gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 18px; }
.card-row::-webkit-scrollbar { display: none; }
.property-card { position: relative; height: clamp(328px, 38vw, 490px); overflow: hidden; border-radius: 9px; scroll-snap-align: start; background: #17130b; border: 1px solid rgba(255,255,255,.08); transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease; }
.property-card:hover { transform: scale(1.025); z-index: 2; border-color: rgba(255,217,120,.52); box-shadow: 0 16px 48px rgba(0,0,0,.65); }
.property-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.property-card:hover img { transform: scale(1.04); }
.card-overlay { position: absolute; inset: auto 0 0; padding: 58px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.card-overlay span { display: block; color: var(--gold-bright); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.card-overlay strong { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 22px; }

.benefits { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); padding-top: 112px; padding-bottom: 120px; background: radial-gradient(circle at 15% 40%, rgba(139,96,24,.14), transparent 32%), #0d0b07; border-top: 1px solid rgba(255,255,255,.05); }
.benefit-intro p, .feature-copy p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.benefit-grid article { min-height: 210px; padding: 28px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; }
.benefit-number { color: var(--gold); font-family: Georgia, serif; font-size: 15px; }
.benefit-grid h3 { margin: 42px 0 8px; font-family: Georgia, serif; font-size: 23px; }
.benefit-grid p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.feature { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 620px; padding-top: 100px; padding-bottom: 100px; align-items: center; gap: clamp(40px, 7vw, 100px); background: #080704; }
.feature-image { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 35px 90px rgba(0,0,0,.7); }
.feature-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,217,120,.35); border-radius: inherit; pointer-events: none; }
.feature-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-copy { max-width: 520px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 15px; color: var(--gold-bright); font-size: 14px; font-weight: 800; border-bottom: 1px solid var(--gold-dark); padding-bottom: 6px; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.is-disabled,
.is-disabled:hover {
  cursor: not-allowed;
  transform: none;
  filter: grayscale(.35);
  opacity: .58;
}

.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 70px; padding-bottom: 70px; background: linear-gradient(110deg, #3a270b, #151005 55%, #080704); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-cta h2 { max-width: 760px; }
.final-cta .button { flex: 0 0 auto; }
footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; align-items: center; padding: 40px clamp(24px, 7vw, 116px); color: #8d877b; font-size: 12px; }
footer img { width: 150px; max-height: 70px; object-fit: contain; object-position: left; }
footer p { color: var(--gold-dark); letter-spacing: .08em; }
footer span { justify-self: end; }

.account-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; }
.account-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3, 2, 1, .82); backdrop-filter: blur(10px); cursor: default; }
.account-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(780px, calc(100vh - 34px));
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(255, 215, 113, .3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(221, 170, 54, .16), transparent 32%),
    linear-gradient(145deg, #171208, #090704 70%);
  box-shadow: 0 30px 100px rgba(0,0,0,.8);
}
.modal-close { position: absolute; top: 14px; right: 15px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: #ddd3bd; background: rgba(255,255,255,.06); font-size: 25px; cursor: pointer; }
.modal-close:hover { color: var(--gold-bright); border-color: rgba(255,215,113,.4); }
.account-logo { display: block; width: 138px; height: 66px; margin: -8px 0 24px; object-fit: contain; object-position: left center; }
.account-panel h2 { margin: 9px 0 8px; font: 600 clamp(29px, 5vw, 38px)/1.08 Georgia, serif; }
.account-panel>p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.account-panel form { display: grid; gap: 15px; }
.account-panel label { display: grid; gap: 7px; color: #e7decc; font-size: 12px; font-weight: 750; }
.account-panel input { width: 100%; height: 50px; padding: 0 14px; outline: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: white; background: rgba(255,255,255,.065); font-family: inherit; font-size: 14px; font-weight: 400; }
.account-panel input::placeholder { color: #817b70; }
.account-panel input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,182,78,.12); }
.password-rule { margin-top: -1px; color: #928a7a; font-size: 10px; font-weight: 500; line-height: 1.45; }
.account-submit { min-height: 51px; margin-top: 5px; border: 0; border-radius: 9px; color: #1e1404; background: linear-gradient(135deg, var(--gold-bright), #c88d28); font-family: inherit; font-size: 14px; font-weight: 850; cursor: pointer; }
.account-submit:hover { filter: brightness(1.08); }
.login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 5px; }
.login-actions .account-submit { margin-top: 0; }
.account-register-button { min-height: 51px; border: 1px solid var(--gold-dark); border-radius: 9px; color: var(--gold-bright); background: rgba(231,182,78,.06); font-family: inherit; font-size: 14px; font-weight: 850; cursor: pointer; }
.account-register-button:hover { border-color: var(--gold-bright); background: rgba(231,182,78,.12); }
.registration-invite { margin-top: 17px; padding: 15px; border: 1px solid rgba(255, 207, 91, .28); border-radius: 11px; background: rgba(207, 151, 33, .1); }
.registration-invite[hidden], .preview-message[hidden], .account-panel[hidden] { display: none; }
.registration-invite strong { color: var(--gold-bright); font: 600 18px Georgia, serif; }
.registration-invite p { margin: 6px 0 12px; color: #bdb5a5; font-size: 12px; line-height: 1.5; }
.registration-invite button { min-height: 38px; padding: 0 14px; border: 1px solid var(--gold-dark); border-radius: 7px; color: var(--gold-bright); background: transparent; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.privacy-note { display: block; margin-top: 17px; color: #7f796d; font-size: 10px; text-align: center; }
.preview-message { margin-top: 15px; padding: 12px; border: 1px solid rgba(255,215,113,.25); border-radius: 9px; color: #efd993; background: rgba(231,182,78,.09); font-size: 12px; line-height: 1.5; }
.preview-message.success { border-color: rgba(91,211,145,.35); color: #9ce2bc; background: rgba(60,174,111,.1); }
.preview-message.error { border-color: rgba(234,116,104,.4); color: #ffaaa2; background: rgba(207,70,58,.1); }
.account-submit:disabled { cursor: wait; filter: grayscale(.35); opacity: .65; }
.back-to-login { margin-top: 18px; padding: 0; border: 0; color: #bba66f; background: transparent; font-family: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.back-to-login:hover { color: var(--gold-bright); }
body.modal-open { overflow: hidden; }

@keyframes hero-in { from { transform: scale(1.1); opacity: .3; } to { transform: scale(1.035); opacity: 1; } }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, 13px); opacity: 0; } }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; height: 70px; padding-inline: 20px; }
  .desktop-nav { display: none; }
  .brand img { width: 126px; height: 52px; }
  .header-cta { padding: 9px 14px; font-size: 11px; }
  .header-actions { gap: 7px; }
  .login-trigger { min-height: 38px; padding: 0 16px; font-size: 12px; }
  .hero { min-height: 820px; align-items: end; padding-bottom: 90px; }
  .hero-art { background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, #080704 5%, rgba(8,7,4,.62) 60%, rgba(8,7,4,.22) 100%); }
  .hero-content { margin: 0 22px; padding: 0; width: auto; }
  .hero h1 { font-size: clamp(45px, 13vw, 68px); }
  .hero p { font-size: 15px; }
  .hero-meta { display: none; }
  .scroll-cue { display: none; }
  .catalog { padding-top: 58px; padding-bottom: 68px; }
  .section-heading { align-items: center; }
  .slider-controls { display: none; }
  .benefits { grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 80px; }
  .feature { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 75px; }
  .feature-copy { order: -1; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img, footer span { justify-self: center; }
  footer img { object-position: center; }
  footer p { margin: 0; }
}

@media (max-width: 520px) {
  .header-cta { display: none; }
  .hero { min-height: 760px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .section-heading h2, .benefit-intro h2, .feature-copy h2, .final-cta h2 { font-size: 34px; }
  .card-row { grid-auto-columns: 78vw; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 180px; }
  .final-cta .button { width: 100%; }
  .account-modal { padding: 10px; align-items: end; }
  .account-dialog { width: 100%; max-height: calc(100vh - 20px); padding: 29px 21px 24px; border-radius: 18px 18px 10px 10px; }
  .account-logo { width: 122px; height: 56px; margin-bottom: 18px; }
  .login-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
