/* =========================================================
   Journey: one egg's day, from the nest to your door.
   Every moving part reads --k (0 → 1), set from scroll by journey.js.
   ========================================================= */
.journey { position: relative; background: var(--forest-3); color: var(--paper); }
.js .jr-track { height: calc(var(--jr-scenes, 9) * 100vh + 100vh); }
.jr-stage { position: relative; overflow: hidden; isolation: isolate; }
.js .jr-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }

/* ---------- backdrop photos ---------- */
.jr-bgs, .jr-shade { position: absolute; inset: 0; z-index: -1; }
.jr-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  visibility: hidden; transform: scale(calc(1.18 - var(--k, 0) * .12));
  filter: saturate(1.1);
  will-change: transform;
}
.jr-bg.vis { visibility: visible; }
.jr-bg.soft { filter: none; }
/* halftone dissolve: dots grow in a grid until the next photo is whole */
.jr-bg.mask {
  -webkit-mask: radial-gradient(circle, #000 calc(var(--m, 0) * 104% - 2%), transparent calc(var(--m, 0) * 104%)) 0 0 / 16px 16px;
          mask: radial-gradient(circle, #000 calc(var(--m, 0) * 104% - 2%), transparent calc(var(--m, 0) * 104%)) 0 0 / 16px 16px;
}
.jr-shade::after {
  content: ""; position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.jr-shade {
  background:
    linear-gradient(90deg, rgba(8,28,21,.82) 0%, rgba(8,28,21,.55) 30%, rgba(8,28,21,.08) 58%, transparent 100%),
    linear-gradient(0deg, rgba(8,28,21,.45), transparent 30%),
    linear-gradient(180deg, rgba(8,28,21,.5), transparent 24%);
}

/* ---------- layout ---------- */
.jr-inner {
  position: relative; height: 100%;
  width: min(1240px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr;
  gap: 0 48px; padding: 92px 0 36px;
}

.jr-bars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; margin-bottom: 22px; }
.jr-bars button { padding: 8px 0 0; text-align: left; color: rgba(251,248,241,.5); transition: color .3s; }
.jr-bars button span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.jr-bars button span::after { content: ""; display: block; height: 100%; background: var(--yolk); transform-origin: left; transform: scaleX(var(--f, 0)); }
.jr-bars em { display: block; margin-top: 8px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jr-bars button[aria-current="step"], .jr-bars button:hover { color: var(--paper); }

.jr-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.jr-head .eyebrow { margin-bottom: 10px; }
.jr-title { font-size: clamp(26px, 2.6vw, 36px); margin: 0; }
.jr-title em { color: var(--yolk-2); }
.jr-clock { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.jr-clock .ic { width: 26px; height: 26px; color: var(--yolk-2); }
.jr-clock span { display: grid; line-height: 1.15; white-space: nowrap; }
.jr-clock b { font-family: var(--f-display); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.jr-clock small { font-size: 12px; color: rgba(251,248,241,.65); font-weight: 600; }

/* ---------- captions ---------- */
.jr-caps { grid-column: 1; grid-row: 3; align-self: center; display: grid; list-style: none; margin: 0; padding: 0; }
.jr-cap { grid-area: 1 / 1; align-self: center; }
.js .jr-cap { opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.js .jr-cap.on { opacity: 1; pointer-events: auto; }
.jr-num { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; font-family: var(--f-display); font-weight: 300; font-size: 56px; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,200,87,.85); font-variant-numeric: tabular-nums; }
.jr-num i { font-family: var(--f-body); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: rgba(251,248,241,.45); -webkit-text-stroke: 0; }
.jr-cap h3 { font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 18px; overflow: hidden; padding-bottom: .06em; }
.jr-cap h3 .ln { display: block; }
.js .jr-cap h3 .ln { transform: translateY(105%); transition: transform .9s var(--ease); }
.js .jr-cap.on h3 .ln { transform: none; transition-delay: .1s; }
.js .jr-cap p, .js .jr-cap .jr-chips, .js .jr-cap .btn, .js .jr-cap .jr-social { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js .jr-cap.on p, .js .jr-cap.on .jr-chips, .js .jr-cap.on .btn, .js .jr-cap.on .jr-social { opacity: 1; transform: none; transition-delay: .28s; }
.js .jr-cap.on .jr-chips, .js .jr-cap.on .btn, .js .jr-cap.on .jr-social { transition-delay: .4s; }
.jr-cap h3 em { color: var(--yolk-2); }
.jr-cap p { color: rgba(251,248,241,.8); font-size: 17.5px; max-width: 440px; }
.jr-chips { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-light); max-width: 520px; }
.jr-chips li { font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(251,248,241,.72); }
.jr-chips li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px; border-radius: 50%; background: var(--yolk); vertical-align: middle; }
.jr-cap .btn { margin-top: 10px; }
.jr-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jr-social a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line-light); font-weight: 700; font-size: 14.5px; transition: background .25s, color .25s, transform .3s var(--ease); }
.jr-social a:hover { background: var(--yolk); color: var(--forest-3); transform: translateY(-2px); }
.jr-social .ic { width: 18px; height: 18px; }

/* ---------- the stage object ---------- */
.jr-object { grid-column: 2; grid-row: 3; align-self: center; justify-self: center; position: relative; width: min(100%, 600px, 74vh); aspect-ratio: 460 / 400; }
.fx { position: absolute; inset: 0; opacity: 0; transform: scale(.96); transition: opacity .55s var(--ease), transform .8s var(--ease); }
.fx.on { opacity: 1; transform: none; }
.fx svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* 00 opening: the egg cracks */
.jr-intro { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; pointer-events: none; }
.jr-intro:not(.on) { visibility: hidden; }
.ji-bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, var(--forest-2), var(--forest-3) 70%); opacity: calc(1 - var(--k, 0) * 1.5); }
.ji-egg { position: relative; height: min(76vh, 640px); height: min(76svh, 640px); overflow: visible; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); }
.ji-wobble { transform-origin: 200px 480px; transform: rotate(calc(sin(var(--k, 0) * 1080deg) * (1 - var(--k, 0)) * 4deg)); }
.ji-top { transform-origin: 200px 260px; transform: translate(calc(var(--k, 0) * -40px), calc(var(--k, 0) * -560px)) rotate(calc(var(--k, 0) * -24deg)); }
.ji-bot { transform-origin: 200px 300px; transform: translate(calc(var(--k, 0) * 30px), calc(var(--k, 0) * 600px)) rotate(calc(var(--k, 0) * 14deg)); }
.ji-crack { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--k, 0)); }
.ji-st1 { font: 600 30px var(--f-display); letter-spacing: .18em; fill: #C8371F; }
.ji-st2 { font: 800 9.5px var(--f-body); letter-spacing: .24em; fill: #C8371F; }
.ji-kicker, .ji-cue { position: absolute; left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(251,248,241,.7); opacity: calc(1 - var(--k, 0) * 3); }
.ji-kicker { top: 12vh; }
.ji-cue { bottom: 6vh; display: grid; justify-items: center; gap: 12px; }
.ji-cue span { width: 1.5px; height: 40px; background: linear-gradient(var(--yolk), transparent); animation: jiCue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes jiCue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 01 proof polaroids */
.pol {
  position: absolute; left: 50%; top: 46%; width: 42%; margin: 0;
  background: #fff; padding: 8px 8px 34px; border-radius: 4px;
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.7);
  transform: translate(-50%, -50%) translate(calc(var(--k, 0) * var(--x, 0%)), calc(var(--k, 0) * var(--y, 0%))) rotate(calc(var(--k, 0) * var(--r, 0deg)));
}
.pol img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.pol figcaption { position: absolute; left: 11px; right: 11px; bottom: 11px; display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.pol figcaption span { color: var(--ink-soft); font-weight: 600; }
.jr-stat { position: absolute; right: 0; bottom: 0; margin: 0; display: flex; align-items: baseline; gap: 6px; padding: 14px 20px; border-radius: 18px; background: var(--yolk); color: var(--forest-3); box-shadow: 0 20px 40px -18px rgba(221,122,0,.8); opacity: var(--k, 0); transform: translateY(calc((1 - var(--k, 0)) * 30px)); }
.jr-stat b { font-family: var(--f-display); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.jr-stat span { font-weight: 800; font-size: 14px; }

/* 02 eggs drop into the basket */
.drop { transform-box: fill-box; transform-origin: center; transform: translateY(calc((1 - var(--k, 0)) * -380px)) rotate(calc((1 - var(--k, 0)) * -50deg)); opacity: calc(var(--k, 0) * 6); }

/* 03 tray fills, 04 label + stamp, 05 shrink into box */
.pk-in { transform: translateY(calc((1 - var(--k, 0)) * 90px)); }
.pk-shrink { transform-origin: 230px 140px; transform: translateY(calc(var(--k, 0) * 150px)) scale(calc(1 - var(--k, 0) * .38)); }
.te { transform-box: fill-box; transform-origin: center; transform: translateY(calc((1 - var(--k, 0)) * -260px)) scale(calc(1 + (1 - var(--k, 0)) * .6)); opacity: calc(var(--k, 0) * 5); }
.pk-label { transform: translateX(calc((1 - var(--k, 0)) * 540px)); opacity: calc(var(--k, 0) * 3); }
.pk-t1 { font: 800 13px var(--f-body); letter-spacing: .16em; fill: var(--forest); }
.pk-t2 { font: italic 500 17px var(--f-display); fill: var(--leaf-deep); }
.pk-t3 { font: 600 10.5px var(--f-body); fill: var(--ink-soft); }
.pk-stamp { transform: rotate(-14deg) scale(calc(2.6 - var(--k, 0) * 1.6)); opacity: calc(var(--k, 0) * 1.4); }
.pk-stamp text { text-anchor: middle; fill: var(--comb); }
.st-1 { font: 800 8.5px var(--f-body); letter-spacing: .18em; }
.st-2 { font: 800 15px var(--f-body); letter-spacing: .04em; }
.pk-check { transform-origin: 108px 285px; transform: scale(var(--k, 0)); opacity: var(--k, 0); }
.pk-ok { font: 800 13px var(--f-body); fill: var(--forest-3); }

.bx-in { transform: translateY(calc((1 - var(--k, 0)) * 220px)); opacity: calc(var(--k, 0) * 3); }
.bx-out { transform: translateX(calc(var(--k, 0) * 480px)) rotate(calc(var(--k, 0) * 6deg)); opacity: calc(1 - var(--k, 0)); transform-origin: 230px 320px; }
.bx-flap { transform: scaleX(calc(-1 + var(--k, 0) * 2)); }
.bx-tape { transform-origin: 230px 212px; transform: scaleY(var(--k, 0)); }
.bx-label { transform: scale(var(--k, 0)) rotate(calc((1 - var(--k, 0)) * 20deg)); }
.bx-brand { font: italic 500 24px var(--f-display); fill: #3B2410; opacity: .85; }
.bx-fragile { font: 800 9.5px var(--f-body); letter-spacing: .14em; fill: #7A1F10; }
.lb-1 { font: 700 7px var(--f-body); letter-spacing: .14em; fill: var(--ink-soft); }
.lb-2 { font: 800 11.5px var(--f-body); fill: var(--ink); }

/* 06 route */
.route-live { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--k, 0)); filter: drop-shadow(0 0 6px rgba(242,165,22,.6)); }
.mp-water { font: italic 500 12px var(--f-display); fill: #4F9C8D; }
.pin circle { fill: rgba(255,255,255,.35); transition: fill .3s; }
.pin text { font: 700 12.5px var(--f-body); fill: rgba(251,248,241,.55); transition: fill .3s; }
.pin.hit circle:first-child { fill: var(--paper); }
.pin.hit text { fill: var(--paper); }
.pin-farm circle:first-child, .pin-farm.hit circle:first-child { fill: var(--leaf); }
.pin-home circle:first-child, .pin-home.hit circle:first-child { fill: var(--yolk); }
.pin-home text, .pin-farm text { font-size: 14px; fill: var(--paper); }
.rider { filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.rider-ping { transform-box: fill-box; transform-origin: center; animation: jrPing 1.6s infinite; }
@keyframes jrPing { from { transform: scale(1); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
.jr-eta { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(8,28,21,.85); border: 1px solid var(--line-light); font-size: 13.5px; white-space: nowrap; }
.jr-eta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(163,189,48,.7); animation: pulse 2.2s infinite; }

/* 07 order tracker on a phone */
.fx-track { container-type: size; }
.phone {
  position: absolute; left: 50%; top: 50%; height: 104cqh; width: calc(104cqh * 9 / 18.6); container-type: inline-size;
  padding: 1.6%; border-radius: 13% / 6.4%; background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #2a2a2c, 0 50px 90px -30px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translate(-50%, calc(-50% + (1 - var(--k, 0)) * 18%)) rotate(calc((1 - var(--k, 0)) * 4deg)); opacity: calc(var(--k, 0) * 2);
}
.ph-screen { position: relative; height: 100%; overflow: hidden; border-radius: 11% / 5.4%; background: var(--paper); color: var(--ink); padding: 0 7cqw; font-size: 4.2cqw; }
.ph-bar { display: flex; justify-content: space-between; align-items: center; height: 10cqh; font-size: 3.6cqw; }
.ph-island { width: 30cqw; height: 8.5cqw; border-radius: 99px; background: #0b0b0c; }
.ph-bar i { width: 6cqw; height: 3cqw; border-radius: 1cqw; border: 1.5px solid var(--ink); }
.jr-notif {
  position: absolute; left: 3.5cqw; right: 3.5cqw; top: 2.2cqh; z-index: 2;
  display: flex; gap: 3cqw; align-items: center; padding: 3cqw 3.4cqw; border-radius: 5cqw;
  background: rgba(30,30,32,.86); color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(calc((1 - var(--k, 0)) * -150%)) scale(calc(.9 + var(--k, 0) * .1)); opacity: var(--k, 0);
}
.jr-notif img { width: 10cqw; height: 10cqw; border-radius: 2.4cqw; object-fit: contain; background: #fff; flex: none; }
.jr-notif b { display: flex; justify-content: space-between; font-size: 3.4cqw; }
.jr-notif small { font-weight: 500; opacity: .6; }
.jr-notif span { display: block; font-size: 3.2cqw; line-height: 1.35; opacity: .85; }
.ph-eyebrow { margin: 2cqh 0 0; font-size: 2.9cqw; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf-deep); }
.ph-status { display: flex; align-items: center; gap: 2.6cqw; margin: 1cqh 0 0; font-family: var(--f-display); font-size: 9cqw; line-height: 1.1; letter-spacing: -.02em; }
.ph-ok { width: 8cqw; height: 8cqw; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); transform: scale(var(--k, 0)); }
.ph-ok .ic { width: 5cqw; height: 5cqw; stroke-width: 3; color: var(--forest-3); }
.ph-sub { margin: .6cqh 0 0; font-size: 3.4cqw; color: var(--ink-soft); }
.ph-steps { list-style: none; margin: 3.4cqh 0 0; padding: 0; }
.ph-steps li { position: relative; display: grid; grid-template-columns: 6cqw 1fr auto; align-items: center; gap: 3cqw; height: 7.4cqh; font-size: 3.7cqw; font-weight: 600; }
.ph-steps li::before { content: ""; position: absolute; left: 2.6cqw; top: 50%; height: 100%; width: 1.5px; background: var(--line); }
.ph-steps li:last-child::before { display: none; }
.ph-steps li::after { content: ""; position: absolute; left: 2.6cqw; top: 50%; height: calc(var(--k, 0) * 100%); width: 1.5px; background: var(--leaf-deep); }
.ph-steps li:last-child::after { display: none; }
.ph-steps i { position: relative; z-index: 1; width: 6cqw; height: 6cqw; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); transition: background .3s, border-color .3s; }
.ph-steps i::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--leaf-deep); transform: scale(var(--k, 0)); }
.ph-steps span { opacity: calc(.4 + var(--k, 0) * .6); }
.ph-steps time { font-size: 3.2cqw; color: var(--ink-soft); font-variant-numeric: tabular-nums; opacity: calc(.4 + var(--k, 0) * .6); }
.ph-card { position: absolute; left: 5cqw; right: 5cqw; bottom: 4cqh; display: flex; align-items: center; gap: 3.4cqw; padding: 2.6cqw; border-radius: 5cqw; background: var(--forest); color: var(--paper); transform: translateY(calc((1 - var(--k, 0)) * 120%)); opacity: var(--k, 0); }
.ph-card img { width: 15cqw; height: 15cqw; border-radius: 3cqw; object-fit: cover; }
.ph-card b { display: block; font-size: 3.7cqw; }
.ph-stars { font-size: 4.6cqw; letter-spacing: .6cqw; color: var(--yolk); }

/* 08 reviews */
.rv {
  position: absolute; width: 74%; margin: 0; padding: 20px 22px 18px; border-radius: 20px;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -26px rgba(0,0,0,.75);
  transform: translateY(calc((1 - var(--k, 0)) * 70px)) rotate(var(--r)) scale(calc(.94 + var(--k, 0) * .06)); opacity: calc(var(--k, 0) * 2);
}
.rv-stars { position: relative; display: inline-block; font-size: 17px; letter-spacing: 3px; color: rgba(29,26,20,.14); }
.rv-stars::after { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--k, 0) * 100%); overflow: hidden; white-space: nowrap; color: var(--yolk); }
.rv p { margin: 8px 0 12px; font-family: var(--f-display); font-size: 16.5px; line-height: 1.4; }
.rv footer { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.rv footer small { color: var(--leaf-deep); font-weight: 700; }
.rv .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--yolk-2); font-weight: 800; font-size: 13px; }

/* 09 social */
.fx-social { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.sg-tag { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(34px, 5vw, 62px); line-height: 1; color: var(--yolk-2); clip-path: inset(-10% calc((1 - var(--k, 0)) * 100%) -10% 0); }
.sg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 0; }
.sg { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--forest-2); transform: translateY(calc((1 - var(--k, 0)) * 50px)) scale(calc(.88 + var(--k, 0) * .12)); opacity: calc(var(--k, 0) * 2); }
.sg img { width: 100%; height: 100%; object-fit: cover; }
.sg .ic { position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.sg .play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(0,0,0,.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sg .play::after { content: ""; position: absolute; left: 16px; top: 12px; border: 8px solid transparent; border-left: 12px solid #fff; border-right: 0; }

.jr-skip { position: absolute; right: 0; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(251,248,241,.6); }
.jr-skip .ic { width: 15px; height: 15px; transform: rotate(90deg); }
.jr-skip:hover { color: var(--paper); }

/* ---------- without JS: a plain stacked story ---------- */
html:not(.js) .jr-object, html:not(.js) .jr-bars, html:not(.js) .jr-clock, html:not(.js) .jr-skip, html:not(.js) .jr-bg:not(:first-child) { display: none; }
html:not(.js) .jr-bg { visibility: visible; opacity: .35; }
html:not(.js) .jr-intro { display: none; }
html:not(.js) .jr-inner { display: block; padding: 120px 0; }
html:not(.js) .jr-caps { gap: 56px; margin-top: 48px; }
html:not(.js) .jr-cap { grid-area: auto; }

/* ---------- tablet & phone ---------- */
@media (max-width: 900px) {
  .jr-shade { background: linear-gradient(180deg, rgba(8,28,21,.7) 0%, rgba(8,28,21,.12) 26%, rgba(8,28,21,.1) 52%, rgba(8,28,21,.88) 76%, rgba(8,28,21,.96) 100%); }
  .jr-inner { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; padding: 76px 0 18px; }
  .jr-bars { gap: 4px; margin-bottom: 14px; }
  .jr-bars em { display: none; }
  .jr-head { align-items: center; }
  .jr-head .eyebrow { margin: 0; font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
  .jr-head .eyebrow::before { width: 16px; }
  .jr-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .jr-clock { padding: 6px 12px 6px 10px; gap: 8px; }
  .jr-clock .ic { width: 18px; height: 18px; }
  .jr-clock b { font-size: 16px; }
  .jr-clock small { display: none; }
  .jr-object { grid-column: 1; grid-row: 3; width: min(100%, 52svh * 1.15); }
  .jr-caps { grid-column: 1; grid-row: 4; align-self: end; min-height: 200px; }
  .jr-cap { align-self: end; }
  .jr-num { margin-bottom: 8px; font-size: 34px; }
  .jr-cap h3 { font-size: clamp(28px, 7.4vw, 40px); margin-bottom: 8px; }
  .jr-cap p { font-size: 14.5px; line-height: 1.5; margin-bottom: 0; max-width: calc(100% - 64px); }
  .jr-cap .jr-social { max-width: calc(100% - 64px); }
  .jr-chips { margin-top: 14px; padding-top: 12px; }
  .jr-chips li { font-size: 10px; letter-spacing: .14em; }
  .jr-chips li + li::before { margin: 0 9px 2px; }
  .jr-chips li:nth-child(n+3) { display: none; }
  .jr-cap .btn { margin-top: 14px; padding: 12px 20px; font-size: 14.5px; }
  .jr-social { gap: 8px; margin-top: 14px; }
  .jr-social a { padding: 9px 14px; font-size: 13px; }
  .jr-skip { display: none; }
  .pol figcaption { font-size: 8px; bottom: 8px; left: 7px; right: 7px; }
  .pol { padding: 5px 5px 24px; }
  .jr-stat { padding: 10px 14px; }
  .jr-stat b { font-size: 24px; }
  .jr-stat span { font-size: 12px; }
  .rv { width: 82%; padding: 12px 14px; border-radius: 14px; }
  .rv p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 8px; }
  .rv-stars { font-size: 13px; }
  .rv footer { font-size: 12px; }
  .rv .av { width: 24px; height: 24px; font-size: 11px; }
  .sg-grid { gap: 6px; }
}
@media (max-width: 900px) and (max-height: 640px) {
  .jr-cap p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .jr-chips { display: none; }
}

/* footer social row */
.foot-social { display: flex; gap: 10px; margin-top: 14px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); transition: background .25s, color .25s; }
.foot-social a:hover { background: var(--yolk); color: var(--forest-3); }
.foot-social .ic { width: 18px; height: 18px; }

/* inertial scroll (desktop) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* while the journey is on screen it owns the viewport: floating extras step aside */
.wa-float, .invite { transition: opacity .4s var(--ease), transform .5s var(--ease); }
body.in-journey .wa-float { opacity: 0; pointer-events: none; transform: scale(.8); }
body.in-journey .invite.show { opacity: 0; pointer-events: none; transform: translateY(30px); }

@media (max-width: 900px) {
  .ji-egg { height: min(58svh, 118vw); }
  .ji-kicker { top: 14svh; }
  .ji-cue { bottom: 8svh; }
  .jr-caps { min-height: 210px; }
  .jr-cap p, .jr-cap .jr-social { max-width: none; }
  .phone { height: 116cqh; width: calc(116cqh * 9 / 18.6); }
  .fx-reviews { inset: -4% 0; }

  /* membership invite: a slim card instead of a third of the screen */
  .invite { padding: 14px 16px; border-radius: 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; bottom: calc(16px + env(safe-area-inset-bottom)); right: 84px; }
  .invite-egg, .invite > p:not(.invite-kicker) { display: none; }
  .invite-kicker { grid-column: 1; font-size: 10px; margin: 0; }
  .invite h2 { grid-column: 1; font-size: 18px; margin: 0; }
  .invite #inviteGo { grid-column: 2; grid-row: 1 / 3; width: auto; padding: 10px 14px; font-size: 13px; }
  .invite-x { top: -10px; right: -10px; width: 26px; height: 26px; background: var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); font-size: 10px; }
}
