/* renterrace — editorial marketplace
   Mockup palette: forest green, cream, muted gold. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --navy: #1e2e24;
  --navy-deep: #0f1b17;
  --cream: #f7f7f4;
  --cream-soft: #edeae4;
  --ink: #0f1b17;
  --muted: #5a635c;
  --line: rgba(30, 46, 36, 0.1);
  --coral: #c94a24;
  --coral-deep: #a63a18;
  --white: #ffffff;
  --gold: #cda06e;
  --sea: #4b6647;
  --sea-soft: #6a8466;
  --sage: #8fa898;
  --olive: #4b6647;
  --stone: #9a948a;
  --sand: #edeae4;
  --primary: #1e2e24;
  --primary-soft: #2a3f33;
  --shadow-soft: 0 18px 48px rgba(15, 27, 23, 0.08);
  --shadow-glow: 0 12px 28px rgba(30, 46, 36, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Segoe UI", sans-serif;
  --font-brand: "Inter", "Segoe UI", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus-ring: 0 0 0 3px rgba(75, 102, 71, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  display: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    z-index: 90;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    pointer-events: none;
    background: var(--coral);
    mix-blend-mode: multiply;
    transform: translate3d(-100px, -100px, 0);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease),
      background 0.25s, opacity 0.25s;
    opacity: 0.85;
  }

  .cursor.is-hover {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    background: var(--gold);
    opacity: 0.55;
  }
}

img {
  display: block;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

/* ——— Header ——— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease),
    box-shadow 0.45s var(--ease), color 0.45s var(--ease), height 0.45s var(--ease);
  color: var(--white);
}

.site-header.is-solid {
  background: rgba(248, 247, 242, 0.82);
  backdrop-filter: blur(18px) saturate(1.15);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--line);
}

.page-home .site-header:not(.is-solid) {
  color: var(--white);
}

.page-home .site-header.is-solid {
  color: var(--navy);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.brand span {
  background: linear-gradient(120deg, currentColor 40%, var(--coral) 160%);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand img,
.brand svg {
  width: 36px;
  height: 36px;
  animation: brandFloat 5.5s ease-in-out infinite;
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(-4deg);
  }
}

.nav-main {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-main a {
  position: relative;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-main a:hover {
  opacity: 1;
}

.nav-main a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, box-shadow 0.35s,
    border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  color: inherit;
  background: transparent;
}

.site-header.is-solid .btn-ghost:hover {
  background: rgba(22, 17, 14, 0.06);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-soft);
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: var(--coral);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--coral-deep);
}

.btn-dark {
  background: var(--navy);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-glow);
}

.btn .btn-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-light {
  background: var(--cream);
  color: var(--navy);
}

.btn-outline-light {
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.02rem;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--cream);
  color: var(--navy);
  padding: 28px;
  z-index: 49;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav.is-open {
  display: flex;
  animation: fadeUp 0.4s var(--ease);
}

.mobile-nav a {
  font-size: 1.45rem;
  font-family: var(--font-display);
  font-weight: 400;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.08);
  animation: heroDrift 28s var(--ease) infinite alternate;
  will-change: transform;
}

.hero-media img.is-swap {
  animation: heroDrift 28s var(--ease) infinite alternate, heroFade 1.2s var(--ease);
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2.2%, -1.4%, 0);
  }
}

@keyframes heroFade {
  from {
    opacity: 0.4;
    filter: saturate(0.7);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201, 74, 36, 0.22), transparent 45%),
    linear-gradient(180deg, rgba(12, 9, 8, 0.42) 0%, rgba(12, 9, 8, 0.12) 32%, rgba(12, 9, 8, 0.55) 68%, rgba(12, 9, 8, 0.88) 100%);
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orbDrift 16s ease-in-out infinite alternate;
}

.orb-a {
  width: 280px;
  height: 280px;
  background: var(--coral);
  top: 18%;
  left: -60px;
}

.orb-b {
  width: 220px;
  height: 220px;
  background: var(--sea);
  right: 8%;
  top: 28%;
  animation-delay: -6s;
}

.orb-c {
  width: 160px;
  height: 160px;
  background: var(--gold);
  right: 22%;
  bottom: 18%;
  animation-delay: -3s;
}

@keyframes orbDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, -30px, 0) scale(1.15);
  }
}

.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.floater {
  position: absolute;
  width: min(220px, 28vw);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  animation: floater 8s ease-in-out infinite;
  color: var(--navy);
}

.floater img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.floater figcaption {
  padding: 10px 12px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.floater.f1 {
  top: 18%;
  right: 7%;
  transform: rotate(6deg);
}

.floater.f2 {
  top: 42%;
  right: 22%;
  width: min(180px, 24vw);
  animation-delay: -2.4s;
  transform: rotate(-8deg);
}

.floater.f3 {
  bottom: 28%;
  left: 6%;
  width: min(190px, 26vw);
  animation-delay: -4s;
  transform: rotate(4deg);
}

@keyframes floater {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 28px 28px;
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.86;
  font-family: var(--font-brand);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  opacity: 0.92;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-search-wrap {
  position: relative;
  z-index: 4;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 28px 36px;
}

.city-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.city-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 14px 0;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.78;
  animation: marquee 32s linear infinite;
}

.city-track span {
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ——— Search bar ——— */

.search-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.85fr 0.85fr 0.75fr auto;
  gap: 0;
  align-items: stretch;
  background: rgba(255, 253, 248, 0.92);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  animation: searchPulse 5s ease-in-out infinite;
}

.search-bar.stacked {
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr 0.7fr 0.9fr auto;
}

@keyframes searchPulse {
  0%,
  100% {
    box-shadow: var(--shadow-soft);
  }
  50% {
    box-shadow: 0 28px 70px rgba(12, 9, 8, 0.22), 0 0 0 1px rgba(228, 181, 106, 0.35);
  }
}

.search-field {
  position: relative;
  padding: 10px 18px 12px;
  min-width: 0;
}

.search-field + .search-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line);
}

.search-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 650;
}

.search-field input,
.search-field select {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1rem;
  font-weight: 520;
  padding: 0;
  min-height: 28px;
}

.search-field input::placeholder {
  color: rgba(22, 17, 14, 0.38);
}

.search-submit {
  align-self: center;
  margin-right: 4px;
  min-width: 118px;
}

.search-note {
  margin: 14px 4px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ——— Sections shared ——— */

.section {
  padding: clamp(80px, 10vw, 128px) 28px;
  position: relative;
}

.section-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.section-head {
  max-width: 18ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.wide {
  max-width: 32ch;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  font-family: var(--font-brand);
}

.section-head h2,
.editorial-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-lead {
  margin: 16px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ——— Categories ——— */

.categories {
  background: var(--cream-soft);
  overflow: hidden;
}

.category-rail,
.category-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.category-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.category-track {
  animation: marquee 48s linear infinite;
  padding-bottom: 8px;
}

.category-marquee:hover .category-track {
  animation-play-state: paused;
}

.category-card {
  position: relative;
  display: block;
  width: 240px;
  min-height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  flex: 0 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  transition: transform 0.9s var(--ease);
}

.category-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-soft);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(12, 9, 8, 0.82) 100%);
}

.category-card span {
  position: absolute;
  left: 20px;
  right: 18px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

/* ——— Tonight ——— */

.tonight-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}

.listing {
  display: block;
  color: inherit;
}

.listing-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: #d9cfc0;
}

.listing-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}

.listing:hover .listing-media::after {
  transform: translateX(120%);
}

.listing-feature .listing-media {
  aspect-ratio: 4 / 5;
  min-height: 100%;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.listing:hover .listing-media img {
  transform: scale(1.07);
}

.listing-meta {
  display: grid;
  gap: 6px;
  padding-top: 16px;
}

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

.listing-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.listing-rating {
  font-size: 0.92rem;
  color: var(--navy);
  white-space: nowrap;
}

.listing-rating em {
  font-style: normal;
  font-weight: 650;
}

.listing-place {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.listing-price {
  margin: 4px 0 0;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 620;
}

.listing-price span {
  font-weight: 400;
  color: var(--muted);
}

.tonight-side {
  display: grid;
  gap: 18px;
}

/* ——— Cities mosaic ——— */

.mosaic {
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}

.mosaic .section-kicker {
  color: var(--gold);
}

.mosaic .editorial-title,
.mosaic h2 {
  color: var(--cream);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  min-height: 560px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 280px;
  color: var(--white);
  display: block;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 1.1s var(--ease);
  animation: mosaicKen 22s ease-in-out infinite alternate;
}

.mosaic-card:hover img {
  transform: scale(1.08);
  animation-play-state: paused;
}

@keyframes mosaicKen {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-2%, 1%, 0);
  }
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 9, 8, 0.78));
}

.mosaic-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
}

.mosaic-copy small {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.8;
  margin-bottom: 8px;
  font-family: var(--font-brand);
}

.mosaic-copy strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
}

.mosaic-stack {
  display: grid;
  gap: 18px;
}

/* ——— Sunset ——— */

.sunset {
  padding: 0;
  background: var(--navy-deep);
  color: var(--cream);
}

.sunset-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 640px;
}

.sunset-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.sunset-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 26s var(--ease) infinite alternate;
}

.sunset-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(600px 280px at 80% 10%, rgba(201, 74, 36, 0.22), transparent 60%),
    var(--navy);
}

.sunset-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.sunset-time {
  margin: 28px 0 0;
  padding: 22px 0;
  border-top: 1px solid rgba(243, 234, 216, 0.18);
  border-bottom: 1px solid rgba(243, 234, 216, 0.18);
}

.sunset-time-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 8px;
}

.sunset-time strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--gold), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sunset-copy .btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* ——— Host ——— */

.host {
  background: var(--cream);
}

.host-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.host-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 540px;
  position: relative;
}

.host-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 540px;
  animation: mosaicKen 20s ease-in-out infinite alternate;
}

.host-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 11ch;
  color: var(--navy);
}

.host-copy p {
  margin: 20px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.host-note {
  margin-top: 28px !important;
  color: var(--navy) !important;
  font-weight: 600;
}

.host-copy .btn {
  margin-top: 28px;
}

/* ——— How ——— */

.how {
  background: var(--cream-soft);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.how-step {
  display: grid;
  gap: 18px;
  transition: transform 0.45s var(--ease);
}

.how-step:hover {
  transform: translateY(-6px);
}

.how-num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--coral);
  font-weight: 400;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.how-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.how-step p {
  margin: 0;
  color: var(--muted);
  max-width: 28ch;
}

/* ——— Trust ——— */

.trust {
  background: var(--cream);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.trust-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease);
}

.trust-list li:hover {
  padding-left: 10px;
}

.trust-list strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
}

.trust-list span {
  color: var(--muted);
  max-width: 52ch;
}

/* ——— Destinations ——— */

.destinations {
  background: var(--cream-soft);
}

.dest-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 14px;
}

.dest {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  color: var(--white);
  display: block;
}

.dest:first-child {
  grid-row: 1 / span 2;
}

.dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.dest:hover img {
  transform: scale(1.08);
}

.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(12, 9, 8, 0.78));
}

.dest span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  letter-spacing: -0.02em;
}

/* ——— Final CTA ——— */

.final-cta {
  position: relative;
  min-height: 74svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 80px 28px;
}

.final-cta-media {
  position: absolute;
  inset: 0;
}

.final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 24s var(--ease) infinite alternate;
}

.final-cta-shade {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 8, 0.58);
}

.final-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 16ch;
}

.final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.8vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.final-cta p {
  margin: 18px 0 0;
  font-size: 1.22rem;
  opacity: 0.92;
}

.final-cta .btn {
  margin-top: 30px;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 234, 216, 0.78);
  padding: 64px 28px 44px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 700;
  font-family: var(--font-brand);
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(243, 234, 216, 0.12);
  font-size: 0.88rem;
}

.app-soon {
  opacity: 0.55;
}

/* ——— Reveal motion ——— */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out), filter 0.95s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ——— Inner pages ——— */

.page-shell {
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 28px 80px;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(228, 181, 106, 0.16), transparent 55%),
    radial-gradient(700px 380px at 100% 10%, rgba(27, 93, 104, 0.1), transparent 50%),
    var(--cream);
}

.page-shell .site-header {
  color: var(--navy);
  background: rgba(244, 234, 216, 0.82);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.page-shell:has(.app-layout) {
  padding: 0;
}

.page-panel {
  width: min(520px, 100%);
  margin: 0 auto;
}

.page-panel.wide {
  width: min(1140px, 100%);
}

.page-panel h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.page-panel > p {
  margin: 0 0 28px;
  color: var(--muted);
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-stack label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.form-stack textarea {
  min-height: 120px;
  resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  border-color: rgba(201, 74, 36, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 74, 36, 0.14);
  transform: translateY(-1px);
}

.form-msg {
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--coral-deep);
}

.explore-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.explore-empty {
  color: var(--muted);
  padding: 40px 0;
}

.inner-hero {
  position: relative;
  margin: calc(-1 * (var(--header-h) + 48px)) -28px 48px;
  min-height: 320px;
  overflow: hidden;
  color: var(--white);
  display: grid;
  align-items: end;
}

.inner-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 22s var(--ease) infinite alternate;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 8, 0.25), rgba(12, 9, 8, 0.72));
}

.inner-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 80px 28px 36px;
}

.inner-hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.inner-hero-copy p {
  margin: 12px 0 0;
  color: rgba(255, 253, 248, 0.84);
  max-width: 46ch;
}

.host-landing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.host-landing-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  min-height: 420px;
}

.host-landing-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  min-height: 200px;
}

.host-landing-visual img:first-child {
  grid-row: 1 / span 2;
  min-height: 420px;
  animation: mosaicKen 18s ease-in-out infinite alternate;
}

.auth-page {
  padding: 0;
}

.auth-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100svh;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 280px;
}

.auth-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 24s var(--ease) infinite alternate;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 8, 0.2), rgba(12, 9, 8, 0.72));
}

.auth-visual-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 32px) 48px 48px;
}

.auth-visual-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  max-width: 12ch;
  line-height: 1.05;
}

.auth-visual-copy p {
  margin: 14px 0 0;
  max-width: 32ch;
  opacity: 0.86;
}

.auth-page .page-panel {
  margin: 0;
  width: 100%;
  max-width: 460px;
  align-self: center;
  justify-self: center;
  padding: calc(var(--header-h) + 24px) 36px 48px;
}

/* ——— Responsive ——— */

@media (min-width: 920px) {
  .nav-main {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1100px) {
  .search-bar,
  .search-bar.stacked {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    padding: 10px;
  }

  .search-field + .search-field::before {
    display: none;
  }

  .search-submit {
    grid-column: 1 / -1;
    width: 100%;
    margin: 4px;
    border-radius: 999px;
  }

  .tonight-grid,
  .sunset-inner,
  .host-layout,
  .mosaic-grid,
  .host-landing,
  .auth-split {
    grid-template-columns: 1fr;
  }

  .listing-feature .listing-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .how-steps {
    grid-template-columns: 1fr 1fr;
  }

  .dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .dest:first-child {
    grid-row: auto;
    min-height: 360px;
  }

  .dest {
    min-height: 220px;
  }

  .floater {
    display: none;
  }

  .auth-visual {
    min-height: 280px;
  }

  .auth-visual-copy {
    padding: 88px 28px 28px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 18px;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero-content,
  .hero-search-wrap,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .search-bar,
  .search-bar.stacked {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .trust-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .host-visual,
  .host-visual img {
    min-height: 360px;
  }

  .host-landing-visual,
  .host-landing-visual img:first-child {
    min-height: 220px;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-media img,
  .sunset-visual img,
  .final-cta-media img {
    transform: none;
  }
}

/* ——— App shell (profile / host / admin / booking) ——— */

.profile-menu {
  position: relative;
}

.profile-trigger {
  font-weight: 600;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--cream-soft);
  color: var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: grid;
  gap: 2px;
  z-index: 60;
  animation: fadeUp 0.28s var(--ease);
}

.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: rgba(22, 17, 14, 0.06);
}

.app-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 36px) 28px 80px;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.app-side a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.app-side a.is-active,
.app-side a:hover {
  background: rgba(22, 17, 14, 0.06);
  color: var(--navy);
  transform: translateX(3px);
}

.app-main h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}

.app-main .lead {
  color: var(--muted);
  margin: 0 0 28px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  margin-top: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tabs button {
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.tabs button.is-active {
  background: var(--navy);
  color: var(--cream);
}

.data-list {
  display: grid;
  gap: 14px;
}

.data-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.data-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 14px;
  background: #d9cfc0;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 620;
  background: rgba(22, 17, 14, 0.08);
  color: var(--navy);
}

.badge.warn {
  background: rgba(201, 74, 36, 0.15);
  color: var(--coral-deep);
}

.badge.ok {
  background: rgba(27, 93, 104, 0.14);
  color: var(--sea);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.book-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 18px 40px rgba(12, 9, 8, 0.06);
}

.book-panel h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.book-panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.book-panel input,
.book-panel select,
.form-stack input,
.form-stack select,
.form-stack textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.form-stack textarea {
  min-height: 110px;
  resize: vertical;
}

.quote-box {
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.quote-box .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.quote-box .total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.hold-timer {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(201, 74, 36, 0.12);
  color: var(--coral-deep);
  font-size: 0.92rem;
}

.dev-banner {
  margin: 12px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(22, 17, 14, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d9cfc0;
  transition: transform 0.8s var(--ease);
}

.gallery img:hover {
  transform: scale(1.04);
}

.gallery-side {
  display: grid;
  gap: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 17, 14, 0.06);
  font-size: 0.88rem;
}

.wizard-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.wizard-steps span.is-on {
  color: var(--coral);
  font-weight: 650;
}

.wizard-panel {
  display: none;
}

.wizard-panel.is-on {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-weight: 620;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inline-actions .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.85rem;
}

.cal-grid {
  display: grid;
  gap: 10px;
}

.cal-day {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.check-row input {
  width: auto;
  min-height: auto;
}

@media (max-width: 920px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .book-panel {
    position: static;
  }

  .gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .data-item {
    grid-template-columns: 88px 1fr;
  }

  .data-item img {
    width: 88px;
    height: 70px;
  }

  .cal-day {
    grid-template-columns: 1fr;
  }
}
