/* A cinematic brand opening. The default state is a complete, readable hero. */
.home-opening {
  --hero-gold: var(--brand-champagne);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100svh - var(--header-expanded-h, 92px) - var(--site-nav-h, 0px));
  min-height: 620px;
  max-height: 980px;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
}
.home-opening__scene, .home-opening__landscape, .home-opening__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-opening__scene { z-index: -3; }
.home-opening__landscape { overflow: hidden; }
.home-opening__landscape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 59%;
}
.home-opening__shade {
  z-index: -2;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand-deep) 90.98%, transparent) 0%, color-mix(in srgb, var(--brand-deep) 72.16%, transparent) 29%, color-mix(in srgb, var(--brand-deep) 20%, transparent) 63%, color-mix(in srgb, var(--brand-deep) 3.14%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--brand-deep) 74.9%, transparent), color-mix(in srgb, var(--brand-deep) 0%, transparent) 65%);
}
.home-opening__aperture, .home-opening__welcome {
  display: none;
  pointer-events: none;
}
.home-opening__content {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-block: 6rem clamp(2.5rem, 4.2vh, 3.5rem);
}
.home-opening__copy { max-width: 900px; }
.premium-site .home-opening .eyebrow {
  display: block;
  margin-bottom: 1.55rem;
  color: var(--hero-gold);
  font-size: 0.67rem;
  letter-spacing: 0.19em;
}
.premium-site #main .home-opening h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.25rem, 6.3vw, 7.55rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: initial;
}
.home-opening__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.home-opening__line > :is(span, em) { display: block; }
.home-opening__line em {
  color: var(--hero-gold);
  font-weight: 400;
}
.home-opening__copy > p {
  max-width: 43ch;
  margin: 1.6rem 0 1.8rem;
  color: #eef1f6;
  font-size: clamp(0.95rem, 1.1vw, 1.075rem);
}
.home-opening__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.home-opening__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 52px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms, background-color 200ms;
}
.home-opening__primary {
  padding: 0.9rem 1.4rem;
  background: var(--hero-gold);
  color: var(--brand);
}
.home-opening__primary:hover {
  background: var(--brand-champagne-hover);
  color: var(--brand);
}
.home-opening__secondary {
  color: #fff;
  border-bottom: 1px solid #ffffff75;
}
.home-opening__secondary:hover { color: var(--hero-gold); }
.premium-site .home-opening :is(a, button):focus-visible { outline-color: var(--hero-gold); }
.home-opening__footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding-block: 0.8rem;
  border-top: 1px solid #ffffff36;
}
.home-opening__heritage {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  color: #e3e8ef;
  font-size: 0.73rem;
  text-decoration: none;
}
.home-opening__heritage:hover { color: var(--hero-gold); }
.home-opening__heritage-line {
  width: 38px;
  height: 1px;
  background: var(--hero-gold);
  transform-origin: left;
}
.home-opening__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.home-opening__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  color: #eef1f6;
  cursor: pointer;
  font: 400 0.7rem/1.4 Inter, sans-serif;
}
.home-opening__control:hover { color: var(--hero-gold); }
.home-opening__play-icon { display: none; }
.home-opening[data-user-paused="true"] .home-opening__pause-icon { display: none; }
.home-opening[data-user-paused="true"] .home-opening__play-icon { display: initial; }

/* Trace the emblem, fill it with the park, then expand into the full scene. */
@media (prefers-reduced-motion: no-preference) {
  .home-intro .home-opening__aperture {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    animation: home-aperture-open 1600ms 2300ms cubic-bezier(0.65, 0, 0.25, 1) both;
  }
  .home-intro .home-opening__intro-logo {
    stroke-dasharray: 1;
    animation: home-emblem-trace 1200ms 150ms ease-in-out both, home-emblem-ink 3000ms ease both;
  }
  .home-intro .home-opening__fill-window { animation: home-emblem-fill 700ms 1400ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .home-intro .home-opening__welcome {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 0.65rem;
    top: calc(50% + max(9.44vw, 15.1%) + 2rem);
    left: 0;
    width: 100%;
    text-align: center;
    animation: home-welcome 3000ms ease both;
  }
  .home-opening__welcome > span:first-child {
    font: 400 clamp(1.25rem, 2vw, 1.9rem)/1.2 Georgia, serif;
    color: var(--hero-gold);
  }
  .home-opening__welcome > span:last-child {
    font-size: 0.57rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c4cfdf;
  }
  .home-intro .home-opening__scene { animation: home-scene-arrive 4600ms cubic-bezier(0.22, 0.6, 0.3, 1) both; }
  .home-intro .home-opening__shade { animation: home-shade-arrive 1800ms 2000ms ease both; }
  .home-intro .home-opening .eyebrow { animation: home-copy-arrive 800ms 3000ms both; }
  .home-intro .home-opening__line > span { animation: home-line-arrive 1100ms 3050ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .home-intro .home-opening__line > em { animation: home-line-arrive 1100ms 3280ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .home-intro .home-opening__copy > p { animation: home-copy-arrive 900ms 3500ms both; }
  .home-intro .home-opening__actions { animation: home-copy-arrive 800ms 3700ms both; }
  .home-intro .home-opening__heritage { animation: home-copy-arrive 850ms 3750ms both; }
  .home-intro .home-opening__heritage-line { animation: home-rule-arrive 800ms 3800ms both; }
  .home-opening[data-ambient="true"] .home-opening__landscape img { animation: home-park-drift 20s ease-in-out infinite alternate; }
  .home-opening[data-paused="true"] .home-opening__landscape img { animation-play-state: paused; }
}
@keyframes home-aperture-open {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  45% { opacity: 1; }
  100% {
    transform: scale(16);
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes home-emblem-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes home-emblem-fill { from { transform: translateY(302px); } to { transform: translateY(0); } }
@keyframes home-emblem-ink { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes home-welcome { 0% {
    opacity: 0;
    transform: translateY(10px);
  } 15%, 70% {
    opacity: 1;
    transform: translateY(0);
  } 100% {
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
  } }
@keyframes home-scene-arrive { from { transform: scale(1.13); } to { transform: scale(1); } }
@keyframes home-shade-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-line-arrive { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes home-copy-arrive { from {
    opacity: 0;
    transform: translateY(15px);
  } to {
    opacity: 1;
    transform: translateY(0);
  } }
@keyframes home-rule-arrive { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes home-park-drift { from { transform: scale(1.025) translate3d(0.35%, 0, 0); } to { transform: scale(1.11) translate3d(-0.6%, -0.4%, 0); } }
@media (max-width: 899px) {
  .home-opening { min-height: 660px; }
  .home-opening__landscape img { object-position: 72% 55%; }
  .home-opening__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-deep) 30.2%, transparent), transparent 90%), linear-gradient(0deg, color-mix(in srgb, var(--brand-deep) 94.9%, transparent) 0%, color-mix(in srgb, var(--brand-deep) 72.16%, transparent) 38%, color-mix(in srgb, var(--brand-deep) 20%, transparent) 75%, color-mix(in srgb, var(--brand-deep) 7.06%, transparent) 100%); }
  .premium-site #main .home-opening h1 { font-size: clamp(3.25rem, 8.5vw, 5.5rem); }
  .home-opening__content {
    padding-top: 12rem;
    padding-bottom: 2.5rem;
  }
  .home-opening__copy > p { max-width: 45ch; }
}
@media (max-width: 599px) {
  .home-opening {
    min-height: 660px;
    max-height: 900px;
  }
  .home-opening__content {
    padding-top: 12rem;
    padding-bottom: 1.5rem;
  }
  .premium-site .home-opening .eyebrow {
    max-width: 30ch;
    margin-bottom: 1.15rem;
    font-size: 0.58rem;
    line-height: 1.8;
  }
  .premium-site #main .home-opening h1 { font-size: clamp(2.4rem, 11vw, 4.25rem); }
  .home-opening__copy > p {
    font-size: 0.88rem;
    max-width: 38ch;
    margin: 1.2rem 0 1.3rem;
  }
  .home-opening__actions { gap: 0.4rem 1.25rem; }
  .home-opening__actions a {
    font-size: 0.76rem;
    min-height: 46px;
  }
  .home-opening__primary { padding: 0.8rem 1.1rem; }
  .home-opening__secondary { min-height: 44px; }
  .home-opening__footer {
    flex-wrap: wrap;
    gap: 0;
    padding-block: 0.55rem;
  }
  .home-opening__heritage {
    width: 100%;
    font-size: 0.66rem;
    gap: 0.75rem;
    min-height: 35px;
  }
  .home-opening__heritage-line { width: 25px; }
  .home-opening__controls {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
  .home-opening__control { font-size: 0.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-opening__aperture, .home-opening__welcome, .home-opening__controls { display: none !important; }
}
@media print {
  .home-opening {
    height: auto;
    min-height: 0;
    background: var(--brand) !important;
  }
  .home-opening__aperture, .home-opening__welcome, .home-opening__controls { display: none !important; }
  .home-opening *, .home-opening { animation: none !important; }
}

.home-ranges {
  padding-block: var(--section-spacing);
  background: var(--paper);
}
.premium-site .home-ranges__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2.5rem;
}
.home-ranges__heading .eyebrow {
  display: block;
  margin-bottom: 0.9rem;
}
.home-ranges__heading h2 { margin: 0; }
.home-ranges__statement { max-width: 32rem; }
.home-ranges__statement > span { display: block; }
.home-collections__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-collections__grid > li { min-width: 0; }
/* Keep consistent photo frames; cover preserves image proportions when cropping. */
.home-collection {
  --collection-arrow-size: clamp(2.5rem, 3.2vw, 3rem);
  --collection-caption-inset: clamp(1.1rem, 1.8vw, 1.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
  background: var(--range-brand);
  text-decoration: none;
}
.home-collection__media {
  position: relative;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--range-brand);
}
.home-collection__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.home-collection__caption {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 1.2rem var(--collection-caption-inset) 1.5rem;
  padding-right: calc(var(--collection-caption-inset) + var(--collection-arrow-size) + 1.25rem);
  background: var(--range-brand);
}
.home-collection__brand {
  display: block;
  font: 400 1.05rem/1 var(--font-brand);
  text-transform: uppercase;
  color: #fff;
}
.home-collection__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}
.premium-site #main .home-collection h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.1vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: initial;
}
.premium-site #main .home-collection p {
  margin: 0.6rem 0 0;
  color: #ffffffd9;
  font-size: 0.85rem;
  line-height: 1.5;
}
.home-collection__arrow {
  position: absolute;
  top: 50%;
  right: var(--collection-caption-inset);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: var(--collection-arrow-size);
  height: var(--collection-arrow-size);
  border: 1px solid #ffffff73;
  border-radius: 50%;
  transition: background-color 250ms, color 250ms, border-color 250ms;
}
.home-collection__arrow svg {
  display: block;
  width: 45%;
  height: 45%;
}
.premium-site .home-collection:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 4px;
}
.home-collection:focus-visible .home-collection__arrow {
  background: #fff;
  border-color: #fff;
  color: var(--range-brand);
}
@media (hover: hover) and (pointer: fine) {
  .home-collection:hover .home-collection__media img { transform: scale(1.025); }
  .home-collection:hover .home-collection__arrow {
    background: #fff;
    border-color: #fff;
    color: var(--range-brand);
  }
}
@media (max-width: 899px) {
  .premium-site .home-ranges__heading {
    align-items: start;
    flex-direction: column;
  }
  .home-collections__grid { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .home-collection {
    --collection-caption-inset: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    height: auto;
  }
  .home-collection__media { align-self: stretch; }
  .home-collection__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.25rem;
  }
  .premium-site #main .home-collection h3 { font-size: clamp(1.7rem, 3.8vw, 2.1rem); }
}
@media (max-width: 599px) {
  .home-collections__grid { gap: 1.75rem; }
  .premium-site #main .home-collection h3 { font-size: clamp(1.75rem, 7vw, 2rem); }
  .home-collection { --collection-caption-inset: 1.25rem; }
  .home-collection__caption { padding-block: 1rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-collection__media img, .home-collection__arrow { transition: none; }
  .home-collection:hover .home-collection__media img { transform: none; }
}
