:root {
  --cream: #f2eadc;
  --paper: #fbf5eb;
  --linen: #fffaf2;
  --pine: #18372d;
  --deep-pine: #10231d;
  --black-green: #08120e;
  --brass: #b58a52;
  --champagne: #e6c99b;
  --clay: #9b6645;
  --stone: #81766b;
  --charcoal: #171a17;
  --muted: rgba(23, 26, 23, 0.66);
  --line: rgba(24, 55, 45, 0.16);
  --glow: 0 28px 90px rgba(16, 35, 29, 0.22);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 18px;
  --container: min(1160px, calc(100% - 38px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Outfit", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(
      circle at top left,
      rgba(181, 138, 82, 0.26),
      transparent 28rem
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(24, 55, 45, 0.13),
      transparent 32rem
    ),
    linear-gradient(180deg, var(--cream), var(--paper) 46%, #eadfce);
}

.glamour-list p strong {
  color: var(--clay) !important;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(16, 35, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 29, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

.render-sleeping {
  content-visibility: hidden;
  contain-intrinsic-size: auto var(--sleep-size, 720px);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: var(--container);
  height: 64px;
  transform: translate3d(-50%, 0, 0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 250, 242, 0.58);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(16, 35, 29, 0.16);
  overflow: hidden;

  will-change: width, height, padding;
  contain: layout paint;

  transition:
    width 430ms cubic-bezier(0.22, 1, 0.36, 1),
    height 430ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 430ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  width: 58px;
  height: 58px;
  padding: 0.5rem;
  justify-content: center;
  background: rgba(255, 250, 242, 0.97);
  border-color: rgba(255, 250, 242, 0.78);
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--deep-pine);
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1 / 1;

  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-pine), var(--pine));
  color: var(--linen);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(230, 201, 155, 0.22);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(2.05);
}

.site-header.is-scrolled .brand-mark {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex-basis: 42px;
}

.main-nav {
  display: flex;
  gap: 1.15rem;
  color: rgba(23, 26, 23, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--deep-pine);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--deep-pine);
  font-weight: 800;
  white-space: nowrap;
  min-width: 0;
  transition: gap 320ms ease;
}

.brand > span:not(.brand-mark) {
  display: inline-block;
  overflow: hidden;
  max-width: 280px;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 330ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    transform 330ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav {
  display: flex;
  gap: 1.15rem;
  color: rgba(23, 26, 23, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
  overflow: hidden;
  max-width: 360px;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 330ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    transform 330ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled .brand {
  gap: 0;
}

.site-header.is-scrolled .brand > span:not(.brand-mark) {
  max-width: 0;
  opacity: 0;
  transform: translateX(-8px);
}

.site-header.is-scrolled .main-nav {
  max-width: 0;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
}

.main-nav {
  overflow: hidden;
  max-width: 360px;
  opacity: 1;
  transform: translateX(0);
  transition:
    max-width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled {
  justify-content: center;
}

.site-header.is-scrolled .brand {
  gap: 0;
}

.site-header.is-scrolled .brand > span:not(.brand-mark) {
  max-width: 0;
  opacity: 0;
  transform: translateX(-10px);
}

.site-header.is-scrolled .main-nav {
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}

.site-header.is-scrolled .brand-mark {
  width: 42px;
  height: 42px;
}

.mobile-header-book {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background: var(--black-green);
  contain: layout paint style;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -75% -22%;
  z-index: 0;
  background-image: url("images/web/glacier-mountain-getaway-bozeman-aframe-cabin-exterior-wide-large.jpg");
  background-size: cover;
  background-position: center;
  inset: -42% -16%;
  transform: translate3d(0, 0, 0) scale(1.32);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 14, 0.88),
      rgba(8, 18, 14, 0.44),
      rgba(8, 18, 14, 0.08)
    ),
    linear-gradient(0deg, rgba(8, 18, 14, 0.7), transparent 54%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  color: var(--linen);
}

.sky-sticky {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  overflow: visible;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.045em;

  transform: translate3d(0, 0, 0);
}

.sky-sticky-text {
  display: block;
  white-space: nowrap;
  overflow: visible;
  line-height: 1.26;
  padding-bottom: 0.24em;

  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    to bottom,
    var(--linen) 0 var(--sky-split, 999px),
    var(--charcoal) var(--sky-split, 999px) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.sky-sticky-light {
  color: var(--linen);
}

.sky-sticky-dark {
  color: var(--charcoal);
}

.sky-source {
  display: block;
  width: fit-content;
  line-height: 1.18;
  padding-bottom: 0.18em;
}

body.sky-active .sky-source {
  color: transparent;
}

.location-line {
  margin: 0 0 1rem;
  color: var(--champagne);
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(4.4rem, 11vw, 10.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 5.8rem);
}

h3 {
  margin: 0;
  color: var(--deep-pine);
  line-height: 1.08;
}

p {
  line-height: 1.72;
}

.hero-title {
  max-width: 920px;
  overflow: visible;
}

.hero-title-line {
  display: block;
  width: fit-content;
  transform: translate3d(0, 0, 0);
}

.hero-title-line-bottom {
  margin-left: clamp(1.2rem, 8vw, 7rem);
}

.hero-layer {
  transform: translate3d(0, 0, 0);
}

body.hero-effects-active .hero-bg,
body.hero-effects-active .sky-sticky,
body.hero-effects-active .hero-title-line,
body.hero-effects-active .hero-layer {
  will-change: transform;
}

.hero-copy {
  max-width: 610px;
  margin: 1.35rem 0 0;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.hero-glass-card {
  /* text-transform: lowercase; */
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 2.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(230, 201, 155, 0.24);
  border-radius: 999px;
  background: rgba(8, 18, 14, 0.3);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.16),
    0 22px 60px rgba(8, 18, 14, 0.22);
}

.hero-glass-card span {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.hero-glass-card span:not(:last-child)::after {
  content: "•";
  margin-left: 0.65rem;
  color: rgba(230, 201, 155, 0.62);
}

.hero-follow-group {
  width: fit-content;
  max-width: 640px;
  display: flow-root;
}

.hero-follow-sticky {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 7;
  width: min(640px, calc(100% - 38px));
  pointer-events: none;
  opacity: 0;
  display: flow-root;
  transform: translate3d(-50%, 0, 0);
}

body.hero-effects-active .hero-follow-sticky {
  will-change: transform, clip-path, opacity;
}

body.sky-active .hero-follow-group {
  opacity: 0;
}

.hero-follow-sticky.is-visible {
  opacity: 1;
}

.hero-follow-sticky.is-hidden {
  opacity: 0;
}

.sky-handoff-spacer {
  height: clamp(260px, 40vh, 450px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;

  background: linear-gradient(
    180deg,
    rgba(94, 153, 255, 0.72),
    rgba(255, 250, 242, 0)
  );
  background-size: cover;
  background-position: center;
  box-shadow: none;
}

#book-loc {
  padding-bottom: 100px;
}

.booking-intro {
  position: relative;
  max-width: 840px;
  margin: 0 auto 2rem;
  text-align: center;
}

.booking-intro[data-reveal],
.booking-intro[data-reveal].is-visible {
  transition: none;
}

.booking-clock {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.28);
  transition:
    opacity 260ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.booking-clock svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.clock-face {
  fill: rgba(255, 250, 242, 0.62);
  stroke: rgba(181, 138, 82, 0.72);
  stroke-width: 1.4;
}

.clock-hand,
.clock-center {
  stroke: var(--deep-pine);
  stroke-width: 2;
  stroke-linecap: round;
  fill: var(--deep-pine);
}

.clock-hand-sweep {
  opacity: 0;
  transform-origin: 24px 24px;
}

body.sky-clock-active .booking-clock {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.sky-clock-active .clock-hand-sweep {
  opacity: 1;
  animation: clockSweep 1100ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

@keyframes clockSweep {
  from {
    transform: rotate(-130deg);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  to {
    transform: rotate(230deg);
    opacity: 0;
  }
}

.booking-section {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 5rem;
}

.booking-intro {
  max-width: 840px;
  margin: 0 auto 2rem;
  text-align: center;
}

.script-label {
  margin: 0 0 0.75rem;
  color: var(--brass);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.booking-intro h2,
.story-copy h2,
.section-title h2,
.area-card h2,
.details-card h2 {
  color: var(--deep-pine);
}

.booking-intro p,
.story-copy > p,
.section-title p,
.area-columns p,
.detail-list p {
  color: var(--muted);
}

.booking-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(1rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 250, 242, 0.86);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 250, 242, 0.92),
    rgba(255, 250, 242, 0.72)
  );
  box-shadow: var(--glow);

  display: flex;
  justify-content: center;
  align-items: center;
}

#hostaway-calendar-widget {
  width: 100%;
  display: flex;
  justify-content: center;
}

#hostaway-calendar-widget > * {
  margin-left: auto !important;
  margin-right: auto !important;
}

#hostaway-calendar-widget div {
  margin-left: auto;
  margin-right: auto;
}

.story-section {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 5rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  overflow: visible;
}

.story-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--glow);
}

.story-image img {
  height: 620px;
  object-fit: cover;
}

.story-copy {
  padding: clamp(1rem, 4vw, 3rem);
}

.story-copy h2 {
  max-width: 680px;
}

.story-copy > p {
  max-width: 620px;
  margin-top: 1.4rem;
}

.glamour-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.glamour-list p {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(230, 201, 155, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 242, 0.72),
      rgba(255, 250, 242, 0.38)
    ),
    rgba(8, 18, 14, 0.03);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.82),
    0 18px 44px rgba(16, 35, 29, 0.08);
  color: var(--muted);
}

.glamour-list strong {
  color: var(--deep-pine);
}

.photo-section {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
  overflow: visible;
}

.section-title {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-title p {
  max-width: 480px;
  margin-top: 1rem;
}

.photo-grid {
  position: relative;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--deep-pine);
  box-shadow: 0 24px 62px rgba(16, 35, 29, 0.15);
  isolation: isolate;
}

.gallery-track {
  display: flex;
  height: clamp(380px, 56vw, 680px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--deep-pine);
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 14, 0.22));
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 900ms ease;
}

.gallery-slide:hover img {
  transform: scale(1.045);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 50%;
  color: var(--linen);
  background: rgba(8, 18, 14, 0.42);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(8, 18, 14, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: rgba(8, 18, 14, 0.62);
  border-color: rgba(230, 201, 155, 0.58);
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-arrow-prev {
  left: 1.1rem;
}

.gallery-arrow-next {
  right: 1.1rem;
}

.gallery-preview {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  width: min(100%, 620px);
  margin: 0.9rem auto 0;
  padding: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.gallery-preview::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 clamp(70px, 10vw, 108px);
  height: clamp(46px, 6vw, 66px);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: var(--deep-pine);
  box-shadow: 0 12px 28px rgba(16, 35, 29, 0.12);
  cursor: pointer;
  opacity: 0.58;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(181, 138, 82, 0.92);
  transform: translateY(-2px);
}

.gallery-thumb img {
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 18, 14, 0.78);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  max-height: min(82vh, 820px);
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(8, 18, 14, 0.82);
  box-shadow: 0 34px 100px rgba(8, 18, 14, 0.42);
}

.gallery-lightbox-content img {
  width: 100%;
  height: 100%;
  max-height: min(82vh, 820px);
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.34);
  border-radius: 50%;
  color: var(--linen);
  background: rgba(8, 18, 14, 0.48);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.gallery-lightbox-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.area-section {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
  overflow: visible;
}

.area-card {
  padding: clamp(1.4rem, 4vw, 3.2rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(255, 250, 242, 0.9),
    rgba(255, 250, 242, 0.58)
  );
  border: 1px solid rgba(255, 250, 242, 0.8);
  box-shadow: var(--glow);
}

.area-card h2 {
  max-width: 860px;
}

.area-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.area-columns article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.35rem;
  border: 1px solid rgba(230, 201, 155, 0.3);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 242, 0.68),
      rgba(255, 250, 242, 0.34)
    ),
    rgba(8, 18, 14, 0.035);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.78),
    0 20px 54px rgba(16, 35, 29, 0.1);
}

.area-columns article h3 {
  margin-top: 1.25rem;
}

.area-columns article p {
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.area-columns span {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.details-section {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 6rem;
  overflow: visible;
}

.details-card {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(8, 18, 14, 0.94), rgba(24, 55, 45, 0.9)),
    url("images/web/glacier-mountain-getaway-bozeman-aframe-cabin-evening-exterior-large.jpg");
  background-size: cover;
  background-position: center;
  color: var(--linen);
  box-shadow: var(--glow);
}

.details-card h2 {
  color: var(--linen);
}

.details-card .script-label {
  color: var(--champagne);
}

.details-info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
}

.details-cta-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 0.25rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid rgba(230, 201, 155, 0.46);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.1);
  color: var(--linen);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 242, 0.18),
    0 16px 38px rgba(8, 18, 14, 0.18);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.details-cta-button:hover {
  background: rgba(255, 250, 242, 0.16);
  border-color: rgba(230, 201, 155, 0.72);
  transform: translateY(-1px);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.detail-list p {
  min-height: 52px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(230, 201, 155, 0.2);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, 0.1);
  color: rgba(255, 250, 242, 0.78);
}

.detail-list strong {
  color: var(--linen);
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 2.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(23, 26, 23, 0.55);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms ease,
    transform 800ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .story-section,
  .details-card {
    grid-template-columns: 1fr;
  }

  .story-image img {
    height: 460px;
  }

  .area-columns {
    grid-template-columns: 1fr;
  }

  .hero-glass-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-slide {
    height: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 12px;
    width: min(calc(100% - 24px), 440px);
    height: 58px;
    padding: 0.55rem 0.6rem;
    border-radius: 999px;
  }

  .main-nav {
    display: none;
  }

  .mobile-header-book {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(230, 201, 155, 0.28);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--deep-pine), var(--pine));
    color: var(--linen);
    box-shadow:
      inset 0 0 0 1px rgba(230, 201, 155, 0.16),
      0 10px 24px rgba(8, 18, 14, 0.18);
    opacity: 1;
    transform: translateX(0) scale(1);
    overflow: hidden;
    transition:
      width 330ms cubic-bezier(0.22, 1, 0.36, 1),
      min-width 330ms cubic-bezier(0.22, 1, 0.36, 1),
      flex-basis 330ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 180ms ease,
      transform 330ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-header-book svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-header-book:active {
    transform: scale(0.94);
  }

  .brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .brand-name {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .brand-mark,
  .site-header.is-scrolled .brand-mark {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 36px;
    font-size: 0.66rem;
  }

  .site-header.is-scrolled {
    width: 52px;
    height: 52px;
    padding: 0.5rem;
    justify-content: center;
  }

  .site-header.is-scrolled .brand {
    gap: 0;
  }

  .site-header.is-scrolled .brand-name {
    max-width: 0;
    opacity: 0;
    transform: translateX(-8px);
  }

  .site-header.is-scrolled .mobile-header-book {
    width: 0;
    min-width: 0;
    flex-basis: 0;
    opacity: 0;
    transform: translateX(8px) scale(0.85);
    pointer-events: none;
    overflow: hidden;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 4.5rem 0 3.5rem;
  }

  @supports (min-height: 100dvh) {
    .hero {
      min-height: 100dvh;
    }
  }

  .hero-follow-group {
    width: 100%;
    max-width: 100%;
  }

  .hero-follow-sticky {
    width: calc(100% - 28px);
  }

  .location-line {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-copy {
    margin-top: 1.1rem;
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(4.1rem, 18vw, 6.4rem);
  }

  h2 {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .hero-glass-card {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-top: 1.8rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero-glass-card span {
    padding: 0.42rem 0.68rem;
    border: 1px solid rgba(230, 201, 155, 0.24);
    border-radius: 999px;
    background: rgba(8, 18, 14, 0.36);
    color: rgba(255, 250, 242, 0.78);
    font-size: 0.78rem;
    white-space: normal;
  }

  .hero-glass-card span:not(:last-child)::after {
    display: none;
  }

  .hero-title-line-bottom {
    margin-left: clamp(0.8rem, 9vw, 3rem);
  }

  .hero-layer {
    transform: translate3d(0, 0, 0);
  }

  .sky-handoff-spacer {
    height: clamp(180px, 30vh, 360px);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 1.25rem;
    border-radius: 0;
    background-position: center;
  }

  #book-loc {
    padding: none;
    margin: none;
  }

  .booking-section {
    padding: 0 0 3.5rem;
  }

  .story-section,
  .photo-section,
  .area-section,
  .details-section {
    padding: 3.5rem 0;
  }

  .story-copy {
    padding: 0;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 34%,
    rgba(181, 138, 82, 0.08) 43%,
    rgba(255, 250, 242, 0.14) 50%,
    rgba(230, 201, 155, 0.08) 57%,
    transparent 68%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0.45;
  transform: translate3d(-18%, 8%, 0) rotate(-8deg);
  backface-visibility: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 26% 72%,
      rgba(230, 201, 155, 0.22),
      transparent 28rem
    ),
    radial-gradient(
      circle at 78% 24%,
      rgba(181, 138, 82, 0.14),
      transparent 30rem
    );
  mix-blend-mode: screen;
  opacity: 0.48;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

body.hero-effects-active .hero::before {
  will-change: opacity, transform;
  animation: heroLightSweep 18s ease-in-out infinite alternate;
}

body.hero-effects-active .hero::after {
  will-change: opacity, transform;
  animation: heroGlowPulse 14s ease-in-out infinite alternate;
}

@keyframes heroLightSweep {
  from {
    opacity: 0.22;
    transform: translate3d(-28%, 10%, 0) rotate(-8deg);
  }

  to {
    opacity: 0.58;
    transform: translate3d(10%, -4%, 0) rotate(-8deg);
  }
}

@keyframes heroGlowPulse {
  from {
    opacity: 0.28;
    transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    opacity: 0.58;
    transform: scale(1.06) translate3d(1.5%, -1%, 0);
  }
}
