:root {
  color-scheme: light;
  --ink: #222222;
  --paper: #faf9f5;
  --soft: #f2f0e9;
  --line: #dedbd2;
  --muted: #6b6963;
  --blue: #2383e2;
  --blue-soft: #e9f3ff;
  --yellow: #f5b82e;
  --yellow-soft: #fff4d6;
  --red: #e4564a;
  --red-soft: #ffe9e6;
  --green: #39a86b;
  --green-soft: #e3f5ea;
  --purple: #7c68d9;
  --purple-soft: #eeeafb;
  --peach-soft: #fcebdd;
  --mint-soft: #e5f5f1;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1440px;
  --shadow: 0 16px 40px rgba(15, 15, 15, 0.08);
}

* { box-sizing: border-box; }
main { position: relative; background: var(--soft); }
html { scroll-behavior: smooth; scroll-padding-top: 24px; background-color: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: center; padding: clamp(52px, 6vw, 82px) 32px clamp(62px, 7vw, 94px); overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(124,104,217,.09), transparent 27%), var(--paper); }
.hero-shell { position: relative; width: min(1280px, 100%); margin: 0 auto; }
.hero h1 { position: relative; width: max-content; max-width: 100%; min-height: 1em; margin: 0 auto clamp(38px, 5vw, 64px); color: var(--ink); font-family: "Spotify Circular", "Circular Std", Montserrat, "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(50px, 5.2vw, 78px); line-height: .94; letter-spacing: -0.07em; font-weight: 800; white-space: normal; text-align: center; text-wrap: balance; text-shadow: none; }
.hero-name { position: relative; width: max-content; max-width: 100%; min-height: 1em; margin: 0 auto clamp(38px, 5vw, 64px); color: var(--ink); font-family: "Spotify Circular", "Circular Std", Montserrat, "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(50px, 5.2vw, 78px); line-height: .94; letter-spacing: -0.07em; font-weight: 800; white-space: normal; text-align: center; text-wrap: balance; text-shadow: none; }

/* Greeting animation overlay */
.greeting-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 38%, rgba(124,104,217,.09), transparent 27%), var(--paper); pointer-events: none; }
.greeting-overlay.fade-out { opacity: 0; }
.greeting-text { font-family: "Spotify Circular", "Circular Std", Montserrat, "Avenir Next", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(32px, 3.5vw, 52px); font-weight: 700; color: var(--ink); letter-spacing: -.035em; line-height: 1.2; opacity: 0; transition: opacity .3s ease; will-change: opacity; }
.greeting-text.visible { opacity: 1; }
.greeting-text.hidden { opacity: 0; }
.greeting-overlay.fading { opacity: 0; transition: opacity .45s ease; }
.hero-story-grid { display: grid; grid-template-columns: minmax(0, 460px) auto; align-items: center; justify-content: center; gap: clamp(30px, 3.6vw, 54px); }
.hero-story { width: min(100%, 460px); min-width: 0; min-height: 340px; display: grid; grid-template-rows: auto auto; align-content: center; row-gap: clamp(30px, 3vw, 40px); padding: 0; }
.hero-story-work { justify-self: end; align-items: flex-start; text-align: left; }
.hero-story-text { max-width: 460px; margin: 0; color: var(--ink); font-size: clamp(22px, 1.9vw, 29px); font-weight: 600; line-height: 1.32; letter-spacing: -.035em; text-wrap: balance; }
.hero-story-break { display: block; margin-top: .34em; }
.hero-avatar-wrap { position: relative; width: clamp(250px, 22vw, 300px); border-radius: 20px; box-shadow: 0 18px 42px rgba(39,35,30,.16); }
.hero-avatar { width: 100%; height: auto; object-fit: contain; object-position: center; border: 0; border-radius: 20px; }
.hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; margin-top: 0; }
.hero-actions .contact-links { gap: 9px; }
.hero-actions .social-button { width: 46px; height: 46px; border-radius: 13px; font-size: 22px; }
.hero-resume { min-height: 46px; }
.hero-beat-apple-logo { width: 30px; height: 30px; object-fit: contain; }
.hero-beat-plus { display: grid; place-items: center; width: 16px; color: var(--muted); font-size: 18px; font-weight: 700; line-height: 1; }
.hero-beat-letterboxd-logo { display: grid; place-items: center; width: 30px; height: 30px; }
.hero-beat-letterboxd-logo img { width: 30px; height: 30px; object-fit: contain; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 21px; border-radius: 9px; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--ink); box-shadow: 0 7px 18px rgba(0,0,0,.18); }
.button-primary:hover { filter: brightness(1.12); }

.client-band { padding: 38px 0 42px; overflow: hidden; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.client-band > p { margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.client-logos { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.client-track { display: flex; width: max-content; animation: client-marquee 38s linear infinite; }
.client-logo-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.client-logo { width: 168px; min-height: 64px; display: grid; place-items: center; flex: 0 0 168px; padding: 9px 15px; }
.client-logo img { width: 100%; height: 44px; max-width: 145px; object-fit: contain; }
.client-logo-dark { background: #143b5e; border-color: #143b5e; }
.client-logo-dark { border-radius: 10px; }
.client-logo-eplus img { height: 50px; max-width: 104px; }
.client-logos:hover .client-track { animation-play-state: paused; }
@keyframes client-marquee { to { transform: translateX(-50%); } }
.experience-client-band { padding: 16px 20px 18px; background: var(--soft); border-top: 0; border-bottom: 1px solid var(--line); }
.experience-client-band > p { margin-bottom: 12px; font-size: 12px; }
.experience-client-band .client-logo-set { gap: 20px; padding-right: 20px; }
.experience-client-band .client-logo { width: 112px; min-height: 44px; flex-basis: 112px; padding: 6px 10px; }
.experience-client-band .client-logo img { height: 28px; max-width: 96px; }
.experience-client-band .client-logo-eplus img { height: 34px; max-width: 74px; }

.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 96px 32px; }
.section-heading { margin-bottom: 40px; }
.kicker, .panel-label, .project-type { margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.section-heading h2 { max-width: 950px; margin: 0; font-size: clamp(45px, 5.2vw, 78px); line-height: 1; letter-spacing: -0.055em; font-weight: 800; text-wrap: balance; }

.experience-section { border-top: 1px solid var(--line); }
.experience-shell { border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: var(--soft); }
.company-bar { display: flex; align-items: center; gap: 17px; padding: 18px 24px; background: white; border-bottom: 1px solid var(--line); }
.company-logo { width: 58px; height: 58px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; }
.company-bar-copy { min-width: 0; }
.company-bar h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.company-bar p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.company-bar p a { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.company-bar p a:hover { color: var(--blue); }
.company-bar p a i { font-size: 14px; }
.experience-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 14px; background: white; }
.experience-card { position: relative; min-width: 0; aspect-ratio: 1.38 / 1; overflow: hidden; border: 1px solid rgba(0,0,0,.05); border-radius: 18px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.experience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.experience-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.experience-card-visual { height: 100%; overflow: hidden; }
.experience-preview-progression,
.experience-preview-highlights,
.experience-preview-journey { position: relative; display: grid; height: 100%; padding: 18px; place-items: center; }
.experience-preview-progression { color: #173b3c; background: radial-gradient(circle at 82% 14%, rgba(0,181,184,.2), transparent 34%), linear-gradient(145deg, var(--blue-soft), #dff7f4); }
.experience-preview-highlights { color: #403719; background: radial-gradient(circle at 18% 16%, rgba(0,181,184,.16), transparent 34%), linear-gradient(145deg, var(--yellow-soft), #e9f6e9); }
.experience-preview-journey { color: #4a2f2b; background: radial-gradient(circle at 80% 18%, rgba(0,181,184,.15), transparent 36%), linear-gradient(145deg, var(--red-soft), var(--peach-soft)); }
.odessa-preview-brand { position: absolute; top: 16px; left: 17px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; background: rgba(255,255,255,.78); border: 1px solid rgba(0,181,184,.2); border-radius: 9px; box-shadow: 0 7px 18px rgba(31,88,89,.08); }
.odessa-preview-brand img { width: 48px; height: auto; }
.odessa-preview-brand em { padding-left: 7px; color: #447274; border-left: 1px solid rgba(0,181,184,.24); font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.career-preview-board { position: relative; width: min(88%, 300px); margin-top: 18px; padding: 17px; background: rgba(255,255,255,.91); border: 1px solid rgba(0,142,145,.2); border-radius: 16px; box-shadow: 0 20px 38px rgba(33,98,100,.16); transform: rotate(-2deg); }
.career-preview-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; color: #6b8585; border-bottom: 1px solid rgba(0,142,145,.14); font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.career-preview-head strong { color: #008f92; font-size: 8px; }
.career-preview-path { position: relative; display: grid; gap: 12px; padding: 15px 0 2px 1px; }
.career-preview-line { position: absolute; top: 25px; bottom: 13px; left: 9px; width: 2px; background: linear-gradient(#9ec9c7, #00b5b8); }
.career-preview-role { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 5px 8px 5px 0; }
.career-preview-role > i { width: 18px; height: 18px; flex: 0 0 auto; background: #b8d8d6; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #72b4b2; }
.career-preview-role span { min-width: 0; }
.career-preview-role small, .career-preview-role strong { display: block; }
.career-preview-role small { color: #789090; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.career-preview-role strong { color: #263f40; font-size: 10px; line-height: 1.15; }
.career-preview-role em { margin-left: auto; padding: 4px 6px; color: #087c7f; background: rgba(0,181,184,.1); border: 1px solid rgba(0,181,184,.25); border-radius: 999px; font-size: 7px; font-style: normal; font-weight: 700; }
.career-preview-role.role-middle > i { background: #67c5c4; box-shadow: 0 0 0 1px #2aa5a6; }
.career-preview-role.role-current { margin-left: -6px; padding: 8px 8px 8px 6px; background: linear-gradient(90deg, rgba(0,181,184,.14), rgba(0,181,184,.04)); border: 1px solid rgba(0,181,184,.22); border-radius: 10px; }
.career-preview-role.role-current > i { background: #00b5b8; border-color: #ddf9f7; box-shadow: 0 0 0 4px rgba(0,181,184,.14); }
.career-preview-badge, .impact-preview-badge, .journey-preview-badge { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 5px; padding: 9px 11px; border-radius: 10px; box-shadow: 0 12px 24px rgba(0,0,0,.16); font-size: 9px; font-weight: 800; transform: rotate(3deg); }
.career-preview-badge { right: 8%; bottom: 8%; color: #fff; background: #00a5a8; }
.impact-preview-window { position: relative; width: min(92%, 312px); margin-top: 18px; overflow: hidden; background: rgba(255,255,255,.92); border: 1px solid rgba(118,102,35,.16); border-radius: 16px; box-shadow: 0 20px 38px rgba(130,98,15,.14); transform: rotate(1.5deg); }
.impact-preview-bar { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px; color: #71798d; background: #f4f6fb; border-bottom: 1px solid #e2e5ed; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.impact-preview-bar > span { display: flex; gap: 5px; }
.impact-preview-bar i { width: 7px; height: 7px; background: #c7cad3; border-radius: 50%; }
.impact-preview-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 13px; }
.impact-preview-metrics > span { min-width: 0; padding: 10px 8px; background: #f6f8fc; border: 1px solid #e2e6ef; border-radius: 9px; }
.impact-preview-metrics small, .impact-preview-metrics strong { display: block; }
.impact-preview-metrics small { color: #7e8698; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.impact-preview-metrics strong { margin-top: 4px; color: #31394b; font-size: 14px; line-height: 1; }
.impact-preview-metrics .impact-preview-quality { background: #edf8f1; border-color: #cfe9d8; }
.impact-preview-quality strong { display: flex; align-items: center; gap: 3px; color: #008f92; font-size: 9px; }
.impact-preview-terminal { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 13px 13px; padding: 10px 11px; color: #d9e4f8; background: #202735; border-radius: 9px; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.impact-preview-terminal b { color: #8fb8ff; }
.impact-preview-terminal > strong { color: #78d099; font-size: 7px; }
.impact-preview-badge { right: 6%; bottom: 8%; color: #fff; background: #00a5a8; }
.journey-preview-stack { position: relative; width: min(92%, 310px); height: 70%; margin-top: 18px; }
.journey-preview-photo { position: absolute; top: 50%; width: 50%; height: 70%; margin: 0; padding: 5px 5px 18px; overflow: hidden; background: #fff; border-radius: 7px; box-shadow: 0 18px 34px rgba(120,64,47,.2); transform-origin: center; }
.journey-preview-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; filter: saturate(.88) contrast(1.02); }
.journey-preview-photo-left { left: 3%; transform: translateY(-50%) rotate(-9deg); }
.journey-preview-photo-center { z-index: 2; left: 25%; height: 78%; transform: translateY(-53%) rotate(-1deg); }
.journey-preview-photo-right { right: 1%; transform: translateY(-48%) rotate(8deg); }
.journey-preview-badge { right: 7%; bottom: 7%; color: #fff; background: #00a5a8; transform: rotate(-2deg); }
.experience-card-progression .career-map { height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.experience-card-highlights .career-highlights { height: 100%; overflow: hidden; border: 0; border-radius: 0; }
.experience-card-journey .experience-gallery { height: 100%; padding: 0; border: 0; }
.experience-card-journey .experience-gallery-grid { border: 0; border-radius: 0; }
.career-map { padding: 18px; overflow: hidden; color: white; background: #17171d; border: 1px solid #292933; border-radius: 18px; box-shadow: 0 14px 32px rgba(13,13,18,.12); }
.career-map-head { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.career-map-head .panel-label { margin-bottom: 3px; color: #9d9da8; }
.career-map-head h3 { max-width: 430px; margin: 0; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.08; letter-spacing: -.04em; }
.career-map-head > span { padding: 7px 10px; color: #c9c8d2; background: #24242c; border: 1px solid #353540; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.career-graph { position: relative; height: 276px; margin-top: 8px; background-image: radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 18px 18px; }
.career-graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.career-graph-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.career-graph-lines .graph-link { stroke: #8b7cf6; stroke-width: 4; filter: drop-shadow(0 0 7px rgba(139,124,246,.55)); }
.career-graph-lines .graph-link.ghost { stroke: rgba(139,124,246,.16); stroke-width: 28; filter: none; }
.career-graph-lines .graph-branch { stroke: #555461; stroke-width: 1.5; stroke-dasharray: 5 7; }
.career-graph-lines circle { fill: #777683; }
.career-node { position: absolute; z-index: 2; width: 112px; padding: 9px 9px 8px; background: rgba(36,36,44,.95); border: 1px solid #44434f; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.career-node .node-dot { position: absolute; top: 50%; left: -8px; width: 13px; height: 13px; background: #8b7cf6; border: 3px solid #17171d; border-radius: 50%; box-shadow: 0 0 0 3px rgba(139,124,246,.25); transform: translateY(-50%); }
.career-node small, .career-node strong, .career-node em { display: block; }
.career-node small { color: #a9a8b2; font-size: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.career-node strong { margin: 2px 0 1px; color: white; font-size: 11px; line-height: 1.12; }
.career-node em { color: #c2c1ca; font-size: 8px; font-style: normal; }
.career-node.node-lead { background: #433a83; border-color: #8b7cf6; box-shadow: 0 12px 32px rgba(83,65,151,.36); }
.node-intern { left: 1%; top: 65%; }
.node-engineer { left: 20%; top: 54%; }
.node-senior { left: 40%; top: 39%; }
.node-staff { left: 60%; top: 23%; }
.node-lead { left: 80%; top: 5%; }
.career-highlights { min-width: 0; padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; }
.career-highlights-head { margin-bottom: 10px; }
.career-highlights-head .panel-label { margin: 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.career-highlight { min-height: 78px; display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 9px; padding: 10px; border: 1px solid rgba(0,0,0,.05); border-radius: 11px; }
.career-highlight > strong { grid-row: 1 / 3; align-self: center; display: block; margin: 0; font-size: 23px; line-height: 1; letter-spacing: -.055em; }
.career-highlight h4 { align-self: end; margin: 0 0 2px; font-size: 12px; line-height: 1.14; letter-spacing: -.025em; }
.career-highlight p { align-self: start; margin: 0; color: #4f4f4a; font-size: 9.5px; line-height: 1.28; }
.highlight-blue { background: var(--blue-soft); }
.highlight-blue > strong { color: var(--blue); }
.highlight-yellow { background: var(--yellow-soft); }
.highlight-yellow > strong { color: #a87500; }
.highlight-api > strong { font-size: 17px; letter-spacing: -.08em; }
.highlight-green { background: var(--green-soft); }
.highlight-green > strong { color: var(--green); }
.highlight-red { background: var(--red-soft); }
.highlight-red > strong { color: var(--red); }
.highlight-purple { background: var(--purple-soft); }
.highlight-purple > strong { color: var(--purple); }
.panel-label { text-transform: none; }
.experience-gallery { padding: clamp(24px, 3vw, 40px); background: white; border-top: 1px solid var(--line); }
.experience-gallery-grid { position: relative; height: 650px; overflow: hidden; background: linear-gradient(145deg, #f8f8f6, #eeeeeb); border: 1px solid var(--line); border-radius: 22px; }
.experience-gallery figure { position: absolute; min-width: 0; margin: 0; overflow: hidden; background: white; border: 8px solid white; border-radius: 10px; box-shadow: var(--shadow); cursor: zoom-in; outline: none; transition: inset .3s ease, left .3s ease, top .3s ease, width .3s ease, height .3s ease, transform .3s ease, box-shadow .3s ease; }
.experience-gallery figure:focus-visible { box-shadow: 0 0 0 4px var(--blue-soft), 0 0 0 6px var(--blue); }
.experience-gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: filter .25s ease, transform .35s ease; }
.experience-gallery figure:focus-visible,
.experience-gallery figure.is-color { z-index: 50; background: transparent; border-width: 0; border-radius: 5px; cursor: zoom-out; box-shadow: 0 22px 56px rgba(0,0,0,.22); transform: scale(1.28); }
.experience-gallery figure:focus-visible img,
.experience-gallery figure.is-color img { object-fit: contain; filter: grayscale(0) contrast(1) saturate(1.03); transform: none; }
.gallery-lunch { top: 21%; left: 25%; z-index: 8; width: 50%; height: 56%; transform: rotate(-.5deg); }
.gallery-lunch img { object-position: 50% 46%; }
.gallery-india { top: 2%; left: 1%; z-index: 2; width: 26%; height: 29%; transform: rotate(-2deg); }
.gallery-india img { object-position: 58% 34%; }
.gallery-holi { top: 1%; left: 20%; z-index: 3; width: 22%; height: 25%; transform: rotate(1.5deg); }
.gallery-holi img { object-position: 50% 38%; }
.gallery-coats { top: 1%; left: 79%; z-index: 2; width: 19%; height: 34%; transform: rotate(2deg); }
.gallery-coats img { object-position: 50% 20%; }
.gallery-cake { top: 64%; left: 75%; z-index: 4; width: 24%; height: 29%; transform: rotate(-2deg); }
.gallery-cake img { object-position: 58% 44%; }
.gallery-selfie { top: 35%; left: 1%; z-index: 4; width: 20%; height: 32%; transform: rotate(2deg); }
.gallery-selfie img { object-position: 50% 24%; }
.gallery-team { top: 68%; left: 2%; z-index: 3; width: 25%; height: 29%; transform: rotate(-1deg); }
.gallery-team img { object-position: 53% 27%; }
.gallery-office { top: 1%; left: 40%; z-index: 4; width: 22%; height: 25%; transform: rotate(-1deg); }
.gallery-office img { object-position: 50% 60%; }
.gallery-holiday { top: 73%; left: 38%; z-index: 5; width: 28%; height: 25%; transform: rotate(1deg); }
.gallery-holiday img { object-position: 48% 35%; }
.gallery-evening-team { top: 34%; left: 78%; z-index: 3; width: 21%; height: 31%; transform: rotate(-1deg); }
.gallery-evening-team img { object-position: 18% 42%; }
.gallery-dinner-home { top: 63%; left: 18%; z-index: 6; width: 28%; height: 30%; transform: rotate(2deg); }
.gallery-dinner-home img { object-position: 58% 48%; }
.gallery-restaurant { top: 69%; left: 59%; z-index: 7; width: 22%; height: 27%; transform: rotate(-2deg); }
.gallery-restaurant img { object-position: 64% 45%; }

.experience-dialog { width: min(1040px, calc(100% - 32px)); max-height: min(820px, calc(100dvh - 32px)); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.26); }
.experience-dialog::backdrop { background: rgba(20,20,18,.58); backdrop-filter: blur(8px); }
.experience-dialog-panel { max-height: inherit; overflow: auto; }
.experience-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px 34px 22px; }
.experience-dialog-header .panel-label { margin: 0 0 10px; }
.experience-dialog-header h2 { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: .98; letter-spacing: -.055em; }
.experience-dialog-header p:last-child { max-width: 650px; margin: 14px 0 0; color: var(--muted); line-height: 1.55; }
.experience-dialog-close { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; padding: 0; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 21px; }
.experience-dialog-close:hover { color: var(--blue); }
.experience-dialog-body { padding: 0 34px 34px; }
.experience-dialog-body > .career-map { min-height: 360px; border-radius: 18px; }
.experience-dialog-body > .career-highlights { border-radius: 18px; }
.experience-dialog-body > .experience-gallery { padding: 0; border: 0; }
.experience-dialog-body > .experience-gallery .experience-gallery-grid { height: 650px; }

.projects-section { max-width: none; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.projects-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project-card { position: relative; display: flex; flex-direction: column; min-height: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(0,0,0,.05); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.project-blue { background: var(--blue-soft); }
.project-yellow { background: var(--yellow-soft); }
.project-red { background: var(--red-soft); }
.project-green { background: var(--green-soft); }
.project-card > .project-copy { display: none; }
.project-copy { padding: clamp(28px, 3.5vw, 48px); }
.project-copy h3 { margin: 0 0 15px; font-size: clamp(31px, 3vw, 48px); line-height: 1; letter-spacing: -.05em; }
.project-description { display: none; max-width: 650px; margin: 0; color: #3f3f3b; line-height: 1.62; }
.project-meta { margin-top: 22px; font-size: 13px; font-weight: 700; }
.project-detail-hint { display: flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--blue); font-size: 13px; font-weight: 750; }
.project-detail-hint i { transition: transform .2s ease; }
.project-card:hover .project-detail-hint i { transform: translate(2px, -2px); }
.project-links { display: flex; gap: 10px; margin-top: 14px; }
.project-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; background: var(--ink); color: white; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 700; }
.project-visual { position: relative; min-height: 260px; flex: 1; margin: 0 22px 22px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.56); border: 1px solid rgba(255,255,255,.9); }
.project-card > .project-visual { width: 100%; min-height: 360px; margin: 0; border: 0; border-radius: inherit; }
.mini-window { position: absolute; width: 72%; left: 14%; top: 54px; padding: 20px; background: white; border: 1px solid #d6e0eb; border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.window-bar { display: flex; gap: 5px; padding-bottom: 20px; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3d3cf; }
.mini-window code { color: #373b44; font: 600 16px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mini-window b { color: var(--green); }
.valid-pill { position: absolute; right: -20px; bottom: -22px; padding: 11px 13px; color: white; background: var(--green); border-radius: 10px; font-size: 12px; font-weight: 800; transform: rotate(4deg); box-shadow: var(--shadow); }
.support-visual { display: grid; align-content: center; gap: 12px; padding: 34px; }
.ticket, .answer-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: white; border: 1px solid #eee1c0; border-radius: 14px; box-shadow: 0 12px 30px rgba(130,98,15,.09); }
.ticket-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #9c7000; background: var(--yellow-soft); border-radius: 11px; font-size: 21px; }
.ticket small, .ticket strong { display: block; }
.ticket small { color: var(--muted); }
.status-dot { width: 10px; height: 10px; margin-left: auto; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px var(--green-soft); }
.answer-card { width: 84%; margin-left: auto; color: #5f4d0e; background: #fffaf0; transform: rotate(-1deg); }
.pokrit-visual { display: grid; place-items: center; }
.match-card { position: relative; z-index: 2; width: 78%; display: flex; gap: 15px; align-items: center; padding: 22px; background: white; border: 1px solid #f0d6d1; border-radius: 15px; box-shadow: var(--shadow); transform: rotate(1deg); }
.match-card.rear { position: absolute; z-index: 1; top: 23%; height: 100px; transform: rotate(-6deg); opacity: .7; }
.match-score { display: grid; place-items: center; width: 66px; height: 66px; flex: 0 0 auto; color: white; background: var(--red); border-radius: 50%; font-size: 22px; font-weight: 800; }
.match-card small, .match-card strong, .match-card span { display: block; }
.match-card small { color: var(--red); font-weight: 700; }
.match-card strong { margin: 3px 0; font-size: 17px; }
.match-card span { color: var(--muted); font-size: 12px; }
.market-visual { display: grid; align-items: end; padding: 30px 30px 0; }
.chart-card { height: 85%; padding: 22px; background: white; border: 1px solid #d5ebde; border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: var(--shadow); }
.chart-card > span { font-size: 14px; font-weight: 700; }
.chart-card svg { width: 100%; height: 72%; margin-top: 28px; overflow: visible; }
.chart-line { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.chart-fill { fill: url(#none); fill: rgba(57,168,107,.08); }
.project-dialog { width: min(920px, calc(100% - 32px)); max-height: min(760px, calc(100dvh - 32px)); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.26); }
.project-dialog::backdrop { background: rgba(20, 20, 18, .58); backdrop-filter: blur(8px); }
.project-dialog-panel { max-height: inherit; overflow: auto; }
.project-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px 34px 0; }
.project-dialog-header .project-type { margin-bottom: 10px; }
.project-dialog-header h2 { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: .98; letter-spacing: -.055em; }
.project-dialog-close { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; padding: 0; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 21px; }
.project-dialog-close:hover { color: var(--blue); }
.project-dialog-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; gap: 28px; padding: 28px 34px 34px; }
.project-dialog-copy { align-self: center; }
.project-dialog-description { margin: 0; color: #3f3f3b; line-height: 1.68; }
.project-dialog-copy .project-meta { margin-top: 24px; }
.project-dialog-links { margin-top: 25px; }
.project-dialog-visual { min-width: 0; min-height: 270px; }
.project-dialog-visual > .project-visual { height: 100%; min-height: 270px; margin: 0; }

.education-section { border-top: 1px solid var(--line); }
.off-clock-section { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 56px 0 72px; border-top: 1px solid var(--line); }
.off-clock-shell { display: flex; width: min(780px, 100%); align-items: center; justify-content: space-between; gap: 30px; margin: 0 auto; padding: 28px 30px; overflow: hidden; background: radial-gradient(circle at 92% 12%, rgba(124,104,217,.2), transparent 32%), linear-gradient(135deg, var(--peach-soft), var(--purple-soft)); border: 1px solid var(--line); border-radius: 22px; }
.off-clock-shell h2 { max-width: 490px; margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: .98; letter-spacing: -.055em; }
.off-clock-shell p:last-child { max-width: 490px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.off-clock-link { display: grid; width: 176px; height: 116px; place-items: center; flex: 0 0 auto; padding: 18px; overflow: hidden; color: #55525c; background: rgba(255,255,255,.76); border: 1px solid rgba(78,68,93,.14); border-radius: 16px; box-shadow: 0 12px 28px rgba(62,47,92,.11); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.off-clock-link:hover { box-shadow: 0 18px 36px rgba(62,47,92,.17); transform: translateY(-3px); }
.off-clock-icons { display: grid; width: auto; grid-template-columns: 48px 18px 48px; align-items: center; justify-content: center; gap: 10px; }
.off-clock-icons .hero-beat-apple-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.off-clock-icons .hero-beat-plus { width: 18px; font-size: 23px; }
.off-clock-icons .hero-beat-letterboxd-logo { display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; background: #fff; border: 1px solid rgba(32,40,48,.13); border-radius: 50%; box-shadow: 0 3px 9px rgba(32,40,48,.1); }
.off-clock-icons .hero-beat-letterboxd-logo img { width: 48px; height: 48px; object-fit: contain; }
.education-layout { display: grid; align-items: start; grid-template-columns: 1.6fr .7fr; gap: 20px; }
.education-grid { display: grid; align-self: start; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.education-card { position: relative; display: flex; width: 100%; height: 300px; min-width: 0; min-height: 300px; padding: 22px; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 38px rgb(0 0 0 / 4%); }
.education-card-university { --education-accent: #ef3e33; --education-tint: #fff0ef; }
.education-card-school { --education-accent: #147ac2; --education-tint: #edf7ff; }
.education-top { display: flex; height: 62px; min-height: 62px; justify-content: space-between; align-items: flex-start; gap: 14px; }
.education-logo { display: block; max-width: 155px; object-fit: contain; object-position: left center; }
.education-logo-chitkara { width: 145px; height: 62px; }
.school-marks { display: flex; min-width: 0; align-items: center; gap: 12px; }
.education-logo-gjgs { width: 116px; height: 47px; }
.education-logo-british-school { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; }
.year { flex: 0 0 auto; padding: 7px 10px; color: var(--muted); background: var(--soft); border-radius: 999px; font-size: 12px; font-weight: 650; }
.education-copy { display: flex; min-height: 94px; margin: 20px 0 16px; flex-direction: column; }
.education-level { margin: 0 0 7px; color: var(--education-accent); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.education-card h3 { min-height: 48px; margin: 0 0 8px; font-size: 22px; line-height: 1.08; letter-spacing: -.04em; }
.education-copy > p:last-child { margin: auto 0 0; color: #4d4d48; font-size: 14px; }
.cgpa-highlight { margin-top: auto; padding: 14px 16px 13px; background: var(--education-tint); border-radius: 14px; }
.cgpa-score { display: flex; align-items: baseline; gap: 6px; }
.cgpa-score span { margin-right: auto; color: var(--education-accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.cgpa-score strong { color: var(--ink); font-size: 32px; line-height: 1; letter-spacing: -.055em; }
.cgpa-score small { color: var(--muted); font-size: 13px; font-weight: 650; }
.cgpa-track { height: 5px; margin-top: 10px; overflow: hidden; background: rgb(0 0 0 / 8%); border-radius: 999px; }
.cgpa-track span { display: block; width: var(--score); height: 100%; background: var(--education-accent); border-radius: inherit; }
.education-location { display: flex; align-items: center; gap: 4px; min-height: 18px; margin-top: 11px; color: var(--muted); font-size: 12px; }
.education-location-empty { visibility: hidden; }
.languages { align-self: start; height: 300px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.language-list { display: grid; gap: 2px; margin-top: 14px; }
.language-list > div { display: grid; grid-template-columns: 30px 1fr; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.language-list > div:last-child { border-bottom: 0; }
.language-list > div > span { grid-row: span 2; font-size: 18px; }
.language-list strong { font-size: 14px; }
.language-list small { color: var(--muted); font-size: 12px; }
.language-list strong[lang="hi"] { font-family: "Noto Sans Devanagari", sans-serif; }
.language-list strong[lang="pa"] { font-family: "Noto Sans Gurmukhi", sans-serif; }

.contact-links { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.social-button { width: 62px; height: 62px; display: grid; place-items: center; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.05); text-decoration: none; font-size: 29px; transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
.social-button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.social-gmail { color: #ea4335; }
.social-linkedin { color: #0a66c2; }
.social-github { color: #24292f; }
.social-x { color: #000000; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 28px clamp(24px, 4vw, 56px); background: radial-gradient(circle at 50% 38%, rgba(124,104,217,.09), transparent 27%), var(--paper); font-size: 13px; border-top: 1px solid var(--line); }
.site-footer a { text-decoration: none; font-weight: 600; }


html.js .hero-story-grid,
html.js .hero-actions,
html.js main > .section,
html.js .site-footer { opacity: 1; transform: none; transition: opacity 1.15s cubic-bezier(.2,.7,.2,1), transform 1.15s cubic-bezier(.2,.7,.2,1); }
html.js:not(.site-revealed) .hero-story-grid,
html.js:not(.site-revealed) .hero-actions,
html.js:not(.site-revealed) main > .section,
html.js:not(.site-revealed) .site-footer { opacity: 0; transform: translateY(22px); pointer-events: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
/* raised directional scroll cues */
.scroll-arrow { position: absolute; left: 50%; top: -58px; transform: translateX(-50%); z-index: 30; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: color-mix(in srgb, var(--paper) 88%, transparent); border: 1px solid color-mix(in srgb, var(--line) 76%, var(--ink)); border-radius: 50%; box-shadow: 0 10px 28px rgba(30,28,22,.14), 0 0 0 7px color-mix(in srgb, var(--paper) 58%, transparent); backdrop-filter: blur(10px); cursor: pointer; opacity: 1; transition: color .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.scroll-arrow i { display: block; font-size: 20px; line-height: 1; animation: scroll-cue-down 1.55s cubic-bezier(.45,0,.55,1) infinite; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.scroll-arrow:hover { color: var(--blue); background: var(--paper); border-color: var(--blue); box-shadow: 0 12px 32px rgba(30,28,22,.18), 0 0 0 7px color-mix(in srgb, var(--paper) 72%, transparent); }
.scroll-arrow:hover i { animation-play-state: paused; }
.scroll-arrow.flipped i { animation-name: scroll-cue-up; }
html.js:not(.site-revealed) .scroll-arrow { opacity: 1; pointer-events: auto; }
@keyframes scroll-cue-down { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@keyframes scroll-cue-up { 0%, 100% { transform: translateY(3px) rotate(180deg); } 50% { transform: translateY(-4px) rotate(180deg); } }

/* tap affordance badge on overlay cards */
.tap-badge { position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 26px; height: 26px; color: rgba(28,26,22,.72); background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); border-radius: 50%; box-shadow: 0 4px 12px rgba(30,28,22,.16); backdrop-filter: blur(4px); opacity: .9; transition: transform .25s ease, opacity .25s ease; }
.tap-badge i { font-size: 15px; }
.project-card:hover .tap-badge, .experience-card:hover .tap-badge { opacity: 1; transform: translateY(-2px); }

/* beat overlay */
.beat-dialog { width: min(880px, calc(100% - 32px)); height: min(640px, calc(100dvh - 48px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 34px 90px rgba(20,18,14,.36); }
.beat-dialog::backdrop { background: rgba(20,20,18,.62); backdrop-filter: blur(10px); }
.beat-dialog-panel { height: 100%; padding: 18px; }
.beat-dialog-close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; color: rgba(255,255,255,.9); background: rgba(20,20,20,.52); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.25); backdrop-filter: blur(8px); font-size: 20px; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.beat-dialog-close:hover { color: white; background: rgba(20,20,20,.74); transform: scale(1.04); }
.beat-dialog-frame { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--soft); }
.beat-dialog-loading { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--purple); border-radius: 50%; animation: beat-spin .8s linear infinite; }
.beat-dialog-iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; }
@keyframes beat-spin { to { transform: rotate(360deg); } }


@media (max-width: 1100px) {
  .experience-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: max(680px, 100svh); padding-inline: 24px; }
  .hero-shell { margin: 0 auto; }
  .hero-story-grid { grid-template-columns: minmax(0, 420px) auto; gap: 30px; }
  .hero-story { min-height: 320px; }
  .hero-story-text { font-size: 21px; }
  .hero-avatar-wrap { width: 250px; }
  .career-node { width: 140px; }
  .education-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { min-height: max(760px, 100svh); padding: 34px 20px 64px; }
  .hero h1 { margin-bottom: 30px; font-size: clamp(42px, 12vw, 54px); line-height: .95; white-space: normal; text-wrap: balance; }
  .hero-story-grid { width: 100%; grid-template-columns: 1fr; justify-items: center; gap: 24px; }
  .hero-avatar-wrap { grid-row: 1; justify-self: center; width: min(62vw, 230px); }
  .hero-story-work { grid-row: 2; }
  .hero-story { width: min(100%, 520px); min-height: 0; grid-template-rows: none; align-content: initial; row-gap: 0; justify-self: center; align-items: center; text-align: center; }
  .hero-story-text { width: 100%; max-width: 520px; margin-inline: auto; font-size: 18px; line-height: 1.4; text-align: center; text-wrap: pretty; }
  .hero-actions { justify-content: center; margin-top: 28px; }
  .hero-story-work { align-items: center; text-align: center; }
  .hero .button { min-height: 44px; padding: 10px 17px; font-size: 14px; }
  .client-band { padding: 31px 0 35px; }
  .client-band > p { margin-bottom: 18px; font-size: 14px; }
  .client-logo-set { gap: 22px; padding-right: 22px; }
  .client-logo { width: 138px; min-height: 56px; flex-basis: 138px; padding: 7px 12px; }
  .client-logo img { height: 38px; max-width: 120px; }
  .client-logo-eplus img { height: 44px; max-width: 88px; }
  .experience-client-band { padding: 14px 16px 16px; }
  .experience-client-band > p { margin-bottom: 10px; font-size: 12px; }
  .experience-client-band .client-logo-set { gap: 16px; padding-right: 16px; }
  .experience-client-band .client-logo { width: 96px; min-height: 38px; flex-basis: 96px; padding: 5px 8px; }
  .experience-client-band .client-logo img { height: 24px; max-width: 82px; }
  .experience-client-band .client-logo-eplus img { height: 29px; max-width: 68px; }
  .section { padding: 64px 20px; }
  .off-clock-section { width: calc(100% - 40px); margin: 0 auto; padding: 42px 0 64px; }
  .off-clock-shell { align-items: stretch; padding: 28px 24px; flex-direction: column; gap: 26px; }
  .off-clock-shell p:last-child { font-size: 16px; }
  .off-clock-link { width: 100%; height: 116px; }
  .off-clock-icons { gap: 10px; }
  .section-heading { margin-bottom: 30px; }
  .project-grid, .education-grid { grid-template-columns: 1fr; }
  .experience-card-grid { grid-template-columns: 1fr; padding: 10px; }
  .experience-card { height: 250px; min-height: 250px; aspect-ratio: auto; }
  .career-preview-board, .impact-preview-window { width: min(88%, 310px); }
  .journey-preview-stack { width: min(90%, 310px); }
  .experience-card-journey .experience-gallery { padding: 0; }
  .experience-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .experience-dialog-header { padding: 24px 22px 18px; }
  .experience-dialog-body { padding: 0 22px 24px; }
  .experience-dialog-body > .experience-gallery .experience-gallery-grid { height: 690px; }
  .career-map { padding: 18px 14px; border-radius: 16px; }
  .career-map-head { align-items: flex-start; }
  .career-map-head h3 { max-width: 220px; font-size: 20px; }
  .career-map-head > span { padding: 5px 8px; font-size: 9px; }
  .career-graph { height: auto; display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 20px; padding-left: 14px; background-size: 16px 16px; }
  .career-graph::before { content: ""; position: absolute; top: 32px; bottom: 32px; left: 20px; width: 2px; background: linear-gradient(#8b7cf6, #555461); }
  .career-graph-lines { display: none; }
  .career-node { position: relative; top: auto; left: auto; width: auto; min-height: 68px; padding: 12px 13px 11px 19px; }
  .career-node .node-dot { left: -1px; }
  .career-highlights { padding: 14px; }
  .career-highlights-head { margin-bottom: 9px; }
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .career-highlight { min-height: 128px; display: block; padding: 12px; }
  .career-highlight > strong { margin-bottom: 12px; font-size: 25px; }
  .career-highlight h4 { margin-bottom: 4px; font-size: 13px; }
  .career-highlight p { font-size: 10.5px; }
  .experience-gallery { padding: 24px 20px 26px; }
  .experience-gallery-grid { display: block; height: 690px; }
  .experience-gallery figure { border-width: 6px; border-radius: 8px; }
  .experience-gallery figure:focus-visible,
  .experience-gallery figure.is-color { border-width: 0; transform: scale(1.18); }
  .gallery-lunch { top: 28%; left: 8%; width: 84%; height: 40%; }
  .gallery-india { top: 0; left: 0; width: 47%; height: 24%; }
  .gallery-holi { top: 1%; left: 38%; width: 44%; height: 22%; }
  .gallery-coats { top: 10%; left: 73%; width: 27%; height: 25%; }
  .gallery-cake { top: 70%; left: 68%; width: 32%; height: 20%; }
  .gallery-selfie { top: 23%; left: 0; width: 31%; height: 25%; }
  .gallery-team { top: 77%; left: 0; width: 42%; height: 21%; }
  .gallery-office { top: 79%; left: 43%; width: 40%; height: 19%; }
  .gallery-holiday { top: 58%; left: 25%; width: 45%; height: 22%; }
  .gallery-evening-team { top: 38%; left: 72%; width: 28%; height: 25%; }
  .gallery-dinner-home { top: 52%; left: 0; width: 39%; height: 25%; }
  .gallery-restaurant { top: 57%; left: 55%; width: 43%; height: 21%; }
  .project-visual, .project-card > .project-visual { min-height: 230px; }
  .project-card { min-height: 0; }
  .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .project-dialog-header { padding: 24px 22px 0; }
  .project-dialog-grid { grid-template-columns: 1fr; gap: 22px; padding: 22px 22px 24px; }
  .project-dialog-visual { order: -1; min-height: 220px; }
  .project-dialog-visual > .project-visual { min-height: 220px; }
  .education-card { min-height: 300px; }
  .education-top { min-height: 55px; }
  .education-logo-chitkara { width: 134px; height: 56px; }
  .education-logo-gjgs { width: 105px; height: 42px; }
  .education-logo-british-school { width: 42px; height: 42px; }
  .education-copy { margin-top: 26px; }
  .contact-links { flex-direction: row; }
  .site-footer { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .client-track { animation: none; }
  .client-logos { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .client-logo-set[aria-hidden="true"] { display: none; }
}

@media (hover: hover) and (min-width: 761px) {
  .experience-gallery figure:hover { z-index: 50; background: transparent; border-width: 0; border-radius: 5px; cursor: zoom-out; box-shadow: 0 22px 56px rgba(0,0,0,.22); transform: scale(1.28); }
  .experience-gallery figure:hover img { object-fit: contain; filter: grayscale(0) contrast(1) saturate(1.03); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
  .scroll-arrow i { animation: none; }
  .scroll-arrow.flipped i { transform: rotate(180deg); }
}
