:root {
  --lt-midnight: #101f38;
  --lt-midnight-deep: #081326;
  --lt-blue: #285a82;
  --lt-red: #aa3438;
  --lt-gold: #d2a347;
  --lt-green: #27624d;
  --lt-paper: #ffffff;
  --lt-snow: #f3f5f7;
  --lt-ink: #1b2b3a;
  --lt-muted: #596b78;
  --lt-line: #cbd5dc;
}

body.lights-page {
  color: var(--lt-ink);
  background: var(--lt-snow);
}

.lights-page .site-header {
  background: rgba(243, 245, 247, .96);
  border-bottom-color: #d5dde3;
}

.lights-page main {
  padding-top: 0;
  padding-bottom: 5rem;
}

.lights-page .crumb {
  color: inherit;
  text-decoration: none;
}

.lights-page .crumb:hover {
  color: #fff;
  text-decoration: underline;
}

.lights-hero {
  position: relative;
  display: flex;
  min-height: clamp(32rem, 55vw, 43rem);
  align-items: flex-end;
  overflow: hidden;
  background: var(--lt-midnight-deep);
  border-bottom: 1px solid #1c3455;
}

.lights-hero-photo,
.lights-hero-photo picture {
  position: absolute;
  inset: 0;
  display: block;
}

.lights-hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 16, 36, .9) 0%, rgba(5, 16, 36, .57) 48%, rgba(5, 16, 36, .08) 83%),
    linear-gradient(0deg, rgba(5, 16, 36, .58), transparent 60%);
}

.lights-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lights-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.lights-page-head {
  max-width: 52rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  color: #fff;
  background: rgba(8, 24, 50, .93);
  border-left: 6px solid var(--lt-gold);
  border-radius: .2rem;
  box-shadow: 0 24px 55px rgba(2, 10, 25, .32);
}

.lights-page-head h1 {
  max-width: 49rem;
  margin: .55rem 0 1rem;
  color: #fff;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: .98;
}

.lights-page-head .eyebrow {
  color: #d6e2ef;
}

.lights-page-head .lede {
  max-width: 46rem;
  color: #f0f5fa;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.45rem;
}

.hero-notes span {
  padding: .48rem .72rem;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: .25rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.lights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 2.2rem;
  align-items: start;
  max-width: 78rem;
  padding-top: 3.5rem;
}

.lights-main {
  min-width: 0;
}

.lights-intro {
  padding-bottom: 1.4rem;
  border-bottom: 3px solid var(--lt-midnight);
}

.section-kicker {
  margin: 0;
  color: var(--lt-red);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lights-intro h2,
.connection-heading h2 {
  margin: .25rem 0 .65rem;
  color: var(--lt-midnight-deep);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.lights-intro > p:not(.section-kicker) {
  max-width: 49rem;
  color: var(--lt-muted);
}

.status-key {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: 1.15rem;
}

.status-key > span {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .75rem .8rem;
  color: #425765;
  background: #fff;
  border: 1px solid var(--lt-line);
  font-size: .83rem;
  line-height: 1.5;
}

.status-mark {
  width: .65rem;
  height: .65rem;
  flex: none;
  margin-top: .28rem;
  background: var(--lt-green);
}

.status-mark.pending {
  background: var(--lt-gold);
}

.lights-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.25rem;
}

.lights-card {
  overflow: hidden;
  background: var(--lt-paper);
  border: 1px solid var(--lt-line);
  border-left: 6px solid var(--lt-green);
  border-radius: .35rem;
  box-shadow: 0 4px 16px rgba(16, 31, 56, .045);
}

.lights-card.is-pending {
  border-left-color: var(--lt-gold);
}

.lights-card[open] {
  box-shadow: 0 15px 32px rgba(16, 31, 56, .1);
}

.lights-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 5rem;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
}

.lights-card summary::-webkit-details-marker {
  display: none;
}

.lights-card summary:hover {
  background: #edf2f6;
}

.lights-card[open] summary {
  background: var(--lt-midnight);
}

.card-title {
  display: grid;
  gap: .23rem;
}

.card-title strong {
  color: var(--lt-midnight-deep);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.3;
}

.card-title small {
  color: var(--lt-muted);
  font-size: .81rem;
  font-weight: 600;
}

.lights-card[open] .card-title strong,
.lights-card[open] .card-title small {
  color: #fff;
}

.schedule-chip {
  padding: .38rem .55rem;
  color: #1e5745;
  background: #e6f0eb;
  border: 1px solid #b9d2c6;
  border-radius: .2rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .025em;
  white-space: nowrap;
}

.is-pending .schedule-chip {
  color: #704e16;
  background: #f8eed9;
  border-color: #dfc68d;
}

.lights-card[open] .schedule-chip {
  color: #153c32;
  background: #fff;
  border-color: #fff;
}

.lights-card[open].is-pending .schedule-chip {
  color: #694712;
}

.summary-action {
  min-width: 3.15rem;
  padding: .35rem .5rem;
  color: #fff;
  background: var(--lt-blue);
  border-radius: .2rem;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}

.lights-card[open] .summary-action {
  color: var(--lt-midnight-deep);
  background: #fff;
  font-size: 0;
}

.lights-card[open] .summary-action::before {
  content: "Close";
  font-size: .67rem;
}

.lights-card-body {
  padding: 1.2rem 1.3rem 1.5rem;
  overflow: hidden;
  border-top: 1px solid var(--lt-line);
}

.route-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.25rem;
  background: #edf2f6;
  border-top: 3px solid var(--lt-blue);
}

.route-facts div {
  padding: .8rem .9rem;
}

.route-facts div:nth-child(even) {
  border-left: 1px solid #c8d3db;
}

.route-facts div:nth-child(n + 3) {
  border-top: 1px solid #c8d3db;
}

.route-facts span,
.route-facts strong {
  display: block;
}

.route-facts span {
  margin-bottom: .22rem;
  color: #627481;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-facts strong {
  color: var(--lt-ink);
  font-size: .86rem;
  line-height: 1.45;
}

.lights-copy p {
  color: #374d5d;
  line-height: 1.75;
}

.lights-copy p + p {
  margin-top: .85rem;
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .5rem;
  padding: .62rem .82rem;
  color: #fff;
  background: var(--lt-blue);
  border-radius: .22rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.official-link:hover {
  color: #fff;
  background: var(--lt-red);
}

.activity-sidebar {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: .68rem;
}

.activity-heading {
  padding: 1.1rem;
  color: #fff;
  background: var(--lt-midnight-deep);
  border-radius: .35rem;
}

.activity-heading span,
.activity-heading small {
  display: block;
}

.activity-heading span {
  font: 600 1.24rem var(--font-display);
}

.activity-heading small {
  margin-top: .3rem;
  color: #cbd9e5;
  line-height: 1.45;
}

.activity-sidebar > a {
  position: relative;
  display: grid;
  gap: .18rem;
  min-height: 5.65rem;
  padding: .9rem 2.6rem .9rem 1rem;
  color: var(--lt-ink);
  background: #fff;
  border: 1px solid var(--lt-line);
  border-left: 5px solid #647f93;
  border-radius: .35rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.activity-sidebar > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 31, 56, .1);
}

.activity-sidebar b {
  color: var(--lt-midnight-deep);
  font-size: .98rem;
}

.activity-sidebar small {
  color: var(--lt-muted);
  line-height: 1.38;
}

.activity-sidebar i {
  position: absolute;
  top: .9rem;
  right: .9rem;
  color: var(--lt-blue);
  font-size: 1.15rem;
  font-style: normal;
}

.activity-sidebar .alpacas { border-left-color: #5d7f8a; }
.activity-sidebar .villages { border-left-color: #a73e43; }
.activity-sidebar .safaris { border-left-color: #836943; }
.activity-sidebar .petting { border-left-color: #407d87; }
.activity-sidebar .pumpkins { border-left-color: #b96535; }
.activity-sidebar .reindeer { border-left-color: #7d4c45; }
.activity-sidebar .tubing { border-left-color: #3d6f99; }
.activity-sidebar .upick { border-left-color: #4d7955; }

.outing-connections {
  max-width: 78rem;
  margin-top: 4rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  color: #e9f0f6;
  background: var(--lt-midnight-deep);
  border-radius: .45rem;
  box-shadow: 0 18px 42px rgba(8, 19, 38, .18);
}

.outing-connections .section-kicker {
  color: #e1bb6c;
}

.connection-heading h2 {
  color: #fff;
}

.connection-heading > p:last-child {
  max-width: 59rem;
  color: #cfdae5;
}

.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.connection-grid article {
  padding: 1.15rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 4px solid var(--lt-gold);
  border-radius: .2rem;
}

.connection-season {
  margin: 0 0 .35rem;
  color: #e1bb6c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.connection-grid h3 {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: 1.22rem;
}

.connection-grid article > p:last-child {
  margin: 0;
  color: #d2dde7;
  line-height: 1.72;
}

.connection-grid a {
  color: #f0cc82;
  font-weight: 700;
}

.alpaca-context {
  max-width: 78rem;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: #fff;
  border: 1px solid var(--lt-line);
  border-left: 6px solid var(--lt-blue);
  border-radius: .35rem;
  box-shadow: 0 10px 28px rgba(16, 31, 56, .07);
}

.alpaca-context h2 {
  margin: .25rem 0 .8rem;
  color: var(--lt-midnight-deep);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.alpaca-context p:not(.section-kicker) {
  max-width: 68rem;
  color: #405565;
  line-height: 1.78;
}

.alpaca-context p + p {
  margin-top: .85rem;
}

.alpaca-context a {
  color: var(--lt-blue);
  font-weight: 700;
}

.lights-page .finder-band {
  max-width: 78rem;
}

@media (max-width: 950px) {
  .lights-layout {
    grid-template-columns: 1fr;
  }

  .activity-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 2;
  }

  .activity-heading {
    grid-column: 1 / -1;
  }

  .connection-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .lights-layout,
  .outing-connections,
  .alpaca-context {
    width: calc(100% - 2rem);
    margin-inline: 1rem;
  }

  .lights-layout {
    padding-inline: 0;
  }

  .status-key,
  .route-facts {
    grid-template-columns: 1fr;
  }

  .route-facts div:nth-child(even) {
    border-left: 0;
  }

  .route-facts div + div {
    border-top: 1px solid #c8d3db;
  }
}

@media (max-width: 620px) {
  .lights-hero {
    min-height: 40rem;
  }

  .lights-hero-photo img {
    object-position: center 44%;
  }

  .lights-hero-inner {
    padding-block: 2rem;
  }

  .lights-page-head {
    border-left-width: 4px;
  }

  .lights-page-head h1 {
    font-size: clamp(2.3rem, 12.5vw, 3.55rem);
  }

  .activity-sidebar {
    grid-template-columns: 1fr;
  }

  .lights-card summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding: 1rem;
  }

  .schedule-chip {
    grid-column: 1;
    justify-self: start;
    white-space: normal;
  }

  .summary-action {
    grid-column: 2;
    grid-row: 1;
  }

  .lights-card-body {
    padding: 1rem 1rem 1.25rem;
  }

  .outing-connections,
  .alpaca-context {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-sidebar > a {
    transition: none;
  }
}
