/* The Journey · Iconz Club. Same tokens as styles.css; page-specific components only.
   Everything here reads fine with no JS; motion is layered on by journey.js. */

/* ---------- hero ---------- */
.j-hero {
  position: relative; z-index: 1; min-height: clamp(680px, 100svh, 1000px);
  padding: clamp(18px, 3vw, 40px) var(--pad) clamp(28px, 4vw, 56px);
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  background:
    radial-gradient(60% 55% at 72% 46%, rgba(255, 91, 31, .16), transparent 70%),
    linear-gradient(180deg, #0c0c0c, #070707);
}
.j-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px; }
.j-top .cart { justify-self: end; }
.j-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: start; column-gap: clamp(24px, 4vw, 72px); row-gap: 0; padding-top: clamp(24px, 3vw, 48px);
}
.j-hero-copy { display: contents; }
.j-day { grid-column: 1 / -1; grid-row: 1; }
.j-title { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 1; white-space: nowrap; }
.j-claim { grid-column: 1; grid-row: 3; }
.j-cta { grid-column: 1; grid-row: 4; align-self: start; }
.j-cover { grid-column: 2; grid-row: 3 / span 2; align-self: start; position: relative; z-index: 0; margin-top: clamp(16px, 2vw, 34px); }
.j-title {
  margin: 14px 0 0; display: grid;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  letter-spacing: -.045em; line-height: .82;
}
.j-the { font-size: clamp(34px, 5vw, 76px); font-weight: 400; font-stretch: 100%; letter-spacing: -.02em; color: var(--muted); }
.j-word { font-size: min(13.6vw, 210px); }
.j-claim { margin-top: clamp(18px, 2.4vw, 30px); }
.j-cta { margin-top: 26px; }
.j-cover {
  margin: 0; justify-self: end; width: min(100%, 470px); aspect-ratio: 1031 / 1400;
  transform: rotate(3.5deg); box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 0 1px rgba(239, 233, 220, .08);
  background: #111; overflow: hidden;
}
.j-cover img { width: 100%; height: 100%; object-fit: cover; }
.j-scroll { margin-top: 18px; }

/* ---------- 01 story (scrollytelling) ---------- */
.j-scrolly { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 90px); margin-top: clamp(36px, 5vw, 70px); }
.j-stage {
  position: sticky; top: 10vh; height: 80vh; align-self: start;
  border-radius: 28px; overflow: hidden; background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.j-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
.j-frame.is-on { opacity: 1; }
.j-frame img { width: 100%; height: 100%; object-fit: cover; }
.j-stage-num {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; padding: 8px 12px; border-radius: 999px;
  background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.j-chapters { list-style: none; margin: 0; padding: 0; }
.j-chap { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; border-bottom: 1px solid var(--line); }
.j-chap:last-child { border-bottom: 0; }
.j-chap-img { display: none; }
.j-h3 {
  margin: 10px 0 0; font: 900 clamp(40px, 4.8vw, 76px)/.86 var(--display); font-stretch: 125%;
  letter-spacing: -.035em; text-transform: uppercase;
}
.j-chap .lede { font-size: clamp(16px, 1.35vw, 19px); }

/* ---------- 02 cast ---------- */
.j-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(30px, 4vw, 56px); }
.j-card { margin: 0; display: grid; gap: 14px; align-content: start; }
.j-card img { width: 100%; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transition: transform .5s var(--ease); }
.j-card:hover img { transform: translateY(-8px) rotate(-1.5deg); }
.j-card figcaption { display: grid; gap: 6px; }
.j-card figcaption b { font: 900 18px/1 var(--display); font-stretch: 125%; letter-spacing: -.01em; }
.j-card-you {
  aspect-ratio: 688 / 1000; border-radius: 14px; border: 1px dashed rgba(239, 233, 220, .3);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px;
  background: radial-gradient(70% 60% at 50% 40%, rgba(255, 91, 31, .18), transparent 70%);
}
.j-you-big { margin: 0; font: 900 clamp(38px, 4.2vw, 68px)/.86 var(--display); font-stretch: 125%; letter-spacing: -.035em; text-transform: uppercase; }

/* ---------- 03 rollout ---------- */
.j-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.j-kit { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.j-kit li { display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.j-kit b { font: 700 18px/1.2 var(--text); text-transform: uppercase; letter-spacing: .01em; }
.j-kit .dim { grid-column: 2; font-size: 14px; }
.j-n { grid-row: span 2; font: 900 22px/1 var(--display); font-stretch: 125%; color: var(--accent); }

/* ---------- 04 real life ---------- */
.j-real-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(30px, 4vw, 56px); background: var(--line); border: 1px solid var(--line); }
.j-real-item { background: var(--bg); padding: clamp(22px, 2.6vw, 38px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: background .5s var(--ease); }
.j-real-item:hover { background: #160904; }
.j-big { margin: 0; font: 900 clamp(64px, 7vw, 120px)/.8 var(--display); font-stretch: 125%; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.j-h4 { margin: 0; font: 800 clamp(18px, 1.6vw, 24px)/1.05 var(--display); font-stretch: 112%; letter-spacing: -.01em; text-transform: uppercase; }
.j-real-item p.dim, .j-prod p.dim, .j-dayc p.dim { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; }

/* ---------- 05 VRL products ---------- */
.j-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); margin-top: clamp(34px, 4.5vw, 64px); }
.j-prod { display: grid; align-content: start; gap: 10px; }
.j-prod figure { margin: 0 0 8px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #121212; }
.j-prod img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); filter: saturate(.9); }
.j-prod:hover img { transform: scale(1.06); filter: saturate(1.1); }
.chip {
  justify-self: start; margin: 0; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 10px/1 var(--text); letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.chip-on { background: var(--accent); color: #0a0a0a; border-color: transparent; }
.chip-ev { border-color: rgba(255, 91, 31, .6); color: var(--accent); }
.chip-vrl { border-color: rgba(120, 205, 205, .55); color: #8fd6d6; }

/* ---------- 06 calendar ---------- */
.j-cal-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.j-cal-meter { display: grid; gap: 10px; justify-items: end; }
.j-bar { position: relative; display: block; width: min(260px, 40vw); height: 2px; background: var(--line); overflow: hidden; }
.j-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.03); }
.j-cal-viewport { margin-top: clamp(30px, 4vw, 56px); }
.j-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.j-dayc {
  position: relative; display: grid; align-content: start; gap: 8px; padding: 22px 22px 26px; min-height: 290px;
  border: 1px solid var(--line); border-radius: 22px; background: rgba(239, 233, 220, .025);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.j-dayc:hover { border-color: rgba(255, 91, 31, .5); transform: translateY(-4px); }
.j-dd { margin: 0; font: 900 clamp(64px, 6vw, 96px)/.82 var(--display); font-stretch: 125%; letter-spacing: -.05em; }
.j-dayc .chip { margin-top: 10px; }
.j-dayc .j-h4 { margin-top: 6px; }
.j-key { background: linear-gradient(160deg, rgba(255, 91, 31, .2), rgba(255, 91, 31, .04) 60%); border-color: rgba(255, 91, 31, .4); }
.j-dayc.is-today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.j-dayc.is-today::before {
  content: "Today"; position: absolute; right: 18px; top: 18px; padding: 6px 10px; border-radius: 999px;
  background: var(--accent); color: #0a0a0a; font: 600 10px/1 var(--text); letter-spacing: .06em; text-transform: uppercase;
}
.j-dayc.is-past { opacity: .5; }
.j-dayc.is-past::after { content: "Done"; position: absolute; right: 18px; top: 18px; font: 500 10px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.j-end { display: none; }
.j-cal-note { margin-top: 18px; }

/* pinned calendar (desktop, set by journey.js) */
.cal-pin .j-cal-viewport {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  padding: 0 max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad)));
}
.cal-pin .j-days { display: flex; width: max-content; gap: 16px; }
.cal-pin .j-dayc { flex: 0 0 auto; width: min(22vw, 300px); min-height: min(52vh, 420px); }
.cal-pin .j-end { display: flex; flex-direction: column; justify-content: center; gap: 28px; flex: 0 0 min(28vw, 380px); padding: 0 4vw; border: 0; background: none; }
.cal-pin .j-end:hover { transform: none; }

/* ---------- motion gating (only while JS is about to animate) ---------- */
.j-pending .j-title, .j-pending .j-cover, .j-pending .j-top, .j-pending .j-claim, .j-pending .j-cta, .j-pending .j-day { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .j-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .j-real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .j-top { grid-template-columns: 1fr auto; row-gap: 16px; }
  .j-top .hero-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; display: grid; grid-template-columns: repeat(4, auto); gap: 12px; }
  .j-hero { min-height: auto; padding-bottom: 36px; }
  .j-hero-grid { grid-template-columns: 1fr; }
  .j-claim, .j-cta { grid-column: 1; }
  .j-claim { grid-row: 3; } .j-cta { grid-row: 4; }
  .j-cover { grid-column: 1; grid-row: 5; justify-self: center; width: min(78%, 340px); margin-top: 34px; }
  .j-word { font-size: 13.8vw; }
  .j-scrolly { grid-template-columns: 1fr; }
  .j-stage { display: none; }
  .j-chap { min-height: 0; padding: 34px 0; }
  .j-chap-img { display: block; width: 100%; border-radius: 18px; margin-bottom: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
  .j-split { grid-template-columns: 1fr; }
  .j-real-grid { grid-template-columns: 1fr; }
  .j-real-item { min-height: 0; }
  .j-products { grid-template-columns: 1fr; }
  .j-cal-head { grid-template-columns: 1fr; }
  .j-cal-meter { justify-items: start; }
  .j-days { grid-template-columns: 1fr 1fr; gap: 10px; }
  .j-dayc { min-height: 0; padding: 16px 16px 20px; border-radius: 16px; }
  .j-dd { font-size: 54px; }
  .j-dayc.is-today::before, .j-dayc.is-past::after { right: 12px; top: 12px; }
}

/* the rollout headline sits in a half-width column: size it to the column, not the page */
.j-rollout .h1 { font-size: clamp(44px, 6.2vw, 96px); }
