.secret-travel-time-page {
  background: #020101;
}

.travel-time-canvas {
  width: 100%;
  max-width: 2048px;
  margin-inline: auto;
  overflow: hidden;
  background: #020101;
}

.travel-time {
  --travel-red: #ff3047;
  --travel-border: rgba(136, 25, 41, .58);
  --travel-copy: #f4eee6;
  --travel-muted: #c3b6af;
  min-height: 70vh;
  color: var(--travel-copy);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(111, 8, 26, .2), transparent 35%),
    radial-gradient(ellipse at 82% 58%, rgba(104, 7, 24, .14), transparent 38%),
    linear-gradient(180deg, #080204 0%, #020101 100%);
}

.travel-time__inner {
  width: min(100% - 56px, 1360px);
  margin-inline: auto;
  padding-block: clamp(54px, 6vw, 94px) 82px;
}

.travel-time__heading {
  max-width: 850px;
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: center;
}

.travel-time__heading h1 {
  margin: 0;
  color: var(--travel-red);
  font-family: var(--font-editorial);
  font-size: clamp(34px, 4.5vw, 68px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 48, 71, .28);
}

.travel-time__heading p {
  margin: 18px auto 0;
  color: var(--travel-muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
}

.travel-form {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--travel-border);
  border-radius: 7px;
  background: rgba(13, 2, 5, .86);
  box-shadow: inset 0 0 30px rgba(108, 9, 27, .09), 0 18px 50px rgba(0, 0, 0, .3);
}

.travel-form label,
.travel-mode legend {
  color: #e6dcd5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.travel-form__origin-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 10px;
}

.travel-form input[type="text"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(157, 45, 60, .64);
  border-radius: 3px;
  color: #fff;
  background: #090204;
  padding: 12px 15px;
  font: inherit;
}

.travel-form input[type="text"]:focus-visible,
.travel-action:focus-visible,
.travel-mode input:focus-visible + span,
.travel-carousel__controls button:focus-visible,
.travel-profile-card a:focus-visible,
.travel-carousel__track:focus-visible {
  outline: 2px solid #f4eee6;
  outline-offset: 3px;
}

.travel-form__location-status,
.travel-form__status {
  min-height: 24px;
  margin: 9px 0 0;
  color: var(--travel-muted);
  font-size: 14px;
  line-height: 1.5;
}

.travel-mode {
  margin: 18px 0 24px;
  padding: 0;
  border: 0;
}

.travel-mode__choices {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.travel-mode label {
  flex: 1;
  cursor: pointer;
}

.travel-mode input {
  position: absolute;
  opacity: 0;
}

.travel-mode span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(158, 31, 48, .65);
  border-radius: 3px;
  color: var(--travel-muted);
  background: rgba(17, 3, 7, .9);
}

.travel-mode input:checked + span {
  border-color: var(--travel-red);
  color: #fff;
  background: rgba(111, 10, 29, .58);
  box-shadow: 0 0 16px rgba(255, 48, 71, .18);
}

.travel-action {
  min-height: 48px;
  border: 1px solid #d52942;
  border-radius: 3px;
  color: #fff;
  background: #25050b;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.1;
  cursor: pointer;
}

.travel-action--primary {
  width: 100%;
  min-height: 54px;
  background: linear-gradient(180deg, #a30f29, #6f081c);
}

.travel-action:disabled {
  cursor: wait;
  opacity: .62;
}

.travel-results {
  margin-top: clamp(42px, 5vw, 68px);
}

.travel-carousel--desktop {
  display: none;
}

.travel-results__service-date {
  display: flex;
  width: 100%;
  min-height: 68px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--travel-border);
  border-radius: 7px;
  color: var(--travel-red);
  background:
    linear-gradient(90deg, rgba(73, 6, 19, .36), rgba(13, 2, 5, .72) 50%, rgba(73, 6, 19, .36));
  box-shadow: inset 0 0 28px rgba(103, 8, 25, .1);
  font-family: var(--font-editorial);
  font-size: clamp(24px, 7vw, 30px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
}

.travel-results__list {
	display: grid;
	gap: 26px;
}

.travel-results__ended {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--travel-border);
	border-radius: 7px;
	color: #fff;
	background: rgba(10, 2, 4, .82);
	box-shadow: inset 0 0 28px rgba(103, 8, 25, .08);
	text-align: center;
}

.travel-results__ended[hidden] {
	display: none;
}

.travel-results__ended p {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .1em;
	line-height: 1.55;
}

.travel-results__ended p:first-child {
	color: var(--travel-red);
	font-family: var(--font-editorial);
	font-size: clamp(21px, 5vw, 28px);
	letter-spacing: .05em;
}

.travel-results__ended p + p {
	margin-top: 8px;
}

.travel-location {
  overflow: hidden;
  border: 1px solid var(--travel-border);
  border-radius: 7px;
  background: rgba(10, 2, 4, .82);
  box-shadow: inset 0 0 28px rgba(103, 8, 25, .08);
}

.travel-location--mobile-empty {
  display: none;
}

.travel-location__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(22px, 3vw, 38px);
  border-bottom: 1px solid rgba(115, 23, 36, .55);
  background: linear-gradient(90deg, rgba(73, 6, 19, .42), rgba(13, 2, 5, .35));
}

.travel-location__summary h2,
.travel-carousel__heading h3 {
  margin: 0;
  color: var(--travel-red);
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: .04em;
}

.travel-location__summary h2 {
  font-size: clamp(27px, 3vw, 42px);
}

.travel-location__eta {
  box-sizing: border-box;
  width: min(100%, 34ch);
  min-height: 38px;
  margin: 9px auto 0;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(198, 38, 59, .7);
  border-radius: 3px;
  color: #fffaf3;
  background: rgba(48, 5, 13, .72);
  box-shadow: inset 0 0 10px rgba(125, 11, 29, .16), 0 0 7px rgba(225, 35, 59, .14);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.4;
  text-align: center;
  animation: travel-eta-glow 5.2s ease-in-out infinite;
}

.travel-location__eta--desktop {
  display: none;
}

.travel-location[data-duration]:not([data-duration=""]) .travel-location__eta {
  color: #fff;
  font-weight: 700;
}

@keyframes travel-eta-glow {
  0%, 100% {
    border-color: rgba(198, 38, 59, .65);
    box-shadow: inset 0 0 10px rgba(125, 11, 29, .14), 0 0 6px rgba(225, 35, 59, .12);
  }

  50% {
    border-color: rgba(222, 47, 69, .78);
    box-shadow: inset 0 0 12px rgba(145, 14, 34, .19), 0 0 11px rgba(232, 42, 65, .2);
  }
}

.travel-carousel {
  padding: 24px clamp(22px, 3vw, 38px) 32px;
}

.travel-carousel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.travel-carousel__heading h3 {
  font-size: clamp(21px, 2vw, 30px);
}

.travel-carousel__controls {
  display: flex;
  gap: 8px;
}

.travel-carousel__controls button {
  width: 42px;
  height: 38px;
  border: 1px solid rgba(202, 40, 61, .75);
  border-radius: 3px;
  color: #fff;
  background: #160307;
  cursor: pointer;
}

.travel-carousel__track {
  display: grid;
  grid-auto-columns: minmax(210px, 260px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 3px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #8d1429 #160307;
}

.travel-carousel__track--single {
  justify-content: center;
}

.travel-profile-card {
  min-width: 0;
  scroll-snap-align: start;
}

.travel-profile-card a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(124, 24, 39, .62);
  border-radius: 6px;
  color: #fff;
  background: #070102;
  text-decoration: none;
}

.travel-profile-card__photo {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  color: var(--travel-red);
  background: radial-gradient(ellipse at 50% 35%, #270710, #030102 72%);
  font-family: var(--font-editorial);
  font-size: 64px;
}

.travel-profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--travel-avatar-x, 50%) var(--travel-avatar-y, 50%);
  transform: scale(var(--travel-avatar-zoom, 1));
  transform-origin: var(--travel-avatar-x, 50%) var(--travel-avatar-y, 50%);
  filter: saturate(.76) contrast(1.08) brightness(.68);
  transition: filter 160ms ease;
}

.travel-profile-card__photo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse at 50% 43%, transparent 22%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .72) 87%, rgba(0, 0, 0, .9) 100%),
    linear-gradient(180deg, rgba(45, 0, 7, .08), transparent 36%, rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, .9) 100%),
    linear-gradient(90deg, rgba(65, 2, 10, .24), transparent 38%, transparent 62%, rgba(65, 2, 10, .24));
  pointer-events: none;
}

.travel-profile-card a:hover .travel-profile-card__photo img,
.travel-profile-card a:focus-visible .travel-profile-card__photo img {
  filter: saturate(.84) contrast(1.08) brightness(.76);
}

.travel-profile-card__photo > span {
  position: relative;
  z-index: 2;
}

.travel-profile-card__copy {
  padding: 15px;
  text-align: center;
}

.travel-profile-card__copy h4 {
  margin: 0;
  color: var(--travel-red);
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 500;
}

.travel-profile-card__copy p {
  margin: 5px 0 0;
  color: var(--travel-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.travel-carousel__empty {
  padding: 26px;
  border: 1px solid rgba(105, 22, 34, .5);
  color: var(--travel-muted);
  background: rgba(17, 3, 7, .45);
  text-align: center;
}

.travel-carousel__empty p {
  margin: 0 0 13px;
}

.travel-carousel__empty a {
  color: var(--travel-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.travel-disclosures {
  max-width: 980px;
  margin: 34px auto 0;
  color: #9e938c;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.travel-disclosures p {
  margin: 8px 0;
}

.travel-disclosures__attribution a {
  color: #fff;
  font-family: var(--font-sans), sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .travel-results__service-date {
    display: flex;
    min-height: 74px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--travel-border);
    border-radius: 7px;
    color: var(--travel-red);
    background:
      linear-gradient(90deg, rgba(73, 6, 19, .36), rgba(13, 2, 5, .72) 50%, rgba(73, 6, 19, .36));
    box-shadow: inset 0 0 28px rgba(103, 8, 25, .1);
    font-family: var(--font-editorial);
    font-size: clamp(25px, 2.05vw, 32px);
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1;
  }

  .travel-results__service-date--count-2 {
    width: calc(66.666% - 6px);
    margin-inline: auto;
  }

  .travel-results__service-date--count-1 {
    width: calc(33.333% - 12px);
    margin-inline: auto;
  }

  .travel-results__list {
    gap: 18px;
    align-items: stretch;
    justify-content: center;
  }

  .travel-results__list--desktop-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .travel-results__list--desktop-2 {
    grid-template-columns: repeat(2, minmax(0, calc(33.333% - 12px)));
  }

  .travel-results__list--desktop-1 {
    grid-template-columns: minmax(0, calc(33.333% - 12px));
  }

  .travel-results__list--desktop-0,
  .travel-location--desktop-empty,
  .travel-carousel--mobile {
    display: none;
  }

  .travel-carousel--desktop {
    display: block;
  }

  .travel-location {
    min-width: 0;
  }

  .travel-location__summary {
    display: block;
    min-height: 112px;
    padding: 20px 20px 17px;
    text-align: center;
  }

  .travel-location__summary h2 {
    font-size: clamp(25px, 2.05vw, 32px);
    line-height: 1;
  }

  .travel-location__eta--mobile {
    display: none;
  }

  .travel-location__eta--desktop {
    display: inline-flex;
    font-size: 11px;
    font-weight: 500;
  }

  .travel-carousel {
    padding: 18px 18px 22px;
  }

  .travel-carousel__track {
    grid-auto-columns: 70%;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .travel-carousel__track::-webkit-scrollbar {
    display: none;
  }

  .travel-carousel__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .travel-carousel__track--single {
    justify-content: center;
  }

  .travel-profile-card__photo {
    aspect-ratio: 425 / 485;
  }

  .travel-profile-card__photo::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
      radial-gradient(ellipse at 50% 43%, transparent 22%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .72) 87%, rgba(0, 0, 0, .9) 100%),
      linear-gradient(180deg, rgba(45, 0, 7, .08), transparent 36%, rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, .9) 100%),
      linear-gradient(90deg, rgba(65, 2, 10, .24), transparent 38%, transparent 62%, rgba(65, 2, 10, .24));
    pointer-events: none;
  }

  .travel-profile-card__photo img {
    filter: saturate(.76) contrast(1.08) brightness(.68);
    transition: filter 160ms ease;
  }

  .travel-profile-card a:hover .travel-profile-card__photo img,
  .travel-profile-card a:focus-visible .travel-profile-card__photo img {
    filter: saturate(.84) contrast(1.08) brightness(.76);
  }

  .travel-profile-card__photo > span {
    position: relative;
    z-index: 2;
  }

  .travel-profile-card__copy {
    padding: 11px 9px 12px;
  }

  .travel-profile-card__copy h4 {
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.05;
  }

  .travel-profile-card__copy p {
    margin-top: 4px;
    font-size: 11px;
  }
}

@media (max-width: 1023px) {
  .travel-location__summary {
    display: block;
    text-align: center;
  }

  .travel-location__eta--mobile {
    display: inline-flex;
    font-size: 11px;
    font-weight: 500;
  }

  .travel-carousel__heading,
  .travel-carousel__controls {
    display: none;
  }
}

@media (max-width: 700px) {
  .travel-time__inner {
    width: min(100% - 30px, 620px);
    padding-block: 42px 60px;
  }

  .travel-form__origin-controls {
    grid-template-columns: 1fr;
  }

  .travel-location__summary {
    display: block;
  }

  .travel-carousel__track {
    grid-auto-columns: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .travel-carousel__track {
    scroll-behavior: auto;
  }

  .travel-location__eta {
    animation: none;
  }
}
