/* A bolder motion study, isolated to the landing page. */
.journey-section {
  min-height: auto;
  position: relative;
  background: #edf0e4;
  border-block: 1px solid #dce1cf;
}
.journey-sticky { position: relative; padding-block: 50px 32px; }
body.playground-ready:not(.motion-paused) .journey-section { min-height: 160vh; }
body.playground-ready:not(.motion-paused) .journey-sticky { position: sticky; top: 108px; }
.journey-heading { display: flex; justify-content: space-between; align-items: end; }
.journey-heading h2 { font-size: clamp(48px, 5.8vw, 76px); line-height: .98; }
.journey-heading h2 em { color: #bc400e; }
.journey-heading .eyebrow { margin-bottom: 18px; }
.journey-heading p { font-size: 13px; color: #636d56; margin-bottom: 5px; }
.journey-landscape { position: relative; margin-top: 26px; border-block: 1px solid #d5dcc7; }
.journey-map { display: block; width: 100%; height: 245px; }
.journey-example { position: absolute; top: 13px; left: 0; font: 8px var(--font); letter-spacing: 1.5px; color: #66705d; }
.journey-readout { position: absolute; top: 45px; right: 32px; display: flex; flex-direction: column; padding: 16px 22px; background: #f8f7f2ed; border: 1px solid #d8decc; border-radius: 12px; width: 260px; height: 130px; box-shadow: 0 8px 30px #404e1b08; }
.journey-readout-label { font-size: 8px; letter-spacing: 1.2px; color: #626d55; white-space: nowrap; }
.journey-readout strong { font-size: 46px; letter-spacing: -2px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.journey-readout small { font-size: 17px; font-weight: 400; letter-spacing: 0; }
.journey-detail { font-size: 10px; color: #69715f; line-height: 1.4; min-height: 28px; }
.journey-value { display: inline-block; }
.journey-checkpoints { display: grid; grid-template-columns: repeat(3, 1fr); }
.journey-checkpoints button { text-align: left; border: 0; border-bottom: 2px solid #d5dcc7; padding: 20px 16px 20px 0; color: #515c43; background: transparent; display: grid; grid-template-columns: 25px 1fr; gap: 4px 12px; transition: border-color .3s, color .3s, background .3s; }
.journey-checkpoints button > span { grid-row: span 2; font: 10px monospace; padding-top: 4px; }
.journey-checkpoints strong { font-size: 15px; }
.journey-checkpoints small { font-size: 11px; color: #68715e; }
.journey-checkpoints button[aria-pressed="true"] { color: #b03b0b; border-color: var(--orange); }
.journey-checkpoints button:hover { background: #ffffff40; }
.journey-hint { font-size: 10px; color: #69735e; text-align: center; margin-top: 18px; }
.journey-hint span { display: inline-block; font-size: 16px; color: #b03b0b; margin-left: 8px; }
.pointer-orbit { position: fixed; inset: 0 auto auto 0; width: 30px; height: 30px; border: 1px solid #fc4c0266; border-radius: 50%; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .2s, width .25s, height .25s, background .25s; }
.pointer-orbit.is-visible { opacity: 1; }
.pointer-orbit.is-interactive { width: 46px; height: 46px; background: #fc4c0209; border-color: #fc4c0299; }
.pointer-orbit.is-down { width: 22px; height: 22px; background: #fc4c0222; }
.playground-card { position: relative; isolation: isolate; }
.playground-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--light-x, 50%) var(--light-y, 50%), #fc4c0214, transparent 65%); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 3; }
.playground-card:hover::after { opacity: 1; }
.hero-title-line { display: inline-block; }
#hero-title em { display: inline-block; position: relative; }
#hero-title em::after { content: ""; position: absolute; bottom: -9px; left: 0; width: 100%; height: 9px; border-top: 2px solid #fc4c0266; border-radius: 50%; transform: scaleX(var(--word-line, 1)); transform-origin: left; }
.hero-art::before { content: ""; position: absolute; width: min(360px, 90%); aspect-ratio: 1; top: 30px; left: 15px; border-radius: 50%; background: radial-gradient(circle, #fc4c0214, transparent 70%); pointer-events: none; }
.hero-play-hint { position: absolute; bottom: -16px; left: 40px; color: #707563; font-size: 9px; letter-spacing: .1px; }
.chart-readout { position: absolute; top: 47px; left: 50%; padding: 6px 10px; color: #93400e; background: #fff7ed; border: 1px solid #efd9c9; border-radius: 6px; font-size: 10px; pointer-events: none; white-space: nowrap; z-index: 5; }
#product-preview .tp-bar-chart > button { display: flex; align-items: end; justify-content: center; position: relative; height: 100%; min-width: 0; flex: 1; border: 0; background: transparent; padding: 0; }
#product-preview .tp-bar-chart > button > i { width: 60%; height: var(--bar-height); background: #fa9867; border-radius: 3px 3px 0 0; transition: background .2s, width .2s; transform-origin: bottom; }
#product-preview .tp-bar-chart > button.tp-current-bar > i,
#product-preview .tp-bar-chart > button:hover > i,
#product-preview .tp-bar-chart > button:focus-visible > i { background: var(--orange); width: 80%; }
.weekly-readout { min-height: 18px; font-size: 10px; color: #9b430e; margin-top: 8px; text-align: right; }

@media (prefers-reduced-motion: no-preference) {
  body:not(.motion-paused) .motion-revealed { animation-duration: 780ms; }
  @keyframes section-arrive { from { opacity: 0; translate: 0 38px; scale: .98; filter: blur(3px); } to { opacity: 1; translate: 0 0; scale: 1; filter: none; } }
  body.hero-intro:not(.motion-paused) .hero-copy > * { animation: hero-arrive 850ms cubic-bezier(.16,1,.3,1) both; }
  body.hero-intro:not(.motion-paused) .hero-copy > :nth-child(2) { animation-delay: 90ms; }
  body.hero-intro:not(.motion-paused) .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  body.hero-intro:not(.motion-paused) .hero-copy > :nth-child(4) { animation-delay: 270ms; }
  body.hero-intro:not(.motion-paused) .hero-copy > :nth-child(5) { animation-delay: 340ms; }
  body.hero-intro:not(.motion-paused) .terrain-art { animation: terrain-arrive 1200ms cubic-bezier(.16,1,.3,1) both; }
  body:not(.motion-paused) .terrain-art { translate: var(--terrain-x, 0px) calc(var(--terrain-scroll-y, 0px) + var(--terrain-pointer-y, 0px)); rotate: var(--terrain-turn, 0deg); transform: perspective(1000px) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)); }
  body:not(.motion-paused) .route-stat { translate: var(--stat-x, 0px) calc(var(--stat-scroll-y, 0px) + var(--stat-pointer-y, 0px)); }
  body:not(.motion-paused) .hero-title-line { translate: 0 var(--title-drift, 0px); }
  body:not(.motion-paused) #hero-title em { translate: var(--word-drift, 0px) 0; }
  body:not(.motion-paused) .preview-shell { transform: perspective(1400px) rotateX(var(--preview-angle, 0deg)) scale(var(--preview-scale, 1)); transform-origin: center top; }
  body:not(.motion-paused) .magnetic { translate: var(--magnet-x, 0px) var(--magnet-y, 0px); transition: translate .4s cubic-bezier(.2,.8,.2,1), background .2s, transform .2s, box-shadow .2s; }
  body:not(.motion-paused) .magnetic .icon { rotate: var(--magnet-turn, 0deg); transition: rotate .3s; }
  body:not(.motion-paused) .journey-section.is-in-view .journey-hint span { animation: scroll-nudge 1.8s ease-in-out infinite; }
  body:not(.motion-paused) .privacy-art.is-in-view .file-chip { animation: file-float 4s ease-in-out infinite alternate; }
  body:not(.motion-paused) .privacy-art.is-in-view .chip-fit { animation-delay: -2s; }
  body:not(.motion-paused) .privacy-art.is-in-view .local-orbit { animation: orbit-breathe 5s ease-in-out infinite alternate; }
  body:not(.motion-paused) .privacy-art.is-in-view .orbit-two { animation-delay: -2.5s; }
  body:not(.motion-paused) .steps { background: linear-gradient(var(--orange), var(--orange)) 0 0 / var(--steps-progress, 0%) 2px no-repeat; }
  body:not(.motion-paused) .faq-list details[open] .faq-answer { animation: answer-arrive 350ms cubic-bezier(.2,.7,.2,1); }
  body:not(.motion-paused) #product-preview .tp-content { animation: view-arrive 420ms cubic-bezier(.2,.7,.2,1); }
  body:not(.motion-paused) #product-preview .tp-bar-chart > button > i { animation: bar-arrive 750ms cubic-bezier(.16,1,.3,1) backwards; animation-delay: var(--bar-delay, 0ms); }
  body:not(.motion-paused) .playground-card:hover { box-shadow: 0 18px 38px #43472a0d; }
  @keyframes hero-arrive { from { opacity: 0; transform: translateY(28px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes terrain-arrive { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
  @keyframes scroll-nudge { 50% { translate: 0 5px; } }
  @keyframes file-float { to { translate: 5px -12px; rotate: 5deg; } }
  @keyframes orbit-breathe { to { scale: 1.06; rotate: 8deg; opacity: .5; } }
  @keyframes answer-arrive { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes view-arrive { from { opacity: .5; translate: 0 9px; } to { opacity: 1; translate: 0 0; } }
  @keyframes bar-arrive { from { transform: scaleY(.1); } to { transform: scaleY(1); } }
}
body.motion-paused .motion-pending,
body.motion-paused .motion-revealed { opacity: 1; translate: none; animation: none; }
body.motion-paused .motion-tilt { transform: none; }
body.motion-paused .pointer-orbit { display: none; }
body.motion-paused .playground-card::after { display: none; }
body.motion-paused .journey-section { min-height: auto; }
body.motion-paused .journey-sticky { position: relative; top: auto; }
body.motion-background * { animation-play-state: paused !important; }
html.motion-paused { scroll-behavior: auto; }
@media (max-width: 760px), (max-height: 750px) {
  body.playground-ready:not(.motion-paused) .journey-section { min-height: auto; }
  body.playground-ready:not(.motion-paused) .journey-sticky { position: relative; top: auto; }
  .journey-sticky { padding-block: 48px 30px; }
  .journey-heading p { max-width: 160px; }
  .journey-readout { right: 0; top: 34px; width: 230px; height: 114px; padding: 12px 16px; }
  .journey-readout strong { font-size: 38px; }
  .journey-map { height: 220px; }
  .journey-checkpoints { gap: 14px; }
  .journey-checkpoints button { display: flex; flex-direction: column; padding-right: 0; }
  .journey-checkpoints strong { font-size: 12px; }
  .journey-checkpoints small { font-size: 9px; }
  .hero-play-hint { display: none; }
}
@media (max-width: 480px) {
  .journey-heading { display: block; }
  .journey-heading p { margin-top: 18px; max-width: none; }
  .journey-map { height: 145px; }
  .journey-readout { position: relative; top: auto; right: auto; margin: 0 0 18px; width: 100%; }
  .journey-example { font-size: 7px; letter-spacing: 1px; }
  .journey-checkpoints { gap: 8px; }
  .journey-hint { font-size: 9px; }
  #hero-title em::after { height: 6px; bottom: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  body.playground-ready:not(.motion-paused) .journey-section { min-height: auto; }
  body.playground-ready:not(.motion-paused) .journey-sticky { position: relative; top: auto; }
  .pointer-orbit { display: none; }
  .playground-card::after { display: none; }
}
