:root {
  --bg: #080a11;
  --text: #f4f6fb;
  --muted: #a3aabc;
  --faint: #72798b;
  --border: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .065);
  --glass2: rgba(255, 255, 255, .095);
  --accent: #9c8cff;
  --accent2: #6be7ff;
  --accent3: #e178ff;
  --success: #7bf1b2;
  --shadow: 0 30px 80px rgba(0, 0, 0, .32);
  --max: 1180px;
  --ease: cubic-bezier(.2, .75, .2, 1)
}

html[data-theme="light"] {
  --bg: #eef1f8;
  --text: #11131a;
  --muted: #465063;
  --faint: #667085;
  --border: rgba(20, 28, 48, .10);
  --glass: rgba(255, 255, 255, .52);
  --glass2: rgba(255, 255, 255, .68);
  --shadow: 0 28px 70px rgba(65, 76, 112, .15)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, rgba(113, 91, 255, .12), transparent 34%), var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: .35s background, .35s color
}

html.dialog-open,
body.dialog-open {
  overflow: hidden
}

body.dialog-open {
  position: fixed;
  top: var(--dialog-scroll-top);
  right: 0;
  left: 0;
  width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -2;
  opacity: .18
}

.ambient-a {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -160px;
  left: -120px
}

.ambient-b {
  width: 390px;
  height: 390px;
  background: var(--accent2);
  top: 36%;
  right: -170px;
  opacity: .12
}

.ambient-c {
  width: 360px;
  height: 360px;
  background: var(--accent3);
  bottom: -170px;
  left: 38%;
  opacity: .1
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 45%, rgba(255, 255, 255, .055)), var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(24px) saturate(145%)
}

html[data-theme="light"] .glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .32) 47%, rgba(255, 255, 255, .58)), var(--glass)
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  padding: 0 22px;
  z-index: 40
}

.nav-shell {
  max-width: 920px;
  height: 64px;
  margin: auto;
  padding: 8px 10px 8px 12px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope, sans-serif;
  font-weight: 800
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .16)
}

.nav-links {
  display: flex;
  gap: 8px
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: .2s
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, .07)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px
}

.language-switcher {
  height: 38px;
  padding: 3px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, .045)
}

.language-btn {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer
}

.language-btn.active {
  color: var(--text);
  background: rgba(255, 255, 255, .1)
}

.language-divider {
  width: 1px;
  height: 14px;
  background: var(--border)
}

.icon-btn,
.menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center
}

.icon-btn:hover,
.menu-btn:hover {
  background: rgba(255, 255, 255, .07)
}

.icon-btn {
  position: relative;
  overflow: hidden
}

.icon-btn svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: opacity .22s ease, transform .35s var(--ease)
}

.moon-icon {
  fill: currentColor !important;
  stroke: none !important
}

html[data-theme="dark"] .sun-icon,
html[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(.45)
}

html[data-theme="dark"] .moon-icon,
html[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1)
}

.menu-btn {
  display: none
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor
}

.menu-btn span+span {
  margin-top: -8px;
  transform: translateY(8px)
}

[data-i18n],
[data-i18n-html] {
  transition: opacity .15s ease, transform .22s var(--ease), filter .15s ease
}

html.language-leaving [data-i18n],
html.language-leaving [data-i18n-html] {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(2px)
}

html.language-entering [data-i18n],
html.language-entering [data-i18n-html] {
  animation: langin .28s var(--ease) both
}

@keyframes langin {
  from {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(2px)
  }

  to {
    opacity: 1;
    transform: none;
    filter: none
  }
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: auto;
  padding: 120px 0
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 76px;
  padding-top: 140px
}

.hero-copy {
  z-index: 2
}

.eyebrow {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(123, 241, 178, .08), 0 0 18px rgba(123, 241, 178, .55)
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  font-family: Manrope, sans-serif;
  margin: 24px 0 0;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .99
}

.hero h1 {
  font-size: clamp(52px, 6.5vw, 92px);
  max-width: 850px
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #9c8cff, #6be7ff 58%, #d9f8ff);
  background-clip: text;
  -webkit-background-clip: text
}

html[data-theme="light"] .gradient-text {
  background: linear-gradient(100deg, #4c38c8, #176fc0 58%, #006f85);
  background-clip: text;
  -webkit-background-clip: text
}

.hero-description {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75
}

.hero-description strong {
  color: var(--text)
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px
}

.btn {
  min-height: 52px;
  padding: 0 19px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  transition: .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--text);
  color: var(--bg)
}

.btn-ghost {
  background: rgba(255, 255, 255, .045)
}

.hero-meta {
  display: flex;
  gap: 42px;
  margin-top: 50px
}

.hero-meta>div {
  display: grid;
  gap: 3px
}

.meta-label,
.mini-label {
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700
}

.meta-value {
  font-size: 14px;
  font-weight: 600
}

.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  perspective: 1000px
}

.profile-card {
  width: min(420px, 100%);
  min-height: 520px;
  border-radius: 42px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .18s ease-out
}

.profile-card:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: 50%;
  top: 37%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  filter: blur(70px);
  opacity: .21
}

.profile-topline,
.profile-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700
}

.signal {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 10px
}

.signal i {
  width: 2px;
  border-radius: 2px;
  background: var(--muted)
}

.signal i:nth-child(1) {
  height: 4px
}

.signal i:nth-child(2) {
  height: 7px
}

.signal i:nth-child(3) {
  height: 10px
}

.profile-avatar {
  width: 210px;
  height: 210px;
  margin: 58px auto 38px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center
}

.profile-avatar:before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .15)
}

.profile-avatar img {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22)
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: inherit
}

.avatar-ring:before,
.avatar-ring:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 20px var(--accent2)
}

.avatar-ring:before {
  top: 25px;
  right: 28px
}

.avatar-ring:after {
  bottom: 24px;
  left: 28px;
  background: var(--accent3)
}

.profile-info {
  position: relative;
  z-index: 2
}

.profile-kicker {
  color: var(--accent2) !important;
  letter-spacing: .12em;
  font-size: 10px !important;
  font-weight: 800
}

.profile-info h2 {
  font-family: Manrope;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 7px 0 12px
}

.profile-info p {
  color: var(--muted);
  font-size: 13px;
  margin: 0
}

.profile-footer {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 34px
}

.floating-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 15px;
  font-family: Manrope;
  font-size: 11px;
  font-weight: 800
}

.chip-code {
  top: 15%;
  right: -12px
}

.chip-db {
  bottom: 18%;
  left: -12px
}

.chip-framework {
  bottom: 4%;
  right: 28px
}

.section-heading {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  margin-bottom: 48px
}

.section-index {
  color: var(--faint);
  font-family: Manrope;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 9px
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--accent2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.section-heading h2 {
  font-size: clamp(39px, 5vw, 68px)
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px
}

.content-card,
.mini-card,
.timeline-item,
.project-card,
.education-card,
.contact-card {
  border-radius: 24px
}

.content-card {
  padding: 34px
}

.about-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  margin: 0
}

.about-copy p+p {
  margin-top: 20px
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.mini-card {
  min-height: 160px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.mini-card.wide {
  grid-column: 1/-1;
  min-height: 180px
}

.mini-number {
  font-family: Manrope;
  font-size: 52px;
  letter-spacing: -.06em;
  font-weight: 800
}

.tag-row,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.tag-row {
  margin-top: 20px
}

.tag-row span,
.project-tags span {
  padding: 7px 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700
}

.timeline {
  display: grid;
  gap: 14px;
  padding-left: 90px
}

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 28px;
  transition: .25s
}

.timeline-item:hover {
  transform: translateY(-3px);
  background-color: var(--glass2)
}

.timeline-date {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700
}

.role-head {
  display: flex;
  justify-content: space-between;
  gap: 18px
}

.role-head h3 {
  font-family: Manrope;
  font-size: 23px;
  letter-spacing: -.035em;
  margin: 0
}

.role-head p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 14px
}

.current-badge {
  padding: 6px 8px;
  border: 1px solid rgba(123, 241, 178, .2);
  background: rgba(123, 241, 178, .08);
  color: var(--success);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800
}

.timeline-content ul {
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px
}

.timeline-content li {
  position: relative;
  padding-left: 17px
}

.timeline-content li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent)
}

.project-grid {
  padding-left: 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.project-card {
  min-height: 320px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s
}

.project-card:hover {
  transform: translateY(-5px)
}

.project-card.featured {
  min-height: 420px;
  grid-column: 1/-1;
  justify-content: flex-end
}

.project-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--faint);
  font: 800 11px Manrope
}

.project-tags {
  margin-bottom: auto;
  padding-right: 46px
}

.project-card h3 {
  font-family: Manrope;
  margin: 30px 0 11px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.04em
}

.project-card p {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  font-size: 14px;
  line-height: 1.7
}

.featured .project-body {
  position: relative;
  z-index: 2;
  max-width: 680px
}

.featured .project-tags {
  margin-bottom: 0
}

.featured h3 {
  font-size: clamp(34px, 4vw, 50px)
}

.project-eyebrow {
  margin: 20px 0 0 !important;
  color: var(--accent2) !important;
  font-family: Manrope;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .08em
}

.project-meta {
  margin-top: 18px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700
}

.project-source {
  width: max-content;
  margin-top: 22px;
  padding: 10px 13px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .055);
  font-size: 12px;
  font-weight: 800
}

.project-source svg {
  width: 17px;
  height: 17px;
  fill: currentColor
}

.project-code-art {
  position: absolute;
  right: 58px;
  top: 72px;
  width: 300px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  transform: rotate(4deg)
}

.project-code-art:before {
  content: "CustomQueryBuilder";
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--faint);
  font: 11px monospace
}

.project-code-art span {
  position: absolute;
  padding: 8px 11px;
  border-radius: 10px;
  background: var(--glass2);
  border: 1px solid var(--border);
  color: var(--muted);
  font: 11px monospace
}

.project-code-art span:nth-child(1) {
  top: 63px;
  left: 32px
}

.project-code-art span:nth-child(2) {
  top: 108px;
  right: 25px
}

.project-code-art span:nth-child(3) {
  bottom: 50px;
  left: 44px
}

.project-code-art span:nth-child(4) {
  bottom: 18px;
  right: 44px
}

.education-card {
  margin-left: 90px;
  padding: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.education-year {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700
}

.education-card h3 {
  font-family: Manrope;
  margin: 8px 0 2px;
  font-size: 28px
}

.education-card p {
  color: var(--muted);
  margin: 0
}

.gpa {
  min-width: 150px;
  display: grid;
  justify-items: end
}

.gpa>span {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800
}

.gpa strong {
  font-family: Manrope;
  font-size: 44px;
  line-height: 1
}

.gpa small {
  color: var(--faint);
  font-size: 16px
}

.contact-section {
  padding-bottom: 80px
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 78px);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.contact-card h2 {
  font-size: clamp(44px, 6vw, 76px);
  position: relative;
  z-index: 2
}

.contact-copy {
  color: var(--muted);
  margin: 22px 0 0
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px
}

.contact-orb {
  position: absolute;
  width: 470px;
  height: 470px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .33), rgba(156, 140, 255, .22) 22%, rgba(107, 231, 255, .1) 43%, transparent 72%)
}

.footer {
  width: min(var(--max), calc(100% - 44px));
  margin: auto;
  padding: 0 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--faint);
  font-size: 12px
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms)
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.custom-cursor {
  display: none
}

@media(pointer:fine) and (hover:hover) {

  html.custom-cursor-enabled,
  html.custom-cursor-enabled * {
    cursor: none !important
  }

  .custom-cursor {
    display: block;
    position: fixed;
    width: 28px;
    height: 28px;
    border: 1.5px solid color-mix(in srgb, var(--text) 82%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--text) 5%, transparent);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: width .18s var(--ease), height .18s var(--ease), opacity .16s
  }

  .custom-cursor.is-visible {
    opacity: 1
  }

  .custom-cursor.is-hovering {
    width: 44px;
    height: 44px;
    background: color-mix(in srgb, var(--accent) 13%, transparent)
  }

  .custom-cursor.is-pressed {
    width: 22px;
    height: 22px
  }
}

@media(max-width:980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 170px
  }

  .hero-visual {
    min-height: 600px
  }

  .profile-card {
    width: min(520px, 90vw)
  }

  .about-grid {
    grid-template-columns: 1fr
  }

  .timeline,
  .project-grid {
    padding-left: 0
  }

  .education-card {
    margin-left: 0
  }
}

@media(max-width:760px) {
  .site-header {
    top: 12px;
    padding: 0 12px
  }

  .nav-shell {
    border-radius: 18px;
    height: 58px;
    position: relative
  }

  .brand-mark {
    width: 34px;
    height: 34px
  }

  .nav-links {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 9px;
    display: grid;
    gap: 2px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: .2s
  }

  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto
  }

  .nav-links a {
    padding: 12px 13px
  }

  .menu-btn {
    display: grid
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 88px 0
  }

  .hero {
    padding-top: 135px;
    min-height: auto
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 66px)
  }

  .hero-visual {
    min-height: 540px
  }

  .profile-card {
    min-height: 480px;
    border-radius: 32px
  }

  .profile-avatar {
    margin-top: 48px;
    width: 185px;
    height: 185px
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .section-index {
    padding: 0
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 22px
  }

  .project-grid {
    grid-template-columns: 1fr
  }

  .project-card.featured {
    grid-column: auto
  }

  .project-code-art {
    right: -70px;
    top: 38px;
    opacity: .45;
    transform: rotate(5deg) scale(.86)
  }

  .contact-actions .btn {
    width: 100%
  }

  .footer {
    width: calc(100% - 28px);
    flex-direction: column
  }
}

@media(max-width:520px) {
  .brand-text {
    display: none
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .stack-grid {
    grid-template-columns: 1fr
  }

  .mini-card.wide {
    grid-column: auto
  }

  .role-head {
    flex-direction: column
  }

  .education-card {
    flex-direction: column;
    align-items: flex-start
  }

  .gpa {
    justify-items: start
  }

  .project-code-art {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* core stack icons */
.tech-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  transition: transform .2s var(--ease), background .2s ease, color .2s ease
}

.tech-pill i {
  width: 15px;
  flex: 0 0 15px;
  color: var(--accent2);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  opacity: .95
}

.tech-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .08);
  color: var(--text)
}

.tech-pill:hover i {
  opacity: 1
}

/* Keep the active language state moving with the selection. */
.language-btn {
  transition: color .2s ease, transform .2s var(--ease)
}

.language-btn:active {
  transform: scale(.92)
}

@supports selector(.language-switcher:has(.language-btn.active)) {
  .language-switcher {
    position: relative;
    isolation: isolate
  }

  .language-switcher:before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
    transition: transform .3s var(--ease)
  }

  .language-switcher:has(.language-btn[data-lang="id"].active):before {
    transform: translateX(35px)
  }

  .language-btn {
    position: relative;
    z-index: 1
  }

  .language-btn.active {
    background: transparent
  }
}

html[data-theme="light"] .language-switcher {
  border-color: rgba(20, 28, 48, .16);
  background: rgba(255, 255, 255, .62)
}

html[data-theme="light"] .language-btn {
  color: var(--faint)
}

html[data-theme="light"] .language-btn.active {
  color: var(--text);
  background: rgba(20, 28, 48, .08)
}

html[data-theme="light"] .language-divider {
  background: rgba(20, 28, 48, .14)
}

@supports selector(.language-switcher:has(.language-btn.active)) {
  html[data-theme="light"] .language-switcher:before {
    background: rgba(20, 28, 48, .08);
    box-shadow: inset 0 0 0 1px rgba(20, 28, 48, .06)
  }

  html[data-theme="light"] .language-btn.active {
    background: transparent
  }
}

@media (max-width: 760px) {
  .menu-btn {
    position: relative;
    display: block
  }

  .menu-btn span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0 !important;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform .22s var(--ease), opacity .18s ease
  }

  .menu-btn span:first-child {
    transform: translate(-50%, -4px)
  }

  .menu-btn span:last-child {
    transform: translate(-50%, 4px)
  }

  .menu-btn[aria-expanded="true"] span:first-child {
    transform: translate(-50%, 0) rotate(45deg)
  }

  .menu-btn[aria-expanded="true"] span:last-child {
    transform: translate(-50%, 0) rotate(-45deg)
  }
}


/* frosted mobile navigation */
@media (max-width: 760px) {
  .nav-links {
    background: linear-gradient(145deg, rgba(18, 21, 34, .72), rgba(10, 12, 22, .52)) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
    backdrop-filter: blur(28px) saturate(150%) !important;
  }

  html[data-theme="light"] .nav-links {
    background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(241, 244, 252, .52)) !important;
    border-color: rgba(35, 45, 70, .12) !important;
    box-shadow: 0 24px 70px rgba(65, 76, 112, .16), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
  }
}

.project-card[data-project] {
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .25s ease, background-color .25s ease, box-shadow .3s var(--ease)
}

.project-card[data-project]:hover,
.project-card[data-project]:focus-visible {
  border-color: color-mix(in srgb, var(--accent2) 46%, var(--border));
  background-color: color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent2) 18%, transparent), 0 18px 50px rgba(0, 0, 0, .16);
  transform: translateY(-8px)
}

.project-card[data-project]:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 5px
}

.project-card[data-project]:active {
  border-color: color-mix(in srgb, var(--accent2) 60%, var(--border));
  background-color: color-mix(in srgb, var(--accent) 13%, transparent);
  transform: translateY(-2px) scale(.985)
}

.project-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .025)), var(--glass);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: visible;
  animation: projectDialogIn .3s var(--ease) both
}

.project-dialog > .custom-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999
}

.project-dialog::backdrop {
  background: rgba(4, 6, 15, .62);
  backdrop-filter: blur(8px);
  animation: projectDialogBackdropIn .3s ease both
}

.project-dialog.is-closing {
  animation: projectDialogOut .18s ease both
}

.project-dialog.is-closing::backdrop {
  animation: projectDialogBackdropOut .18s ease both
}

.project-dialog-shell {
  position: relative;
  max-height: inherit;
  padding: clamp(28px, 5vw, 52px);
  overflow: auto
}

.project-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s var(--ease)
}

.project-dialog-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .1);
  transform: rotate(90deg)
}

.project-dialog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 48px
}

.project-dialog-kicker {
  margin: 0;
  color: var(--accent2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.project-dialog-number {
  color: var(--faint);
  font: 800 12px Manrope;
  letter-spacing: .12em
}

.project-dialog h2 {
  max-width: 580px;
  margin: 16px 0 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em
}

.project-dialog-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px
}

.project-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .055);
  font-size: 11px;
  font-weight: 700
}

.project-stack-pill i {
  color: var(--accent2);
  font-size: 13px
}

.project-dialog-summary {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px
}

.project-detail-block {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, .045)
}

.project-detail-block.is-empty .project-detail-value {
  min-height: 1.4em;
  opacity: .2
}

.project-detail-label {
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.project-detail-value {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65
}

.project-detail-value p {
  margin: 0
}

.project-detail-value ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px
}

.project-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.project-detail-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, transform .2s var(--ease)
}

.project-detail-links a:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px)
}

@keyframes projectDialogIn {
  from { opacity: 0; transform: translateY(16px) scale(.97) }
  to { opacity: 1; transform: translateY(0) scale(1) }
}

@keyframes projectDialogOut {
  from { opacity: 1; transform: translateY(0) scale(1) }
  to { opacity: 0; transform: translateY(10px) scale(.98) }
}

@keyframes projectDialogBackdropIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes projectDialogBackdropOut {
  from { opacity: 1 }
  to { opacity: 0 }
}

@media (max-width: 600px) {
  .project-dialog {
    width: calc(100% - 20px);
    border-radius: 22px
  }

  .project-dialog-shell {
    padding: 28px 18px 20px
  }

  .project-dialog-close {
    top: 13px;
    right: 13px
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
    margin-top: 24px
  }
}
