/* Approved homepage composition, kept separate from inner-page styles. */
.home {
  --gutter: clamp(24px, 4.5vw, 88px);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 64;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.headline-line { display: block; }
.hero h1 .accent { letter-spacing: -0.055em; top: 0; }
.hero-copy { gap: 38px; }
.hero-copy .cta-row { gap: 20px; }
.hero-copy .btn { font-size: 15px; min-height: 52px; padding-inline: 28px; }
.hero-link { font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.band {
  --band-bg: var(--cream);
  --band-gap: clamp(36px, 4vw, 76px);
  padding-block: 26px;
  border-top: 0;
  border-bottom-color: rgba(129, 97, 74, 0.22);
}
.band-set li {
  font-family: Lato, "Segoe UI", sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.band-set li::after { width: 3px; height: 3px; opacity: 0.55; flex-shrink: 0; }
.band-track { animation-duration: 80s; }

@media (min-width: 900px) {
  .home .top {
    position: absolute;
    inset: 0 0 auto;
    max-width: 1920px;
    min-height: 110px;
    z-index: 10;
  }
  .home .nav {
    padding: 5px 8px;
    background: rgba(247, 240, 234, 0.96);
    border: 1px solid rgba(45, 32, 23, 0.06);
    border-radius: 999px;
    gap: 0;
  }
  .home .nav a { font-size: 14px; padding-inline: clamp(9px, 1.2vw, 18px); }
  .home .top-actions .btn { box-shadow: 0 0 0 6px rgba(247, 240, 234, 0.96); }
  .hero-full {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1920px;
    margin-top: 0;
    padding: 0;
    min-height: 680px;
    height: min(88svh, 1040px);
  }
  .hero-slides {
    height: 100%;
    border-radius: 0 0 0 100px;
  }
  .hero-slides::after {
    background: linear-gradient(180deg, rgba(45, 32, 23, 0.15), transparent 24%);
  }
  .hero-copy {
    padding: 112px clamp(32px, 4.5vw, 88px) 64px;
    gap: 40px;
  }
  .hero h1 { font-size: clamp(56px, 5.65vw, 108px); text-wrap: initial; }
  .hero .hs-1 .hs-fg { object-position: 50% 4%; }
}
@media (max-width: 899px) {
  .hero h1 { font-size: clamp(45px, 11.5vw, 86px); line-height: 1.06; }
  .hero-copy { padding-bottom: 86px; gap: 24px; }
  .band { padding-block: 22px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .home .wm-name { font-size: 20px; }
  .home .top { padding-inline: 32px; }
  .hero-copy { padding-inline: 32px; }
  .hero h1 { font-size: clamp(51px, 5.65vw, 62px); }
}

/* Soft daylight and restrained scroll depth. */
.hero-depth { display: none; }

@media (min-width: 900px) {
  .home .top {
    align-items: flex-start;
    padding-top: 32px;
    min-height: 160px;
  }
  .home .nav {
    position: absolute;
    top: 94px;
    left: calc(var(--gutter) - 12px);
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0;
  }
  .home .nav a {
    font-size: 13px;
    font-weight: 400;
    padding-inline: clamp(7px, 0.8vw, 12px);
  }
  .hero-full { isolation: isolate; }
  .hero-depth {
    display: block;
    position: absolute;
    inset: 0 50% 0 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #f2e8dd;
  }
  .hero-depth::before,
  .hero-depth::after {
    content: "";
    position: absolute;
    inset: -130px;
  }
  .hero-depth::before {
    background:
      radial-gradient(ellipse at 18% 18%, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0) 58%),
      radial-gradient(ellipse at 95% 72%, rgba(204, 158, 129, 0.22) 0%, rgba(204, 158, 129, 0) 56%),
      linear-gradient(125deg, #f9f3e9 10%, #efe0d0 75%, #ead7c4);
    transform: translate3d(0, var(--light-offset, 0px), 0);
  }
  .hero-depth::after {
    background: linear-gradient(127deg,
      transparent 22%,
      rgba(129, 97, 74, 0.09) 30%,
      rgba(129, 97, 74, 0.16) 34%,
      transparent 43%,
      transparent 65%,
      rgba(129, 97, 74, 0.13) 75%,
      transparent 85%);
    filter: blur(18px);
    transform: translate3d(0, var(--shadow-offset, 0px), 0);
  }
  .hero-copy { padding-top: 150px; padding-bottom: 76px; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .home .nav { left: 25px; }
  .home .nav a { font-size: 12px; padding-inline: 7px; }
}

.home .band { background: rgba(255, 253, 248, 0.13); }
.home .band::after { display: none; }
.home .band {
  mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}
.home .greview {
  background: rgba(255, 253, 248, 0.22);
  border-block: 1px solid rgba(129, 97, 74, 0.12);
}
.home .final {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.52), rgba(242, 211, 194, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 45px rgba(99, 67, 45, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.home .foot {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(129, 97, 74, 0.32), transparent 65%),
    radial-gradient(ellipse at 100% 100%, rgba(169, 70, 31, 0.12), transparent 65%),
    #2d2017;
}

/* Frosted glass keeps the navigation readable over the daylight. */
@media (min-width: 900px) {
  .home .nav {
    left: var(--gutter);
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 253, 247, 0.26));
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 8px 28px rgba(90, 60, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.28);
  }
  .home .nav a { transition: background-color 180ms ease, color 180ms ease; }
  .home .nav a:hover { background: rgba(255, 255, 255, 0.58); color: var(--copper); }
  .hero-depth {
    background: transparent;
    -webkit-mask-image: linear-gradient(#000 84%, transparent);
    mask-image: linear-gradient(#000 84%, transparent);
  }
  .hero-depth::before {
    transform: translate3d(var(--light-x, 0px), var(--light-offset, 0px), 0);
    transition: transform 500ms ease-out;
  }
  .hero-depth::after {
    transform: translate3d(var(--shadow-x, 0px), var(--shadow-offset, 0px), 0);
    transition: transform 500ms ease-out;
  }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .home .nav { left: 32px; }
}
@media (max-width: 899px) {
  .home .nav.open {
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(247, 240, 234, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    backdrop-filter: blur(20px) saturate(1.1);
    box-shadow: 0 14px 40px rgba(45, 32, 23, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
}

/* The existing brand monogram signs the lower corner of the daylight panel. */
.hero-monogram { display: none; }
@media (min-width: 900px) {
  .hero-monogram {
    display: block;
    position: absolute;
    right: clamp(32px, 4.5vw, 88px);
    bottom: 44px;
    height: clamp(175px, 26.25vh, 275px);
    aspect-ratio: 120 / 294;
    background: var(--caramel);
    opacity: 0.42;
    -webkit-mask: url("/brand/monogram-s-white.png") center / contain no-repeat;
    mask: url("/brand/monogram-s-white.png") center / contain no-repeat;
    transform: translate3d(var(--monogram-x, 0px), var(--monogram-y, 0px), 0);
    transition: transform 650ms ease-out;
  }
}

/* One booking action in view, with a quiet satin highlight. */
.home .top-actions > .btn { display: none; }
.home .hero-copy .btn-primary,
.home .final .btn-primary,
.home .dock .btn-primary {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding-inline: 34px;
  font-size: 18px;
  letter-spacing: 0.015em;
  box-shadow: 0 7px 20px rgba(169, 70, 31, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.23);
}
.home .hero-copy .btn-primary::after,
.home .final .btn-primary::after,
.home .dock .btn-primary::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 223, 0.25), transparent);
  transform: translateX(-180%) skewX(-20deg);
  pointer-events: none;
  animation: booking-satin 11s ease-in-out infinite;
}
@keyframes booking-satin {
  0%, 77% { transform: translateX(-180%) skewX(-20deg); }
  90%, 100% { transform: translateX(420%) skewX(-20deg); }
}
.home .dock {
  visibility: hidden;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 280ms ease-out;
}
.home.booking-dock-visible .dock {
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
@media (min-width: 900px) {
  .home .dock {
    display: block;
    position: fixed;
    z-index: 30;
    right: 28px;
    bottom: 24px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(45, 32, 23, 0.13);
    transform: translateY(calc(100% + 32px));
  }
}

.home .hero-full .cta-row .btn-primary { display: inline-flex; }

/* Brand scale and booking motion. */
.home .top .wm { gap: 10px; }
.home .top .wm-name { font-size: clamp(17px, 5.5vw, 27px); }
.home .top .wm-sub { font-size: 9px; letter-spacing: 0.45em; }
.home .top .wm-sub i { width: 26px; }
@media (min-width: 900px) {
  .home .top .wm-name { font-size: clamp(28px, 2.6vw, 44px); letter-spacing: 0.21em; }
  .home .top .wm-sub { font-size: 10px; }
  .home .top .wm-sub i { width: 32px; }
  .home .nav { top: 118px; }
  .hero-copy { padding-top: 178px; }
}
.home .hero .cta-row {
  animation: booking-arrive 1.15s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes booking-arrive {
  from { opacity: 0; transform: translate3d(-36px, 32px, 0) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
.home .hero-copy .btn-primary {
  min-height: 64px;
  padding-inline: 32px;
  font-size: 19px;
  gap: 17px;
  background: linear-gradient(120deg, #8d3719, #b54b23 55%, #a74320);
  animation: booking-aura 5.8s 1.8s ease-in-out infinite;
  transition: translate 220ms ease, filter 220ms ease;
}
.home .hero-copy .btn-primary:hover,
.home .hero-copy .btn-primary:focus-visible {
  translate: 0 -4px;
  filter: brightness(1.09);
}
.home .hero-copy .btn-primary:active { translate: 0 0; }
.home .hero-copy .btn-primary::after {
  background: linear-gradient(90deg, transparent, rgba(255, 244, 223, 0.42), transparent);
  animation: booking-sweep 5.8s 1.8s ease-in-out infinite;
}
@keyframes booking-sweep {
  0%, 12% { transform: translateX(-180%) skewX(-20deg); }
  40%, 100% { transform: translateX(420%) skewX(-20deg); }
}
@keyframes booking-aura {
  0%, 48%, 100% { box-shadow: 0 8px 24px rgba(169, 70, 31, 0.23), 0 0 0 0 rgba(169, 70, 31, 0), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  20% { box-shadow: 0 12px 34px rgba(169, 70, 31, 0.34), 0 0 0 9px rgba(169, 70, 31, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
  40% { box-shadow: 0 10px 28px rgba(169, 70, 31, 0.25), 0 0 0 17px rgba(169, 70, 31, 0), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}
.booking-arrow { display: inline-block; font-size: 22px; font-weight: 400; line-height: 1; }
.hero-copy .booking-arrow { animation: booking-arrow-drift 5.8s 1.8s ease-in-out infinite; }
@keyframes booking-arrow-drift {
  0%, 12%, 44%, 100% { transform: translate(0, 0); }
  26% { transform: translate(4px, -4px); }
}

/* Keep the wordmark on the same left edge as the navigation and hero copy. */
.home .top .wm-name { padding-left: 0; }

/* Keep the existing chat launcher clear of the floating booking action. */
.hero h1 .headline-line { display: block; }
@media (min-width: 900px) { .home .dock { left: 24px; right: auto; } }
@media (max-width: 899px) {
  .home .dock { right: 132px; padding-inline: 16px; background: transparent; }
  .home .dock .btn-primary { min-height: 54px; padding-inline: 20px; font-size: 17px; }
}

/* Let the wordmark define the shared width of the desktop header block. */
@media (min-width: 900px) {
  .home .top {
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: 24px;
  }
  .home .top .logo { grid-column: 1; grid-row: 1; }
  .home .top .top-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .home .nav {
    position: static;
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }
  .home .nav a { min-width: 0; justify-content: center; padding-inline: 4px; }
}

/* Reserve the stronger label width so the moving band never jumps. */
.band-phrase { display: inline-grid; }
.band-phrase::before,
.band-label { grid-area: 1 / 1; }
.band-phrase::before {
  content: attr(data-phrase);
  font-weight: 600;
  visibility: hidden;
  pointer-events: none;
}
.band-label { transition: color 420ms ease; }
.band-phrase.is-accent .band-label { color: var(--copper); font-weight: 600; }
