:root {
  --jh-ease-out: cubic-bezier(.16, 1, .3, 1);
  --jh-safe-top: env(safe-area-inset-top, 0px);
  --jh-safe-right: env(safe-area-inset-right, 0px);
  --jh-safe-bottom: env(safe-area-inset-bottom, 0px);
  --jh-safe-left: env(safe-area-inset-left, 0px);
  --jh-hero-progress: 0;
  --jh-journey-progress: 0;
}

html {
  scroll-padding-top: calc(92px + var(--jh-safe-top));
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.jh-skip-link {
  position: fixed;
  z-index: 180;
  top: calc(10px + var(--jh-safe-top));
  left: calc(10px + var(--jh-safe-left));
  transform: translateY(-180%);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--jh-yellow);
  color: var(--jh-ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease;
}

.jh-skip-link:focus {
  transform: translateY(0);
}

.jh-shell {
  width: min(1320px, calc(100% - 64px));
}

.jh-header {
  padding-top: var(--jh-safe-top);
}

.jh-header-inner {
  min-height: 80px;
}

.jh-brand strong,
.jh-nav a,
.jh-button {
  font-weight: 600;
}

.jh-nav a {
  font-size: 14px;
}

.jh-nav a,
.jh-button,
.jh-destination,
.jh-region-card,
.jh-feature {
  transition-duration: .42s;
  transition-timing-function: var(--jh-ease-out);
}

.jh-hero {
  min-height: 185svh;
  min-height: 185dvh;
}

.jh-hero-grid {
  height: 100svh;
  height: 100dvh;
  min-height: 680px;
  padding-top: calc(80px + var(--jh-safe-top));
}

.jh-hero-copy {
  top: clamp(122px, 15svh, 154px);
}

.jh-eyebrow {
  min-height: 28px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .17em;
}

.jh-hero h1 {
  max-width: 1220px;
  margin-inline: auto;
  font-size: clamp(68px, 7.2vw, 110px);
  line-height: .88;
  letter-spacing: -.064em;
  text-wrap: balance;
}

.jh-hero h1 .jh-title-line {
  display: block;
}

.jh-hero-copy > p {
  max-width: 510px;
  color: rgba(16, 45, 34, .75);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  text-wrap: pretty;
}

.jh-button {
  min-height: 50px;
  padding-inline: 22px;
  font-size: 14px;
}

.jh-hero-visual {
  left: 50%;
  margin-left: max(-430px, -36vw);
  transform-origin: center;
}

.jh-grid-bg {
  transform: translate3d(0, calc(var(--jh-hero-progress) * -64px), 0);
  will-change: transform;
}

.jh-scroll-cue {
  right: -58px;
  font-size: 11px;
}

.jh-about,
.jh-journey,
.jh-regions,
.jh-destinations,
.jh-features,
.jh-closing {
  border-radius: 34px 34px 0 0;
}

.jh-about,
.jh-regions,
.jh-destinations,
.jh-features,
.jh-closing {
  margin-top: -34px;
}

.jh-about { z-index: 2; }
.jh-journey { z-index: 3; }
.jh-regions { z-index: 4; }
.jh-destinations { z-index: 5; }
.jh-features { z-index: 6; }
.jh-closing { z-index: 7; }

.jh-section {
  padding: clamp(108px, 10vw, 150px) 0;
}

.jh-two-col {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.jh-title {
  max-width: 820px;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: .96;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.jh-lead {
  max-width: 700px;
  font-size: clamp(21px, 2.15vw, 31px);
  line-height: 1.3;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.jh-source,
.jh-metric p,
.jh-region-card p,
.jh-destination p,
.jh-feature p,
.jh-step p {
  font-size: 14px;
  line-height: 1.7;
}

.jh-metrics {
  gap: 14px;
}

.jh-metric {
  min-height: 270px;
  border-radius: 12px;
  padding: 28px;
}

.jh-metric span,
.jh-region-card > span,
.jh-destination small,
.jh-journey-head span,
.jh-closing-copy > span {
  font-size: 11px;
}

.jh-metric strong {
  font-size: clamp(36px, 3.5vw, 52px);
}

.jh-journey {
  min-height: 450svh;
  min-height: 450dvh;
}

.jh-journey-sticky {
  min-height: 100svh;
  min-height: 100dvh;
}

.jh-journey-sticky > .jh-shell {
  padding-top: calc(64px + var(--jh-safe-top));
  padding-bottom: calc(54px + var(--jh-safe-bottom));
}

.jh-journey-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.jh-journey-head > div {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.jh-journey-head h2 {
  margin-top: 0;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: .98;
  text-wrap: balance;
}

.jh-journey-head > strong {
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}

.jh-progress {
  margin-top: 34px;
}

.jh-journey-layout {
  grid-template-columns: minmax(290px, .88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 72px);
}

.jh-step {
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
}

.jh-step.is-active {
  background: rgba(255, 255, 255, .055);
}

.jh-step h3 {
  font-size: 23px;
}

.jh-step p {
  color: rgba(255, 255, 255, .68);
}

.jh-journey-canvas {
  position: relative;
  isolation: isolate;
  height: min(52svh, 540px);
}

.jh-journey-canvas::before,
.jh-journey-canvas::after {
  position: absolute;
  z-index: -1;
  inset: 9% 12%;
  border: 1px solid rgba(246, 189, 50, .18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: scale(calc(.82 + var(--jh-journey-progress) * .24))
    rotate(calc(var(--jh-journey-progress) * 55deg));
}

.jh-journey-canvas::after {
  inset: 18% 22%;
  border-color: rgba(255, 255, 255, .12);
  transform: scale(calc(.88 + var(--jh-journey-progress) * .16))
    rotate(calc(var(--jh-journey-progress) * -35deg));
}

.jh-region-grid {
  gap: 14px;
}

.jh-region-card {
  min-height: 330px;
  border-radius: 12px;
  opacity: .72;
  transform: translateY(0) scale(.985);
}

.jh-region-card.is-scroll-active {
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 28px 80px rgba(16, 45, 34, .13);
  opacity: 1;
  transform: translateY(-14px) scale(1);
}

.jh-region-card h3 {
  max-width: 250px;
  font-size: 28px;
  text-wrap: balance;
}

.jh-destination {
  border-radius: 12px;
  padding: 28px 14px;
  opacity: .7;
  transform: translateX(0);
}

.jh-destination.is-scroll-active {
  background: rgba(126, 149, 67, .075);
  opacity: 1;
  transform: translateX(12px);
}

.jh-destination h3 {
  font-size: clamp(28px, 3vw, 42px);
  text-wrap: balance;
}

.jh-feature {
  min-height: 285px;
  border-radius: 12px;
}

.jh-feature h3 {
  font-size: 26px;
}

.jh-closing {
  padding-top: clamp(126px, 13vw, 184px);
  padding-bottom: clamp(126px, 13vw, 184px);
}

.jh-closing h2 {
  max-width: 1120px;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .94;
  text-wrap: balance;
}

.jh-closing p {
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  text-wrap: pretty;
}

.jh-footer {
  position: relative;
  z-index: 8;
  padding: 32px 0 calc(32px + var(--jh-safe-bottom));
  font-size: 14px;
}

.jh-install-trigger {
  position: fixed;
  z-index: 125;
  right: max(16px, var(--jh-safe-right));
  bottom: max(16px, var(--jh-safe-bottom));
  width: 54px;
  height: 54px;
  display: none;
  grid-template-columns: repeat(2, 6px);
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: var(--jh-green-dark);
  box-shadow: 0 16px 44px rgba(16, 45, 34, .28);
  color: white;
}

.jh-install-trigger.is-visible {
  display: grid;
}

.jh-install-trigger span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jh-yellow);
}

.jh-pwa-hint {
  position: fixed;
  z-index: 124;
  right: max(16px, var(--jh-safe-right));
  bottom: calc(82px + var(--jh-safe-bottom));
  width: min(320px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(16, 45, 34, .96);
  box-shadow: 0 22px 70px rgba(16, 45, 34, .3);
  color: white;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.jh-pwa-hint.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .jh-shell {
    width: min(100% - 40px, 940px);
  }

  .jh-two-col {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    gap: 48px;
  }

  .jh-title {
    font-size: clamp(46px, 6.2vw, 66px);
  }

  .jh-journey-head > div {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .jh-shell {
    width: min(100% - 32px, 720px);
  }

  .jh-header-inner {
    min-height: 72px;
  }

  .jh-hero {
    min-height: 172svh;
    min-height: 172dvh;
  }

  .jh-hero-grid {
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    padding-top: calc(72px + var(--jh-safe-top));
  }

  .jh-hero-copy {
    top: calc(104px + var(--jh-safe-top));
  }

  .jh-hero h1 {
    max-width: 680px;
    font-size: clamp(50px, 12.8vw, 78px);
    line-height: .9;
  }

  .jh-hero-visual {
    left: 50%;
    width: 94vw;
    height: 72vw;
    margin-left: -47vw;
  }

  .jh-hero-copy > p {
    top: calc(100svh - 248px);
    top: calc(100dvh - 248px);
    max-width: 56%;
    font-size: 14px;
  }

  .jh-actions {
    top: calc(100svh - 248px);
    top: calc(100dvh - 248px);
    max-width: 42%;
  }

  .jh-actions .jh-button {
    min-height: 48px;
    font-size: 12px;
  }

  .jh-two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .jh-lead {
    font-size: clamp(20px, 3.5vw, 27px);
  }

  .jh-journey {
    min-height: 400svh;
    min-height: 400dvh;
  }

  .jh-journey-sticky > .jh-shell {
    padding-top: calc(88px + var(--jh-safe-top));
  }

  .jh-journey-head {
    gap: 16px;
  }

  .jh-journey-head > div {
    display: block;
  }

  .jh-journey-head h2 {
    margin-top: 12px;
    font-size: clamp(35px, 7vw, 48px);
  }

  .jh-journey-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .jh-step-list {
    display: block;
  }

  .jh-step {
    display: none;
    min-height: 126px;
    grid-template-columns: 38px 1fr;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    padding: 16px 2px;
    opacity: 1;
  }

  .jh-step.is-active {
    display: grid;
    transform: none;
  }

  .jh-step h3 {
    margin-top: 0;
    font-size: 21px;
  }

  .jh-step p,
  .jh-step.is-active p {
    display: block;
    margin-top: 8px;
    font-size: 13px;
  }

  .jh-journey-canvas {
    height: min(39svh, 350px);
    height: min(39dvh, 350px);
  }

  .jh-region-card {
    opacity: 1;
    transform: none;
  }

  .jh-region-card.is-scroll-active {
    transform: translateY(-8px);
  }
}

@media (max-width: 560px) {
  .jh-shell {
    width: min(100% - 28px, 520px);
  }

  .jh-header .jh-button {
    width: 48px;
    height: 48px;
  }

  .jh-brand strong {
    font-size: 17px;
  }

  .jh-hero-copy {
    top: calc(116px + var(--jh-safe-top));
  }

  .jh-eyebrow {
    font-size: 9.5px;
    letter-spacing: .13em;
  }

  .jh-hero h1 {
    max-width: 370px;
    margin-top: 22px;
    font-size: clamp(43px, 13.6vw, 56px);
    line-height: .91;
    letter-spacing: -.055em;
  }

  .jh-hero-visual {
    top: 45%;
    width: 96vw;
    height: 86vw;
    margin-left: -48vw;
  }

  .jh-hero-copy > p {
    left: 0;
    right: 0;
    top: calc(100svh - 190px);
    top: calc(100dvh - 190px);
    max-width: none;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
  }

  .jh-actions {
    left: 0;
    right: 0;
    top: calc(100svh - 84px);
    top: calc(100dvh - 84px);
    display: grid;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jh-actions .jh-button {
    width: 100%;
    min-height: 50px;
    font-size: 13px;
  }

  .jh-section {
    padding: 96px 0;
  }

  .jh-title {
    font-size: clamp(39px, 11.4vw, 50px);
    line-height: .98;
  }

  .jh-lead {
    font-size: 20px;
    line-height: 1.38;
  }

  .jh-metric,
  .jh-region-card,
  .jh-feature {
    padding: 24px;
  }

  .jh-metric {
    min-height: 230px;
  }

  .jh-region-card {
    min-height: 250px;
  }

  .jh-destination {
    grid-template-columns: 36px 1fr 20px;
    padding: 24px 6px;
  }

  .jh-destination h3 {
    font-size: 26px;
    line-height: 1.08;
  }

  .jh-destination p {
    font-size: 14px;
  }

  .jh-closing h2 {
    font-size: clamp(43px, 12vw, 56px);
  }

  .jh-closing p {
    font-size: 15px;
  }

  .jh-footer .jh-shell {
    gap: 8px;
  }
}

@media (max-height: 720px) and (min-width: 821px) {
  .jh-hero-copy {
    top: 102px;
  }

  .jh-hero h1 {
    font-size: clamp(58px, 6.4vw, 86px);
  }

  .jh-hero-visual {
    top: 48%;
    height: min(520px, 48vw);
  }

  .jh-hero-copy > p,
  .jh-actions {
    top: calc(100svh - 220px);
    top: calc(100dvh - 220px);
  }
}

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

  .jh-hero,
  .jh-journey {
    min-height: auto !important;
  }

  .jh-hero-grid,
  .jh-journey-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: auto !important;
  }

  .jh-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: calc(118px + var(--jh-safe-top));
    padding-bottom: 80px;
  }

  .jh-hero-copy,
  .jh-hero-copy > p,
  .jh-actions,
  .jh-hero-visual {
    position: relative !important;
    inset: auto !important;
    max-width: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .jh-hero-copy > p {
    max-width: 860px !important;
    margin-inline: auto !important;
    margin-top: 24px !important;
    text-align: center;
  }

  .jh-actions {
    justify-content: center;
    margin-top: 24px !important;
  }

  .jh-hero-visual {
    width: 100% !important;
    height: min(68vw, 520px) !important;
    margin-top: 24px !important;
  }

  .jh-step,
  .jh-step.is-active {
    display: grid;
    opacity: 1;
    transform: none;
  }

  .jh-journey-canvas::before,
  .jh-journey-canvas::after,
  .jh-grid-bg {
    transform: none;
  }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
  .jh-hero-copy > p {
    max-width: 350px !important;
  }
}
