/* Home page: the approved scroll experience (ported from design/landing/prototypes/site2/index.html).
   Sections: hero, paper problems (.why), fixes (.fix), Chinni, 3D feature stage (.features), shops, steps, download, FAQ. */
/* hero: plain, text-led homepage top */
.hero { position: relative; min-height: max(92vh, 680px); display: flex; align-items: center; overflow: clip }
.hero-ph { position: absolute; inset: 0 0 0 40%; background: 82% 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0, #000 120px, #000 70%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0, #000 120px, #000 70%, transparent 100%); mask-composite: intersect }
.hero-in { position: relative; padding: 110px var(--gl) 70px; max-width: 760px }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--link) }
.pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--sky-light); display: grid; place-items: center; font-style: normal; font-size: 12px }
.hero h1 { margin: 22px 0 0; font: 800 clamp(44px, 5vw, 80px)/1.02 var(--font); letter-spacing: -0.035em; text-wrap: balance }
.hero h1 em { font-style: normal; color: var(--sky-dark) }
.hero .lede { margin: 22px 0 0; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); max-width: 31em }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 32px }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 15px; color: #2F3640 }
.facts li { display: flex; align-items: center; gap: 8px } .facts li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--teal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.hero-chip { position: absolute; right: clamp(24px, 6vw, 110px); bottom: 15%; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px 18px; box-shadow: 0 24px 50px -24px rgba(0,49,91,.35) }
.hero-chip small { display: block; font-size: 13px; color: var(--muted) } .hero-chip b { font-size: 26px; letter-spacing: -0.02em } .hero-chip span { display: block; font-size: 11.5px; color: var(--faint) }

/* features: one pinned stage, the phone swaps sides for every feature */
.features { position: relative; height: 820vh }
.pin { position: sticky; top: 0; height: 100vh; min-height: 660px; overflow: hidden; background: radial-gradient(60% 70% at 50% 50%, #EAF6FE 0%, rgba(234,246,254,0) 70%), var(--bg) }
.pin canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
.f-head { position: absolute; left: 0; right: 0; top: 92px; text-align: center; font-size: 14px; font-weight: 600; color: var(--faint); pointer-events: none }
.beat { position: absolute; top: 50%; width: min(30vw, 460px); translate: 0 -50%; opacity: 0; visibility: hidden; will-change: opacity, transform, filter }
.beat.l { left: var(--gl) } .beat.r { right: var(--gl) }
.beat .kick { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--link); margin-bottom: 14px }
.beat .kick b { width: 30px; height: 30px; border-radius: 9px; background: var(--sky-light); display: grid; place-items: center; font-size: 14px }
.beat h2 { margin: 0; font: 800 clamp(36px, 3.7vw, 60px)/1.04 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.beat p { margin: 18px 0 0; font-size: clamp(16.5px, 1.2vw, 19px); color: var(--muted) }
.beat .ex { margin-top: 12px; font-size: 12.5px; color: var(--faint) }
.rail { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; display: flex; gap: 6px; padding: 5px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 999px }
.rail a { text-decoration: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; white-space: nowrap }
.rail a.on { background: var(--ink); color: #fff } .rail a:hover { color: var(--link) } .rail a.on:hover { color: #fff }
.beat-more { display: inline-block; margin-top: 16px; color: var(--link); font-weight: 700; text-decoration: none } .beat-more:hover { text-decoration: underline }
.cat-more::before { display: none } .cat-b li.cat-more { padding-left: 0 } .cat-more a { color: var(--link); font-weight: 700; text-decoration: none } .cat-more a:hover { text-decoration: underline }
.ch-more { display: inline-block; margin-top: 18px; color: var(--link); font-weight: 700; text-decoration: none } .ch-more:hover { text-decoration: underline }
.f-skip { position: absolute; right: var(--gl); top: 92px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none }


.hero .cta .btn.primary svg { transform: rotate(0) }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px }
.scroll-cue i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 12px }

/* section 2: paper problems (pinned, one problem per scroll step) */
.why { position: relative; height: 820vh }
.pp { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: 4vw; padding: 90px var(--gl) 40px; background: #F1F4F9 }
.pp::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 50%, rgba(31,35,40,.06), transparent 70%); pointer-events: none }
.why-l { position: relative; z-index: 2; min-height: 360px }
.why-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--red); margin-bottom: 18px }
.why-kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red) }
.why-h { margin: 0 0 30px; font: 800 clamp(30px, 2.8vw, 44px)/1.08 var(--font); letter-spacing: -0.03em; color: #22324A }
.ctr { font: 700 15px/1 var(--font); color: var(--faint); letter-spacing: .04em; margin-bottom: 12px } .ctr b { color: var(--ink); font-size: 22px }
.pts { position: relative; height: 210px }
.pt { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform }
.pt h3 { margin: 0; font: 800 clamp(30px, 3.1vw, 50px)/1.06 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.pt p { margin: 14px 0 0; font-size: clamp(16.5px, 1.2vw, 19px); color: var(--muted); max-width: 30em }
.pbar { display: flex; gap: 6px; margin-top: 26px } .pbar i { width: 34px; height: 4px; border-radius: 4px; background: #D5DEEA; transition: background .3s } .pbar i.on { background: var(--red) }
.pimgs { position: relative; height: min(70vh, 640px) }
.pimg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; will-change: opacity, transform, filter;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 52%, transparent 100%) }

/* section 3: how Bisro fixes it (pinned, cards flip from problem to answer) */
.fix { position: relative; height: 340vh; background: linear-gradient(180deg, #F1F4F9, var(--bg) 30%) }
.fp { position: sticky; top: 0; height: 100vh; min-height: 680px; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gl) 40px; max-width: 1320px; margin: 0 auto }
.fp h2 { margin: 0 0 8px; font: 800 clamp(32px, 3.4vw, 54px)/1.05 var(--font); letter-spacing: -0.03em } .fp .sub { margin: 0 0 34px; color: var(--muted) }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px }
.fc { position: relative; height: clamp(170px, 22vh, 220px); transform-style: preserve-3d; will-change: transform }
.fc > div { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden }
.fc .fr { background: center / cover no-repeat; filter: saturate(.55) brightness(.92) }
.fc .fr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,20,40,.78), rgba(0,20,40,.1) 65%) }
.fc .fr span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-weight: 700; font-size: 18px; line-height: 1.25 }
.fc .fr small { display: block; font-size: 12.5px; font-weight: 600; color: #FFB4A8; margin-bottom: 4px; letter-spacing: .03em }
.fc .bk { transform: rotateY(180deg); background: #fff; border: 1px solid var(--border); padding: 22px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 24px 50px -30px rgba(0,49,91,.35) }
.fc .bk .ic { width: 42px; height: 42px; border-radius: 12px; background: #DDF6EE; color: var(--teal); display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 12px }
.fc .bk h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em } .fc .bk p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5 }

/* section 5: every kind of shop (pinned, cards travel sideways) */
.shops { position: relative; height: 420vh }
.sp { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: center }
.sp-h { padding: 80px var(--gl) 30px } .sp-h h2 { margin: 0 0 8px; font: 800 clamp(32px, 3.4vw, 54px)/1.05 var(--font); letter-spacing: -0.03em } .sp-h p { margin: 0; color: var(--muted) }
.strack { display: flex; gap: 28px; padding: 0 var(--gl); will-change: transform }
.shop { flex: 0 0 min(64vw, 820px); height: min(58vh, 520px); position: relative; border-radius: 28px; overflow: hidden; background: #DDE6F0 center / cover no-repeat }
.shop .sv { position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; will-change: transform }
.shop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,20,40,.82), rgba(0,20,40,0) 58%); pointer-events: none }
.shop .cap { position: absolute; left: 30px; right: 30px; bottom: 26px; z-index: 1; color: #fff }
.shop .cap b { display: inline-block; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 13.5px; margin-bottom: 10px }
.shop .cap h3 { margin: 0; font: 800 clamp(24px, 2.2vw, 34px)/1.15 var(--font); letter-spacing: -0.02em; max-width: 22ch }
.shop.any { background: linear-gradient(135deg, #E0F2FE, #F3FAFF 55%, #E8F7F2); display: flex; align-items: center; padding: 40px } .shop.any::after { display: none }
.shop.any h3 { margin: 0 0 12px; font: 800 clamp(28px, 2.6vw, 40px)/1.1 var(--font); letter-spacing: -0.03em } .shop.any p { margin: 0; color: var(--muted); max-width: 28em }

/* section 6: steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: st }
.step3 { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; counter-increment: st }
.step3::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sky-light); color: var(--link); font-weight: 800; margin-bottom: 18px }
.step3 h3 { margin: 0 0 6px; font-size: 20px } .step3 p { margin: 0; color: var(--muted); font-size: 15.5px }

@media (max-width: 980px) {
  .hero { display: block; min-height: 0 } .hero-ph { position: relative; inset: auto; height: 62vw; min-height: 280px; margin-top: 64px; background-position: 72% 30%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent) }
  .hero-in { padding-top: 0 } .hero-chip { display: none }
  .features { height: 760vh }
  .beat, .beat.l, .beat.r { left: var(--gl); right: var(--gl); width: auto; top: auto; bottom: 74px; translate: none }
  .beat h2 { font-size: clamp(28px, 7.6vw, 40px) } .beat p { font-size: 15.5px; margin-top: 10px }
  .pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(0deg, var(--bg) 62%, rgba(248,250,255,0)); pointer-events: none; z-index: 1 }
  .beat { z-index: 2 } .f-head, .f-skip { display: none }
  .rail { z-index: 3; bottom: 16px; max-width: calc(100% - 24px); overflow-x: auto } .rail a { padding: 7px 10px; font-size: 12px }
  .pp { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 76px; gap: 10px }
  .why-l { order: 2; min-height: 0 } .why-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 }   /* hidden on small screens, still announced */ .pts { height: 190px } .pimgs { order: 1; height: 42vh }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px } .fc { height: 150px } .fc .fr span { font-size: 15px; left: 14px; right: 14px; bottom: 12px } .fc .bk { padding: 14px } .fc .bk h3 { font-size: 16px } .fc .bk p { font-size: 13px } .fc .bk .ic { width: 32px; height: 32px; font-size: 16px; margin-bottom: 8px }
  .fix { height: 380vh } .fp { padding-top: 76px }
  .shop { flex-basis: 82vw; height: 56vh } .steps3 { grid-template-columns: minmax(0, 1fr) }
}
@media (prefers-reduced-motion: reduce) {
  .why, .fix, .shops { height: auto } .pp, .fp, .sp { position: relative; height: auto }
  .pt { position: relative; opacity: 1 !important; margin-bottom: 26px } .pts { height: auto } .pimgs { display: none }
  .fc { transform: none !important } .fc .fr { display: none } .fc .bk { transform: none; position: relative }
  .strack { flex-wrap: wrap; transform: none !important }
}

/* Chinni AI section: pinned; each scene types itself, Chinni replies, the button is pressed, the result pops out */
.chinni { position: relative; height: 760vh; background: linear-gradient(180deg, var(--bg), #EEF7FE 40%, var(--bg)) }
.chp { position: sticky; top: 0; height: 100vh; min-height: 700px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 90px var(--gl) 50px; max-width: 1440px; margin: 0 auto }
.chp::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -12vw; top: -10vw; background: radial-gradient(closest-side, rgba(56,189,248,.22), transparent); pointer-events: none }
.ch-l { position: relative; z-index: 2 }
.ch-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--link); margin-bottom: 16px }
.ch-dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #38BDF8, #0284C7); font-size: 14px }
.chinni h2 { margin: 0; font: 800 clamp(40px, 4.4vw, 72px)/1.02 var(--font); letter-spacing: -0.035em } .chinni h2 em { font-style: normal; color: var(--sky-dark) }
.ch-caps { position: relative; height: 92px; margin-top: 26px }
.ch-cap { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform } .ch-cap b { display: block; font-size: 22px; letter-spacing: -0.01em } .ch-cap span { color: var(--muted) }
.ch-can { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 34em }
.ch-can li { padding: 7px 13px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: #2F3640 }
.ch-stage { position: relative; height: min(70vh, 600px); perspective: 1600px }
.ch-win { position: absolute; left: 6%; top: 4%; width: min(440px, 72%); height: 88%; background: #fff; border: 1px solid var(--border); border-radius: 30px; box-shadow: 0 50px 90px -40px rgba(0,49,91,.45), 0 4px 14px rgba(0,49,91,.06); display: flex; flex-direction: column; overflow: hidden; transform: rotateY(-10deg) rotateX(4deg); transform-origin: 30% 50%; will-change: transform }
.ch-top { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border) } .ch-top b { display: block; font-size: 17px } .ch-top small { color: var(--muted); font-size: 13px }
.ch-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #38BDF8, #0284C7) }
.ch-body { position: relative; flex: 1; background: var(--bg) }
.ch-scene { position: absolute; inset: 0; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0 }
.b { max-width: 84%; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 1.45 }
.b.u { align-self: flex-end; background: var(--sky); color: var(--ink); font-weight: 600; border-bottom-right-radius: 6px; min-height: 46px; min-width: 40px }
.b.bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 6px; opacity: 0 }
.dots { display: inline-flex; gap: 4px } .dots i { width: 7px; height: 7px; border-radius: 50%; background: #9AB3C8 }
.bt { display: block } .ch-btn { all: unset; display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; opacity: 0; transition: none }
.ch-input { margin: 12px; padding: 13px 16px; border-radius: 99px; background: #EFF4FF; color: var(--faint); font-size: 15px; display: flex; justify-content: space-between } .ch-send { color: var(--link) }
.ch-res { position: absolute; right: 2%; top: 30%; width: min(300px, 44%); background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 20px; box-shadow: 0 40px 70px -34px rgba(0,49,91,.45); opacity: 0; will-change: opacity, transform }
.cr-k { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px }
.cr-big { font: 800 34px/1.1 var(--font); letter-spacing: -0.02em } .cr-big s { font-size: 20px; color: #A9B4C2; font-weight: 600; margin-right: 6px } .cr-big small { font-size: 14px; color: var(--muted); font-weight: 600 }
.cr-ok { margin-top: 12px; display: inline-block; padding: 6px 11px; border-radius: 99px; background: #DDF6EE; color: #0B7A5B; font-size: 13px; font-weight: 700 }
.cr-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin: 10px 0 4px } .cr-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: #BFE6FB; position: relative } .cr-bars i:first-child { background: var(--sky-dark) }
.cr-bars b { position: absolute; left: 50%; bottom: -20px; translate: -50% 0; font-size: 11.5px; color: var(--muted); white-space: nowrap }
.cr-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14.5px } .cr-row b { color: var(--red) } .cr-row.ok b { color: var(--muted) }
.ch-rail { position: absolute; left: var(--gl); bottom: 34px; display: flex; gap: 6px } .ch-rail i { width: 34px; height: 4px; border-radius: 4px; background: #D5DEEA; transition: background .3s } .ch-rail i.on { background: var(--sky-dark) }
@media (max-width: 980px) {
  .chinni { height: 760vh } .chp { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 74px; gap: 14px }
  .chinni h2 { font-size: clamp(32px, 9vw, 44px) } .ch-caps { height: 70px; margin-top: 12px } .ch-cap b { font-size: 18px } .ch-can { display: none }
  .ch-stage { height: 56vh } .ch-win { left: 0; width: 86%; transform: none } .ch-res { right: 0; top: auto; bottom: 0; width: 64%; padding: 14px } .cr-big { font-size: 26px }
  .ch-rail { bottom: 18px }
}
@media (prefers-reduced-motion: reduce) {
  .chinni { height: auto } .chp { position: relative; height: auto }
  .ch-scene:first-child, .ch-res:nth-of-type(2), .ch-cap:first-child { opacity: 1 } .ch-scene:first-child .b.bot, .ch-scene:first-child .ch-btn { opacity: 1 } .ch-scene:first-child .dots { display: none }
}

/* where you can use Bisro: scroll-driven category list + aperture reveal */
.shops { position: relative; height: 680vh }
.sp { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 86px var(--gl) 36px; max-width: 1440px; margin: 0 auto }
.sp-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--link); margin-bottom: 12px } .sp-kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky) }
.sp-l h2 { margin: 0 0 22px; font: 800 clamp(32px, 3.2vw, 50px)/1.05 var(--font); letter-spacing: -0.03em }
.cats { list-style: none; margin: 0; padding: 0 }
.cat { position: relative; border-top: 1px solid var(--border); padding: 14px 0 }
.cat-h { display: flex; align-items: baseline; gap: 14px; font: 700 clamp(19px, 1.6vw, 24px)/1.2 var(--font); color: var(--faint); transition: color .5s }
.cat-n { font-size: 13px; font-weight: 700; color: var(--faint); letter-spacing: .05em; transition: color .5s }
.cat-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.7,.2,1) } .cat-b > ul { overflow: hidden; margin: 0; padding: 0 0 0 34px; list-style: none }
.cat-b li { position: relative; padding: 6px 0 0 22px; color: var(--muted); font-size: 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s }
.cat-b li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 14px; background: var(--teal); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.cat.on .cat-h { color: var(--ink) } .cat.on .cat-n { color: var(--link) } .cat.on .cat-b { grid-template-rows: 1fr }
.cat.on .cat-b li { opacity: 1; transform: none } .cat.on .cat-b li:nth-child(2) { transition-delay: .08s } .cat.on .cat-b li:nth-child(3) { transition-delay: .16s }
.cat-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden } .cat-bar b { display: block; height: 100%; width: 0; background: var(--sky-dark) }
.sp-more { margin: 16px 0 0; color: var(--faint); font-size: 14.5px; max-width: 34em }
.ap { position: relative; height: min(72vh, 640px); border-radius: 34px; overflow: hidden; background: #DDE6F0; box-shadow: 0 50px 90px -50px rgba(0,49,91,.55) }
.ap-img { position: absolute; inset: 0; background: center / cover no-repeat; will-change: clip-path, transform }
.ap-tag { position: absolute; left: 22px; bottom: 22px; height: 38px; width: max-content; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px) }
.ap-tag span { display: block; height: 38px; line-height: 38px; padding: 0 16px; font-weight: 700; font-size: 14.5px; color: var(--ink); white-space: nowrap; will-change: transform }
@media (max-width: 980px) {
  .shops { height: 640vh } .sp { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 74px; gap: 14px }
  .sp-l { order: 2 } .ap { order: 1; height: 38vh } .sp-l h2 { font-size: 26px; margin-bottom: 10px } .sp-more { display: none }
  .cat { padding: 8px 0 } .cat:not(.on) { display: none } .cat-h { font-size: 20px } .cat-b li { font-size: 15px }
}
@media (prefers-reduced-motion: reduce) {
  .shops { height: auto } .sp { position: relative; height: auto } .ap-img:not(:first-child) { display: none } .cat .cat-b { grid-template-rows: 1fr } .cat .cat-b li { opacity: 1; transform: none }
}

/* how Bisro fixes it: a scan line sweeps the ruined paper and reveals the clean Bisro entry beneath */
.fix { position: relative; height: 820vh; background: linear-gradient(180deg, #F1F4F9, var(--bg) 18%) }
.fxp { position: sticky; top: 0; height: 100vh; min-height: 660px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 4vw; padding: 90px var(--gl) 40px; max-width: 1440px; margin: 0 auto }
.fx-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--teal); margin-bottom: 22px } .fx-kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal) }
.fx-txts { position: relative; height: 260px }
.fx-t { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform }
.fx-was { font-size: 16px; color: var(--faint); margin-bottom: 10px } .fx-was s { text-decoration-color: var(--red); text-decoration-thickness: 2px }
.fx-t h3 { margin: 0; font: 800 clamp(32px, 3.4vw, 54px)/1.05 var(--font); letter-spacing: -0.03em; text-wrap: balance } .fx-t p { margin: 16px 0 0; color: var(--muted); font-size: clamp(16.5px, 1.2vw, 19px); max-width: 28em }
.fx-rail { display: flex; gap: 6px; margin-top: 18px } .fx-rail i { width: 34px; height: 4px; border-radius: 4px; background: #D5DEEA; transition: background .3s } .fx-rail i.on { background: var(--teal) }
.fx-stage { position: relative; height: min(68vh, 600px); border-radius: 32px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0,49,91,.5); background: #EAF1F8 }
.fx-pair { position: absolute; inset: 0; opacity: 0 }
.fx-dig { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 45%, #FFFFFF, #E3F3FD 80%) }
.fx-dig::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(2,132,199,.12) 1px, transparent 1px); background-size: 22px 22px }
.dcard { position: relative; width: min(380px, 78%); background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,49,91,.4) }
.dk { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px } .dbig { font: 800 44px/1.1 var(--font); letter-spacing: -0.02em; margin-bottom: 8px } .dbig small { font-size: 16px; color: var(--muted); font-weight: 600 }
.drow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 15px } .drow b { font-weight: 700 } .drow.ok b { color: var(--teal) }
.dsearch { padding: 11px 16px; border-radius: 99px; background: #EFF4FF; font-weight: 600; margin-bottom: 8px }
.dtag { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 99px; background: #DDF6EE; color: #0B7A5B; font-size: 13.5px; font-weight: 700 }
.fx-paper { position: absolute; inset: 0; background: center / cover no-repeat; will-change: clip-path; filter: saturate(.8) }
.fx-line { position: absolute; top: 0; bottom: 0; width: 3px; left: 0; background: #7DD3FC; box-shadow: 0 0 18px 6px rgba(56,189,248,.65), 0 0 60px 18px rgba(56,189,248,.25); will-change: left, opacity }
.fx-label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; backdrop-filter: blur(8px) }
.fx-label.l { left: 18px; background: rgba(0,20,40,.55); color: #fff } .fx-label.r { right: 18px; background: rgba(255,255,255,.85); color: var(--link) }
@media (max-width: 980px) {
  .fxp { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 74px; gap: 14px }
  .fx-l { order: 2 } .fx-stage { order: 1; height: 46vh } .fx-txts { height: 210px } .fx-t h3 { font-size: clamp(26px, 7.4vw, 36px) } .fx-t p { font-size: 15px }
  .dcard { padding: 16px } .dbig { font-size: 32px } .drow { font-size: 13.5px; padding: 7px 0 }
}
@media (prefers-reduced-motion: reduce) {
  .fix { height: auto } .fxp { position: relative; height: auto } .fx-pair:first-child, .fx-t:first-child { opacity: 1 } .fx-pair:first-child .fx-paper, .fx-line { display: none }
}

/* photos are real <img> (inside <picture>) so they get srcset, alt text and LCP priority */
.hero-ph, .pimg, .fx-paper, .ap-img { display: block }
.hero-ph img, .pimg img, .fx-paper img, .ap-img img, .pimg video, .ap-img video { display: block; width: 100%; height: 100%; object-fit: cover }
.hero-ph img { object-position: 82% 40% }
@media (max-width: 980px) { .hero-ph img { object-position: 72% 30% } }
/* stacked layout: the photo's left ~45% is empty wall (room for the desktop headline). Crop toward the shop
   and fade the left edge into the page so the wall/door-frame line dissolves instead of ending in a hard edge */
@media (max-width: 980px) {
  .hero-ph { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 var(--hero-fade, 52%)), linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 var(--hero-fade, 52%)), linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); mask-composite: intersect }
  .hero-ph img { object-position: 90% 40% } }
@media (max-width: 600px) { .hero-ph { --hero-fade: 26%; height: 90vw; max-height: 520px; background-position: 90% 40% } }

/* no 3D (reduced motion, Save-Data, low-memory devices, or the engine failed): the features read as a plain list */
.no3d .features { height: auto }
.no3d .pin { position: relative; height: auto; min-height: 0; padding: clamp(80px, 12vh, 130px) var(--gl); background: none }
.no3d .pin canvas, .no3d .rail, .no3d .f-skip { display: none }
.no3d .f-head { position: static; display: block; text-align: left; max-width: 1320px; margin: 0 auto 28px; font-size: 15px; color: var(--link) }
.no3d .beat, .no3d .beat.l, .no3d .beat.r { position: relative; inset: auto; translate: none; width: auto; max-width: 760px; margin: 0 auto 56px; opacity: 1; visibility: visible }
.no3d .pin::after { display: none }
.dl-meta { font-size: 14px; color: var(--muted) }
.hero-chip b { color: var(--red) }
.cr-bars i:nth-child(1) { --h: 100% } .cr-bars i:nth-child(2) { --h: 72% } .cr-bars i:nth-child(3) { --h: 55% } .cr-bars i:nth-child(4) { --h: 38% }   /* example chart in the Chinni scene */
.dtag::before, .cr-ok::before { content: ""; display: inline-block; width: .95em; height: .95em; margin-right: 6px; vertical-align: -.12em; background: currentColor; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat }
.pill i svg { width: 12px; height: 12px } .ch-dot svg { width: 14px; height: 14px } .ch-send { display: grid; place-items: center } .ch-send svg { width: 16px; height: 16px }
