/* =========================================================
   Journey page — Option B "Timeline"
   Builds on styles.css (tokens, header, band, footer, motion).
   ========================================================= */

.en { font-family: var(--font-wix); direction: ltr; unicode-bidi: isolate; }

/* ---------- Hero: full-bleed photo, centred title ---------- */
.hero--story {
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 980px;
}
.hero--story .hero__bg { object-position: center 40%; }
.hero--story .hero__shade {
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(0,0,0,.72), rgba(0,0,0,.55) 60%, rgba(0,0,0,.8)),
    linear-gradient(0deg, #0e0e0f 0%, rgba(14,14,15,0) 30%);
}
.hero--story .hero__content {
  inset: 0;
  top: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(245,170,3,.35);
  border-radius: 999px;
  background: rgba(245,170,3,.08);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--yellow);
  font-size: max(13px, calc(15 * var(--u)));
  line-height: 1.5;
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}
.hero--story .hero__title {
  font-size: max(40px, calc(84 * var(--u)));
  line-height: 1.25;
  text-align: center;
}
.hero--story .hero__title span { color: var(--yellow); }
.hero--story .hero__tagline { text-align: center; margin-top: 10px; }

.scroll-cue {
  margin-top: max(32px, calc(48 * var(--u)));
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--yellow);
  animation: cue 1.8s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Story wrapper ---------- */
.story-b {
  background: #0e0e0f;
  padding: max(64px, calc(110 * var(--u))) var(--gutter) max(72px, calc(120 * var(--u)));
  position: relative;
}
.story-b::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(14,14,15,0), #000);
  pointer-events: none;
}

/* ---------- Opener quote ---------- */
.opener {
  max-width: 920px;
  margin: 0 auto max(72px, calc(130 * var(--u)));
  text-align: center;
  position: relative;
}
.opener::before {
  content: "”";
  display: block;
  font-family: Georgia, serif;
  font-size: max(90px, calc(140 * var(--u)));
  line-height: .6;
  height: max(46px, calc(70 * var(--u)));
  color: var(--yellow);
  opacity: .9;
}
.opener__quote {
  color: #f3f3f3;
  font-size: max(20px, calc(32 * var(--u)));
  line-height: 1.7;
  font-weight: 400;
  text-wrap: balance;
}
.opener__quote em { font-style: normal; color: var(--yellow); }
.opener__author {
  margin: max(28px, calc(40 * var(--u))) auto 0;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  text-align: right;
}
.opener__author img { width: 44px; flex-shrink: 0; }
.opener__author p {
  color: #c6c6c8;
  font-weight: 300;
  font-size: max(14.5px, calc(17 * var(--u)));
  line-height: 1.85;
}
.opener__author strong, .tl strong { color: var(--gold); font-weight: 500; }

/* ---------- Timeline ---------- */
.tl {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.tl__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
}
.tl__fill {
  height: 100%;
  background: linear-gradient(180deg, #f3c02a, #f5aa03);
  box-shadow: 0 0 14px rgba(245,170,3,.6);
  transform-origin: top;
  transform: scaleY(0);
  will-change: transform;
}
.tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(120 * var(--u) + 40px);
  padding-block: max(24px, calc(36 * var(--u)));
}
.tl__item:nth-child(odd)  .tl__card { grid-column: 2; }  /* RTL: column 2 = left side */
.tl__item:nth-child(even) .tl__card { grid-column: 1; }

.tl__node {
  position: absolute;
  left: 50%;
  top: max(60px, calc(90 * var(--u)));
  translate: -50% 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #141414;
  border: 2px solid rgba(255,255,255,.12);
  color: #8d8d8d;
  font-weight: 500;
  font-size: 15px;
  z-index: 2;
  transition: background .5s, border-color .5s, color .5s, box-shadow .5s;
}
.tl__node.is-lit {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
  box-shadow: 0 0 0 6px rgba(245,170,3,.15), 0 0 30px rgba(245,170,3,.45);
}

.tl__card {
  border-radius: 18px;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transition: border-color .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.tl__card:hover { border-color: rgba(245,170,3,.35); transform: translateY(-4px); }
.tl__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.tl__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.tl__card:hover .tl__media img { transform: scale(1.04); }
.tl__body {
  padding: max(20px, calc(30 * var(--u)));
  background: radial-gradient(80% 60% at 20% 100%, rgba(245,170,3,.08), transparent), #141414;
}
.tl__tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.tl__title {
  color: #f3f3f3;
  font-weight: 500;
  font-size: max(19px, calc(25 * var(--u)));
  line-height: 1.5;
  margin-bottom: 12px;
  text-wrap: balance;
}
.tl__body p {
  color: #b9b9bb;
  font-weight: 300;
  font-size: max(14.5px, calc(16.5 * var(--u)));
  line-height: 1.95;
  text-wrap: pretty;
}
.tl__body p + p, .tl__body .tl__quote + p, .tl__body p + .tl__quote { margin-top: 12px; }
.tl__quote {
  margin: 0;
  padding: 12px 16px;
  border-right: 3px solid var(--yellow);
  border-radius: 4px 10px 10px 4px;
  background: linear-gradient(270deg, rgba(245,170,3,.1), rgba(245,170,3,0));
  color: #f3f3f3;
  font-size: max(15.5px, calc(18 * var(--u)));
  line-height: 1.8;
}
.tl__quote span:not(.en) { color: var(--yellow); font-weight: 500; }

/* ---------- Finale ---------- */
.finale {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: max(64px, calc(110 * var(--u))) auto 0;
  padding: max(36px, calc(64 * var(--u))) max(22px, calc(72 * var(--u)));
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(245,170,3,.22), rgba(245,170,3,0) 70%),
    #121212;
  border: 1px solid rgba(245,170,3,.3);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  overflow: hidden;
}
.finale::before { /* subtle light streak */
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(245,170,3,.12), transparent);
  pointer-events: none;
}
.finale__text {
  position: relative;
  color: #d6d6d6;
  font-weight: 300;
  font-size: max(16px, calc(21 * var(--u)));
  line-height: 1.85;
  text-wrap: balance;
}
.finale__title {
  position: relative;
  margin-top: 10px;
  color: var(--yellow);
  font-weight: 700;
  font-size: max(28px, calc(46 * var(--u)));
  line-height: 1.35;
}
.finale__cta {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-top: max(20px, calc(28 * var(--u)));
  height: 54px;
  padding-inline: 34px;
  border-radius: 999px;
  background: var(--yellow);
  color: #080808;
  font-size: max(16px, calc(19 * var(--u)));
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.finale__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,170,3,.3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* line moves to the right edge, cards stack to its left */
  .tl__line { left: auto; right: 21px; translate: 0 0; }
  .tl__item { grid-template-columns: 1fr; padding-right: 58px; }
  .tl__item:nth-child(odd) .tl__card,
  .tl__item:nth-child(even) .tl__card { grid-column: 1; }
  .tl__node { left: auto; right: 0; translate: 0 0; top: 40px; width: 44px; height: 44px; font-size: 13px; }
}

@media (max-width: 760px) {
  .hero--story { min-height: 620px; justify-content: center; }
  .hero--story .hero__content { position: absolute; inset: 0; padding: 90px 20px 30px; }
  .hero--story .hero__title { font-size: 42px; }

  .story-b { padding-inline: 16px; }
  .opener__quote { font-size: 19px; max-width: 340px; margin-inline: auto; }
  .opener__author { flex-direction: column; text-align: center; max-width: 340px; }
  .tl__item { padding-right: 52px; }
  .tl__body { padding: 18px; }
  .finale { border-radius: 18px; }
}

/* phones: crop to the man by the fire (right half of the photo),
   so the seam between the two halves of j3.png isn't in view */
@media (max-width: 760px) {
  .hero--story .hero__bg { object-position: 93% 50%; }
}
