.visitor-guide {
  overflow: hidden;
}

.guide-hero,
.guide-origins,
.guide-routes,
.guide-essentials,
.guide-emergency,
.guide-next,
.guide-faq,
.guide-sources {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  min-height: 720px;
  padding: clamp(9rem, 15vw, 12rem) clamp(1.5rem, 6vw, 6rem) 5rem;
  overflow: hidden;
  color: white;
  border-radius: 0 0 2.5rem 2.5rem;
  background:
    radial-gradient(circle at 82% 22%, rgb(65 231 212 / 20%), transparent 22%),
    radial-gradient(circle at 12% 86%, rgb(25 88 255 / 42%), transparent 31%),
    linear-gradient(145deg, #07142d, #0d2147 58%, #092e3c);
  isolation: isolate;
}

.guide-hero::before,
.guide-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  content: "";
}

.guide-hero::before {
  top: 9rem;
  right: -12rem;
  width: 34rem;
  aspect-ratio: 1;
  box-shadow: 0 0 100px rgb(65 231 212 / 9%);
  animation: spin 34s linear infinite;
}

.guide-hero::after {
  right: 7rem;
  bottom: -7rem;
  width: 15rem;
  aspect-ratio: 1;
}

.guide-hero__copy h1 {
  max-width: 11ch;
  margin: .9rem 0 1.4rem;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: .95;
  letter-spacing: -.075em;
}

.guide-hero__copy > p:not(.eyebrow) {
  max-width: 42rem;
  color: #c0cada;
  line-height: 1.9;
}

.guide-hero__copy nav {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.guide-status {
  padding: 1.4rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 1.3rem;
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(18px);
}

.guide-status span,
.guide-status strong {
  display: block;
}

.guide-status span {
  color: var(--aqua);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.guide-status strong {
  margin-top: .6rem;
  font-size: .88rem;
}

.guide-status p {
  margin: 1rem 0 0;
  color: #aebbd0;
  font-size: .72rem;
  line-height: 1.7;
}

.guide-origins,
.guide-routes,
.guide-essentials,
.guide-next,
.guide-faq,
.guide-sources {
  padding-top: clamp(5rem, 10vw, 9rem);
}

.guide-origins .section-heading > p,
.guide-routes .section-heading > p,
.guide-essentials .section-heading > p,
.guide-next .section-heading > p,
.guide-sources .section-heading > p {
  max-width: 29rem;
  line-height: 1.75;
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.origin-grid > article {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: white;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.origin-grid > article:hover {
  border-color: var(--aqua);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.origin-grid > article > span {
  color: var(--blue);
  font-size: .68rem;
  font-weight: 900;
}

.origin-grid h3 {
  margin: 1rem 0 .55rem;
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.origin-grid article > p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.7;
}

.origin-grid ul {
  display: grid;
  gap: .45rem;
  padding: 1rem 0 0;
  margin: auto 0 0;
  list-style: none;
}

.origin-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem .7rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

.origin-grid small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .58rem;
}

.origin-grid strong {
  font-size: .72rem;
}

.origin-grid em {
  color: var(--blue);
  font-size: .65rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.guide-alert {
  padding: 1rem 1.2rem;
  margin: -1rem 0 1rem;
  color: #714813;
  border: 1px solid #f0d29f;
  border-radius: 1rem;
  background: #fff9ec;
  font-size: .75rem;
  line-height: 1.7;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.route-grid > article {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: clamp(1.3rem, 3vw, 2rem);
  scroll-margin-top: 8rem;
  color: white;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 96% 5%, rgb(65 231 212 / 14%), transparent 30%),
    var(--ink);
}

.route-grid > article:nth-child(3n + 2) {
  background:
    radial-gradient(circle at 96% 5%, rgb(255 112 93 / 18%), transparent 30%),
    #0d2147;
}

.route-grid header,
.route-grid footer,
.essential-grid header,
.essential-grid footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.route-grid header span,
.route-grid header small,
.essential-grid header small {
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 800;
}

.route-grid header span {
  color: var(--ink);
  background: var(--aqua);
}

.route-grid header small,
.essential-grid header small {
  color: #b8c3d6;
  border: 1px solid rgb(255 255 255 / 14%);
}

.route-grid h3 {
  margin: 1.3rem 0 .7rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -.04em;
}

.route-grid article > p:not(.route-time) {
  color: #b9c4d7;
  font-size: .77rem;
  line-height: 1.75;
}

.route-time {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  margin: 0;
}

.route-time strong {
  color: var(--aqua);
  font-size: 1.3rem;
}

.route-time span {
  color: #7f90aa;
  font-size: .6rem;
}

.route-grid dl {
  margin: auto 0 1rem;
}

.route-grid dl div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: .7rem;
  padding: .55rem 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: .66rem;
}

.route-grid dt {
  color: #7586a0;
}

.route-grid dd {
  margin: 0;
}

.route-grid footer {
  color: var(--aqua);
  font-size: .68rem;
  font-weight: 800;
}

.route-grid time {
  color: #7f90aa;
  font-size: .57rem;
  font-weight: 600;
}

.essential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.essential-grid > article {
  display: flex;
  flex-direction: column;
  min-height: 365px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: white;
}

.essential-grid header > span {
  color: var(--blue);
  font-size: .65rem;
  font-weight: 900;
}

.essential-grid header small {
  color: var(--muted);
  border-color: var(--line);
}

.essential-grid h3 {
  margin: 1.2rem 0 .6rem;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.essential-grid article > p,
.essential-grid li {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.7;
}

.essential-grid ul {
  display: grid;
  gap: .45rem;
  padding-left: 1.1rem;
}

.essential-grid footer {
  padding-top: .8rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: .65rem;
  font-weight: 800;
}

.essential-grid time {
  color: var(--muted);
  font-size: .56rem;
  font-weight: 600;
}

.guide-emergency {
  display: grid;
  grid-template-columns: 1.1fr .8fr .65fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(5rem, 10vw, 9rem);
  padding: clamp(1.6rem, 5vw, 4rem);
  color: white;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 88% 0, rgb(255 112 93 / 22%), transparent 35%),
    #39151e;
  box-shadow: var(--shadow);
}

.guide-emergency h2 {
  margin: .5rem 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.guide-emergency > div > p:last-child {
  color: #e2bac2;
  font-size: .76rem;
  line-height: 1.75;
}

.guide-emergency dl {
  margin: 0;
}

.guide-emergency dl div {
  padding: .8rem 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.guide-emergency dt {
  color: #ffae9f;
  font-size: 1.15rem;
  font-weight: 900;
}

.guide-emergency dd {
  margin: .25rem 0 0;
  color: #e2bac2;
  font-size: .66rem;
  line-height: 1.5;
}

.guide-emergency nav {
  display: grid;
  gap: .6rem;
}

.guide-emergency a {
  padding: .8rem 1rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
}

.guide-emergency a:first-child {
  color: #35131b;
  border-color: #ffae9f;
  background: #ffae9f;
}

.guide-next > nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.guide-next > nav > a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1rem;
  min-height: 150px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: white;
  transition: border-color .25s, transform .25s;
}

.guide-next > nav > a:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.guide-next nav span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: .65rem;
  font-weight: 900;
}

.guide-next nav strong {
  align-self: end;
  font-size: 1rem;
}

.guide-next nav small {
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.55;
}

.guide-faq details {
  border-top: 1px solid var(--line);
}

.guide-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.guide-faq summary {
  padding: 1.2rem 2.5rem 1.2rem 0;
  font-weight: 800;
  cursor: pointer;
}

.guide-faq details p {
  max-width: 55rem;
  margin: -.4rem 0 1.4rem;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.8;
}

.guide-sources {
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.guide-sources ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.2rem;
  padding: 0;
  list-style: none;
}

.guide-sources li {
  display: flex;
  gap: .8rem;
  align-items: start;
  justify-content: space-between;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}

.guide-sources strong,
.guide-sources span {
  display: block;
}

.guide-sources strong {
  font-size: .7rem;
}

.guide-sources span {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.45;
}

.guide-sources a {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: .65rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .origin-grid,
  .essential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-emergency {
    grid-template-columns: 1fr 1fr;
  }

  .guide-emergency nav {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .guide-sources ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .guide-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 9rem 1.4rem 3rem;
    border-radius: 0 0 1.5rem 1.5rem;
  }

  .guide-hero__copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .guide-status {
    max-width: 33rem;
  }

  .route-grid,
  .guide-next > nav,
  .guide-sources ol {
    grid-template-columns: 1fr;
  }

  .route-grid > article {
    min-height: 330px;
  }

  .guide-emergency {
    grid-template-columns: 1fr;
    border-radius: 1.4rem;
  }

  .guide-emergency nav {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .origin-grid,
  .essential-grid {
    grid-template-columns: 1fr;
  }

  .origin-grid > article,
  .essential-grid > article {
    min-height: auto;
  }

  .origin-grid ul,
  .essential-grid footer {
    margin-top: 1.2rem;
  }

  .route-time {
    align-items: start;
    flex-direction: column;
    gap: .2rem;
  }
}
