/* Sneha M — v3 "Sneha's Desk": a photoreal desk scene with clickable objects. */
:root {
  --ink: #1a1033;
  --muted: #5b5475;
  --line: #e4ddf6;
  --brand: #7c3aed;
  --brand-2: #a78bfa;
  --soft: #ede7fe;
  --paper: #fff;
  --wall: #9f90ae;
  --bar-ink: #1a1033;
  --bar-muted: #3f345c;
  --shadow: 0 1px 2px rgba(26,16,51,.06), 0 18px 40px -16px rgba(76,29,149,.35);
  --W: max(100vw, calc(100svh * 1.619));
  color-scheme: light;
}
:root[data-night] { --wall: #241b33; --bar-ink: #fff; --bar-muted: #d9cff5; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--wall); transition: background .8s;
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
button { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.ink { color: var(--brand); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Top bar ---------- */
.bar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 28px; pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bar-ink); transition: color .6s; }
.brand-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; box-shadow: 0 6px 18px rgba(76,29,149,.4); }
.brand-dot { overflow: hidden; border: 2px solid #fff; }
.brand-dot { background: #e9e1fb; }
.brand-dot img { width: 100%; height: 100%; object-fit: cover; }
.brand b { display: block; line-height: 1.1; }
.brand small { color: var(--bar-muted); font-size: 12px; }
.bar-right { display: flex; align-items: center; gap: 14px; }
.bar-link { color: var(--bar-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.bar-link:hover { color: var(--brand); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.42); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .6s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 4px 14px -6px rgba(40,20,80,.35); }
.quick button:hover { background: rgba(255,255,255,.75); }
:root[data-night] .quick button { background: rgba(255,255,255,.08); border-color: rgba(196,181,253,.25); color: #fff; }
:root[data-night] .quick button:hover { background: rgba(167,139,250,.25); }
.quick.top { flex-wrap: nowrap; }
.intro .quick { display: none; }
@media (max-width: 1180px) { .bar-link { display: none; } .quick.top button { padding: 6px 10px; font-size: 13px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(124,58,237,.8); }
.btn.primary:hover { background: #6d28d9; transform: translateY(-2px); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.lg { min-height: 56px; font-size: 17px; max-width: 100%; overflow-wrap: anywhere; }

/* ---------- Room ---------- */
.room { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; }
.pan { position: absolute; inset: 0; }
.stage { position: absolute; z-index: 1; left: 50%; top: 0; width: var(--W); aspect-ratio: 2720 / 1680; transform: translateX(-50%); }
.scene { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .7s cubic-bezier(.65,0,.35,1); container-type: inline-size; }
.scene > img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.layer.hits { pointer-events: auto; }
.layer.hits .hint { pointer-events: none; }

/* Framed headline print (sits in the empty frame of the photo) */
.print {
  position: absolute; left: 36.47%; top: 16.37%; width: 26.36%; height: 27.44%;
  padding: 0 1.6cqw; border: 0; border-radius: .1cqw; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: linear-gradient(160deg, #fbf9fc 0%, #f1edf3 100%);
  box-shadow: inset 0 .25cqw .5cqw rgba(60,40,80,.16);
  color: #1a1033;
}
.print::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,240,220,.35) 0%, rgba(255,255,255,0) 40%); pointer-events: none; }
.print b { font-size: 1.62cqw; font-weight: 800; letter-spacing: -.03em; line-height: 1.16; }
.print b span { display: block; color: var(--brand); font-size: 2.15cqw; font-weight: 900; margin-top: .25cqw; }
.print i { margin-top: .55cqw; font: 700 1.25cqw/1 Caveat, cursive; color: #5b4a8b; font-style: normal; }
.flow { display: flex; align-items: center; gap: .45cqw; margin-bottom: .9cqw; font-size: .72cqw; font-weight: 700; color: #5b4a8b; }
.flow span { display: inline-flex; align-items: center; gap: .25cqw; padding: .22cqw .6cqw; border-radius: 999px; background: #ede7fe; }
.flow span:last-child { background: #7c3aed; color: #fff; }
.flow em { font-style: normal; color: #a78bfa; }
.print:hover b span, .print:focus-visible b span { text-decoration: underline; text-decoration-thickness: .12cqw; text-underline-offset: .3cqw; }

/* Lights off */
.night {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease;
  background: rgba(10,6,28,.8);
  -webkit-mask-image: radial-gradient(20% 34% at 15% 70%, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 50%, #000 100%);
  mask-image: radial-gradient(20% 34% at 15% 70%, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 50%, #000 100%);
}
.glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s; background: radial-gradient(7% 8% at 13.3% 54.5%, rgba(255,205,140,.7), transparent 70%), radial-gradient(20% 9% at 16% 82%, rgba(255,180,100,.35), transparent 70%); mix-blend-mode: screen; }
:root[data-night] .night, :root[data-night] .glow { opacity: 1; }

/* Glowing screens */
.screen { position: absolute; overflow: hidden; color: #1a1033; transition: box-shadow .9s, filter .9s; }
:root[data-night] .screen { filter: brightness(1.05); }
.laptop-screen { left: 39.01%; top: 57.26%; width: 21.1%; height: 19.76%; border-radius: .15cqw; background: linear-gradient(180deg, #faf8ff, #efeafd); padding: 0 .9cqw .55cqw; display: flex; flex-direction: column; }
:root[data-night] .laptop-screen { box-shadow: 0 0 3cqw .6cqw rgba(167,139,250,.45); }
.ls-bar { display: flex; align-items: center; gap: .25cqw; margin: 0 -.9cqw; padding: .3cqw .5cqw; background: #e6defb; }
.ls-bar i { width: .38cqw; height: .38cqw; border-radius: 50%; background: #ff6159; }
.ls-bar i:nth-child(2) { background: #ffbd2e; }
.ls-bar i:nth-child(3) { background: #28c941; }
.ls-bar span { margin-left: .5cqw; flex: 1; background: #fff; border-radius: .3cqw; font-size: .5cqw; padding: .05cqw .4cqw; color: #5b5475; }
.ls-top { display: flex; align-items: center; justify-content: space-between; margin: .45cqw 0 .38cqw; }
.ls-h { margin: 0; font-size: .82cqw; font-weight: 800; letter-spacing: -.02em; }
.ls-pill { display: inline-flex; align-items: center; gap: .2cqw; padding: .08cqw .4cqw; border-radius: 999px; background: #e9fbf1; color: #15803d; font-size: .42cqw; font-weight: 700; }
.ls-pill i { width: .3cqw; height: .3cqw; border-radius: 50%; background: #22c55e; }
.bento { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, .9fr); gap: .38cqw; }
.bento .t { position: relative; overflow: hidden; background: #fff; border-radius: .38cqw; padding: .42cqw .5cqw; box-shadow: 0 .1cqw .4cqw rgba(76,29,149,.1); display: flex; flex-direction: column; min-width: 0; }
.bento small { font-size: .4cqw; font-weight: 600; color: #6b6386; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento b { font-size: 1.08cqw; font-weight: 900; color: #1a1033; letter-spacing: -.04em; line-height: 1.05; margin-top: .12cqw; }
.bento em { font-style: normal; font-size: .38cqw; font-weight: 700; color: #16a34a; margin-top: .06cqw; }
.bento .big { grid-row: span 2; background: linear-gradient(160deg, #fff 55%, #f3edff); }
.bento .big b { font-size: 1.9cqw; color: var(--brand); }
.bento .big em { font-size: .44cqw; }
.bento .big svg { position: absolute; left: 0; right: 0; bottom: .7cqw; width: 100%; height: 40%; }
.bento .big i { position: absolute; left: .5cqw; bottom: .25cqw; font-style: normal; font-size: .36cqw; color: #8a83a3; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: .25cqw; margin-top: .2cqw; min-height: 0; }
.bars span { position: relative; flex: 1; border-radius: .15cqw .15cqw 0 0; background: #e4ddf6; }
.bars span.on { background: linear-gradient(180deg, #8b5cf6, #6d28d9); }
.bars u { position: absolute; left: 0; right: 0; top: -.48cqw; text-align: center; text-decoration: none; font-size: .32cqw; font-weight: 700; color: #6b6386; }
.bars span.on u { top: .12cqw; color: #fff; }
.meter { margin-top: auto; height: .3cqw; border-radius: 999px; background: #efeafd; overflow: hidden; }
.meter span { display: block; width: 72%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.bento .wide { grid-column: span 2; background: #1f1438; }
.bento .wide small { color: #c4b5fd; }
.pair { display: flex; align-items: flex-end; gap: .7cqw; margin-top: auto; }
.pair div { display: flex; flex-direction: column; }
.pair b { color: #fff; font-size: .9cqw; }
.pair span { font-size: .36cqw; color: #c4b5fd; }
.pair .dots { flex-direction: row; flex-wrap: wrap; gap: .12cqw; width: 2.1cqw; margin-left: auto; align-self: center; }
.dots i { width: .38cqw; height: .38cqw; border-radius: 50%; background: #a78bfa; opacity: .55; }
.dots i:nth-child(-n+3) { background: #fbbf24; opacity: 1; }
.phone-screen { left: 29.61%; top: 65.65%; width: 4.15%; height: 13.51%; border-radius: .5cqw; transform: skewX(-2.1deg); background: linear-gradient(170deg, #8b5cf6, #5b21b6); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .2cqw; }
:root[data-night] .phone-screen { box-shadow: 0 0 2cqw .4cqw rgba(139,92,246,.6); }
.phone-screen::before { content: ""; position: absolute; top: 0; left: 50%; width: 52%; height: 4.6%; transform: translateX(-50%); background: #111; border-radius: 0 0 .3cqw .3cqw; }
.phone-screen > * { transform: skewX(2.1deg); }
.ps-av { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; overflow: hidden; border: .08cqw solid #fff; background: #e9e1fb; }
.ps-av img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen b { font-size: .5cqw; }
.phone-screen span { font-size: .55cqw; font-weight: 700; }
.ps-btns { display: flex; gap: .4cqw; margin-top: .3cqw; }
.ps-btns i { width: 1cqw; height: 1cqw; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .55cqw; background: #22c55e; }
.ps-btns i.mail { background: rgba(255,255,255,.25); }

/* Proto's eyes */
#eyes { transition: transform .25s ease-out; }
.eye { transform-box: fill-box; transform-origin: center; transition: transform .12s; }
.blink .eye { transform: scaleY(.12); }

/* Hotspots */
.hs { cursor: pointer; outline: none; }
.hs .ring { fill: rgba(255,255,255,0); stroke: rgba(255,255,255,0); stroke-width: 5; transition: fill .25s, stroke .25s; }
.hs:hover .ring, .hs:focus-visible .ring { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.9); }
.hs:focus-visible .ring { stroke-dasharray: 16 10; }
.dot { fill: #fff; stroke: var(--brand); stroke-width: 7; }
.dot-ring { fill: none; stroke: #fff; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: ring 1.8s ease-out infinite; }
.explored .dot, .explored .dot-ring { display: none; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.zoomed .print { pointer-events: none; }

.tip { position: fixed; z-index: 30; padding: 7px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; pointer-events: none; opacity: 0; transform: translate(-50%, -100%); transition: opacity .15s; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.tip.show { opacity: 1; }
.bubble { position: fixed; z-index: 45; width: max-content; max-width: min(280px, calc(100vw - 24px)); padding: 12px 38px 14px 14px; border-radius: 18px 18px 18px 4px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: 0 18px 36px -12px rgba(0,0,0,.5); pointer-events: none; opacity: 0; transform: translateY(8px) scale(.97); transform-origin: 0 100%; transition: opacity .25s, transform .25s; }
.bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.bubble.flip { border-radius: 18px 18px 4px 18px; }
.bubble .bx { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #f1edfb; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.bubble .bx:hover { background: var(--brand); color: #fff; }
.bubble .who { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 3px; }
.bubble .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bubble .acts button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.bubble .acts button.yes { background: var(--brand); border-color: var(--brand); color: #fff; }
.bubble .acts button:hover { border-color: var(--brand); }
.swipe { display: none; }
.nojs { position: absolute; z-index: 5; left: 16px; right: 16px; top: 80px; text-align: center; }

/* ---------- Sheets: one shared modal design ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.overlay[hidden] { display: none; }
.backdrop { position: absolute; inset: 0; background: rgba(20,12,40,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: min(860px, 100%); max-height: min(86vh, 860px); overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -20px rgba(20,12,40,.55); animation: rise .4s cubic-bezier(.2,1.2,.4,1) both; font-family: Inter, system-ui, sans-serif; }
.sheet[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.sheet-body { padding: 36px 40px 40px; }
.sheet .kicker, .kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.sheet h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); padding-right: 40px; }
.sheet p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.sheet .sub-h { margin: 32px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.sheet .sub-h .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 11px; letter-spacing: 0; vertical-align: 1px; }
/* One spacing scale for every panel */
.sheet h2 { margin: 0; }
.sheet p { margin: 12px 0 0; }
.sheet h2 + *, .sheet h2 + .sub-h, .sheet h2 + p { margin-top: 24px; }
.sheet .be-head { margin-top: 32px; }
.sheet .be-head .sub-h { margin: 0; }
.sheet .edu { margin-top: 20px; }
.sheet .contact-row, .sheet .socials { margin-top: 24px; }
.x { position: absolute; z-index: 3; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 15px; transition: border-color .2s, color .2s; }
.x:hover { border-color: var(--brand); color: var(--brand); }

/* Shared inner card */
.cs, .steps li, .pins li, .trophies a { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.cs:hover, .trophies a:hover { border-color: var(--brand-2); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Work */
.cases { display: grid; gap: 12px; margin-top: 24px; }
.cs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; text-decoration: none; }
.cs small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cs h3 { font-size: 18px; font-weight: 700; margin-top: 4px; color: var(--ink); }
.cs-m { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-m li { background: var(--soft); border-radius: 10px; padding: 6px 10px; font-size: 12px; color: var(--muted); }
.cs-m b { display: block; color: var(--brand); font-size: 16px; font-weight: 800; }
.go { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--brand); }
.cs-art { height: 132px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 14px; overflow: hidden; }
.a1 { background: #e9f9f1; }
.mp { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #d6e9df; border-radius: 9px; padding: 6px 9px; font-size: 11px; }
.mp i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #12b26b; }
.mp.rec { border-color: #12b26b; }
.mp.rec i { background: #12b26b; }
.mp em { margin-left: auto; font-style: normal; font-weight: 700; }
.mbtn { background: #ffd43b; border-radius: 9px; padding: 6px; text-align: center; font-size: 11px; font-weight: 700; }
.a2 { background: #f3f0fb; }
.mdl { background: var(--brand); color: #fff; border-radius: 9px; padding: 9px; text-align: center; font-size: 12px; font-weight: 700; }
.mblur { height: 50px; border-radius: 9px; background: repeating-linear-gradient(45deg, #ddd5f5 0 8px, #ebe5fb 8px 16px); display: grid; place-items: center; }
.mblur span { background: #fff; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.a3 { background: #fff2e8; flex-direction: row; align-items: center; justify-content: center; gap: 10px; color: #FF6700; font-weight: 800; }
.msteps { display: flex; gap: 5px; }
.msteps i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #FF6700; font-size: 11px; }
.mcheck { width: 36px; height: 36px; border-radius: 50%; background: #FF6700; color: #fff; display: grid; place-items: center; font-size: 18px; }
.more { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: none; }

.be-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.be-link { font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: none; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.shot { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.shot .cover { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); margin-bottom: 6px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot:hover img { transform: scale(1.05); }
.shot b { font-size: 14px; font-weight: 700; }
.shot small { font-size: 12px; color: var(--muted); }

/* Process */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 64px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-size: 13px; font-weight: 800; }
.steps b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }

/* Experience */
.pins { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pins li { position: relative; padding: 18px; }
.pins li.now { background: #faf7ff; border-color: var(--brand-2); }
.pins li.now::after { content: "Now"; position: absolute; top: 16px; right: 16px; padding: 2px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; }
.pins .when { display: block; font-size: 12px; font-weight: 700; color: var(--brand); }
.pins b { display: block; font-size: 17px; font-weight: 700; margin-top: 4px; color: var(--ink); }
.pins em { display: block; font-style: normal; color: var(--muted); font-size: 14px; }
.pins p { margin: 8px 0 0; font-size: 14px; }
.edu { margin: 20px 0 0; font-weight: 600; }

/* About */
.about-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.photo figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }
.grow { background: #f3edff; border-radius: 12px; padding: 12px 14px; color: var(--ink) !important; }

/* Wins & certificates */
.trophies { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trophies a { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 0 12px; padding: 14px; text-decoration: none; height: 100%; }
.trophies span { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); font-size: 22px; }
.trophies.certs .cb { color: var(--brand); font-size: 13px; font-weight: 800; }
.trophies b { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.trophies small { color: var(--muted); font-size: 13px; }

/* Skills & tools */
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.chips.soft li { background: var(--soft); border-color: transparent; color: var(--brand); }

/* Contact */
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 18px; }
.socials a { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--brand); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }



/* ---------- Portrait / phone layout: pan across the desk ---------- */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .bar { padding: 12px 16px; background: linear-gradient(180deg, var(--wall) 55%, transparent); }
  .bar-link, .quick.top { display: none; }
  .room { height: auto; min-height: 0; padding-top: 70px; }
  .intro .quick { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 10px; }
  .intro .quick::-webkit-scrollbar { display: none; }
  .intro .quick button { flex: none; }
  .pan { position: relative; inset: auto; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pan::-webkit-scrollbar { display: none; }
  .stage { position: relative; left: auto; bottom: auto; transform: none; height: min(calc(100svh - 150px), 640px); width: auto; -webkit-mask-image: none; mask-image: none; }
  .swipe { display: block; position: absolute; z-index: 3; left: 50%; bottom: 18px; margin: 0; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 700; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
  .swipe.gone { opacity: 0; }
  .overlay { padding: 0; align-items: end; }
  .sheet { width: 100%; max-height: 90vh; max-height: 90svh; border-radius: 22px 22px 0 0; animation-name: up; }
  @keyframes up { from { transform: translateY(100%); } }
  .sheet-body { padding: 26px 20px 36px; }
  .cs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cs-art { height: 120px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .pins, .trophies { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .photo { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

