*, *::before, *::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { background: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --background: 210 40% 98%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --muted-foreground: 240 3.8% 46.1%;
  --border: 240 5.9% 90%;
  --radius: 0.5rem;

  --zinc-100: #f4f4f5; --zinc-200: #e4e4e7; --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa; --zinc-500: #71717a; --zinc-600: #52525b;
  --zinc-700: #3f3f46; --zinc-800: #27272a; --zinc-900: #18181b;
  --zinc-950: #09090b;

  --card-ring: rgba(24, 24, 27, 0.05);
  --card-ring-hover: rgba(82, 82, 91, 0.2);
  --card-shadow: rgba(0, 0, 0, 0.15) 0px 20px 40px -12px;

  --dot-x: 12px;
  color-scheme: light;
}
html.dark {
  --background: 240 10% 4%;
  --foreground: 0 0% 98%;
  --card: 240 10% 3.9%;
  --muted-foreground: 240 5% 64.9%;
  --border: 240 3.7% 15.9%;
  --card-ring: #27272a;
  --card-ring-hover: #3f3f46;
  color-scheme: dark;
}
html[data-setting="light"]  { --dot-x: 4px; }
html[data-setting="system"] { --dot-x: 12px; }
html[data-setting="dark"]   { --dot-x: 20px; }

html {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
body { min-height: 100vh; font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Lexend", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.page { position: relative; display: flex; width: 100%; flex-direction: column; min-height: 100%; }
main { flex: auto; }
.muted { color: hsl(var(--muted-foreground)); }
.semibold { font-weight: 600; }
.grow { flex-grow: 1; }

.shell { padding-inline: 0; }
.shell-w { margin-inline: auto; width: 100%; max-width: 56rem; }
.pad { position: relative; padding-inline: 1rem; }
.content { max-width: 42rem; }
@media (min-width: 640px) {
  .shell { padding-inline: 2rem; }
  .pad { padding-inline: 2rem; }
}
@media (min-width: 1024px) {
  .shell-w { padding-inline: 2rem; }
  .pad { padding-inline: 3rem; }
}

.mt-9 { margin-top: 2.25rem; }
.section-gap { margin-top: 6rem; }
@media (min-width: 768px) { .section-gap { margin-top: 5rem; } }

.header-gradient { position: fixed; inset: 0; max-width: none; overflow: hidden; display: none; }
@media (min-width: 768px) { .header-gradient { display: block; } }
.hg-band {
  position: absolute; left: 50%; top: -14.5px;
  margin-left: -41.5rem; height: 25rem; width: 80rem;
}
html.dark .hg-band {
  -webkit-mask-image: linear-gradient(white, transparent);
  mask-image: linear-gradient(white, transparent);
}
.hg-fill {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #4f46e5, #e0e7ff);
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(farthest-side at top, white, transparent);
  mask-image: radial-gradient(farthest-side at top, white, transparent);
}
html.dark .hg-fill {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.3), rgba(55, 48, 163, 0.3));
  opacity: 1;
}
.hg-grid {
  position: absolute; top: -50%; left: 0; height: 200%; width: 100%;
  transform: skewX(18deg);
  color: rgba(255, 255, 255, 0.1);
  mix-blend-mode: overlay;
}
html.dark .hg-grid { color: rgba(0, 0, 0, 0.2); }
.hg-blur {
  position: absolute; left: 50%; top: 0;
  margin-left: -19rem; width: 69.5625rem;
  fill: white; filter: blur(26px);
}
html.dark .hg-blur { fill: var(--zinc-950); }

.site-header {
  pointer-events: none; position: relative; z-index: 50;
  display: flex; flex: none; flex-direction: column;
  height: var(--header-height); margin-bottom: var(--header-mb);
}
.avatar-anchor { order: 10; margin-top: 3.25rem; }
.avatar-outer {
  order: 11; top: 0; margin-bottom: -0.75rem; padding-top: 0.75rem;
  position: var(--header-position, static);
}
.avatar-inner-pos {
  top: var(--avatar-top, 0.75rem); width: 100%;
  position: var(--header-inner-position, static);
}
.avatar-rel { position: relative; }
.avatar-border {
  position: absolute; left: 0; top: 0.75rem;
  height: 2.5rem; width: 2.5rem; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9); padding: 0.125rem;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, 0.05), 0 10px 15px -3px rgba(39, 39, 42, 0.05), 0 4px 6px -4px rgba(39, 39, 42, 0.05);
  backdrop-filter: blur(4px);
  transform-origin: left;
  opacity: var(--avatar-border-opacity, 0);
  transform: var(--avatar-border-transform);
  transition: opacity 0.15s;
}
html.dark .avatar-border { background: rgba(39, 39, 42, 0.9); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.avatar-link {
  pointer-events: auto; display: block; height: 4rem; width: 4rem;
  transform-origin: left; transform: var(--avatar-image-transform);
}
.avatar-img {
  height: 4rem; width: 4rem; border-radius: 9999px;
  background: var(--zinc-100); object-fit: cover;
}
html.dark .avatar-img { background: var(--zinc-800); }

.header-bar { top: 0; z-index: 10; height: 4rem; padding-top: 1.5rem; position: var(--header-position, static); }
.header-bar-sticky { top: var(--header-top, 1.5rem); width: 100%; position: var(--header-inner-position, static); }
.header-row { position: relative; display: flex; gap: 1rem; align-items: center; }
.header-left { display: flex; flex: 1 1 0; }
.header-center { display: flex; flex: 1 1 0; justify-content: flex-end; min-height: 2.5rem; }
.header-right { display: flex; justify-content: flex-end; }
@media (min-width: 768px) {
  .header-center { justify-content: center; }
  .header-right { flex: 1 1 0; }
}
.content-offset { flex: none; height: var(--content-offset); }

.theme-toggle { pointer-events: auto; display: flex; align-items: center; gap: 0.5rem; }
.toggle-pill {
  position: relative; display: flex; align-items: center;
  height: 1.5rem; width: 2.5rem; border-radius: 9999px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(24, 24, 27, 0.05);
  backdrop-filter: blur(4px);
}
html.dark .toggle-pill {
  background: rgba(39, 39, 42, 0.3);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.toggle-dot {
  position: relative; height: 1rem; width: 1rem; border-radius: 9999px;
  transform: translateX(var(--dot-x));
  transition: transform 0.3s ease-in-out;
}
.t-icon {
  position: absolute; inset: 0; height: 1rem; width: 1rem;
  opacity: 0; transform: scale(0) rotate(180deg);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
html[data-setting="light"] .icon-sun,
html[data-setting="dark"] .icon-moon,
html[data-setting="system"] .icon-contrast { opacity: 1; transform: scale(1) rotate(0deg); }
html.dark .icon-contrast { transform: scale(0) rotate(180deg); }
html.dark[data-setting="system"] .icon-contrast { transform: scale(1) rotate(180deg); }
.theme-toggle:active .toggle-pill { transform: scale(0.9); }
.theme-toggle:hover .toggle-pill { transform: scale(1.05); }
.toggle-pill { transition: transform 0.15s; }

.hero-title { font-size: 2.25rem; line-height: 1.15; }
.hero-sub {
  display: block; font-weight: 200; font-size: 1.875rem;
  color: hsl(var(--muted-foreground)); text-wrap: balance;
}
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
  .hero-sub { font-size: 2.25rem; }
}
.wave { font-size: 1.25rem; }

.pro { text-wrap: balance; font-size: 1rem; line-height: 1.75; }
.pro p { margin-top: 1.25em; margin-bottom: 1.25em; }
.pro p:first-child { margin-top: 1.5rem; }
.pro a {
  color: hsl(var(--foreground)); font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px;
}

.social-link { margin: -0.25rem; padding: 0.25rem; border-radius: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.social-link svg { height: 1.5rem; width: 1.5rem; fill: hsl(var(--muted-foreground)); transition: fill 0.15s; }
.social-link:hover svg { fill: hsl(var(--foreground)); }

.section-title { font-size: 1.875rem; }
.section-desc { margin-top: 0.75rem; margin-bottom: 2rem; }

.card {
  overflow: hidden; border-radius: 1.5rem;
  background: hsl(var(--card) / 0.2);
  box-shadow: 0 0 0 2px var(--card-ring), var(--card-shadow);
  transition: all 0.5s;
}
.card:hover { box-shadow: 0 0 0 3px var(--card-ring-hover), var(--card-shadow); }

.project-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .project-grid { grid-template-columns: 1fr 1fr; } }
.project-card {
  position: relative; display: block; height: 12rem; width: 100%;
  border-radius: 1.5rem; cursor: pointer; overflow: hidden; padding: 1.5rem;
  background: hsl(var(--card) / 0.2);
  box-shadow: 0 0 0 2px var(--card-ring), var(--card-shadow);
  transition: all 0.5s;
}
.project-card:hover { box-shadow: 0 0 0 3px var(--card-ring-hover), var(--card-shadow); }
.pc-inner {
  position: relative; display: flex; height: 100%; width: 100%;
  flex-direction: column; justify-content: space-between;
}
.pc-icon {
  height: 3rem; width: 3rem; transform-origin: top left;
  transition: transform 0.5s;
}
.pc-icon svg, .pc-icon img { height: 3rem; width: 3rem; object-fit: contain; }
.pc-icon .pc-img-wide { width: auto; height: auto; max-height: 3rem; max-width: 9rem; }
.theme-dark-only { display: none; }
html.dark .theme-dark-only { display: block; }
html.dark .theme-light-only { display: none; }
.project-card:hover .pc-icon { transform: scale(0.75); }
.pc-text { display: flex; flex-direction: column; font-size: 1rem; transition: transform 0.5s; }
.project-card:hover .pc-text { transform: translateY(-1.5rem); }
.pc-title { font-size: 1.125rem; font-weight: 600; }
.pc-desc { font-size: 1rem; text-wrap: balance; color: hsl(var(--muted-foreground)); }
.pc-cta {
  pointer-events: none; position: absolute; bottom: -5rem;
  height: 2.5rem; width: 100%; font-size: 1rem; font-weight: 600;
  transition: all 0.5s;
}
.project-card:hover .pc-cta { bottom: -1.25rem; }
.pc-arrow {
  pointer-events: none; position: absolute; height: 2.5rem;
  bottom: 2.5rem; right: -5rem; transform: scale(0.5);
  transition: all 0.3s;
}
.pc-arrow svg { height: 1.5rem; width: 1.5rem; }
.project-card:hover .pc-arrow { bottom: -1.25rem; right: -0.25rem; transform: scale(1); }
.pc-shape { pointer-events: none; position: absolute; display: block; opacity: 0.1; }
.pc-shape-1 {
  left: -32rem; top: -32rem; height: 30rem; width: 30rem;
  border-radius: 9999px; transform-origin: bottom right;
  background: var(--zinc-300);
  transition: all 0.3s;
}
html.dark .pc-shape-1 { background: var(--zinc-800); }
.project-card:hover .pc-shape-1 { left: -7rem; top: -10rem; }
.pc-shape-2, .pc-shape-3 {
  bottom: 0; right: 0; margin-bottom: 8rem; height: 30rem; width: 30rem;
  border-radius: 15rem; transform-origin: top left;
  transform: translate(56rem, 23rem) rotate(45deg);
  background: radial-gradient(circle at bottom left, var(--zinc-200), var(--zinc-700), var(--zinc-800));
  transition: transform 0.3s;
}
.pc-shape-3 { right: -1.25rem; transition-delay: 75ms; }
.project-card:hover .pc-shape-2,
.project-card:hover .pc-shape-3 { transform: translate(56rem, 23rem) rotate(90deg); }

.career-col { margin-inline: auto; max-width: 42rem; display: flex; flex-direction: column; gap: 0.75rem; }
.career-title { font-size: 1.875rem; margin-bottom: 0.25rem; }
@media (min-width: 640px) { .career-title { font-size: 2.25rem; } }
.career-list { display: flex; flex-direction: column; gap: 2rem; }
.career-card { padding: 1.5rem; }
.career-meta {
  margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: hsl(var(--muted-foreground));
}
.career-role {
  margin-bottom: 0.75rem; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: space-between; gap: 0.5rem; text-wrap: balance; font-size: 1.125rem;
}
@media (min-width: 640px) { .career-role { flex-direction: row; align-items: center; } }
.career-role-title { font-weight: 500; }
.career-desc { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; line-height: 1.5; }
@media (min-width: 640px) { .career-desc { gap: 0.75rem; font-size: 1rem; } }

.site-footer { margin-top: 8rem; flex: none; }
.faded-border {
  background: radial-gradient(49.41% 64.58% at 49.4% 0, hsla(0, 0%, 50%, 0.03) 0, hsla(0, 0%, 50%, 0) 100%);
  border-top: 1px solid;
  border-image-source: linear-gradient(90deg, transparent 0, hsla(0, 0%, 50%, 0.19) 30%, hsla(0, 0%, 50%, 0.19) 70%, transparent);
  border-image-slice: 1;
}
.footer-body { padding-top: 2.5rem; padding-bottom: 4rem; }
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
}

.bottom-fade {
  pointer-events: none; position: fixed; bottom: 0; left: 0;
  height: 7rem; width: 100%; background: white;
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
}
html.dark .bottom-fade { background: black; }
