/* Hotel partnerships page. Loaded after /styles.css and /gallery/gallery.css (header, lightbox, footer). Dark by design. */
.hotels-page { background: var(--ink); color: var(--paper); }
.hotels-page .gallery-header { color: var(--paper); }
.hotels-page main { display: block; }
.hotels-page h1, .hotels-page h2, .hotels-page h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.hotels-page h1 em, .hotels-page h2 em { color: var(--brand); font-style: italic; }
.hotels-page .muted { color: rgba(247, 245, 248, 0.74); }
.hotels-page .eyebrow { color: var(--brand); }

/* Buttons */
.h-btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.h-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.6rem; min-width: 15rem; padding: 1rem 1.2rem;
  border: 1px solid rgba(176, 142, 255, 0.55); color: var(--paper); background: transparent;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.h-btn:hover, .h-btn:focus-visible { color: var(--ink); background: var(--brand); border-color: var(--brand); }
.h-btn--solid { color: var(--ink); background: var(--brand); border-color: var(--brand); }
.h-btn--solid:hover, .h-btn--solid:focus-visible { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.h-btn .ui-arrow { width: 1.1rem; height: 1.1rem; flex: none; }
.h-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }


.hotels-hero h1 .l { display: block; white-space: nowrap; } /* fixed line breaks: the web-font swap can't re-wrap the headline and shift the page */

/* Generic sections */
.h-section { padding-top: clamp(4.5rem, 9vw, 8rem); padding-bottom: clamp(1rem, 3vw, 2rem); scroll-margin-top: 4.5rem; }
.h-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.h-heading h2 { margin-top: 1rem; font-size: clamp(3rem, 6.2vw, 6.4rem); letter-spacing: -0.055em; line-height: 0.88; }
.h-heading p { max-width: 36ch; margin: 0; font-size: 0.78rem; line-height: 1.65; color: rgba(247, 245, 248, 0.74); }

/* Portfolio: justified rows keep every photo at its true crop; lightbox via gallery.css */
.h-group { margin-top: clamp(2.4rem, 5vw, 4rem); }
.h-group > h3 { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.9rem; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; }
.h-group > h3 small { color: rgba(247, 245, 248, 0.7); font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.h-grid { display: flex; flex-wrap: wrap; gap: clamp(3px, 0.4vw, 6px); }
.h-tile {
  position: relative; display: block; flex: var(--ar) 1 calc(var(--ar) * 13rem); min-width: 0; aspect-ratio: var(--ar); overflow: hidden;
  background: #14121a; cursor: zoom-in; -webkit-tap-highlight-color: transparent;
}
.h-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 380ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1); }
.h-tile img.is-loaded, .no-js .h-tile img { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .h-tile:hover img { transform: scale(1.05); } }
.h-tile:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }

/* What you receive */
.h-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); margin: 0; padding: 0; list-style: none; counter-reset: offer; }
.h-offer li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.4rem 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); counter-increment: offer; }
.h-offer li::before { content: counter(offer, decimal-leading-zero); grid-row: 1 / 3; color: var(--brand); font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; }
.h-offer h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.1; }
.h-offer p { grid-column: 2; margin: 0; font-size: 0.82rem; line-height: 1.65; color: rgba(247, 245, 248, 0.76); }
.h-offer .h-fig { color: var(--paper); font-weight: 600; }

/* Exchange + steps */
.h-exchange { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(2rem, 4vw, 3.5rem); }
.h-card { padding: clamp(1.4rem, 2.6vw, 2.4rem); border: 1px solid rgba(176, 142, 255, 0.3); background: linear-gradient(160deg, rgba(176, 142, 255, 0.1), rgba(176, 142, 255, 0.02) 60%), #0d0c11; }
.h-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.025em; }
.h-card p, .h-card li { font-size: 0.86rem; line-height: 1.7; color: rgba(247, 245, 248, 0.82); }
.h-card p { margin: 1rem 0 0; }
.h-card ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.h-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.h-steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); padding: 1.1rem 0; border-bottom: 1px solid var(--line); counter-increment: step; font-size: 0.86rem; line-height: 1.6; color: rgba(247, 245, 248, 0.82); }
.h-steps li::before { content: counter(step); color: var(--brand); font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; }
.h-steps strong { color: var(--paper); font-weight: 600; }
.h-steps li:first-child { padding-top: 0; }

/* Clients */
.h-clients { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.h-clients li { padding: 0.7rem 1.1rem; border: 1px solid var(--line); border-radius: 10rem; color: var(--paper); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.h-note { max-width: 62ch; margin: 1.4rem 0 0; font-size: 0.82rem; line-height: 1.7; color: rgba(247, 245, 248, 0.76); }
.h-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Closing CTA */
.h-cta { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 9vw, 8rem); background: radial-gradient(circle at 76% 50%, rgba(176, 142, 255, 0.16), transparent 28%), var(--ink); border-top: 1px solid var(--line); }
.h-cta h2 { grid-column: 2; font-size: clamp(3.4rem, 8vw, 8rem); letter-spacing: -0.055em; line-height: 0.88; }
.h-cta .h-cta-copy { grid-column: 2; max-width: 52ch; margin: 0; font-size: 0.9rem; line-height: 1.7; color: rgba(247, 245, 248, 0.84); }
.h-cta .h-btns { grid-column: 2; margin-top: 0.4rem; }
.h-sign { grid-column: 2; margin: 1rem 0 0; font-family: var(--serif); font-size: 1.5rem; color: var(--paper); }
.h-sign small { display: block; margin-top: 0.3rem; color: rgba(247, 245, 248, 0.72); font-family: var(--sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 1024px) {
  .h-heading { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .h-offer, .h-exchange { grid-template-columns: 1fr; }
  .h-cta { grid-template-columns: 1fr; }
  .h-cta h2, .h-cta .h-cta-copy, .h-cta .h-btns, .h-sign { grid-column: 1; }
}
@media (max-width: 680px) {
  .h-btn { width: 100%; min-width: 0; }
  .h-tile { flex-basis: calc(var(--ar) * 7rem); }
  .h-group > h3 { flex-direction: column; gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .h-tile img { transition: none; } }

/* Hero carousel: full-bleed slides, one consistent scrim, copy left, controls bottom */
.hotels-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); min-height: max(40rem, min(100svh, 62rem)); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-height) + 2rem) var(--pad) 6rem; touch-action: pan-y; }
.hc-slides, .hc-scrim { position: absolute; inset: 0; }
.hc-slides { z-index: -2; }
.hc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.hc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease; z-index: 1; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); }
.hc-slide.is-active img { animation: hc-kb 9s ease-out both; }
@keyframes hc-kb { from { transform: scale(1); } to { transform: scale(1.08); } }
.hc-scrim { z-index: -1; background:
  linear-gradient(90deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.84) 42%, rgba(9, 9, 11, 0.42) 75%, rgba(9, 9, 11, 0.3) 100%),
  linear-gradient(0deg, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0) 38%); }
.hc-copy { position: relative; max-width: 46rem; }
.hotels-hero .eyebrow { padding-top: 1.1rem; border-top: 1px solid rgba(247, 245, 248, 0.3); margin-bottom: 1.4rem; }
.hotels-hero h1 { min-height: 3.6em; font-size: clamp(3rem, 6.2vw, 6.4rem); letter-spacing: -0.055em; line-height: 0.9; }
.hotels-hero .lede { max-width: 46ch; margin: 1.6rem 0 0; font-size: clamp(0.92rem, 1.1vw, 1.04rem); line-height: 1.7; color: rgba(247, 245, 248, 0.92); }
.hotels-hero .h-btns { margin-top: 1.8rem; }
.hotels-hero .h-btn:not(.h-btn--solid) { background: rgba(9, 9, 11, 0.55); }
.hc-controls { position: absolute; left: var(--pad); right: var(--pad); bottom: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hc-caption { margin: 0; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
.hc-nav { display: flex; align-items: center; gap: 0.35rem; }
.hc-dots { display: flex; align-items: center; }
.hc-dot { position: relative; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.hc-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1.4rem; height: 3px; transform: translate(-50%, -50%); background: rgba(247, 245, 248, 0.5); transition: background-color 200ms ease, width 200ms ease; }
.hc-dot[aria-current="true"]::before { background: var(--brand); width: 2.1rem; }
.hc-dot:hover::before { background: var(--paper); }
.hc-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 1px solid rgba(247, 245, 248, 0.45); border-radius: 50%; background: rgba(9, 9, 11, 0.55); color: var(--paper); cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.hc-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.hc-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-toggle { margin-left: 0.5rem; }
.hc-toggle .i-play { display: none; fill: currentColor; stroke-width: 1; }
.hc-toggle[aria-pressed="true"] .i-play { display: block; }
.hc-toggle[aria-pressed="true"] .i-pause { display: none; }
.hc-btn:focus-visible, .hc-dot:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
@media (max-width: 1024px) {
  .hotels-hero { min-height: max(44rem, 100svh); }
  .hc-scrim { background: linear-gradient(0deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.8) 55%, rgba(9, 9, 11, 0.62) 100%); }
}
@media (max-width: 680px) {
  .hotels-hero { padding-bottom: 7.2rem; }
  .hotels-hero h1 { font-size: clamp(2.7rem, 12.4vw, 4.4rem); }
  .hotels-hero .lede { min-height: calc(1.7em * 9); }
  .hc-controls { justify-content: center; }
  .hc-nav { gap: 0.2rem; }
  .hc-dot { width: 1.75rem; }
  .hc-dot::before { width: 1rem; }
  .hc-dot[aria-current="true"]::before { width: 1.4rem; }
  .hc-btn { width: 2.5rem; height: 2.5rem; }
  .hc-dot { height: 2.5rem; }
  .hc-toggle { margin-left: 0.2rem; }
  .hc-caption { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-slide, .hc-slide.is-active { transition-duration: 0.01s; }
  .hc-slide.is-active img { animation: none; }
}
