/* ==========================================================================
   THE IVORY GROVE — Hero, live availability & booking
   Breakpoints: 1199px (tablet) and 600px (mobile)
   ========================================================================== */

:root {
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-silk: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --t0: 0.5s;
}

/* ---------- Hero shell ---------- */
.hero {
  --n: 8;
  --hero-bottom: clamp(140px, 16vh, 180px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding: calc(var(--nav-h) + clamp(24px, 5vh, 60px)) var(--pad-x)
    var(--hero-bottom);
  overflow: hidden;
  text-align: left;
  color: var(--color-cream);
}
@media (min-width: 1200px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* ---------- Video layer ---------- */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--color-espresso-deep);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: center;
}

/* Readability overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(var(--espresso-deep-rgb), 0.92) 0%,
      rgba(var(--espresso-deep-rgb), 0.78) 30%,
      rgba(var(--espresso-deep-rgb), 0.36) 56%,
      rgba(var(--espresso-deep-rgb), 0.08) 82%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(var(--espresso-deep-rgb), 0.6) 0%,
      transparent 24%,
      transparent 60%,
      rgba(var(--espresso-rgb), 1) 100%
    );
}

/* Film grain */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

/* ---------- Slat lines (signature) ---------- */
.hero-lines,
.hero-slats {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  pointer-events: none;
}

.hero-lines i {
  border-left: 1px solid rgba(var(--cream-rgb), 0.06);
  transform-origin: top;
}
.hero-lines i:first-child {
  border-left-color: transparent;
}
.hero-slats {
  display: none;
}
.hero-slats i {
  background: var(--color-espresso-deep);
  box-shadow: 1px 0 0 var(--color-espresso-deep);
  transform-origin: top;
}

@keyframes slat-open {
  to {
    transform: scaleY(0);
  }
}
@keyframes line-draw {
  from {
    transform: scaleY(0);
  }
}

/* ---------- Content ---------- */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 46rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-stone));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--color-cream);
  text-shadow: 0 4px 30px rgba(var(--espresso-deep-rgb), 0.5);
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 0.1em 0.15em 0;
  margin-bottom: -0.15em;
}
.hero-title .line > span {
  display: block;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-cream);
}

.hero-text {
  max-width: 34rem;
  margin: 26px 0 38px;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-stone-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

/* ---------- Buttons ---------- */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-espresso-deep);
  border: 1px solid var(--color-cream);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.45);
  transition:
    background-color 0.7s var(--ease-luxury),
    color 0.7s var(--ease-luxury),
    border-color 0.7s var(--ease-luxury),
    box-shadow 0.7s var(--ease-luxury),
    transform 0.7s var(--ease-luxury);
}

.btn-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-oxblood);
  color: var(--color-cream);
  transition:
    transform 0.75s var(--ease-luxury),
    background-color 0.7s var(--ease-luxury),
    color 0.7s var(--ease-luxury);
}

.btn-chip svg {
  width: 15px;
  height: 15px;
}

.btn-main:hover {
  background: var(--color-oxblood);
  border-color: var(--color-oxblood-light);
  color: var(--color-cream);
  box-shadow: 0 18px 42px -10px rgba(var(--oxblood-rgb), 0.65);
  transform: translateY(-2px);
}

.btn-main:hover .btn-chip {
  background: var(--color-cream);
  color: var(--color-espresso-deep);
  transform: rotate(-45deg);
}

.btn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cream);
  text-decoration: none;
}

.btn-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--color-stone),
    rgba(var(--stone-rgb), 0.2)
  );
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.8s var(--ease-luxury);
}

.btn-link svg {
  width: 14px;
  height: 14px;
  color: var(--color-stone);
  transition: transform 0.7s var(--ease-luxury);
}
.btn-link:hover::after {
  transform: scaleX(1);
}
.btn-link:hover svg {
  transform: translateX(5px);
  color: var(--color-cream);
}

/* ---------- Live status system (reused by the Rooms section) ---------- */
[data-state="available"] {
  --c: var(--status-available);
}
[data-state="limited"] {
  --c: var(--status-limited);
}
[data-state="booked"] {
  --c: var(--status-unavailable);
}

.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-available);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: live-ping 2s ease-out infinite;
}

@keyframes live-ping {
  to {
    transform: scale(3.4);
    opacity: 0;
  }
}

.hero-live {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  translate: 0 -58%;
  z-index: 10;
  width: 310px;
  padding: 20px 22px 16px;
  border-radius: 20px;
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  background: rgba(var(--espresso-rgb), 0.55);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(var(--cream-rgb), 0.08),
    0 30px 60px -24px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.live-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.1);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cream);
}

.live-head__tag {
  margin-left: auto;
  color: var(--color-stone);
  letter-spacing: 0.14em;
}

.live-list {
  list-style: none;
}

.live-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 6px;
  margin: 0 -6px;
  border-radius: 10px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.07);
  cursor: pointer;
  transition: background-color 0.8s var(--ease-luxury);
}

.live-row:last-child {
  border-bottom: 0;
}
.live-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
.live-row__name {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.1;
  color: var(--color-cream);
}

.live-row__badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c);
  white-space: nowrap;
}

.live-row.is-flash {
  background: color-mix(in srgb, var(--c) 12%, transparent);
}

.live-foot {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--color-stone-dim);
}

/* ---------- Booking bar (desktop) ---------- */
.booking {
  position: absolute;
  left: 50%;
  bottom: clamp(34px, 5vh, 56px);
  z-index: 15;
  translate: -50% 0;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.85fr 1.25fr auto;
  align-items: stretch;
  width: min(1060px, calc(100% - 2 * var(--pad-x)));
  border-radius: 18px;
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  background: rgba(var(--espresso-rgb), 0.82);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(var(--cream-rgb), 0.1),
    0 24px 60px -20px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.booking__head,
.booking-backdrop,
.booking-trigger {
  display: none;
}

.booking__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 14px 22px;
  transition: background-color 0.6s var(--ease-luxury);
}

.booking__field + .booking__field {
  border-left: 1px solid rgba(var(--cream-rgb), 0.1);
}
.booking__field:focus-within {
  background: rgba(var(--cream-rgb), 0.05);
}

.booking__field label,
.booking__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-stone);
}

.booking__field input,
.booking__field select {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  color-scheme: dark;
}

.booking__field select option {
  background: var(--color-espresso);
  color: var(--color-cream);
}
.booking__field input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stepper output {
  min-width: 1.2em;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-cream);
}

.stepper__btn {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(var(--cream-rgb), 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--color-cream);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.6s var(--ease-luxury),
    border-color 0.6s var(--ease-luxury),
    transform 0.4s var(--ease-luxury);
}

.stepper__btn:hover,
.stepper__btn:focus-visible {
  border-color: var(--color-oxblood);
  background: var(--color-oxblood);
  transform: scale(1.08);
  outline: none;
}

.booking__submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 6px;
  padding: 0 6px 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--color-oxblood);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.7s var(--ease-luxury),
    transform 0.7s var(--ease-luxury),
    box-shadow 0.7s var(--ease-luxury);
}

.booking__submit .btn-chip {
  width: 38px;
  height: 38px;
  background: rgba(var(--espresso-deep-rgb), 0.65);
}
.booking__submit:hover {
  background: var(--color-oxblood-light);
  box-shadow: 0 10px 28px -6px rgba(var(--oxblood-rgb), 0.65);
  transform: translateY(-1px);
}
.booking__submit:hover .btn-chip {
  transform: rotate(-45deg);
  background: var(--color-cream);
  color: var(--color-espresso-deep);
}
.booking__submit:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

.booking__note {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-stone-dim);
}

.booking__note.is-error {
  color: var(--status-unavailable);
}

@keyframes pulse-ring {
  from {
    box-shadow:
      0 0 0 0 rgba(var(--oxblood-rgb), 0.6),
      0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
  to {
    box-shadow:
      0 0 0 20px rgba(var(--oxblood-rgb), 0),
      0 24px 60px -20px rgba(0, 0, 0, 0.7);
  }
}

.booking.pulse {
  animation: pulse-ring 1.6s var(--ease-luxury);
}

/* ==========================================================================
   Entrance animations
   ========================================================================== */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes rise-fade {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes draw-x {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes line-rise {
  from {
    transform: translateY(115%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes intro-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.intro {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .intro {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 24px;
    background: radial-gradient(
      65% 65% at 50% 48%,
      var(--color-espresso) 0%,
      var(--color-espresso-deep) 85%
    );
    transition:
      transform 1.6s var(--ease-inout),
      visibility 0s linear 1.6s;
  }

  .intro-logo {
    width: min(280px, 70vw);
    height: auto;
    object-fit: contain;
    animation: intro-in 1.5s var(--ease-luxury) 0.2s both;
  }
  .intro-line {
    width: min(180px, 48vw);
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--color-oxblood),
      var(--color-stone),
      transparent
    );
    animation: draw-x 1.8s var(--ease-inout) 0.35s both;
  }
  .is-ready .intro {
    transform: translateY(-100%);
    visibility: hidden;
  }

  .js:not(.is-ready) *,
  .js:not(.is-ready) *::before,
  .js:not(.is-ready) *::after {
    animation-play-state: paused !important;
  }
  .js .intro-logo,
  .js .intro-line {
    animation-play-state: running !important;
  }

  header {
    animation: fade-in 1.8s var(--ease-luxury) calc(var(--t0) + 0.3s) both;
  }
  .hero-eyebrow {
    animation: rise-fade 1.8s var(--ease-luxury) calc(var(--t0) + 0.25s) both;
  }
  .hero-title .line > span {
    animation: line-rise 1.9s var(--ease-luxury) both;
  }
  .hero-title .line:nth-child(1) > span {
    animation-delay: calc(var(--t0) + 0.4s);
  }
  .hero-title .line:nth-child(2) > span {
    animation-delay: calc(var(--t0) + 0.65s);
  }
  .hero-text {
    animation: rise-fade 1.8s var(--ease-luxury) calc(var(--t0) + 1.05s) both;
  }
  .hero-actions {
    animation: rise-fade 1.8s var(--ease-luxury) calc(var(--t0) + 1.3s) both;
  }
  .hero-live {
    animation: rise-fade 1.8s var(--ease-luxury) calc(var(--t0) + 1.4s) both;
  }
  .booking {
    animation: rise-fade 2s var(--ease-luxury) calc(var(--t0) + 1.55s) both;
  }
  .booking-trigger {
    animation: rise-fade 1.8s var(--ease-luxury) calc(var(--t0) + 1.55s) both;
  }

  .js .hero-slats {
    display: grid;
  }
  .hero-slats i {
    animation: slat-open 1.6s var(--ease-inout)
      calc(var(--t0) + 0.1s + var(--i) * 0.09s) both;
  }
  .hero-lines i {
    animation: line-draw 1.8s var(--ease-inout)
      calc(var(--t0) + 1.2s + var(--i) * 0.07s) both;
  }
}

/* Desktop only: gentle video settle + parallax (never on touch devices) */
@keyframes video-settle {
  from {
    scale: 1.08;
  }
  to {
    scale: 1.02;
  }
}

@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  .hero-video {
    animation: video-settle 4.8s var(--ease-luxury) calc(var(--t0) + 0.1s) both;
    transform: translate3d(
        calc(var(--mx, 0) * -10px),
        calc(var(--my, 0) * -6px),
        0
      )
      scale(1.03);
    transition: transform 1.6s var(--ease-luxury);
  }
  .hero-content {
    translate: calc(var(--mx, 0) * -5px) calc(var(--my, 0) * -3px);
    transition: translate 1.6s var(--ease-luxury);
  }
}

/* ==========================================================================
   TABLET + MOBILE (1199px and below): one clean column, nothing pinned
   ========================================================================== */
@media (max-width: 1199px) {
  .hero {
    --n: 6;
    align-items: center;
    text-align: center;
    min-height: 0;
    padding-bottom: 40px;
  }

  .hero-lines i:nth-child(n + 7),
  .hero-slats i:nth-child(n + 7) {
    display: none;
  }

  .hero::before {
    background:
      radial-gradient(
        130% 90% at 50% 46%,
        transparent 26%,
        rgba(var(--espresso-deep-rgb), 0.8) 100%
      ),
      linear-gradient(
        180deg,
        rgba(var(--espresso-rgb), 0.74) 0%,
        rgba(var(--espresso-rgb), 0.38) 30%,
        rgba(var(--espresso-rgb), 0.5) 65%,
        rgba(var(--espresso-rgb), 1) 100%
      );
  }

  .hero-content {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(-90deg, transparent, var(--color-stone));
  }
  .hero-title {
    font-size: clamp(42px, 6.4vw, 68px);
  }
  .hero-text {
    margin: 22px auto 32px;
    font-size: 16px;
  }
  .hero-actions {
    justify-content: center;
  }

  /* Live panel flows under the buttons */
  .hero-live {
    position: relative;
    right: auto;
    top: auto;
    translate: none;
    width: min(900px, 100%);
    margin-top: 8px;
    padding: 16px 20px 10px;
  }

  .live-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
  }
  .live-row {
    border-bottom: 0;
  }
  .live-foot {
    text-align: center;
  }
}

/* Tablet only (601px - 1199px): booking bar flows below the live panel */
@media (min-width: 601px) and (max-width: 1199px) {
  .booking {
    position: relative;
    left: auto;
    bottom: auto;
    translate: none;
    width: min(900px, 100%);
    margin-top: 20px;
  }

  .booking__field {
    padding: 12px 16px;
  }
  .booking__note {
    position: static;
    grid-column: 1 / -1;
    padding: 10px 0 12px;
  }
}

/* Small tablets (601px - 960px): 2-column booking */
@media (min-width: 601px) and (max-width: 960px) {
  .booking {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    gap: 8px;
    border-radius: 16px;
  }
  .booking__field {
    padding: 10px 14px;
    border: 1px solid rgba(var(--cream-rgb), 0.1);
    border-radius: 10px;
  }
  .booking__field + .booking__field {
    border-left: 1px solid rgba(var(--cream-rgb), 0.1);
  }
  .booking__submit {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 4px 0 0;
    padding: 12px 20px;
  }
  .live-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE (600px and below)
   ========================================================================== */
@media (max-width: 600px) {
  .hero {
    --n: 4;
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .hero-lines i:nth-child(n + 5),
  .hero-slats i:nth-child(n + 5) {
    display: none;
  }

  .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 18px;
  }
  .hero-title {
    font-size: clamp(36px, 10.8vw, 50px);
    line-height: 1.06;
  }
  .hero-text {
    margin: 18px auto 24px;
    font-size: 15px;
    line-height: 1.65;
  }
  .btn-link {
    display: none;
  }
  .btn-main {
    gap: 14px;
    padding: 5px 5px 5px 22px;
    font-size: 10.5px;
  }
  .btn-chip {
    width: 36px;
    height: 36px;
  }

  /* Live card */
  .hero-live {
    width: 100%;
    margin-top: 4px;
    padding: 14px 16px 8px;
    border-radius: 16px;
  }
  .live-head {
    padding-bottom: 10px;
    font-size: 10px;
  }
  .live-list {
    grid-template-columns: 1fr;
  }
  .live-row {
    padding: 9px 6px;
    border-bottom: 1px solid rgba(var(--cream-rgb), 0.07);
  }
  .live-row:last-child {
    border-bottom: 0;
  }
  .live-row__name {
    font-size: 17px;
    text-align: left;
  }
  .live-foot {
    display: none;
  }

  /* Booking trigger sits in the flow, below the live card */
  .booking-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin-top: 16px;
    padding: 6px 6px 6px 18px;
    border: 1px solid rgba(var(--cream-rgb), 0.18);
    border-radius: 999px;
    background: rgba(var(--espresso-rgb), 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--color-cream);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    transition:
      background-color 0.65s var(--ease-luxury),
      border-color 0.65s var(--ease-luxury),
      transform 0.65s var(--ease-luxury);
  }

  .booking-trigger:hover {
    border-color: rgba(var(--cream-rgb), 0.35);
    transform: translateY(-1px);
  }
  .booking-trigger > svg {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--color-stone);
  }
  .booking-trigger__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .booking-trigger__text strong {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .booking-trigger__text small {
    font-size: 11px;
    color: var(--color-stone);
  }

  /* Slide-up booking sheet */
  .booking {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    translate: 0 105%;
    visibility: hidden;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: auto;
    max-height: 92dvh;
    overflow-y: auto;
    padding: 24px var(--pad-x) max(26px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--glass-border);
    border-radius: 22px 22px 0 0;
    background: rgba(var(--espresso-rgb), 0.98);
    animation: none;
    transition:
      translate 0.75s var(--ease-luxury),
      visibility 0s linear 0.75s;
  }

  .booking.is-open {
    translate: 0 0;
    visibility: visible;
    transition:
      translate 0.75s var(--ease-luxury),
      visibility 0s;
  }

  .booking__head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
  }
  .booking__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-cream);
  }

  .booking__close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--color-cream);
    cursor: pointer;
    transition:
      background-color 0.5s var(--ease-luxury),
      transform 0.5s var(--ease-luxury);
  }

  .booking__close:hover {
    background: rgba(var(--cream-rgb), 0.12);
    transform: rotate(90deg);
  }
  .booking__close svg {
    width: 16px;
    height: 16px;
  }

  .booking__field {
    gap: 5px;
    padding: 10px 12px;
    border: 1px solid rgba(var(--cream-rgb), 0.14);
    border-radius: 12px;
    background: rgba(var(--cream-rgb), 0.04);
  }
  .booking__field + .booking__field {
    border-left: 1px solid rgba(var(--cream-rgb), 0.14);
  }
  .booking__submit {
    grid-column: 1 / -1;
    justify-content: space-between;
    margin: 6px 0 0;
    padding: 6px 6px 6px 20px;
    border-radius: 999px;
  }
  .booking__note {
    position: static;
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .booking-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1900;
    display: block;
    background: rgba(var(--espresso-deep-rgb), 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.6s var(--ease-luxury),
      visibility 0s linear 0.6s;
  }

  .booking-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s var(--ease-luxury);
  }
  body.sheet-open {
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .booking {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video {
    transform: none !important;
  }
  .hero-content {
    translate: none !important;
  }
}

/* Hide any seam at the bottom of the hero, whatever causes it */
.hero {
  margin-bottom: -2px;
}

.sec {
  border-top: 0;
}

.rooms {
  position: relative;
  z-index: 2;
  margin-top: -2px;
}

.hero::after {
  background:
    linear-gradient(
      180deg,
      transparent calc(100% - 90px),
      var(--color-espresso) 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  z-index: 6;
}
