.home {
  --forest: #17271e;
  --forest-light: #294033;
  --parchment: #f7f2e7;
  --paper: #f4efe4;
  background: var(--paper);
}

.home .header .nav a, .home .mobile-nav > summary { color: var(--parchment); }
.home .header .nav a:hover { color: var(--gold); }
.home .header-cta { background: transparent; color: var(--parchment); border-color: #edcc9180; }
.home .header-cta:hover { background: var(--gold); color: var(--forest); }

.home .hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--nav-space));
  padding: calc(var(--nav-space) + clamp(24px, 3.1vw, 48px)) 0 62px;
  background: radial-gradient(ellipse at 5% 100%, #284333, transparent 53%), var(--forest);
  color: var(--parchment);
}
.home .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(36px, 5.4vw, 92px);
  align-items: center;
}
.home .hero-copy { padding: 26px 0 32px; min-width: 0; }
.home .hero .eyebrow { color: #eaddc0; margin-bottom: 23px; }
.home .hero h1 {
  font-size: clamp(51px, 7.25vw, 113px);
  line-height: .84;
  letter-spacing: -.035em;
}
.home .hero h1 em { color: var(--gold); display: block; margin-top: .09em; }
.home .hero .intro { color: #eee5d6; margin: 25px 0 21px; font-size: clamp(.98rem, 1.5vw, 1.18rem); max-width: 40ch; text-wrap: pretty; }
.home .hero .text-link { color: var(--gold); }
.home .header :focus-visible, .home .hero :focus-visible, .city-guide :focus-visible, .home-close :focus-visible { outline-color: var(--gold); }
.home .header .mobile-nav nav :focus-visible { outline-color: var(--wine); }
.home .hero-copy > * { animation: opening-copy .72s var(--spring) both; }
.home .hero-copy > :nth-child(2) { animation-delay: .1s; }
.home .hero-copy > :nth-child(3) { animation-delay: .19s; }
.home .hero-copy > :nth-child(4) { animation-delay: .25s; }
@keyframes opening-copy { from { opacity: 0; transform: translateY(23px); } to { opacity: 1; transform: translateY(0); } }

.hero-visual { min-width: 0; position: relative; --arch: 49% 49% 4px 4px / 20% 20% 4px 4px; }
.hero-visual { animation: reveal-arch .87s var(--spring) both; }
@keyframes reveal-arch { from { opacity: .32; transform: translateY(18px); } }
.hero-visual::before {
  content: ""; position: absolute; pointer-events: none; inset: -13px 12px 10px -13px; border: 1px solid #d1b68161;
  border-radius: var(--arch);
}
.home .hero-photo {
  height: clamp(442px, 44vw, 597px);
  min-width: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--arch);
  background: #505748;
}
.home .hero-photo > img, .home .hero-photo > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% center;
}
.home .hero-photo > img { animation: opening-photo 1.35s var(--spring) both; }
.home .hero-photo > video { opacity: 0; transition: opacity .7s ease; }
.home .hero-photo > video.is-playing { opacity: 1; }
.home .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #1020176b, transparent 30%); pointer-events: none; }
@keyframes opening-photo { from { transform: scale(1.055); } to { transform: scale(1); } }
.film-control {
  position: absolute; right: 17px; bottom: 15px; width: 46px; height: 46px;
  border: 1px solid #fff9; border-radius: 50%; background: #17271e86; color: white;
  font-size: 1.22rem; backdrop-filter: blur(5px); transition: background .24s ease, color .24s ease;
}
.film-control:hover { background: var(--gold); color: var(--forest); }
.hero-feature {
  position: absolute; bottom: 24px; left: -26px; width: clamp(121px, 16vw, 219px); padding: 7px 7px 0; display: block;
  transform: rotate(-3deg); background: var(--parchment); color: var(--ink); text-decoration: none;
  box-shadow: 0 11px 35px #121d16a0; transition: transform .32s var(--spring);
}
.hero-feature:hover { transform: rotate(0deg) translateY(-5px); }
.hero-feature img { object-fit: cover; aspect-ratio: 1.7; }
.hero-feature > span { display: flex; justify-content: space-between; align-items: center; padding: 8px 5px; font-size: .77rem; font-weight: 650; }

.hero-booking { position: relative; z-index: 3; scroll-margin-top: 16px; }
.home .date-form-home, .hero-booking-closed {
  margin-top: -42px; max-width: none; padding: 13px; border-radius: 6px;
  box-shadow: 0 15px 47px #2b40292e; background: var(--paper-light);
}
.hero-booking-closed { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border: 1px solid var(--line); }
.hero-booking-closed p { margin: 0; padding-inline: 8px; }
.home .date-form-home .button { background: var(--forest); border-color: var(--forest); }
.home .date-form-home .button:hover { background: var(--forest-light); border-color: var(--forest-light); }
.home-rooms { padding-block: clamp(60px, 8vw, 111px) clamp(55px, 7vw, 100px); scroll-margin-top: 0; }
.home-rooms .section-heading h2 { font-size: clamp(42px, 6.6vw, 95px); }
.room-directory { margin-top: clamp(35px, 5vw, 65px); padding-top: 22px; border-top: 1px solid #bcbead; }
.room-directory h3 { font-size: clamp(24px, 3vw, 35px); }
.room-directory ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin: 15px 0 0; padding: 0; list-style: none; }
.room-directory a {
  min-height: 42px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 7px 0;
  color: var(--ink); text-decoration: none; font-size: .9rem;
}
.room-directory a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.room-directory a .arrow { margin-left: auto; }
.room-directory-number { color: var(--wine); min-width: 32px; font-variant-numeric: tabular-nums; font-weight: 700; }

.stay-story { background: #e8e8d6; }
.stay-story-grid {
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center;
  gap: clamp(32px, 7vw, 108px); padding-block: clamp(52px, 9vw, 134px);
}
.stay-story figure { position: relative; isolation: isolate; margin: 0 9px 9px 0; }
.stay-story figure::after { content: ""; position: absolute; inset: 13px -13px -13px 13px; border: 1px solid #8a9479; z-index: -1; }
.stay-story img { aspect-ratio: .93; object-fit: cover; object-position: 53% center; }
.stay-story h2, .guide-intro h2, .practical h2, .home-close h2 { font-size: clamp(43px, 6.6vw, 90px); }
.stay-story-copy > p:not(.eyebrow) { color: var(--quiet); margin: 20px 0 25px; max-width: 44ch; }
.stay-story dl { margin: 0; }
.stay-story dl > div { padding: 12px 0; border-top: 1px solid #bfc4ad; max-width: 520px; }
.stay-story dt { color: var(--forest); font-weight: 720; }
.stay-story dd { color: var(--quiet); margin: 5px 0 0; line-height: 1.5; font-size: .93rem; }

.city-guide { background: var(--forest); color: var(--parchment); padding: clamp(55px, 8vw, 125px) 0 clamp(42px, 7vw, 90px); }
.city-guide .eyebrow, .city-guide em, .city-guide .text-link { color: var(--gold); }
.guide-intro { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 48px; align-items: end; }
.guide-intro .eyebrow, .guide-nav { grid-column: 1 / -1; }
.guide-intro > p:not(.eyebrow) { max-width: 39ch; margin: 0 0 4px; color: #e4ded0; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-block: 26px 25px; }
.guide-nav a { display: inline-flex; gap: 8px; align-items: center; color: var(--parchment); text-decoration: none; padding: 7px 13px; border: 1px solid #edcc915a; border-radius: 999px; background: #e9cd8b17; font-size: .85rem; transition: background .2s var(--spring); }
.guide-nav a:hover { background: #e9cd8b2f; color: var(--gold); }
.guide-nav a > .icon { color: var(--gold); }
.guide-photo { position: relative; border: 1px solid #fff4d36b; border-radius: 21px; padding: 6px; background: #efdbaf20; box-shadow: inset 0 1px #fff4d335; }
.guide-photo img { aspect-ratio: 2.55; object-fit: cover; object-position: center 52%; border-radius: 15px; }
.guide-photo figcaption {
  position: absolute; right: 16px; bottom: 16px; padding: 5px 11px; color: var(--parchment);
  background: #172b23d9; border: 1px solid #fff4d352; border-radius: 999px; backdrop-filter: blur(9px); font-size: .72rem;
}
.guide-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(21px, 4vw, 53px); margin-top: 35px; }
.guide-column { scroll-margin-top: 33px; }
.guide-column h3 { font-size: clamp(26px, 3.4vw, 46px); }
.guide-column ul { padding: 0; list-style: none; margin: 15px 0 0; }
.guide-column li { border-top: 1px solid #eadbc232; padding: 12px 0; }
.guide-column .text-link { font-size: .86rem; border-bottom: 0; padding: 0; }
.guide-column .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-column p { color: #e4ded0; margin: 5px 0 0; font-size: .9rem; }

.practical { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(25px, 6vw, 90px); align-items: start; }
.practical > div:first-child .text-link { margin-top: 24px; }
.home-close { background: #203328; color: var(--parchment); }
.home-close-inner { display: flex; gap: 24px; justify-content: space-between; align-items: end; padding-block: clamp(44px, 6vw, 80px); }
.home-close em, .home-close .eyebrow, .home-close .text-link { color: var(--gold); }
.home-close address { font-style: normal; margin-top: 13px; color: #e8e2d7; }
.home-close-links { display: grid; gap: 12px; }
.home-close .button { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.home-close .button:hover { background: #f6dfb3; border-color: #f6dfb3; }

@media (prefers-reduced-motion: no-preference) {
  html:has(.home) { scroll-behavior: smooth; }
}

@media (max-width: 950px) {
  .home .hero-photo { height: clamp(360px, 49vw, 475px); }
  .hero-feature { left: -16px; }
}

@media (max-width: 760px) {
  .site.home .hero { padding: 0 0 52px; background: var(--forest); }
  .stay-story-grid, .guide-intro, .practical { grid-template-columns: 1fr; }
  .home .hero-inner { display: block; width: 100%; }
  .home .hero-copy {
    position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), 570px);
    margin-inline: auto; padding: clamp(202px, 52vw, 335px) 0 0;
  }
  .home .hero h1 { font-size: clamp(44px, 11.2vw, 83px); line-height: .87; text-wrap: balance; }
  .home .hero h1 em { margin-top: .06em; }
  .home .hero .intro { margin: 15px 0 12px; font-size: clamp(.94rem, 2.5vw, 1.06rem); line-height: 1.53; }
  .home .hero .eyebrow { margin-bottom: 10px; }
  .home .hero .text-link {
    min-height: 44px; padding: 5px 14px; border: 1px solid #f4dfa592; border-radius: 999px;
    color: #fff3d2; background: #fcecc21c;
  }
  .home .hero-copy > * { animation-duration: .52s; }
  .home .hero-copy > :nth-child(2) { animation-delay: .05s; }
  .home .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .home .hero-copy > :nth-child(4) { animation-delay: .14s; }
  .hero-visual { position: absolute; inset: 0 0 auto; animation: none; }
  .hero-visual::before { content: none; }
  .home .hero-photo { height: clamp(323px, 83vw, 535px); border-radius: 0; }
  .home .hero-photo > :is(img, video) { object-position: 49% 39%; }
  .home .hero-photo > img { animation-duration: 1s; }
  .home .hero-photo::after {
    background: linear-gradient(180deg, #0c1f1987 0%, #101f180a 25%, #17271e16 37%, #17271eca 69%, #17271e 98%);
  }
  .hero-feature { display: none; }
  .film-control {
    z-index: 2; width: 44px; height: 44px; top: calc(var(--nav-space) + 14px); bottom: auto; right: var(--gutter);
    background-color: #162719a8; font-size: 1rem;
  }
  .home .date-form-home, .hero-booking-closed { margin-top: -30px; }
  .hero-booking-closed { padding: 7px; flex-wrap: nowrap; }
  .hero-booking-closed p { padding-inline: 7px 0; line-height: 1.35; font-size: .86rem; }
  .hero-booking-closed .button { flex: 0 0 auto; min-height: 46px; padding: 7px 11px; gap: 7px; text-align: center; }
  .home-rooms { padding-block: 45px 52px; }
  .guide-intro > p:not(.eyebrow) { margin-top: 14px; }
  .guide-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-photo img { aspect-ratio: 1.75; }
  .stay-story img { aspect-ratio: 1.36; }
}

@media (max-width: 510px) {
  .home .date-form-home { padding: 9px; }
  .home-rooms .editorial-rooms {
    grid-template-columns: none; grid-template-rows: auto;
    grid-auto-columns: min(82vw, 342px); grid-auto-flow: column; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 3px var(--gutter) 14px; overflow-x: auto;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); overscroll-behavior-inline: contain;
    scrollbar-width: thin; scrollbar-color: #788d77 #edeadf;
  }
  .home-rooms .editorial-rooms .room-card { grid-row: 1; align-self: stretch; scroll-snap-align: start; animation: none; }
  .home-rooms .editorial-rooms .room-card .room-photo { aspect-ratio: 1.27; }
  .home-rooms .editorial-rooms .room-card h3 { font-size: clamp(26px, 7vw, 32px); }
  .home-rooms .section-heading { margin-bottom: 16px; }
  .home-rooms .section-heading .text-link { min-height: 44px; margin-bottom: 0; }
  .room-directory ul, .guide-columns { grid-template-columns: 1fr; }
  .room-directory a { justify-content: flex-start; }
  .guide-nav { gap: 9px 17px; }
  .home-close-inner { flex-direction: column; align-items: stretch; }
  .home-close-links { justify-items: start; }
}
