/* ── DRAWER ────────────────────────────────────── */
.drawer-overlay{position:fixed;inset:0;z-index:600;background:radial-gradient(ellipse 50% 45% at 50% 50%,rgba(255,255,255,.045) 0%,transparent 70%),rgba(10,10,16,.38);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fadeIn .25s ease}
/* Flex column so the header stays put, the body scrolls, and the
   footer (PDF button) is pinned to the bottom — no matter how long
   the content is. Previously the whole panel scrolled as one, which
   meant the PDF button drifted off-screen and the user had to scroll
   back to reach it. */
.drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(540px,100vw);background:var(--bg-soft);border-left:1px solid var(--line);display:flex;flex-direction:column;overscroll-behavior:contain;animation:drawerIn .35s var(--ease)}
.drawer-header{padding:32px 40px 24px;background:var(--bg-soft);border-bottom:1px solid var(--line-soft);flex:none}
.drawer-close{background:none;border:none;cursor:pointer;font-family:'JetBrains Mono',monospace;font-size:var(--fs-sm);color:var(--text-dim);letter-spacing:.12em;text-transform:uppercase;display:flex;align-items:center;gap:8px;padding:0;margin-bottom:22px;line-height:1.4;transition:color .2s}
.drawer-close:hover{color:var(--text)}
.drawer-eyebrow{font-family:'JetBrains Mono',monospace;font-size:var(--fs-sm);color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px;line-height:1.4}
.drawer-title{font-size:24px;font-weight:600;color:#f0f0f5;line-height:1.25;margin-bottom:6px;letter-spacing:-.01em}
.drawer-lede{font-size:var(--fs-lg);color:var(--accent);line-height:1.4;margin-bottom:8px;font-weight:500}
.drawer-sub{font-size:var(--fs-lg);color:var(--text-mute)}
.drawer-body{padding:32px 40px 48px;display:flex;flex-direction:column;gap:24px;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}
.drawer-pills{display:flex;gap:20px;flex-wrap:wrap}
.drawer-pill{font-family:'JetBrains Mono',monospace;font-size:var(--fs-base);color:var(--text-mute);display:inline-flex;align-items:center;gap:6px;line-height:1.4}
/* Highlights block — key numbers (CGPA, Attendance …). Mirrors the
   stat rows the journey card front shows, so opening the drawer keeps
   the numbers visible instead of hiding them behind prose. */
.drawer-highlights{margin:0;padding:16px 18px;border:1px solid var(--line-soft);border-radius:12px;background:rgba(255,255,255,.02);display:flex;flex-direction:column;gap:9px}
/* Class rules above use display:flex which overrides the UA
   [hidden]{display:none} default. Without these overrides, empty
   highlights/section blocks stay visible on cards that don't populate
   them (Primary Education). */
.drawer-highlights[hidden],.drawer-section[hidden]{display:none}
.drawer-highlight{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0}
.drawer-highlight-label{font-family:'JetBrains Mono',monospace;font-size:var(--fs-xs);letter-spacing:.14em;text-transform:uppercase;color:var(--text-mute);line-height:1.4;white-space:nowrap;margin:0}
.drawer-highlight-value{font-size:var(--fs-lg);font-weight:600;color:var(--text-white);letter-spacing:-.005em;line-height:1.4;text-align:right;font-variant-numeric:tabular-nums;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";margin:0}
/* Named sections (About / Leadership …). Keeps unrelated content
   (prose, roles, activities) from being flattened into one bullet list. */
.drawer-section{display:flex;flex-direction:column;gap:10px;margin:0}
.drawer-section-label{font-family:'JetBrains Mono',monospace;font-size:var(--fs-xs);color:var(--text-dim);letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.drawer-desc{font-size:var(--fs-xl);color:#a8a8c0;line-height:1.8;margin:0}
/* Videos block — used by recognition drawer for Instagram post
   backups. Native <video controls>, capped at drawer body width. */
.drawer-videos{display:flex;flex-direction:column;gap:14px;align-items:center;margin:0}
.drawer-videos[hidden]{display:none}
.drawer-video{display:flex;flex-direction:column;gap:6px;width:100%;max-width:380px;margin:0}
.drawer-video video{width:100%;height:auto;display:block;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#000;box-shadow:0 24px 48px -16px rgba(0,0,0,.75),0 10px 20px -10px rgba(0,0,0,.5)}
.drawer-video-caption{font-family:'JetBrains Mono',monospace;font-size:var(--fs-xs);letter-spacing:.05em;color:var(--text-mute);text-align:center;line-height:1.4}

.drawer-gallery{display:flex;flex-direction:column;gap:18px;align-items:center}
/* Each gallery entry is a figure: image button on top, small caption
   below. Cap width at 380px (drawer body is ~460px usable) so mobile
   screenshots don't stretch into a giant portrait bar. Click opens
   the lightbox at full size. */
.drawer-gallery-figure{display:flex;flex-direction:column;gap:6px;width:100%;max-width:380px;align-items:center}
.drawer-gallery-item{display:block;width:100%;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden;background:var(--bg-2);box-shadow:0 24px 48px -16px rgba(0,0,0,.75),0 10px 20px -10px rgba(0,0,0,.5),0 2px 4px -1px rgba(0,0,0,.4);cursor:pointer}
.drawer-gallery-item img{width:100%;height:auto;display:block}
.drawer-gallery-caption{font-family:'JetBrains Mono',monospace;font-size:var(--fs-xs);letter-spacing:.05em;color:var(--text-mute);text-align:center;line-height:1.4;padding:0 4px}
.drawer-bullets{list-style:none;display:flex;flex-direction:column;gap:10px;padding:0;margin:0}
.drawer-bullets li{display:flex;gap:10px;align-items:flex-start}
.drawer-bullet-dot{color:var(--accent);font-size:8px;line-height:1;margin-top:8px;flex-shrink:0}
.drawer-bullets li > span:last-child{font-size:var(--fs-lg);color:#a8a8c0;line-height:1.7}
.drawer-tech-label{font-family:'JetBrains Mono',monospace;font-size:var(--fs-xs);color:var(--text-dim);letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px}
.drawer-tech-list{display:flex;flex-wrap:wrap;gap:6px}
.drawer-tech-tag{font-family:'JetBrains Mono',monospace;font-size:var(--fs-sm);padding:4px 12px;background:rgba(255,255,255,.03);color:#a8a8c0;border:1px solid var(--line);border-radius:6px;line-height:1.4}
/* Pinned footer with the PDF button. Sits below the scrollable body,
   so the button stays reachable no matter how far you've scrolled. */
.drawer-footer{flex:none;padding:20px 40px;border-top:1px solid var(--line-soft);background:var(--bg-soft)}
.drawer-footer[hidden]{display:none}
.drawer-pdf{margin:0}
.drawer-links{display:flex;flex-wrap:wrap;gap:10px;padding-top:8px;border-top:1px solid var(--line-soft);margin-top:0}

/* Project link cards — same visual family as the contact section's
   social cards. Click closes the drawer and scrolls to the matching
   project card on the page. */
.drawer-project-links{display:flex;flex-direction:column;gap:10px}
.drawer-project-link{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:14px 16px;background:rgba(255,255,255,.02);border:1px solid var(--line);border-radius:12px;color:var(--text);cursor:pointer;text-align:left;font:inherit;transition:border-color .25s var(--ease),background .25s var(--ease),transform .25s var(--ease)}
.drawer-project-link:hover{border-color:rgba(167,139,250,.38);background:rgba(255,255,255,.04)}
.drawer-project-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.drawer-project-title{font-size:var(--fs-lg);font-weight:600;color:var(--text-white);line-height:1.3;letter-spacing:-.005em}
.drawer-project-subtitle{font-size:var(--fs-sm);color:var(--text-mute);line-height:1.4}
.drawer-project-arrow{color:var(--text-dim);transition:color .25s var(--ease),transform .25s var(--ease);flex-shrink:0}
.drawer-project-link:hover .drawer-project-arrow{color:var(--accent);transform:translate(2px,-2px)}

.case-art-wrap[data-drawer]{cursor:pointer}
.case-btn-view{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;gap:0;justify-content:center;flex-shrink:0;border-radius:50%;border:none;background:transparent;color:#d8d8ea;line-height:1;transition:color .3s var(--ease),transform .35s var(--ease)}
.case-btn-view:hover{color:var(--text-white)}
.case-btn-view svg{transition:transform .3s var(--ease)}
.case-btn-view:hover svg{transform:translate(2px,-2px) scale(1.08)}

