/*
 * V69 · Adventure hub
 * The first two sections now belong to the Homesick mother brand.
 * Existing product copy and the full Borrow / Detour experiences remain intact.
 */

:root {
  --hub-ink: #382447;
  --hub-paper: #f6f0e4;
  --hub-paper-light: #fffaf0;
  --hub-gold: #f1ce64;
  --hub-mint: #a8daba;
  --hub-blue: #8baae4;
  --hub-lavender: #b999cf;
  --hub-soft-ink: #6e6374;
}

body.adventure-hub-unified {
  color: var(--hub-ink);
  background-color: var(--hub-paper);
  background-image:
    radial-gradient(circle at 22% 28%, rgba(56, 36, 71, .07) 0 1px, transparent 1.6px),
    linear-gradient(119deg, transparent 0 72%, rgba(241, 206, 100, .17) 72% 100%);
  background-size: 33px 31px, 100% 100%;
  font-family: Arial, Helvetica, sans-serif;
}

.adventure-hub-unified .noise {
  opacity: .3;
  background-image:
    repeating-linear-gradient(7deg, rgba(56, 36, 71, .018) 0 1px, transparent 1px 8px);
}

.adventure-hub-unified .shell {
  width: min(1240px, calc(100% - 48px));
}

.adventure-hub-unified .adventure-product-nav {
  color: var(--hub-ink);
  background: rgba(255, 250, 240, .96);
  border-bottom: 1px solid rgba(56, 36, 71, .22);
}

.adventure-hub-unified .adventure-product-nav a {
  border-radius: 3px;
  color: rgba(56, 36, 71, .7);
}

.adventure-hub-unified .adventure-product-nav a:first-child,
.adventure-hub-unified .adventure-product-nav a[aria-current="page"] {
  color: var(--hub-ink);
  background: var(--hub-gold);
  box-shadow: 3px 3px 0 var(--hub-ink);
}

.adventure-hub-unified .hero {
  position: relative;
  min-height: 640px;
  grid-template-columns: minmax(0, .93fr) minmax(430px, .78fr);
  gap: clamp(38px, 5vw, 76px);
  padding: 62px 0 66px;
}

.adventure-hub-unified .hero::before {
  content: "03";
  position: absolute;
  right: calc(50% - 620px);
  bottom: 28px;
  z-index: 0;
  color: rgba(56, 36, 71, .07);
  font-size: clamp(128px, 14vw, 230px);
  font-weight: 950;
  line-height: .7;
  letter-spacing: -.08em;
}

.adventure-hub-unified .hero > div:first-child {
  position: relative;
  z-index: 3;
}

.adventure-hub-unified .hero .eyebrow,
.adventure-hub-unified #choose .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--hub-ink);
  background: transparent;
  font-size: 11px;
  letter-spacing: .14em;
}

.adventure-hub-unified .hero .eyebrow .dot,
.adventure-hub-unified #choose .eyebrow .dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--hub-gold);
  box-shadow: none;
  transform: rotate(45deg);
}

.adventure-hub-unified .heroHello {
  margin: 29px 0 9px;
  color: var(--hub-ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.adventure-hub-unified .heroQuestion {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--hub-ink);
  font-size: clamp(58px, 5.6vw, 80px);
  line-height: .94;
  letter-spacing: -.06em;
}

.adventure-hub-unified .heroQuestion .lav {
  position: relative;
  z-index: 0;
  color: var(--hub-ink);
}

.adventure-hub-unified .heroQuestion .lav::after {
  content: "";
  position: absolute;
  right: -.04em;
  bottom: .03em;
  left: -.04em;
  z-index: -1;
  height: .24em;
  background: var(--hub-gold);
  transform: rotate(-1deg);
}

.adventure-hub-unified .lead {
  max-width: 690px;
  margin: 0;
  color: var(--hub-soft-ink);
  font-size: 16px;
  line-height: 1.45;
}

.adventure-hub-unified .lead span {
  position: relative;
  min-height: 32px;
  padding: 7px 10px 7px 31px;
  border-top: 1px solid rgba(56, 36, 71, .22);
}

.adventure-hub-unified .lead span:last-child {
  border-bottom: 1px solid rgba(56, 36, 71, .22);
}

.adventure-hub-unified .lead span::before {
  content: "→";
  position: absolute;
  left: 4px;
  color: #a97b00;
  font-weight: 900;
}

.adventure-hub-unified .heroActions {
  margin-top: 25px;
}

.adventure-hub-unified .heroActions .btn,
.adventure-hub-unified #choose .cardActionRow .btn {
  padding: 14px 18px;
  border: 2px solid var(--hub-ink);
  border-radius: 3px;
  color: var(--hub-ink);
  background: var(--hub-gold);
  box-shadow: 4px 4px 0 var(--hub-ink);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.adventure-hub-unified .heroActions .btn:hover,
.adventure-hub-unified #choose .bigChoice:hover .cardActionRow .btn {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--hub-ink);
}

.adventure-hub-unified .heroVisual {
  min-height: 505px;
  overflow: visible;
  display: grid;
  place-items: center;
}

.adventure-hub-unified .heroVisual .mehbox {
  position: relative;
  width: min(100%, 510px);
  height: auto;
  aspect-ratio: 1;
  padding: 12px;
  overflow: visible;
  border: 2px solid var(--hub-ink);
  border-radius: 16px;
  background: var(--hub-paper-light);
  box-shadow: 12px 12px 0 var(--hub-gold), 14px 14px 0 var(--hub-ink);
  transform: rotate(1.3deg);
  -webkit-mask-image: none;
  mask-image: none;
}

.adventure-hub-unified .heroVisual .mehbox::before {
  content: "PICK YOUR WAY IN";
  position: absolute;
  top: 18px;
  left: -27px;
  z-index: 3;
  padding: 9px 12px 8px;
  border: 2px solid var(--hub-ink);
  color: var(--hub-ink);
  background: var(--hub-paper-light);
  box-shadow: 4px 4px 0 var(--hub-lavender);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .11em;
  transform: rotate(-4deg);
}

.adventure-hub-unified .heroVisual .mehbox img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

.adventure-hub-unified .heroVisual > .orbit,
.adventure-hub-unified .heroVisual > .float,
.adventure-hub-unified .heroVisual > .speech {
  display: none;
}

.adventure-hub-unified #choose {
  position: relative;
  padding: 72px 0 82px;
  border-top: 2px solid var(--hub-ink);
  border-bottom: 2px solid var(--hub-ink);
  color: var(--hub-ink);
  background: var(--hub-gold);
}

.adventure-hub-unified #choose::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px dashed rgba(56, 36, 71, .35);
}

.adventure-hub-unified #choose .shell {
  position: relative;
  z-index: 1;
}

.adventure-hub-unified #choose .head {
  align-items: flex-end;
  margin-bottom: 31px;
}

.adventure-hub-unified #choose .head h2 {
  max-width: 900px;
  margin: 13px 0 0;
  color: var(--hub-ink);
  font-size: clamp(44px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.055em;
}

.adventure-hub-unified #choose .choiceGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.adventure-hub-unified #choose .bigChoice {
  position: relative;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--hub-ink);
  border-radius: 13px;
  color: var(--hub-ink);
  background: var(--hub-paper-light);
  box-shadow: 8px 8px 0 var(--hub-ink);
  transition: transform .18s ease, box-shadow .18s ease;
}

.adventure-hub-unified #choose .bigChoice:hover,
.adventure-hub-unified #choose .bigChoice:focus-visible {
  border-color: var(--hub-ink);
  outline: none;
  transform: translate(3px, 3px);
  box-shadow: 5px 5px 0 var(--hub-ink);
}

.adventure-hub-unified #choose .choiceBg {
  inset: 0 0 auto;
  height: 220px;
  opacity: 1;
  background-size: cover;
  background-position: center;
  filter: saturate(.84) contrast(1.02);
}

.adventure-hub-unified #choose .landingBg {
  background-image:
    linear-gradient(to top, rgba(56, 36, 71, .2), transparent 55%),
    url("../china-landing/assets/mehq-china-ready.jpg");
  background-position: center 43%;
}

.adventure-hub-unified #choose .adventureBg {
  background-image:
    linear-gradient(to top, rgba(56, 36, 71, .08), transparent 45%),
    url("../explore/Borrow_Someones_Day_Card_Cover_V2.jpg");
  background-position: center 51%;
}

.adventure-hub-unified #choose .historyBg {
  background-image:
    linear-gradient(to top, rgba(56, 36, 71, .08), transparent 48%),
    url("../explore/Take_A_Detour_Adventure_Cover_V2.jpg");
  background-position: center 54%;
}

.adventure-hub-unified #choose .choiceContent {
  min-height: 520px;
  padding: 244px 23px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.adventure-hub-unified #choose .choiceTop {
  position: absolute;
  top: 16px;
  left: 15px;
  z-index: 2;
}

.adventure-hub-unified #choose .productTag {
  padding: 8px 10px 7px;
  border: 2px solid var(--hub-ink);
  border-radius: 2px;
  color: var(--hub-ink);
  background: var(--hub-paper-light);
  box-shadow: 3px 3px 0 var(--hub-ink);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.adventure-hub-unified #choose .bigChoice:nth-child(1) .productTag {
  background: var(--hub-mint);
}

.adventure-hub-unified #choose .bigChoice:nth-child(2) .productTag {
  background: var(--hub-lavender);
}

.adventure-hub-unified #choose .bigChoice:nth-child(3) .productTag {
  background: var(--hub-gold);
}

.adventure-hub-unified #choose .bigChoice h3 {
  max-width: 100%;
  margin: 0 0 10px;
  color: var(--hub-ink);
  font-size: clamp(28px, 2.55vw, 38px);
  line-height: .98;
  letter-spacing: -.045em;
}

.adventure-hub-unified #choose .bigChoice p {
  max-width: none;
  margin: 0;
  color: var(--hub-soft-ink);
  font-size: 13px;
  line-height: 1.45;
}

.adventure-hub-unified #choose .miniSteps {
  gap: 6px;
  margin: 17px 0 19px;
}

.adventure-hub-unified #choose .miniSteps span {
  padding: 7px 8px 6px;
  border: 1px solid rgba(56, 36, 71, .35);
  border-radius: 2px;
  color: var(--hub-ink);
  background: transparent;
  font-size: 9px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.adventure-hub-unified #choose .cardActionRow {
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.adventure-hub-unified #choose .cardActionRow .btn {
  padding: 11px 12px 10px;
  font-size: 9px;
}

.adventure-hub-unified #choose .cardNote {
  max-width: 115px;
  color: var(--hub-soft-ink);
  font-size: 9px;
  line-height: 1.25;
  text-align: right;
}

.adventure-hub-unified #choose .learn {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  border: 2px solid var(--hub-ink);
  border-radius: 6px;
  background: var(--hub-paper-light);
  box-shadow: 6px 6px 0 var(--hub-ink);
}

.adventure-hub-unified #choose .learnCard {
  min-height: 0;
  padding: 17px 18px;
  border: 0;
  border-right: 1px dashed rgba(56, 36, 71, .45);
  border-radius: 0;
  color: var(--hub-ink);
  background: transparent;
}

.adventure-hub-unified #choose .learnCard:last-child {
  border-right: 0;
}

.adventure-hub-unified #choose .learnCard small {
  color: #8b6900;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.adventure-hub-unified #choose .learnCard b {
  margin-top: 6px;
  display: block;
  color: var(--hub-ink);
  font-size: 12px;
  line-height: 1.35;
}

/* The detailed products deliberately become darker stages, but their framing
   now starts from the same Homesick geometry rather than glass UI. */
.adventure-hub-unified #adventure,
.adventure-hub-unified #hidden {
  scroll-margin-top: 116px;
}

.adventure-hub-unified #adventure {
  border-top: 0;
}

.adventure-hub-unified #adventure > .shell,
.adventure-hub-unified #hidden > .shell {
  width: min(1240px, calc(100% - 48px));
}

.adventure-hub-unified #adventure .eyebrow,
.adventure-hub-unified #hidden .eyebrow {
  border-radius: 3px;
}

.adventure-hub-unified .footer {
  border-top: 2px solid var(--hub-ink);
  color: var(--hub-ink);
  background: var(--hub-paper);
}

@media (max-width: 1080px) {
  .adventure-hub-unified .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    gap: 32px;
    padding: 54px 0 60px;
  }

  .adventure-hub-unified .heroQuestion {
    font-size: clamp(52px, 6.4vw, 68px);
  }

  .adventure-hub-unified .heroVisual {
    min-height: 420px;
  }

  .adventure-hub-unified .heroVisual .mehbox {
    width: min(100%, 420px);
    height: auto;
    transform: rotate(1deg);
  }

  .adventure-hub-unified #choose .bigChoice {
    min-height: 520px;
  }
}

@media (max-width: 900px) {
  .adventure-hub-unified .hero {
    grid-template-columns: 1fr;
  }

  .adventure-hub-unified .heroVisual {
    width: min(560px, 88vw);
    min-height: auto;
    margin: 4px auto 0;
  }

  .adventure-hub-unified .hero::before {
    right: 2%;
    bottom: 18px;
  }

  .adventure-hub-unified #choose .choiceGrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .adventure-hub-unified #choose .bigChoice,
  .adventure-hub-unified #choose .choiceContent {
    min-height: 410px;
  }

  .adventure-hub-unified #choose .choiceBg {
    width: 43%;
    height: 100%;
  }

  .adventure-hub-unified #choose .choiceContent {
    padding: 28px 28px 26px calc(43% + 28px);
  }

  .adventure-hub-unified #choose .choiceTop {
    top: 18px;
    left: 18px;
  }
}

@media (max-width: 680px) {
  body.adventure-hub-unified {
    background-image:
      radial-gradient(circle at 22% 28%, rgba(56, 36, 71, .07) 0 1px, transparent 1.6px);
    background-size: 29px 27px;
  }

  .adventure-hub-unified .shell,
  .adventure-hub-unified #adventure > .shell,
  .adventure-hub-unified #hidden > .shell {
    width: calc(100% - 28px);
  }

  .adventure-hub-unified .hero {
    gap: 34px;
    padding: 42px 0 48px;
  }

  .adventure-hub-unified .heroHello {
    margin-top: 24px;
    font-size: 21px;
  }

  .adventure-hub-unified .heroQuestion {
    font-size: clamp(46px, 14vw, 60px);
    line-height: .94;
  }

  .adventure-hub-unified .heroLine {
    white-space: normal;
  }

  .adventure-hub-unified .lead {
    font-size: 14px;
  }

  .adventure-hub-unified .lead span {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .adventure-hub-unified .heroVisual {
    width: calc(100% - 10px);
  }

  .adventure-hub-unified .heroVisual .mehbox {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 8px 8px 0 var(--hub-gold), 10px 10px 0 var(--hub-ink);
    transform: rotate(.6deg);
  }

  .adventure-hub-unified .heroVisual .mehbox::before {
    left: -10px;
  }

  .adventure-hub-unified #choose {
    padding: 60px 0 66px;
  }

  .adventure-hub-unified #choose::before {
    inset: 8px;
  }

  .adventure-hub-unified #choose .head h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .adventure-hub-unified #choose .bigChoice,
  .adventure-hub-unified #choose .choiceContent {
    min-height: 510px;
  }

  .adventure-hub-unified #choose .choiceBg {
    width: 100%;
    height: 215px;
  }

  .adventure-hub-unified #choose .choiceContent {
    padding: 239px 21px 21px;
  }

  .adventure-hub-unified #choose .bigChoice h3 {
    font-size: 31px;
  }

  .adventure-hub-unified #choose .learn {
    grid-template-columns: 1fr;
  }

  .adventure-hub-unified #choose .learnCard {
    border-right: 0;
    border-bottom: 1px dashed rgba(56, 36, 71, .45);
  }

  .adventure-hub-unified #choose .learnCard:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adventure-hub-unified *,
  .adventure-hub-unified *::before,
  .adventure-hub-unified *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
