:root {
  --navy: #111;
  --ink: #111;
  --gold: #666;
  --paper: #fff;
  --stone: #f5f5f5;
  --muted: #595959;
  --line: #d8d8d8;
}

html { scroll-behavior: auto !important; }
*, *::before, *::after { animation: none !important; transition: none !important; }
.page-home .header, .page-detail .header { position: relative; margin: 0; background: #111; color: #fff; }
.page-home .header.is-expanded, .page-detail .header.is-expanded { background: #fff; color: #111; }
.page-home .hero { background: #141414; color: #fff; }
.hero-track, .hero::after, .hero::before { display: none; }
.page-home .hero .eyebrow, .story-premium .eyebrow, .story-premium .story-link span { color: #ccc; }
.page-detail .detail-category {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #14171a;
}
.page-detail .detail-category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 87% -24%, #bac4c43d, transparent 63%),
    linear-gradient(123deg, transparent 0 57%, #9faeb218 57.4%, #9faeb212 72%, transparent 72.6%),
    linear-gradient(117deg, #111213 12%, #191e22 62%, #263038);
}
@media (max-width: 760px) {
  .page-detail .detail-category::before {
    background:
      radial-gradient(ellipse at 98% -6%, #bac4c438, transparent 65%),
      linear-gradient(124deg, transparent 0 58%, #9faeb21a 59%, #9faeb212 73%, transparent 74%),
      linear-gradient(117deg, #111213 12%, #191e22 65%, #263038);
  }
}
.page-detail .detail-category > p { mask-image: none; }
.story-location, .story-overview, .location-slot { background: #f5f5f5; }
.story-premium { background: #111; }
.story-concept, .premium-story-copy h3 + p { color: #ddd; }

.image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ebebeb;
  border: 1px solid #d8d8d8;
}
.hero .image-slot { position: absolute; inset: 0; height: 100%; background: #171717; border: 0; }
.story-premium .image-slot { background: #292929; border-color: #383838; }
:is(.story-overview-art, .location-story-photo, .premium-story-art, .location-slot) > .image-slot { height: 100%; }
.detail-plans .demo-diagram .image-slot { aspect-ratio: 1; }

:root { --bronze: #555; }
.page-detail .header, .page-detail .site-menu, .page-detail .crumb-bar,
.page-detail .footer { filter: grayscale(1); }
.image-slot {
  display: grid;
  place-items: center;
  padding: 16px;
  color: #515151;
  font-size: 14px;
  text-align: center;
}
.hero .image-slot {
  place-items: start end;
  padding: 28px;
  color: #ccc;
  z-index: -1;
}
.page-detail .sub-hero { padding-top: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .page-detail .detail-category::before {
    animation: detail-light-rise 1150ms ease-out both !important;
  }
  .page-detail .detail-category > p {
    animation: detail-title-focus 820ms cubic-bezier(.2, .65, .25, 1) 70ms both !important;
  }
  .page-detail .detail-category > h1 {
    animation: detail-subtitle-rise 580ms cubic-bezier(.2, .65, .25, 1) 280ms both !important;
  }
}
@keyframes detail-light-rise {
  from { opacity: .54; }
  to { opacity: 1; }
}
@keyframes detail-title-focus {
  from { opacity: 0; filter: blur(7px); transform: translateY(10px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes detail-subtitle-rise {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-location-stories { background: #f2f1e7; }
.detail-location-stories h3 { color: #323d2c; }
.detail-location-stories figure .image-slot { aspect-ratio: 2.2; }
.detail-premium-list li::before,
.detail-premium-list li:nth-child(even)::before {
  background: linear-gradient(0deg, #111e, #1118 55%, #1110);
}
.detail-premium-list .eyebrow { color: #e4dfd7; }
.detail-premium-list img { object-position: center 55%; }
.media-gallery .image-slot { aspect-ratio: 1.52; }

.page-detail .detail:not(.detail-overview, .detail-location, .detail-premium, .detail-media, .detail-plans, .detail-directions) { filter: grayscale(1); }

.detail-location .detail-demo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #f3f0e8; }
