:root {
  color-scheme: dark;
  --bg: #0d0c13;
  --surface: #15131e;
  --raised: #191625;
  --ink: #f5f2fa;
  --muted: #bcb5cd;
  --line: #312b41;
  --accent: #c3a6ff;
  --accent-ink: #1a0d33;
  --mint: #c8f5dc;
  --header: #0d0c13ed;
  --body-font: "Arial", "Noto Sans", sans-serif;
  --mono-font: ui-monospace, "Consolas", monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f9f6fc;
  --surface: #fff;
  --raised: #eee7f9;
  --ink: #20182d;
  --muted: #524963;
  --line: #d8cde5;
  --accent: #6430b0;
  --accent-ink: #fff;
  --mint: #225d43;
  --header: #f9f6fced;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 1rem/1.6 var(--body-font); overflow-wrap: anywhere; }
body:has(dialog[open]) { overflow: hidden; }
button, select, input { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
::selection { color: var(--accent-ink); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(100% - 7.5rem, 80rem); margin-inline: auto; }
.eyebrow, .date { color: var(--accent); font: 600 .78rem/1.45 var(--mono-font); letter-spacing: .145em; }
.dot { width: .48rem; height: .48rem; background: var(--mint); border-radius: 50%; display: inline-block; flex: none; }
.skip-link { position: absolute; inset-inline-start: 1rem; inset-block-start: -5rem; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: .75rem 1rem; border-radius: .3rem; }
.skip-link:focus { inset-block-start: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { position: sticky; top: 0; z-index: 15; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: 1.4rem; font-weight: 800; letter-spacing: -.08em; display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.75rem; line-height: 1; border: 1px solid var(--line); border-radius: .6rem; direction: ltr; flex: none; }
.brand span span, h2 span { color: var(--accent); }
.nav, .header-tools { display: flex; align-items: center; }
.nav { gap: clamp(1rem, 3.1vw, 3.15rem); }
.nav a { color: var(--muted); font-weight: 600; font-size: .9rem; text-underline-offset: .35em; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.header-tools { gap: .5rem; }
.icon-btn, .language { background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; min-height: 2.5rem; }
.icon-btn { display: grid; place-items: center; width: 2.5rem; padding: 0; }
.icon-btn:hover, .language:hover { border-color: var(--accent); }
.language { display: flex; align-items: center; position: relative; gap: .35rem; padding-inline: .55rem .35rem; }
.language svg { width: .95rem; }
.language select { border: 0; color: var(--ink); background: var(--surface); font-size: .82rem; padding-block: .25rem; max-width: 7rem; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(1.5rem, 4vw, 4.7rem); align-items: center; padding-block: clamp(3rem, 6.4vw, 6.1rem) clamp(3rem, 5.5vw, 5rem); }
.hero-kicker { display: flex; align-items: center; gap: .65rem; margin-block-end: 1.55rem; color: var(--mint); text-transform: uppercase; }
.hero h1 { font-size: clamp(4.15rem, 8.55vw, 8.5rem); line-height: .865; letter-spacing: -.091em; font-weight: 800; margin-inline-start: -.065em; width: fit-content; }
.hero h1 span { color: var(--accent); font-weight: 700; }
.hero-role { font-size: clamp(1.15rem, 1.65vw, 1.55rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; margin-block: 1.75rem .85rem; }
.hero-role span { color: var(--accent); padding-inline: .15em; }
.hero-intro { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 36rem; }
.hero-actions, .contact-actions { margin-block-start: 1.65rem; display: flex; gap: .7rem; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 3rem; justify-content: center; align-items: center; gap: .6rem; padding: .6rem 1rem; border: 1px solid transparent; border-radius: .52rem; font-size: .92rem; font-weight: 700; transition: background-color .2s, color .2s, transform .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:hover { filter: brightness(1.08); }
.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.secondary:hover { border-color: var(--accent); }
.hero-art { position: relative; align-self: center; min-width: 0; padding-block-end: 1.3rem; direction: ltr; }
.art-frame { position: relative; aspect-ratio: 1.11; isolation: isolate; overflow: hidden; border-radius: 1.15rem; color: #e9defc; background: #131020; border: 1px solid #3d3159; }
.art-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(170deg, #a786ff12, transparent 35%, transparent 62%, #100a1bbb); }
.art-frame > img { height: 100%; width: 100%; object-fit: cover; transform: scale(1.05); object-position: center; }
.viewfinder { position: absolute; inset: 1.1rem; pointer-events: none; opacity: .45; background:
 linear-gradient(#c3a6ff,#c3a6ff) left top / 1rem 1px,
 linear-gradient(#c3a6ff,#c3a6ff) left top / 1px 1rem,
 linear-gradient(#c3a6ff,#c3a6ff) right top / 1rem 1px,
 linear-gradient(#c3a6ff,#c3a6ff) right top / 1px 1rem,
 linear-gradient(#c3a6ff,#c3a6ff) left bottom / 1rem 1px,
 linear-gradient(#c3a6ff,#c3a6ff) left bottom / 1px 1rem,
 linear-gradient(#c3a6ff,#c3a6ff) right bottom / 1rem 1px,
 linear-gradient(#c3a6ff,#c3a6ff) right bottom / 1px 1rem;
 background-repeat: no-repeat; }
.hero-eye { position: absolute; z-index: 2; top: 48%; left: 52%; width: 4.5rem; height: 4.5rem; display: grid; place-items: center; translate: -50% -50%; border: 1px solid #bd9cfb99; border-radius: 50%; background: radial-gradient(circle, #8b62cf42, #1a102aaf 67%); box-shadow: 0 0 30px #ae84ff5e, inset 0 0 24px #995dff37; backdrop-filter: blur(3px); }
.pupil { position: absolute; width: .9rem; height: .9rem; border-radius: 50%; background: #f2e9ff; box-shadow: 0 0 1.3rem #c5a2ff, 0 0 .6rem #e4caff; translate: var(--eye-x, 0) var(--eye-y, 0); transition: translate .15s ease-out; }
.art-label { position: absolute; z-index: 2; inset-block-start: 1.45rem; inset-inline-end: 1.55rem; display: flex; align-items: center; gap: .45rem; padding: .25rem .6rem; border: 1px solid #dcc7ff40; border-radius: 2rem; background: #110d1be0; font-size: .74rem; }
.art-spark { color: #d9bbff; font-size: 1rem; }
.portrait-label { display: flex; align-items: center; gap: .75rem; position: absolute; z-index: 3; bottom: 0; left: 1.45rem; max-width: calc(100% - 2.9rem); padding: .45rem .9rem .45rem .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 8px 30px #0004; }
.portrait-label img { width: 3rem; height: 3rem; border-radius: 50%; background: var(--raised); flex: none; }
.portrait-label strong, .portrait-label span { display: block; }
.portrait-label strong { font-size: .94rem; line-height: 1.3; }
.portrait-label span { font-size: .76rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line); }
.facts > div { min-width: 0; padding: 1.22rem 1.35rem; border-inline-end: 1px solid var(--line); }
.facts > div:first-child { padding-inline-start: .15rem; }
.facts > div:last-child { border-inline-end: 0; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: clamp(1.52rem, 2.55vw, 2.45rem); line-height: 1.13; letter-spacing: -.055em; }
.facts span { color: var(--muted); font-size: .87rem; margin-block-start: .3rem; }
.section { padding-block: clamp(4.4rem, 7vw, 7rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-block-end: 1.8rem; }
.section-head .eyebrow, .contact-card .eyebrow { margin-block-end: .55rem; }
h2 { font-size: clamp(2.5rem, 5.15vw, 5.1rem); line-height: 1; letter-spacing: -.075em; text-wrap: balance; overflow-wrap: anywhere; }
.section-intro { max-width: 22.1rem; color: var(--muted); line-height: 1.55; margin-block-end: .15rem; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.65rem 1.15rem; }
.filter-btn { padding: .4rem .8rem; min-height: 2.6rem; border: 1px solid var(--line); border-radius: 1.5rem; background: transparent; font-size: .86rem; color: var(--muted); }
.filter-btn:hover { color: var(--ink); border-color: var(--accent); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.projects { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.project { display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; transition: border-color .2s, translate .2s; }
.project:hover, .project:focus-within { border-color: var(--accent); }
.project:hover { translate: 0 -.25rem; }
.project > img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; align-items: flex-start; }
.project-category { color: var(--accent); font-size: .79rem; font-weight: 700; }
.project h3 { font-size: clamp(1.15rem, 1.55vw, 1.42rem); line-height: 1.2; letter-spacing: -.035em; margin-block: .4rem .45rem; }
.project p:not(.project-category) { font-size: .92rem; line-height: 1.54; color: var(--muted); margin-block-end: .9rem; }
.project button { background: none; border: 0; padding: .15rem 0; font-size: .87rem; font-weight: 700; text-align: start; color: var(--ink); margin-block-start: auto; text-underline-offset: .2em; text-decoration: underline; text-decoration-color: var(--accent); min-height: 2rem; }
.project button::after { content: ""; position: absolute; inset: 0; }
.visual-note { color: var(--muted); font-size: .8rem; margin-block-start: .75rem; }
.studio { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 10% 90%, #7c44e315, transparent 58%), var(--surface); }
.studio-grid, .career-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.2rem, 3vw, 3.1rem); }
.studio-reel { min-width: 0; background: #0e0b17; color: #ded1ef; border: 1px solid #3c2e56; border-radius: .9rem; overflow: hidden; }
.reel-head { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; color: #d6bcff; font: 600 .76rem/1.45 var(--mono-font); letter-spacing: .075em; }
.reel-head .dot { background: #c8f5dc; }
.studio-reel video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.studio-reel p { font-size: .83rem; padding: .55rem 1rem; }
.studio-steps article { display: grid; grid-template-columns: 3rem 1fr; align-items: start; gap: .8rem; padding-block: .85rem; border-block-end: 1px solid var(--line); }
.studio-steps article:first-child { padding-block-start: 0; }
.studio-icon { display: grid; place-items: center; border-radius: .5rem; background: var(--raised); border: 1px solid var(--line); color: var(--accent); font-size: 1.43rem; height: 2.65rem; }
.code-icon { font: 700 .98rem var(--mono-font); direction: ltr; }
.studio-steps h3, .education h3 { font-size: 1.16rem; line-height: 1.3; margin-block-end: .25rem; }
.studio-steps p, .education p { color: var(--muted); font-size: .95rem; }
.studio-steps .button { margin-block-start: 1.1rem; }
.career .section-head > div { max-width: 54rem; }
.career-grid { align-items: start; }
.job, .previous { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; }
.current-job { border-inline-start: 3px solid var(--accent); padding: 1.25rem; }
.job h3, .previous h3 { font-size: 1.36rem; letter-spacing: -.035em; line-height: 1.25; margin-block: .2rem; }
.job p:last-child { color: var(--muted); margin-block-start: .4rem; }
.employer { font-weight: 700; }
.previous { margin-block-start: .65rem; }
.previous summary { display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 1rem; padding: .85rem 1.25rem; }
.previous summary::-webkit-details-marker { display: none; }
.previous summary:hover { cursor: pointer; color: var(--accent); }
.previous summary p { color: var(--muted); font-size: .9rem; }
.disclosure { color: var(--accent); font-size: 1.45rem; line-height: 1; transition: rotate .2s; }
.previous[open] .disclosure { rotate: 45deg; }
.previous ol { list-style: none; padding: 0; margin: 0 1.25rem .8rem; }
.previous li { border-block-start: 1px solid var(--line); padding-block: .65rem; }
.previous li strong { font-size: .95rem; }
.education { padding: .2rem 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 1.35rem; padding: 0; }
.tags li { color: var(--muted); border: 1px solid var(--line); border-radius: 2rem; padding: .25rem .6rem; font-size: .84rem; }
.education p { margin-block: .25rem; }
.contact-section { padding-block-end: clamp(2.5rem, 5vw, 5rem); }
.contact-card { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 1rem; background: radial-gradient(ellipse at 92% 0, #8751eb44, transparent 60%), var(--surface); }
.contact-card > div:first-child { min-width: 0; max-width: 100%; }
.contact-card p:last-child { color: var(--muted); margin-block-start: .65rem; }
.contact-actions { flex: none; max-width: 100%; margin-block: 0 .25rem; }
.footer { border-block-start: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem 1.4rem; color: var(--muted); font-size: .85rem; }
.footer > div { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.footer .brand { color: var(--ink); }
.footer button, .footer a:not(.brand) { background: none; border: 0; padding: .25rem; color: inherit; }
.footer button:hover, .footer a:hover { color: var(--accent); }
dialog { width: min(100% - 1.25rem, 42rem); max-height: min(86dvh, 54rem); color: var(--ink); border: 1px solid var(--line); background: var(--surface); padding: 0; border-radius: 1rem; overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #090714cc; backdrop-filter: blur(7px); }
.dialog-inner { position: relative; padding: clamp(1.15rem, 4vw, 2rem); }
.dialog-close { position: sticky; top: .35rem; margin-inline-start: auto; margin-block-end: .3rem; z-index: 2; font-size: 1.5rem; line-height: 1; }
dialog h2 { font-size: clamp(1.85rem, 5vw, 3rem); margin-block-end: .6rem; }
dialog p { color: var(--muted); }
.case-image { width: 100%; height: clamp(10rem, 27vw, 17rem); object-fit: cover; border-radius: .65rem; margin-block: .9rem 1.2rem; }
.case-meta { font: 600 .81rem/1.45 var(--mono-font); color: var(--accent); }
.case-detail { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.15rem; margin-block: 1.15rem; }
.case-detail h3 { font-size: 1rem; }
.case-detail p { font-size: .96rem; }
#search-input, #brief-form select { width: 100%; border: 1px solid var(--line); color: var(--ink); background: var(--bg); padding: .62rem .7rem; border-radius: .5rem; min-height: 2.8rem; }
#search-input { margin-block: .65rem .35rem; }
#search-results { list-style: none; padding: 0; margin: .4rem 0 0; }
#search-results button { display: flex; justify-content: space-between; gap: .6rem; text-align: start; width: 100%; padding: .6rem; background: transparent; border: 0; border-block-end: 1px solid var(--line); }
#search-results button:hover { background: var(--raised); }
#search-results span { color: var(--muted); font-size: .79rem; }
#brief-form { margin-block: 1rem; display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; align-items: end; }
#brief-form label span { display: block; font-size: .9rem; padding-block-end: .25rem; }
#brief-form button { justify-self: start; }
#brief-text { margin-block: .6rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--bg); color: var(--ink); font: .91rem/1.6 var(--body-font); padding: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
#copy-status { font-size: .85rem; margin-block-start: .25rem; }
#pointer, #pointer-trail { display: none; }
@media (hover: hover) and (pointer: fine) {
  .pointer-active, .pointer-active :is(a, button, summary) { cursor: none; }
  .pointer-active #pointer, .pointer-active #pointer-trail { display: block; }
  #pointer-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }
  #pointer { position: fixed; top: 0; left: 0; z-index: 31; width: 25px; height: 25px; pointer-events: none; translate: var(--pointer-x, -100px) var(--pointer-y, -100px); }
  #pointer span { display: block; width: 100%; height: 100%; border: 1px solid var(--accent); background: #995dff2b; box-shadow: 0 0 18px #9871f983; border-radius: 7px; transform: translate(-50%, -50%) rotate(45deg); transition: border-radius .2s, background .2s, scale .2s; }
  #pointer span::after { content: ""; position: absolute; inset: 9px; background: var(--accent); border-radius: 50%; }
  #pointer.is-link span { scale: 1.45; border-radius: 50%; background: #b18efe4d; }
  .pointer-active :is(select, video, input, textarea, dialog, dialog *) { cursor: revert; }
  .pointer-active.pointer-native #pointer, .pointer-active.pointer-native #pointer-trail { display: none; }
}
[dir="rtl"] :is(h2, .hero-role, .facts strong, .project h3, .job h3, .previous h3), [lang="hi"] :is(h2, .hero-role, .facts strong), [lang="ml"] :is(h2, .hero-role, .facts strong), [lang="ta"] :is(h2, .hero-role, .facts strong) { letter-spacing: normal; line-height: 1.2; }
[dir="rtl"] .portrait-label { left: auto; right: 1.45rem; direction: rtl; padding: .45rem .45rem .45rem .9rem; }
[lang="ml"] h2, [lang="ta"] h2 { font-size: clamp(1.9rem, 3.75vw, 3.4rem); }
[lang]:not([lang="en"]) .eyebrow { letter-spacing: 0; }
@media (max-width: 1120px) {
  .shell { width: min(100% - 4rem, 80rem); }
  .hero h1 { font-size: clamp(3.65rem, 9vw, 7.5rem); }
  .hero { gap: 2rem; }
  .projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project > img { aspect-ratio: 1.95; }
  .contact-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 2.5rem); }
  .nav { gap: 1rem; }
  .hero { gap: 1.2rem; }
  .hero h1 { font-size: clamp(3rem, 9vw, 5.7rem); }
  .hero-intro { font-size: 1rem; }
  .facts > div { padding-inline: .65rem; }
  .section-head { align-items: start; flex-direction: column; gap: .8rem; }
  .section-intro { max-width: 37rem; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 5rem; }
  .header-inner { min-height: 3.85rem; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: .65rem 1.25rem 1rem; background: var(--surface); border-block-end: 1px solid var(--line); }
  .nav.open { display: flex; flex-wrap: wrap; }
  .nav a { padding: .5rem 0; }
  .menu-toggle { display: grid; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 1.7rem; padding-block-start: 2.7rem; }
  .hero h1 { font-size: clamp(3.65rem, 13vw, 6.25rem); }
  .hero-kicker { margin-block-end: 1.15rem; }
  .hero-role { margin-block-start: 1.2rem; }
  .art-frame { aspect-ratio: 1.4; border-radius: .75rem; }
  .hero-eye { width: 3.25rem; height: 3.25rem; }
  .pupil { width: .7rem; height: .7rem; }
  .art-label { inset-block-start: .75rem; inset-inline-end: .75rem; }
  .portrait-label { left: .85rem; }
  [dir="rtl"] .portrait-label { right: .85rem; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .facts > div:nth-child(2) { border-inline-end: 0; }
  .facts > div:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .facts > div:nth-child(3) { padding-inline-start: .15rem; }
  .studio-grid, .career-grid { grid-template-columns: minmax(0,1fr); }
  .footer { flex-direction: column; }
}
@media (max-width: 460px) {
  .projects, .case-detail, #brief-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 1.8rem); }
  .header-tools { gap: .35rem; }
}
@media (max-width: 350px) {
  .header-inner { gap: .45rem; }
  .header-tools .icon-btn { width: 2.1rem; }
  .language select { max-width: 4.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
:root[data-motion="reduced"] { scroll-behavior: auto; }
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before, :root[data-motion="reduced"] *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
@media print {
  .header, .hero-art, .hero-actions, .filters, .studio-reel, .studio-steps button, .contact-actions, .footer, dialog, #pointer, #pointer-trail { display: none !important; }
  :root, :root[data-theme] { color-scheme: light; --bg: #fff; --ink: #17121e; --surface: #fff; --muted: #3c3448; --line: #aaa; --accent: #51269a; --mint: #1a5439; }
  .shell { width: 100%; }
  h2, .hero h1 { font-size: 2rem; }
  .hero, .section { display: block; padding-block: 1rem; }
  .facts { display: none; }
  .projects { grid-template-columns: 1fr 1fr; }
  .project { break-inside: avoid; }
}
