/* ==========================================================================
   Journey page — performance maps, year timeline, stages and screen
   ========================================================================== */

/* ---------- Hero ---------- */
.jr-hero__art { position: relative; max-width: 330px; }
.jr-hero__art .arch img { object-position: 50% 18%; }
.jr-hero__badge {
  position: absolute; z-index: 2; left: -14%; bottom: 12%;
  display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.1rem 0.8rem 0.85rem;
  background: rgba(255, 252, 245, 0.95); border: 1px solid var(--line-gold); border-radius: 16px;
  box-shadow: var(--shadow-md); animation: float 6s ease-in-out infinite;
}
.jr-hero__badge .icon { width: 2.2rem; height: 2.2rem; color: var(--lotus); }
.jr-hero__badge strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.15; color: var(--maroon-800); font-weight: 600; }
.jr-hero__badge small { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.jr-hero__petal { position: absolute; z-index: 2; color: var(--lotus); animation: float 7s ease-in-out infinite; }
.jr-hero__petal--1 { width: 48px; height: 48px; top: -2%; left: -2%; animation-delay: -2s; }
.jr-hero__petal--2 { width: 34px; height: 34px; top: 36%; right: -8%; color: var(--gold-500); animation-delay: -4s; }
@media (max-width: 900px) {
  .jr-hero__art { max-width: 260px; }
  .jr-hero__badge { left: -18%; bottom: 8%; }
}
@media (max-width: 420px) {
  .jr-hero__badge { left: -12%; padding: 0.6rem 0.8rem 0.6rem 0.7rem; }
  .jr-hero__badge strong { font-size: 1.05rem; }
}

/* ---------- Numbers ---------- */
.jr-numbers__quote { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 760px; text-align: center; }
.jr-numbers__quote blockquote { margin: 0; }
.jr-numbers__quote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.4; color: var(--gold-100); text-wrap: balance;
}
.jr-numbers__quote figcaption {
  margin-top: 0.9rem; font-family: var(--font-caps); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-400);
}
.jr-numbers__quote figcaption::before { content: "✦ "; color: var(--gold-500); }

/* ---------- Maps ---------- */
.jr-tabs-wrap { display: flex; justify-content: center; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.jr-tabs {
  display: inline-flex; gap: 0.3rem; padding: 0.35rem;
  background: rgba(255, 252, 245, 0.75); border: 1px solid var(--line-gold); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.jr-tab {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 46px; padding: 0.6rem 1.5rem;
  font-family: var(--font-caps); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--maroon-700); background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.jr-tab .icon { width: 1.15rem; height: 1.15rem; }
.jr-tab:hover { background: rgba(232, 207, 148, 0.35); }
.jr-tab:focus-visible, .jr-place:focus-visible, .jr-stage__link:focus-visible { outline: 2px solid var(--gold-700); outline-offset: 3px; }
.jr-tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); color: var(--gold-100);
  box-shadow: 0 8px 18px -10px rgba(85, 19, 38, 0.8);
}

.jr-panel + .jr-panel { margin-top: clamp(3rem, 6vw, 4.5rem); }
.jr-panel__title {
  text-align: center; margin: 0 0 1.4rem;
  font-family: var(--font-caps); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-800);
}
.has-tabs .jr-panel + .jr-panel { margin-top: 0; }
.has-tabs .jr-panel__title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.jr-map-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
@media (min-width: 1001px) { .jr-map { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.jr-map-layout--india { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }

.jr-map {
  margin: 0; padding: clamp(0.6rem, 2vw, 1.2rem);
  background: rgba(255, 252, 245, 0.55); border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.jr-map--india { max-width: 560px; justify-self: center; width: 100%; }
.jr-map__canvas { position: relative; }
.jr-map__canvas img, .jr-map__canvas svg { display: block; width: 100%; height: auto; overflow: visible; }
.jr-map__hint {
  margin-top: 0.6rem; font-size: 0.86rem; line-height: 1.5; font-style: italic; color: var(--ink-soft); text-align: center; text-wrap: balance;
}
.jr-map__hint .icon { display: inline-block; width: 0.95rem; height: 0.95rem; margin-right: 0.4rem; vertical-align: -0.12em; color: var(--gold-600); }

/* interactive pins (after journey.js inlines the SVG) */
.jr-map .wm-pin, .jr-map .im-pin { cursor: pointer; transition: opacity 0.3s var(--ease); }
.jr-map .wm-pin__body, .jr-map .im-pin__body {
  transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.35s var(--ease);
}
.jr-map .is-active > .wm-pin__body, .jr-map .is-active > .im-pin__body { transform: scale(1.5); }
.jr-map.has-active .wm-pin:not(.is-active), .jr-map.has-active .im-pin:not(.is-active) { opacity: 0.35; }
.jr-map .wm-arc, .jr-map .im-arc { transition: stroke 0.3s, stroke-width 0.3s, stroke-opacity 0.3s; }
.jr-map .wm-arc.is-active, .jr-map .im-arc.is-active { stroke: var(--lotus); stroke-width: 2.2; stroke-opacity: 1; }
.jr-map.has-active .wm-arc:not(.is-active), .jr-map.has-active .im-arc:not(.is-active) { stroke-opacity: 0.25; }

.jr-tip {
  position: absolute; z-index: 5; left: 0; top: 0; max-width: 260px; padding: 0.55rem 0.85rem;
  background: var(--maroon-900); color: var(--gold-100); border-radius: 10px; box-shadow: var(--shadow-md);
  font-size: 0.84rem; line-height: 1.4; pointer-events: none; text-align: center;
  transform: translate(-50%, calc(-100% - 22px)); opacity: 0; transition: opacity 0.2s var(--ease);
}
.jr-tip.is-shown { opacity: 1; }
.jr-tip::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px;
  background: var(--maroon-900); transform: translateX(-50%) rotate(45deg);
}

/* place lists */
.jr-places { display: grid; gap: 1.4rem; }
.jr-places--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.8rem; align-items: start; }
.jr-places__title {
  margin: 0 0 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line-gold);
  font-family: var(--font-caps); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-800);
}
.jr-place-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.jr-place {
  display: grid; gap: 0.1rem; width: 100%; min-height: 44px; padding: 0.55rem 0.8rem; text-align: left;
  font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.jr-place:hover, .jr-place.is-active { background: var(--ivory); border-color: var(--line-gold); box-shadow: var(--shadow-sm); }
.jr-place__name { font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; line-height: 1.25; color: var(--maroon-800); }
.jr-place__years {
  margin-left: 0.35rem; font-family: var(--font-caps); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-800); white-space: nowrap;
}
.jr-place__event { font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }
.jr-place--home .jr-place__name { color: var(--maroon-600); }
.jr-place--home .jr-place__name::before {
  content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.4em; vertical-align: 0.05em; border-radius: 50%;
  background: var(--maroon-600); box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--gold-500);
}

/* legend */
.jr-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.8rem; list-style: none;
  margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; padding: 0; font-size: 0.9rem; color: var(--ink-soft);
}
.jr-legend li { display: inline-flex; align-items: center; gap: 0.55rem; }
.jr-legend__swatch { width: 12px; height: 12px; border-radius: 50%; }
.jr-legend__swatch--india { background: var(--maroon-600); }
.jr-legend__swatch--intl { background: var(--lotus); }
.jr-legend__home { width: 12px; height: 12px; border-radius: 50%; background: var(--maroon-700); box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--gold-500); }
.jr-legend__arc { width: 30px; height: 0; border-top: 1.6px dashed var(--maroon-700); }

@media (max-width: 1000px) {
  .jr-map-layout, .jr-map-layout--india { grid-template-columns: 1fr; }
  .jr-places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.6rem; align-items: start; }
  .jr-places__group:only-child { grid-column: 1 / -1; }
  .jr-places__group:first-child:nth-last-child(3) { grid-row: span 2; }
}
@media (max-width: 600px) {
  .jr-places, .jr-places--two { grid-template-columns: 1fr; }
  .jr-tab { padding: 0.6rem 1.15rem; }
}

/* ---------- Year timeline ---------- */
.jr-years { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; --jr-col: 170px; }
.jr-years::before {
  content: ""; position: absolute; top: 0.6rem; bottom: 0.6rem; left: calc(var(--jr-col) + 1.85rem); width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-400) 3%, var(--gold-400) 97%, transparent);
}
.jr-year { position: relative; display: grid; grid-template-columns: var(--jr-col) minmax(0, 1fr); gap: 3.7rem; padding-bottom: clamp(2rem, 4vw, 2.8rem); }
.jr-year:last-child { padding-bottom: 0; }
.jr-year::before {
  content: ""; position: absolute; left: calc(var(--jr-col) + 1.85rem + 1px); top: 1.1rem; width: 16px; height: 16px;
  transform: translate(-50%, -50%) rotate(45deg); background: var(--gold-400);
  box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold-400);
}
.jr-year__head { text-align: right; padding-top: 0.1rem; }
.jr-year__num { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.1rem); line-height: 1; color: var(--gold-600); letter-spacing: 0; }
.jr-year__note { margin: 0.35rem 0 0; font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.3; color: var(--ink-soft); }

.jr-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 0.9rem; }
.jr-event {
  margin: 0; padding: 1rem 1.2rem; background: var(--ivory); border: 1px solid var(--line-gold); border-radius: 14px;
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.jr-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.jr-event p { margin: 0; }
.jr-event__title { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; line-height: 1.3; color: var(--maroon-800); }
.jr-event__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 0.8rem; margin-top: 0.55rem !important; }
.jr-event__place { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; color: var(--ink-soft); }
.jr-event__place .icon { width: 1rem; height: 1rem; color: var(--gold-600); }
.jr-event__meta .tag { margin-left: auto; }

.jr-event--milestone {
  grid-column: 1 / -1; display: flex; gap: 1.2rem; align-items: center; padding: 1.2rem 1.4rem;
  color: rgba(255, 252, 245, 0.85); border-color: rgba(232, 207, 148, 0.5);
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(168, 123, 46, 0.35), transparent 70%),
    linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
}
.jr-event__medal {
  display: grid; place-items: center; flex: none; width: 62px; height: 62px; border-radius: 50%;
  color: var(--maroon-900); background: radial-gradient(circle at 35% 30%, var(--gold-200), var(--gold-500));
  box-shadow: 0 0 0 4px var(--maroon-800), 0 0 0 5.5px var(--gold-400);
}
.jr-event__medal .icon { width: 1.8rem; height: 1.8rem; }
.jr-event__kicker { font-family: var(--font-caps); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-300); }
.jr-event--milestone .jr-event__title { color: var(--gold-100); font-size: 1.35rem; }
.jr-event--milestone .jr-event__place { color: rgba(255, 252, 245, 0.75); }
.jr-event--milestone .jr-event__place .icon { color: var(--gold-300); }
.jr-event--milestone .jr-event__meta { justify-content: flex-start; }
.jr-event--milestone .jr-event__meta .tag { margin-left: 0; }

.jr-year.is-hidden { display: none; }

@media (max-width: 800px) {
  .jr-years { --jr-col: 0px; }
  .jr-years::before { left: 9px; }
  .jr-year { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; padding-left: 2.3rem; }
  .jr-year::before { left: 10px; top: 1rem; }
  .jr-year__head { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; }
  .jr-year__num { font-size: 2.3rem; }
  .jr-event--milestone { flex-direction: column; align-items: flex-start; }
}

/* ---------- Across the years ---------- */
.jr-group-title {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.3rem;
  font-family: var(--font-caps); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-800);
}
.jr-group-title::before, .jr-group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400)); }
.jr-group-title::after { background: linear-gradient(90deg, var(--gold-400), transparent); }
.jr-stages + .jr-group-title { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.jr-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.jr-stage {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem;
  background: rgba(255, 252, 245, 0.92); border: 1px solid var(--line-gold); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.jr-stage:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.js .jr-stage.reveal.is-visible:hover { transform: translateY(-4px); }
.jr-stage p { margin: 0; }
.jr-stage__medal {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  color: var(--gold-200); background: radial-gradient(circle at 35% 30%, var(--maroon-600), var(--maroon-900));
  box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4.5px var(--gold-400);
}
.jr-stage__medal .icon { width: 1.4rem; height: 1.4rem; }
.jr-stage__title { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; line-height: 1.3; color: var(--maroon-800); }
.jr-stage__sub { margin-top: 0.15rem !important; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.jr-stage__place { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.45rem !important; font-size: 0.86rem; color: var(--ink-soft); }
.jr-stage__place .icon { width: 0.95rem; height: 0.95rem; color: var(--gold-600); flex: none; }
.jr-stage--screen { border-color: var(--gold-400); background: linear-gradient(180deg, var(--ivory), var(--gold-100)); }
.jr-stage__link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; margin-top: 0.1rem;
  font-family: var(--font-caps); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--maroon-700);
}
.jr-stage__link .icon { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.jr-stage__link:hover .icon { transform: translateX(3px); }

/* ---------- On screen ---------- */
.jr-award {
  position: relative; isolation: isolate; max-width: 420px; margin-inline: auto; padding: clamp(2.2rem, 5vw, 3rem) 1.5rem;
  text-align: center; border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 34% 34% var(--radius-lg) var(--radius-lg);
  background: radial-gradient(circle at 50% 30%, var(--ivory), var(--gold-100));
  border: 1px solid var(--line-gold); box-shadow: var(--shadow-lg); overflow: hidden;
}
.jr-award__wheel {
  position: absolute; z-index: -1; left: 50%; top: 42%; width: 130%; max-width: none; height: auto; aspect-ratio: 1;
  color: var(--gold-500); opacity: 0.14; animation: spin-centered-xy 140s linear infinite;
}
.jr-award__wreath { position: relative; width: 170px; height: 170px; margin: 0 auto 0.6rem; display: grid; place-items: center; }
.jr-award__wreath > .icon { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--leaf-500); }
.jr-award__value { position: relative; font-family: var(--font-deco); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--maroon-700); }
.jr-award__kicker { margin: 0 0 0.3rem; font-family: var(--font-caps); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.3em; color: var(--gold-800); }
.jr-award__title { margin: 0 0 0.3rem; font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--maroon-800); font-size: clamp(1.8rem, 3vw, 2.2rem); }
.jr-award__text { margin: 0; color: var(--ink-soft); }

.jr-channels { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.jr-channels li {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem;
  background: var(--ivory); border: 1px solid var(--line-gold); border-radius: 14px;
}
.jr-channels__icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
  color: var(--maroon-700); background: var(--gold-100); box-shadow: inset 0 0 0 1px var(--line-gold);
}
.jr-channels__icon .icon { width: 1.2rem; height: 1.2rem; }
.jr-channels strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.jr-channels span { display: block; font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 480px) { .jr-channels { grid-template-columns: 1fr; } }

/* 2023: performance with a video */
.jr-event--video { border-color: var(--gold-400); background: linear-gradient(180deg, var(--ivory), var(--gold-100)); }
.jr-event__watch {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; margin-top: 0.7rem; padding: 0.45rem 1rem;
  border-radius: 999px; background: #e0453c; color: #fff; text-decoration: none;
  font-family: var(--font-caps); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 10px 22px -12px rgba(224, 69, 60, 0.8); transition: transform 0.3s var(--ease), background 0.3s;
}
.jr-event__watch:hover { background: #c8352d; color: #fff; transform: translateY(-2px); }
.jr-event__watch .icon { width: 0.95rem; height: 0.95rem; }
