/* ==========================================================================
   Sumant Mourya — portfolio (sumant.ganakya.com)
   Light editorial + liquid glass over a slowly drifting colour aurora.
   Type: Exo 2 headings, Caveat accents, Inter body, Doto numbers — same family as Ganakya Studio.
   ========================================================================== */
:root {
  --bg: #f4f3ef; --ink: #111827; --ink-2: #374151; --muted: #6b7280; --line: rgba(17, 24, 39, .08);
  --blue: #3b5bfd; --orange: #e2892b; --green: #15803d; --violet: #7c3aed;
  --head: 'Exo 2', system-ui, sans-serif; --hand: 'Caveat', cursive; --body: 'Inter', system-ui, sans-serif; --dot: 'Doto', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1);
  --wrap: 1180px; --pad: clamp(20px, 4vw, 40px);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .35);
  --edge: 0 0 0 1px rgba(17, 24, 39, .06);
  --lift: 0 30px 60px -32px rgba(20, 24, 60, .35), 0 10px 24px -14px rgba(20, 24, 60, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: rgba(59, 91, 253, .18); }

/* ---------- live background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.a1 { left: -12vmax; top: -14vmax; background: radial-gradient(closest-side, #8aa0ff, transparent); animation: drift1 28s ease-in-out infinite alternate; }
.a2 { right: -16vmax; top: 10vh; background: radial-gradient(closest-side, #ffc38a, transparent); animation: drift2 34s ease-in-out infinite alternate; }
.a3 { left: 20vw; bottom: -22vmax; background: radial-gradient(closest-side, #b9f0d6, transparent); animation: drift3 31s ease-in-out infinite alternate; }
.a4 { right: 18vw; bottom: 20vh; width: 30vmax; height: 30vmax; background: radial-gradient(closest-side, #e3c8ff, transparent); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(14vw, 12vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-18vw, 22vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(10vw, -16vh, 0) scale(1.2); } }
.progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- glass ---------- */
.glass, .glass-sm { position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .44));
  box-shadow: var(--rim), var(--edge), var(--lift); }
.glass { border-radius: 28px; -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
.glass-sm { border-radius: 18px; background: rgba(255, 255, 255, .66); box-shadow: var(--rim), var(--edge), 0 12px 28px -20px rgba(20, 24, 60, .3); }
/* the light follows the pointer across glass */
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: var(--lit, 0); transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .85), transparent 60%); }
.glass:hover { --lit: 1; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 0; border-radius: 999px; font: 600 15px/1 var(--body); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-dark { color: #fff; background: linear-gradient(180deg, #232837, #0d1017); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 30px -14px rgba(17, 24, 39, .6); }
.btn-glass { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: var(--rim), var(--edge), 0 10px 24px -16px rgba(20, 24, 60, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(17, 24, 39, .18); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(17, 24, 39, .4); }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; left: 50%; top: 14px; transform: translateX(-50%); width: min(1180px, 100% - 24px);
  display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 16px; border-radius: 999px; transition: background .4s, box-shadow .4s; }
.nav.on { background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--rim), var(--edge), 0 14px 34px -22px rgba(20, 24, 60, .4); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: #fff; font: 800 18px var(--head); background: linear-gradient(140deg, #5b78ff, #2d44c9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.brand-name { font: 700 17px var(--head); }
.brand-name b { font-weight: 500; color: var(--muted); margin-left: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; }
.nav-links a:hover, .nav-links a.on { background: rgba(255, 255, 255, .75); color: var(--ink); box-shadow: var(--edge); }
@media (max-width: 900px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero-title { margin-top: 22px; }
.hero-title .hi { display: block; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--hand); color: var(--orange); }
.hero-title .name { display: block; margin-top: 6px; font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.name .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 35ms + .2s); }
.name .wd { display: inline-block; white-space: nowrap; }
.is-in .name .ch, .no-anim .name .ch { opacity: 1; transform: none; }
.hero-role { margin-top: 18px; font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.3 var(--head); color: var(--ink-2); }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; color: var(--blue); }
.rotator b { grid-area: 1 / 1; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(70%); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.rotator b.on { opacity: 1; transform: none; }
.rotator b.out { opacity: 0; transform: translateY(-70%); }
.hero-sub { margin-top: 16px; max-width: 520px; color: var(--muted); font-size: 17px; }
.hero-sub a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid rgba(59, 91, 253, .4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-vis { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; }
.portrait { position: absolute; inset: 9%; border-radius: 50%; padding: 12px; transition: transform .6s var(--ease); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ring { position: absolute; inset: -3px; z-index: -1; border-radius: 50%; padding: 3px;
  background: conic-gradient(from var(--a, 0deg), #5b78ff, #e2892b, #22c55e, #a855f7, #5b78ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 8s linear infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.orbit { position: absolute; inset: -4%; border-radius: 50%; animation: orbit 40s linear infinite; }
/* each chip sits on the ring (outer span) and spins back around its own centre (inner em),
   so it travels round the photo while its text stays upright */
.orbit span { position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(calc(var(--k) * 60deg)) translate(min(250px, 56vw)) rotate(calc(var(--k) * -60deg)); }
.orbit em { position: absolute; left: 0; top: 0; translate: -50% -50%; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; font-style: normal; white-space: nowrap; color: var(--ink-2);
  background: rgba(255, 255, 255, .78); box-shadow: var(--rim), var(--edge), 0 8px 18px -12px rgba(20, 24, 60, .35);
  animation: counter 40s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }
.float-card { position: absolute; padding: 12px 16px; border-radius: 18px; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; font: 900 26px/1 var(--dot); }
.float-card small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.f1 { left: -4%; bottom: 14%; }
.f2 { right: -2%; top: 10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(17, 24, 39, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-vis { width: min(340px, 82vw); order: -1; margin-top: 10px; }
  .orbit span { transform: rotate(calc(var(--k) * 60deg)) translate(min(168px, 36vw)) rotate(calc(var(--k) * -60deg)); }
  .orbit em { font-size: 11px; padding: 6px 10px; }
}

/* ---------- numbers ---------- */
.numbers { padding: 10px 0 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 24px 24px 22px; }
.stat b { display: block; font: 900 clamp(2.2rem, 4vw, 3.2rem)/1 var(--dot); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.head.center { margin-inline: auto; text-align: center; }
.label { display: inline-block; font: 700 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.head h2, .resume h2 { margin-top: 12px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; line-height: 1.02; }
.head h2 em, .resume h2 em { display: block; font: 700 1.08em/1 var(--hand); color: var(--orange); font-style: normal; letter-spacing: 0; }
.head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* story */
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.story-pic { position: sticky; top: 110px; margin: 0; padding: 12px; transition: transform .6s var(--ease); }
.story-pic img { border-radius: 20px; }
.story-pic figcaption { padding: 14px 8px 4px; font: 700 1.5rem var(--hand); color: var(--blue); text-align: center; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline::after { content: ""; position: absolute; left: 9px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--fill, 0)); background: linear-gradient(var(--blue), var(--orange)); border-radius: 2px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(59, 91, 253, .15); }
.tl-year { display: inline-block; margin-bottom: 8px; font: 900 15px var(--dot); color: var(--blue); }
.tl-card { padding: 20px 22px; border-radius: 22px; }
.tl-card h3 { font-size: 1.25rem; }
.tl-card p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-pic { position: relative; top: 0; max-width: 420px; } }

/* apps */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app { display: grid; grid-template-columns: 118px 1fr; gap: 18px; padding: 16px; transition: transform .6s var(--ease); }
.app-shot { position: relative; border-radius: 22px; padding: 5px; background: #121318; box-shadow: 0 18px 30px -18px rgba(20, 24, 60, .55); align-self: start; }
.app-shot img { border-radius: 17px; aspect-ratio: 540 / 1172; object-fit: cover; width: 100%; }
.app-body { padding: 6px 4px 4px 0; display: flex; flex-direction: column; }
.app-body h3 { margin-top: 10px; font-size: 1.45rem; }
.app-body p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.app-body small { margin-top: auto; padding-top: 12px; color: var(--muted); font-size: 12.5px; }
.status { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .8); box-shadow: var(--edge); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--c, #22c55e); vertical-align: 1px; }
.status.live { --c: #22c55e; } .status.apk { --c: var(--blue); } .status.soon { --c: #10b981; } .status.test { --c: #f59e0b; } .status.dev { --c: #8b5cf6; }
.app:hover .app-body h3 { color: var(--ac); }
@media (max-width: 1060px) { .app-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .app-grid { grid-template-columns: 1fr; } .app { grid-template-columns: 104px 1fr; } }

/* experience */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.job { padding: 28px; }
.job-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.job h3 { font-size: 1.3rem; line-height: 1.2; }
.org { margin-top: 4px; color: var(--blue); font-weight: 600; }
.when { flex: none; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .8); box-shadow: var(--edge); }
.job ul { margin: 18px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 8px; font-size: 15.5px; }
.tools-head { margin: 46px 0 16px; }
.tools-head h3 { font-size: 1.35rem; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tool { padding: 16px 18px; }
.tool b { display: block; font: 600 15.5px var(--head); }
.tool span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .jobs, .tool-grid { grid-template-columns: 1fr; } }

/* skills */
.marquee { overflow: hidden; margin-bottom: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 12px; width: max-content; animation: mq 40s linear infinite; }
.mq-track span { padding: 10px 18px; border-radius: 999px; font: 600 15px var(--head); white-space: nowrap; background: rgba(255, 255, 255, .72); box-shadow: var(--rim), var(--edge); }
.mq-track span:nth-child(3n) { color: var(--blue); } .mq-track span:nth-child(3n+1) { color: var(--orange); }
@keyframes mq { to { transform: translateX(calc(-50% - 6px)); } }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill { padding: 24px; }
.skill h3 { font-size: 1.2rem; }
.skill p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.edu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.edu-item { padding: 16px 18px; display: grid; gap: 2px; }
.edu-item b { font: 600 15.5px var(--head); }
.edu-item span { color: var(--muted); font-size: 14px; }
.edu-item em { font: 900 13px var(--dot); font-style: normal; color: var(--blue); }
@media (max-width: 900px) { .skill-grid, .edu { grid-template-columns: 1fr; } }

/* resume */
.resume { display: grid; grid-template-columns: 220px 1fr; gap: clamp(26px, 5vw, 60px); align-items: center; padding: clamp(26px, 5vw, 52px); }
.resume p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.resume-doc { position: relative; aspect-ratio: .72; padding: 22px 20px; border-radius: 18px; background: #fff; box-shadow: var(--edge), 0 26px 50px -26px rgba(20, 24, 60, .45); display: grid; align-content: start; gap: 10px; transform: rotate(-4deg); animation: bob 7s ease-in-out infinite; }
.resume-doc span { height: 8px; border-radius: 4px; background: #e8eaf0; }
.resume-doc span:first-child { height: 14px; width: 70%; background: #1f3a8a; }
.resume-doc span:nth-child(2) { width: 45%; background: #c7d2fe; }
.resume-doc span:nth-child(4) { width: 85%; } .resume-doc span:nth-child(6) { width: 60%; }
@media (max-width: 760px) { .resume { grid-template-columns: 1fr; } .resume-doc { width: 160px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.c-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.c-card small { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-big { font: 700 clamp(1.2rem, 2.2vw, 1.6rem) var(--head); overflow-wrap: anywhere; }
.c-mid { font: 600 1.2rem var(--head); }
.c-mail { grid-row: span 2; justify-content: center; }
.c-links { grid-column: span 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.c-links small { width: 100%; }
.c-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; background: rgba(255, 255, 255, .75); box-shadow: var(--rim), var(--edge); transition: transform .3s var(--ease); }
.c-links a:hover { transform: translateY(-2px); }
.c-links .ico { width: 14px; height: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .c-mail, .c-links { grid-row: auto; grid-column: auto; } }

/* footer */
.footer { padding: 30px 0 40px; }
.foot { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--muted); font-size: 14px; }
.foot-word { font: 700 clamp(4.5rem, 16vw, 12rem)/.9 var(--hand); background: linear-gradient(90deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot a { color: var(--ink); font-weight: 600; }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(17, 24, 39, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal.open { opacity: 1; }
.modal[hidden] { display: none; }
.modal-box { width: min(900px, 100%); height: min(92vh, 1100px); display: flex; flex-direction: column; padding: 12px; transform: translateY(20px) scale(.98); transition: transform .45s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 6px 12px 10px; }
.modal-bar b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-bar div { display: flex; align-items: center; gap: 8px; }
.modal-x { width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; }
.modal-doc { flex: 1; min-height: 0; overflow: auto; border-radius: 16px; background: #fff; box-shadow: var(--edge); overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none; }  /* scrolls with wheel/touch, no visible bar */
.modal-doc::-webkit-scrollbar { display: none; }
.modal-doc img { width: 100%; height: auto; }
/* story: three real app screens, fanned like phones on a desk */
.stack { position: relative; aspect-ratio: 1 / 1.02; }
.stack img { position: absolute; top: 8%; width: 42%; aspect-ratio: 540 / 1172; object-fit: cover; border-radius: 22px; padding: 5px; background: #121318;
  box-shadow: 0 26px 40px -22px rgba(20, 24, 60, .6); animation: bob 7s ease-in-out infinite; }
.stack .s1 { left: 4%; rotate: -9deg; animation-delay: -1s; }
.stack .s2 { left: 29%; top: 2%; z-index: 2; animation-delay: -3s; }
.stack .s3 { left: 54%; rotate: 9deg; animation-delay: -5s; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 110; padding: 12px 18px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 14.5px; background: rgba(17, 24, 39, .9); transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .name .ch { opacity: 1; transform: none; }
}
