/* ==========================================================================
   MEGA: creative sections (Design B)
   Blueprint · Flavor finder · Versus · Walkthrough · Values · FAQ search ·
   404 · Footer wordmark · Hero parallax
   ========================================================================== */

/* ---------- Blueprint (home "Inside every MEGA") ---------- */
.anat { --bp: 111 192 255; position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(60% 70% at 70% 50%, #0c1a2c 0%, #060608 72%); }
.anat__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(var(--bp) / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--bp) / .07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(70% 75% at 68% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(70% 75% at 68% 50%, #000 30%, transparent 85%); }
.anat__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .anat__inner { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.anat__switch { display: inline-flex; gap: 4px; padding: 4px; margin: 6px 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .03); }
.anat__switch button { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s; }
.anat__switch button.is-active { background: var(--mc); color: #050505; }
.anat__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.anat__list[hidden] { display: none; }
.anat__item { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: var(--text-2); text-align: left; transition: background .3s, border-color .3s; }
.anat__item:hover { background: rgb(255 255 255 / .03); }
.anat__n { font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--muted); transition: color .3s; }
.anat__item b { display: block; color: var(--text); font-size: 16px; }
.anat__item em { display: block; font-style: normal; font-size: 14px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.anat__item.is-active { border-color: rgb(var(--bp) / .25); background: rgb(var(--bp) / .06); }
.anat__item.is-active .anat__n { color: rgb(var(--bp)); }
.anat__item.is-active em { max-height: 90px; opacity: 1; margin-top: 4px; }
.anat__stage { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1.05; margin-inline: auto; }
.anat__rings span { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgb(var(--bp) / .28); transform: translate(-50%, -50%); animation: spin 60s linear infinite; }
.anat__rings span:nth-child(1) { width: 62%; aspect-ratio: 1; }
.anat__rings span:nth-child(2) { width: 88%; aspect-ratio: 1; border-style: solid; border-color: rgb(var(--bp) / .1); animation-direction: reverse; }
.anat__ruler { position: absolute; display: flex; justify-content: space-between; }
.anat__ruler--v { left: 0; top: 6%; bottom: 8%; width: 12px; flex-direction: column; border-right: 1px solid rgb(var(--bp) / .3); }
.anat__ruler--v i { display: block; width: 8px; height: 1px; margin-left: auto; background: rgb(var(--bp) / .5); }
.anat__ruler--h { left: 6%; right: 6%; bottom: 0; height: 12px; border-top: 1px solid rgb(var(--bp) / .3); }
.anat__ruler--h i { display: block; width: 1px; height: 8px; background: rgb(var(--bp) / .5); }
.anat__model { position: absolute; inset: 0; animation: anatIn .7s var(--ease); }
.anat__model[hidden] { display: none; }
@keyframes anatIn { from { opacity: 0; transform: scale(.94); } }
.anat__glow { position: absolute; left: 50%; top: 50%; width: 55%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--mc); filter: blur(90px); opacity: .35; }
.anat__dev { position: absolute; left: 50%; top: 50%; width: 50%; transform: translate(-50%, -50%); }
.anat__dev.dimg--4k { width: 38%; }
.anat__dev img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgb(0 0 0 / .55)); }
.anat__dot { --lw: clamp(46px, 8vw, 110px); position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; padding: 0; border: 0; background: none; z-index: 3; }
.anat__pin { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #050505; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 4px rgb(255 255 255 / .18), 0 0 24px var(--mc); cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.anat__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #fff; animation: pulseRing 2.2s ease-out infinite; }
.anat__line { position: absolute; top: 0; width: var(--lw); height: 1px; opacity: .45; transition: transform .45s var(--ease), opacity .3s; }
.anat__tag { position: absolute; top: -15px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgb(10 12 18 / .8); border: 1px solid rgb(255 255 255 / .15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .55; transition: opacity .3s, background .3s, color .3s; cursor: pointer; }
.anat__dot--r .anat__line { left: 14px; background: linear-gradient(90deg, #fff, rgb(255 255 255 / .25)); transform-origin: left; transform: scaleX(.4); }
.anat__dot--r .anat__tag { left: calc(var(--lw) + 20px); }
.anat__dot--l .anat__line { right: 14px; background: linear-gradient(270deg, #fff, rgb(255 255 255 / .25)); transform-origin: right; transform: scaleX(.4); }
.anat__dot--l .anat__tag { right: calc(var(--lw) + 20px); }
.anat__dot.is-active .anat__pin { transform: scale(1.2); background: var(--mc); }
.anat__dot.is-active .anat__line { transform: none; opacity: 1; }
.anat__dot.is-active .anat__tag { opacity: 1; background: var(--mc); color: #050505; border-color: transparent; }
.anat__spec { position: absolute; right: 0; bottom: 20px; margin: 0; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .2em; color: rgb(var(--bp) / .6); }
@media (max-width: 699px) { .anat__line, .anat__tag { display: none; } .anat__spec { display: none; } }

/* ---------- Flavor finder ---------- */
.finder__inner { display: grid; gap: 36px; }
@media (min-width: 960px) { .finder__inner { grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; } }
.finder__progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 26px 0 0; }
.finder__progress li { width: 44px; height: 4px; border-radius: 4px; background: rgb(var(--ink-rgb) / .12); transition: background .4s; }
.finder__progress li.is-on { background: var(--fg); }
.finder__panel { position: relative; min-height: 380px; }
.finder__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder__step[hidden], .finder__result[hidden], .finder__back[hidden] { display: none; }
.finder__step.is-active, .finder__result:not([hidden]) { animation: finderIn .5s var(--ease); }
@keyframes finderIn { from { opacity: 0; transform: translateX(30px); } }
.finder__step legend { padding: 0; margin-bottom: 20px; font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.finder__step legend span { margin-right: 10px; font-size: .55em; color: var(--muted); vertical-align: middle; }
.finder__opts { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .finder__opts--3 { grid-template-columns: repeat(3, 1fr); } .finder__opts--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .finder__opts--5 { grid-template-columns: repeat(5, 1fr); } }
.finder__opts button { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 180px; padding: 20px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); text-align: left; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.finder__opts button::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--oc); filter: blur(40px); opacity: .22; transition: opacity .3s; }
.finder__opts button:hover { transform: translateY(-4px); border-color: var(--oc); box-shadow: 0 24px 40px -26px var(--oc); }
.finder__opts button:hover::before, .finder__opts button.is-picked::before { opacity: .5; }
.finder__opts button.is-picked { border-color: var(--oc); box-shadow: inset 0 0 0 2px var(--oc); }
.finder__opts b { margin-top: auto; font-size: 18px; }
.finder__opts em { font-style: normal; font-size: 13px; color: var(--text-2); }
.finder__ico, .finder__swatch { flex: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 12px 22px -10px var(--oc); }
.finder__ico--ice { background: radial-gradient(circle at 30% 30%, #fff, #bfe3ff 40%, #5aa2ff); }
.finder__ico--warm { background: radial-gradient(circle at 30% 30%, #fff3, transparent 50%), linear-gradient(135deg, #ffd166, #ff6b6b); }
.finder__ico--any { background: conic-gradient(#ff6b9a, #ffb020, #4fcf9c, #3d7dff, #c58cff, #ff6b9a); }
.finder__swatch { background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / .55), transparent 50%), var(--oc); }
.finder__dev { flex: none; height: 84px; width: auto; filter: drop-shadow(0 12px 14px rgb(0 0 0 / .25)); }
.finder__kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.finder__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; margin-bottom: 22px; }
.finder__picks { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.finder__pick { --c: #888; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 12px 20px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; animation: pickIn .6s var(--ease) backwards; animation-delay: calc(var(--i) * 120ms); transition: transform .35s var(--ease), box-shadow .3s; }
.finder__pick::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 38%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--c); filter: blur(36px); opacity: .35; }
.finder__pick:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px var(--c); }
.finder__pick img { height: clamp(110px, 12vw, 160px); width: auto; margin-bottom: 14px; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .22)); }
.finder__pick b { font-size: 15px; line-height: 1.25; }
.finder__pick span { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.finder__pick em { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--fg); color: var(--on-fg); }
@keyframes pickIn { from { opacity: 0; transform: translateY(30px) scale(.94); } }
.finder__back { margin-top: 18px; padding: 8px 0; border: 0; background: none; color: var(--text-2); font-weight: 600; }
.finder__back:hover { color: var(--text); }
@media (max-width: 599px) { .finder__opts button { min-height: 150px; padding: 16px; } .finder__picks { gap: 8px; } .finder__pick { padding: 18px 8px 14px; } .finder__pick b { font-size: 13px; } }

/* ---------- Versus (compare page) ---------- */
.vs { position: relative; overflow: hidden; background: #060608; padding-top: clamp(70px, 9vw, 120px); }
.vs__head { text-align: center; margin-bottom: 28px; }
.vs__head .eyebrow { justify-content: center; }
.vs__head h2 span { padding: 0 .15em; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.vs__head .lead { margin: 0; }
.vs__stage { --x: 50%; position: relative; height: clamp(540px, 74vh, 740px); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.vs__side { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.vs__side--l { z-index: 2; clip-path: inset(0 calc(100% - var(--x)) 0 0); background: radial-gradient(70% 90% at 30% 60%, color-mix(in srgb, var(--sc) 55%, #000), #05070d 75%); }
.vs__side--r { z-index: 1; background: radial-gradient(70% 90% at 70% 60%, color-mix(in srgb, var(--sc) 50%, #000), #050b08 75%); }
.vs__word { position: absolute; z-index: -1; bottom: -10%; font-family: var(--display); font-size: clamp(220px, 34vw, 540px); line-height: .8; color: rgb(255 255 255 / .06); pointer-events: none; }
.vs__side--l .vs__word { left: 2%; }
.vs__side--r .vs__word { right: 2%; }
.vs__dev { position: absolute; top: 52%; width: clamp(150px, 16vw, 240px); }
.vs__dev.dimg--4k { width: clamp(118px, 12.5vw, 190px); }
.vs__dev img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgb(0 0 0 / .6)); animation: float 7s ease-in-out infinite; }
.vs__side--l .vs__dev { left: 37%; transform: translate(-50%, -50%) rotate(-10deg); }
.vs__side--r .vs__dev { left: 63%; transform: translate(-50%, -50%) rotate(10deg); }
.vs__copy { position: absolute; top: 50%; width: min(300px, 25%); transform: translateY(-50%); color: #fff; }
.vs__side--l .vs__copy { left: var(--gutter); }
.vs__side--r .vs__copy { right: var(--gutter); text-align: right; }
.vs__tag { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgb(255 255 255 / .65); }
.vs__copy h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 4vw, 60px); line-height: .95; margin-bottom: 18px; }
.vs__copy ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.vs__copy li b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; }
.vs__copy li span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.vs__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 24px rgb(255 255 255 / .5); pointer-events: none; }
.vs__handle span { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: #fff; color: #050505; box-shadow: 0 12px 30px rgb(0 0 0 / .5); transition: transform .25s var(--ease); }
.vs__stage.is-drag .vs__handle span { transform: translate(-50%, -50%) scale(1.12); }
.vs__stage:has(.vs__range:focus-visible) .vs__handle span { outline: 3px solid #6fc0ff; outline-offset: 3px; }
.vs__range { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; opacity: 0; overflow: hidden; }
@media (max-width: 799px) {
  .vs__copy { top: 22px; transform: none; width: 46%; }
  .vs__side--l .vs__copy { left: 16px; }
  .vs__side--r .vs__copy { right: 16px; }
  .vs__copy h3 { font-size: 34px; margin-bottom: 12px; }
  .vs__copy ul { gap: 8px; margin-bottom: 14px; }
  .vs__copy li b { font-size: 20px; }
  .vs__copy li span { font-size: 9px; letter-spacing: .08em; }
  .vs__copy .btn { min-height: 36px; padding: 0 12px; font-size: 10px; }
  .vs__dev { top: 74%; width: 30vw; }
  .vs__dev.dimg--4k { width: 23vw; }
  .vs__side--l .vs__dev { left: 26%; }
  .vs__side--r .vs__dev { left: 74%; }
  .vs__handle span { width: 46px; height: 46px; }
}

/* ---------- How-to walkthrough ---------- */
.walk { padding: clamp(80px, 10vw, 140px) 0; }
.walk__inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .walk__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.walk__stage { --wc: #2b9bff; position: sticky; z-index: 2; top: calc(var(--nav-h) + 16px); height: min(68vh, 560px); overflow: hidden; isolation: isolate; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 45%, #fff, #ecece8 75%); }
.walk__stage[data-s="draw"] { --wc: #6fc0ff; }
.walk__stage[data-s="rest"] { --wc: #c58cff; }
.walk__stage[data-s="charge"] { --wc: #3cc98a; }
.walk__stage[data-s="recycle"] { --wc: #ffb020; }
.walk__glow { position: absolute; left: 50%; top: 48%; width: 55%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--wc); filter: blur(70px); opacity: .35; transition: background-color .6s; }
.walk__dev { position: absolute; left: 50%; top: 50%; z-index: 1; width: 30%; transform: translate(-50%, -50%); transition: transform .9s var(--ease), opacity .6s; }
.walk__dev img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgb(0 0 0 / .22)); }
.walk__dev--4k { width: 22%; opacity: 0; transform: translate(-50%, -40%) scale(.85); }
.walk__stage[data-s="unbox"] .walk__dev--v2 { transform: translate(-50%, -62%) rotate(-4deg); }
.walk__stage[data-s="draw"] .walk__dev--v2 { transform: translate(-50%, -42%) rotate(-10deg); }
.walk__stage[data-s="rest"] .walk__dev--v2 { transform: translate(-50%, -50%); }
.walk__stage[data-s="charge"] .walk__dev--v2 { opacity: 0; transform: translate(-50%, -60%) scale(.8); }
.walk__stage[data-s="charge"] .walk__dev--4k { opacity: 1; transform: translate(-50%, -50%); }
.walk__stage[data-s="recycle"] .walk__dev--v2 { transform: translate(-50%, -50%) scale(.55) rotate(25deg); opacity: .7; }
.walk__box { position: absolute; z-index: 2; left: 50%; bottom: -4%; width: 46%; height: 34%; transform: translate(-50%, 110%); display: grid; place-items: center; border-radius: 18px 18px 0 0; background: linear-gradient(#1c1c24, #0b0b0d); color: #fff; font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: .1em; transition: transform .8s var(--ease); }
.walk__lid { position: absolute; left: -4%; right: -4%; top: -16px; height: 18px; border-radius: 8px; background: #2a2a33; transform-origin: 8% 50%; transition: transform .8s var(--ease) .2s; }
.walk__stage[data-s="unbox"] .walk__box { transform: translate(-50%, 0); }
.walk__stage[data-s="unbox"] .walk__lid { transform: rotate(-28deg) translate(-6px, -14px); }
.walk__vapor { position: absolute; z-index: 3; left: 50%; top: 22%; opacity: 0; transition: opacity .4s; }
.walk__vapor span { position: absolute; left: 0; top: 0; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(rgb(150 175 210 / .75), rgb(150 175 210 / 0) 70%); filter: blur(5px); opacity: 0; }
.walk__stage[data-s="draw"] .walk__vapor { opacity: 1; }
.walk__stage[data-s="draw"] .walk__vapor span { animation: puff 2.8s ease-out infinite; }
.walk__vapor span:nth-child(1) { --dx: -40px; animation-delay: 0s !important; }
.walk__vapor span:nth-child(2) { --dx: 30px; animation-delay: .5s !important; }
.walk__vapor span:nth-child(3) { --dx: -10px; animation-delay: 1s !important; }
.walk__vapor span:nth-child(4) { --dx: 50px; animation-delay: 1.5s !important; }
.walk__vapor span:nth-child(5) { --dx: -55px; animation-delay: 2s !important; }
@keyframes puff { 0% { transform: translate(-50%, 0) scale(.4); opacity: 0; } 20% { opacity: .95; } 100% { transform: translate(calc(-50% + var(--dx)), -170px) scale(2.6); opacity: 0; } }
.walk__ring { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.8); border-radius: 50%; border: 3px dashed var(--wc); opacity: 0; transition: opacity .5s, transform .8s var(--ease); }
.walk__stage[data-s="rest"] .walk__ring { opacity: .8; transform: translate(-50%, -50%); animation: spinR 12s linear infinite; }
@keyframes spinR { to { rotate: 360deg; } }
.walk__bolt { position: absolute; z-index: 3; right: 27%; top: 22%; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #3cc98a; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--ease); }
.walk__bolt svg { width: 28px; height: 28px; }
.walk__stage[data-s="charge"] .walk__bolt { opacity: 1; transform: none; animation: boltGlow 1.6s ease-in-out infinite; }
@keyframes boltGlow { 50% { box-shadow: 0 0 0 14px rgb(60 201 138 / .18), 0 0 40px rgb(60 201 138 / .6); } }
.walk__recycle { position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); color: var(--wc); opacity: 0; transition: opacity .5s, transform .8s var(--ease); }
.walk__recycle .icon { width: 100%; height: 100%; }
.walk__stage[data-s="recycle"] .walk__recycle { opacity: .85; transform: translate(-50%, -50%); animation: spinR 14s linear infinite; }
.walk__count { position: absolute; z-index: 3; left: 24px; bottom: 18px; margin: 0; font-family: var(--display); font-size: 18px; color: var(--muted); }
.walk__count b { font-size: 44px; font-weight: 400; color: var(--text); }
.walk__steps { list-style: none; margin: 0; padding: 0; }
.walk__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .28; transition: opacity .45s; }
.walk__step.is-active { opacity: 1; }
.walk__num { font-family: var(--display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--text); margin-bottom: 10px; }
.walk__step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; margin-bottom: 12px; }
.walk__step p { max-width: 460px; margin: 0; font-size: 18px; color: var(--text-2); }
@media (max-width: 899px) {
  .walk__stage { top: calc(var(--nav-h) + 8px); height: 40vh; }
  .walk__step { min-height: 55vh; justify-content: flex-start; padding-top: 32px; }
  .walk__num { font-size: 44px; }
}

/* ---------- About: expanding values ---------- */
.vals { display: flex; gap: 12px; height: 420px; }
.val { position: relative; flex: 1; min-width: 0; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; transition: flex .7s var(--ease), background .5s, box-shadow .5s; }
.val.is-open { flex: 3.2; background: linear-gradient(160deg, color-mix(in srgb, var(--vc) 24%, #fff), #fff 72%); box-shadow: 0 30px 60px -40px var(--vc); }
.val__n { font-family: var(--display); font-size: 20px; color: var(--muted); }
.val__icon { width: 50px; height: 50px; margin-top: 18px; display: grid; place-items: center; border-radius: 14px; color: var(--vc); background: color-mix(in srgb, var(--vc) 14%, transparent); }
.val__title { margin-top: auto; font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.val__body { max-width: 340px; max-height: 0; opacity: 0; overflow: hidden; color: var(--text-2); transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.val.is-open .val__body { max-height: 140px; opacity: 1; margin-top: 12px; }
.val__dev { position: absolute; z-index: -1; right: -4%; top: 8%; height: 72%; width: auto; opacity: 0; transform: translateX(50px) rotate(14deg); transition: opacity .5s, transform .8s var(--ease); filter: drop-shadow(0 24px 24px rgb(0 0 0 / .2)); }
.val.is-open .val__dev { opacity: 1; transform: rotate(12deg); }
@media (max-width: 799px) {
  .vals { flex-direction: column; height: auto; }
  .val { flex: none !important; min-height: 92px; }
  .val.is-open { min-height: 280px; }
  .val__icon { position: absolute; right: 22px; top: 22px; margin: 0; }
  .val.is-open .val__icon { opacity: 0; }
  .val__dev { height: 60%; top: 14%; }
}

/* ---------- FAQ live search ---------- */
.faq-search { position: relative; margin-bottom: 36px; }
.faq-search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-search input { width: 100%; min-height: 62px; padding: 0 120px 0 56px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-search input:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 5px rgb(var(--ink-rgb) / .06); }
.faq-search__count { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.faq-empty { padding: 40px 24px; margin-bottom: 40px; border: 1px dashed var(--line-2); border-radius: var(--radius-md); text-align: center; color: var(--text-2); }
.faq-empty[hidden], .faq-group[hidden], .faq-group details[hidden] { display: none; }
mark.faq-hit { background: #ffe066; color: #0b0b0d; border-radius: 3px; padding: 0 2px; }

/* ---------- 404: a device lost in vapor ---------- */
.error-page { isolation: isolate; }
.lost { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lost__dev { position: absolute; left: 8%; top: 18%; width: 90px; animation: lostDrift 16s ease-in-out infinite alternate; filter: drop-shadow(0 20px 20px rgb(0 0 0 / .5)); }
@keyframes lostDrift { 0% { transform: translate(0, 0) rotate(-20deg); } 50% { transform: translate(62vw, 8vh) rotate(160deg); } 100% { transform: translate(28vw, 42vh) rotate(340deg); } }
.lost__puffs span { position: absolute; bottom: -80px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(rgb(255 255 255 / .12), transparent 70%); filter: blur(8px); animation: lostPuff 12s linear infinite; }
.lost__puffs span:nth-child(1) { left: 6%; animation-delay: 0s; }
.lost__puffs span:nth-child(2) { left: 24%; animation-delay: -2s; width: 220px; height: 220px; }
.lost__puffs span:nth-child(3) { left: 44%; animation-delay: -4s; }
.lost__puffs span:nth-child(4) { left: 62%; animation-delay: -6s; width: 260px; height: 260px; }
.lost__puffs span:nth-child(5) { left: 78%; animation-delay: -8s; }
.lost__puffs span:nth-child(6) { left: 90%; animation-delay: -10s; width: 200px; height: 200px; }
@keyframes lostPuff { from { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-110vh) scale(1.6); opacity: 0; } }
.error-page__code span { display: inline-block; animation: flipY 5s ease-in-out infinite; }
@keyframes flipY { 0%, 60% { transform: rotateY(0); } 80%, 100% { transform: rotateY(360deg); } }

/* ---------- Footer: giant wordmark that fills with colour ---------- */
.footer__mark { margin: 48px 0 0; overflow: hidden; text-align: center; font-family: var(--display); font-size: clamp(96px, 26vw, 400px); line-height: .78; letter-spacing: .02em; user-select: none; }
.footer__mark span { display: block; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .16); background: linear-gradient(90deg, #2b9bff, #3cc98a 35%, #ffb020 65%, #ff6b9a) no-repeat; background-size: 0% 100%; -webkit-background-clip: text; background-clip: text; transition: background-size 1.8s var(--ease); }
.footer__mark.is-in span { background-size: 100% 100%; }

/* ---------- Hero: devices follow the pointer ---------- */
.hero .scene__stage { translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 16px); transition: translate .5s ease-out; }
.hero .scene__word { translate: calc(var(--px, 0) * -34px) calc(var(--py, 0) * -10px); transition: translate .6s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .walk__step { opacity: 1; }
  .footer__mark span { background-size: 100% 100%; }
  .hero .scene__stage, .hero .scene__word { translate: none; }
}

/* ==========================================================================
   Responsive pass: short screens (phones held sideways), tablets
   ========================================================================== */
/* Product scene cards: two-up from small tablets / landscape phones */
@media (min-width: 700px) and (max-width: 899px) { .pcards { grid-template-columns: 1fr 1fr; gap: 16px; } .pcard__body h3 { font-size: 30px; } .pcard__pills li { font-size: 12px; padding: 7px 12px; } }

/* Blueprint: never taller than the screen */
.anat__stage { max-width: min(580px, 88vh); }

/* Walkthrough: side-by-side on any wide-enough screen */
@media (min-width: 700px) and (max-width: 899px) {
  .walk__inner { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .walk__stage { top: calc(var(--nav-h) + 16px); height: min(68vh, 520px); }
  .walk__step { min-height: 60vh; justify-content: center; padding-top: 24px; }
}

/* Versus: fit the screen height */
.vs__stage { height: clamp(400px, 76vh, 740px); }

/* Short screens (landscape phones, small laptops with toolbars) */
@media (max-height: 560px) {
  .story__pin { min-height: 0; }
  .story__digits { font-size: min(30vw, 46vh); }
  .story__num small { margin-bottom: .8em; }
  .story__dev { width: min(16vw, 26vh); --dy: 4vh; }
  .story__title { font-size: min(8vw, 15vh); }
  .story__end { bottom: 12px; gap: 8px; }
  .story__stats li { padding: 8px 6px; }
  .story__stats b { font-size: min(3.2vw, 7vh); }
  .story__stats span { margin-top: 2px; font-size: 9px; }
  .story__cta .btn { min-height: 34px; font-size: 11px; }
  .story__fine, .story__hint { display: none; }
  .vs__stage { height: calc(100vh - var(--nav-h)); min-height: 320px; }
  .vs__copy { top: 16px; transform: none; }
  .vs__copy h3 { font-size: 30px; margin-bottom: 8px; }
  .vs__copy ul { gap: 4px; margin-bottom: 10px; grid-template-columns: 1fr 1fr; }
  .vs__copy li b { font-size: 18px; }
  .vs__copy li span { font-size: 9px; }
  .vs__dev { top: 62%; width: min(14vw, 34vh); }
  .vs__dev.dimg--4k { width: min(11vw, 27vh); }
  .walk__stage { height: calc(100vh - var(--nav-h) - 24px); }
  .walk__step { min-height: 85vh; }
  .fspot { height: min(40vw, 80vh); }
}

/* Back-to-top: step aside near the page bottom so it never covers buttons */
.to-top.is-end { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* Walkthrough: swing the box lid fully aside so it never crosses the device */
.walk__stage[data-s="unbox"] .walk__lid { transform: rotate(-78deg) translate(-4px, -22px); }
.walk__stage[data-s="unbox"] .walk__dev--v2 { transform: translate(-50%, -70%) rotate(-4deg); }