/* M-STAY — Gilded Noir: ivory · antique gold · near-black
   Ref: BlendNow “Black & Gold Luxury” + Champagne Pearl */
:root {
  --ink: #111111;
  --ink-soft: #5c5c5c;
  --charcoal: #2e2e2e;
  --paper: #ffffff;
  --paper-2: #f8f5ef;
  --ivory: #f8f5ef;
  --champagne: #e8d6b3;
  --gold: #c9a84c;
  --gold-soft: #e8d6b3;
  --gold-deep: #9a7a2e;
  --gold-line: rgba(201, 168, 76, 0.45);
  --sky: #c9a84c;
  --navy: #111111;
  --sun: #c9a84c;
  --leaf: #111111;
  --leaf-deep: #000000;
  --ok: #2f6b4f;
  --danger: #b33b2e;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 18px 48px rgba(17, 17, 17, 0.08);
  --radius: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
}

.atmosphere {
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(201, 168, 76, 0.12), transparent 58%),
    radial-gradient(700px 420px at 100% 0%, rgba(232, 214, 179, 0.35), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--ivory) 55%, #f3efe6 100%);
}

/* ===== LANDING SHELL ===== */
body.is-landing {
  background: var(--ink);
}

body.is-landing .atmosphere {
  display: none;
}

body.is-landing .top {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.78) 0%, transparent 100%);
}

body.is-landing .top-nav a,
body.is-landing .top-nav button {
  color: rgba(248, 245, 239, 0.88);
  letter-spacing: 0.02em;
}

body.is-landing .top-nav .ghost {
  border: 1px solid var(--gold-line);
  background: rgba(201, 168, 76, 0.1);
  color: var(--ivory);
  border-radius: 999px;
  padding: 8px 16px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

body.is-landing .top-nav .ghost:hover {
  background: rgba(201, 168, 76, 0.22);
  border-color: var(--champagne);
  transform: translateY(-1px);
}

body.is-landing .brand-logo {
  filter: brightness(1.05);
}

body.is-landing .foot {
  position: relative;
  z-index: 2;
  color: rgba(248, 245, 239, 0.42);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  background: var(--ink);
}

/* ===== HERO — dark suite, white + gold type ===== */
.landing-hero {
  isolation: isolate;
  color: var(--ivory);
}

.landing-hero-img {
  animation: landing-ken 24s ease-in-out alternate infinite;
  filter: saturate(0.92) contrast(1.08) brightness(0.92);
  object-position: 55% 40%;
}

.landing-hero-shade {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.62) 0%, rgba(17, 17, 17, 0.28) 32%, rgba(17, 17, 17, 0.45) 62%, rgba(17, 17, 17, 0.92) 100%),
    linear-gradient(105deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.28) 46%, transparent 72%),
    radial-gradient(65% 50% at 70% 35%, rgba(201, 168, 76, 0.22), transparent 60%);
}

.landing-hero-shade::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}

.landing-brand-logo {
  width: clamp(180px, 42vw, 280px);
  margin-bottom: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: contrast(1.08) saturate(1.12) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  image-rendering: -webkit-optimize-contrast;
  animation: mstay-fade-up 0.8s ease both;
}

.landing-hero-inner {
  padding-top: clamp(88px, 14vh, 130px);
  padding-bottom: clamp(48px, 8vh, 80px);
}

.landing-hero-inner::before {
  content: none;
  display: none;
}

.landing-hero h1 {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.2vw, 3.6rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  animation: mstay-fade-up 0.9s ease both;
}

.landing-lead {
  max-width: 42ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(248, 245, 239, 0.78);
  animation: mstay-fade-up 1s ease both;
  text-wrap: pretty;
}

.landing-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--champagne);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: mstay-fade-up 1.1s ease both;
}

.landing-scroll::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.landing-scroll:hover {
  color: #fff;
}

.landing-scroll:hover::after {
  width: 44px;
}

/* Search — ivory panel over noir hero */
.landing-search {
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  width: min(640px, 100%);
  padding: 16px;
  border-radius: 20px;
  background: var(--ivory);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--ink);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  backdrop-filter: none;
  animation: mstay-fade-up 1.05s ease both;
}

.landing-search-field {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-search-field input {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  color: var(--ink);
  color-scheme: light;
  border-radius: 12px;
  height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-search-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
  background: #fff;
}

.landing-search .btn,
.landing-search .btn-primary {
  height: 44px;
  min-width: 148px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
  filter: none;
}

.landing-search .btn-primary::after {
  display: none;
}

.landing-search .btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--gold);
  color: #fff;
  filter: none;
  box-shadow: none;
  transform: none;
}

@media (max-width: 860px) {
  .landing-search {
    grid-template-columns: 1fr 1fr;
  }
  .landing-search .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .landing-hero h1 {
    max-width: 12ch;
  }
}

/* ===== BELOW FOLD: ivory + gold + black bands ===== */
body.is-landing .landing {
  background: var(--ink);
}

body.is-landing .landing-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px 0;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

body.is-landing .landing-section > * {
  width: min(1040px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

body.is-landing .landing-section.landing-how {
  background:
    radial-gradient(620px 280px at 12% 0%, rgba(201, 168, 76, 0.1), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%);
}

body.is-landing .landing-section.landing-trust {
  background:
    radial-gradient(70% 80% at 80% 20%, rgba(201, 168, 76, 0.12), transparent 55%),
    var(--ink);
  color: var(--ivory);
  border-top: 1px solid rgba(201, 168, 76, 0.28);
}

body.is-landing .landing-section h2,
body.is-landing .landing-section .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

body.is-landing .landing-section.landing-trust h2 {
  color: #fff;
}

body.is-landing .landing-section-lead {
  color: var(--ink-soft);
  margin-bottom: 36px;
  font-size: 1.02rem;
}

body.is-landing .landing-trust .landing-section-lead {
  color: rgba(248, 245, 239, 0.62);
}

/* How steps */
body.is-landing .how-steps {
  gap: 20px;
}

body.is-landing .how-steps > li {
  padding: 24px 22px 22px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.is-landing .how-steps > li:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.1);
}

body.is-landing .how-steps > li::before {
  content: counter(how, decimal-leading-zero);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

body.is-landing .how-steps strong {
  color: var(--ink);
  font-size: 1.08rem;
}

body.is-landing .how-steps span {
  color: var(--ink-soft);
}

/* Property showcase */
body.is-landing .property-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

body.is-landing .property-card.is-solo-card {
  border-color: rgba(201, 168, 76, 0.4);
}

body.is-landing .property-kicker {
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

body.is-landing .card-badge {
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 0;
}

body.is-landing .property-card-body h3 a {
  color: var(--ink);
  font-family: var(--font-display);
}

body.is-landing .property-card-meta strong {
  color: var(--gold-deep);
}

/* Trust on black */
body.is-landing .trust-list {
  gap: 18px;
}

body.is-landing .trust-list li {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  background:
    linear-gradient(160deg, rgba(201, 168, 76, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

body.is-landing .trust-list strong {
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

body.is-landing .trust-list span {
  color: rgba(248, 245, 239, 0.68);
}

/* ===== BUTTONS — flat, modern ===== */
.btn {
  border-radius: 10px;
}

.btn-primary {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--gold);
  color: #fff;
  filter: none;
  transform: none;
  box-shadow: none;
}

.btn-secondary,
body:not(.is-landing) .ghost {
  border-color: rgba(17, 17, 17, 0.16);
  color: var(--ink);
}

.ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

/* Flow pages (booking steps) */
body:not(.is-landing) .panel {
  background: #fff;
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: var(--shadow);
}

body:not(.is-landing) .panel h2 {
  font-family: var(--font-display);
}

.steps .is-active {
  color: var(--gold-deep);
  border-color: var(--gold);
}

a {
  color: var(--gold-deep);
}

.site-foot-note {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@keyframes mstay-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
