:root {
  --bg: #07050a;
  --bg-2: #0d0a12;
  --ink: #f3efe6;
  --muted: #9b958c;
  --line: rgba(243, 239, 230, 0.1);
  --lime: #d6ff4b;
  --lime-dim: rgba(214, 255, 75, 0.14);
  --violet: #8b7cff;
  --rose: #ff6b8a;
  --cyan: #5ce1ff;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.09);
  --radius: 28px;
  --mx: 50%;
  --my: 30%;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-serif: "Instrument Serif", serif;
  --font-mono: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  cursor: none;
}

a,
button,
input,
textarea {
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.serif,
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

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

.spotlight {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(139, 124, 255, 0.16), transparent 45%);
}

.cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 255, 75, 0.45);
  transition: width 0.25s, height 0.25s, background 0.25s;
}

body.cursor-grow .cursor-ring {
  width: 72px;
  height: 72px;
  background: rgba(214, 255, 75, 0.08);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #050308;
}

.preloader-inner {
  text-align: center;
  width: min(420px, 86vw);
}

.preloader-name {
  display: flex;
  justify-content: center;
  gap: 0.08em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 5rem);
  letter-spacing: -0.02em;
  margin: 18px 0 28px;
}

.preloader-name span {
  display: inline-block;
  background: linear-gradient(180deg, #fff, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.preloader-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 99px;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: rgba(7, 5, 10, 0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-logo span {
  color: var(--lime);
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.btn-lime {
  background: var(--lime);
  color: #111;
}

.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.btn-lime:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--ink);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  padding: 140px 6vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 12s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: rgba(139, 124, 255, 0.28);
  top: 8%;
  right: 8%;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: rgba(214, 255, 75, 0.12);
  bottom: 12%;
  left: 6%;
  animation-delay: -4s;
}

.orb-c {
  width: 220px;
  height: 220px;
  background: rgba(255, 107, 138, 0.16);
  top: 36%;
  left: 38%;
  animation-delay: -7s;
}

@keyframes float {
  50% {
    transform: translate3d(20px, -30px, 0) scale(1.08);
  }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--lime);
}

.avail i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(214, 255, 75, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.hero-hello {
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9.5vw, 7.2rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero-title .char {
  display: inline-block;
}

.hero-role {
  margin: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: baseline;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
}

.role-cycle {
  color: var(--lime);
  letter-spacing: 0.08em;
  transition: opacity 0.22s ease;
}

.hero-lead {
  max-width: 640px;
  color: #cfc8bc;
  font-size: 1.12rem;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--lime);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
  color: rgba(243, 239, 230, 0.55);
}

.marquee-track span::after {
  content: " ✦ ";
  color: var(--lime);
  margin-left: 48px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 110px 6vw;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--lime);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  margin-bottom: 22px;
  max-width: 18ch;
}

.display.tight {
  margin-bottom: 36px;
}

.lede {
  font-size: 1.12rem;
  color: #d3cdc2;
  max-width: 62ch;
  margin-bottom: 16px;
}

.lede.small {
  margin: 0;
  max-width: 36ch;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.about-grid,
.edu-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
}

.about-grid p {
  color: #c9c2b6;
  margin-bottom: 14px;
}

.about-links {
  display: flex;
  gap: 22px;
  margin-top: 22px;
}

.text-link {
  border-bottom: 1px solid var(--lime);
  padding-bottom: 2px;
}

.about-card {
  padding: 22px;
  height: fit-content;
}

.about-portrait {
  aspect-ratio: 1 / 1.05;
  border-radius: 22px;
  display: grid;
  place-items: end start;
  padding: 22px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 255, 75, 0.35), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(139, 124, 255, 0.45), transparent 40%),
    linear-gradient(160deg, #16111f, #0a0710);
}

.about-portrait span {
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.85;
  position: absolute;
  inset: 40px 0 auto 28px;
}

.about-portrait {
  position: relative;
}

.about-portrait p {
  color: var(--ink) !important;
  max-width: 18ch;
}

.about-facts {
  list-style: none;
}

.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.about-facts span {
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  padding: 28px;
  min-height: 240px;
  transition: transform 0.35s, border-color 0.35s;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 255, 75, 0.35);
}

.bento-card h3 {
  font-family: var(--font-display);
  margin: 28px 0 10px;
  font-size: 1.4rem;
}

.bento-card p {
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 0;
  cursor: none;
  text-align: left;
  width: 100%;
  color: inherit;
  display: block;
}

.work-card.featured {
  grid-row: span 2;
  min-height: 660px;
}

.work-visual {
  position: absolute;
  inset: 0;
}

.work-art {
  position: absolute;
  inset: 22px 22px 118px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.work-art svg {
  width: min(92%, 440px);
  height: 100%;
  max-height: 100%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.work-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(7, 5, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: var(--lime);
  z-index: 2;
}

.work-badge svg {
  width: 22px;
  height: 22px;
}

.work-card .copy {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(5, 3, 8, 0.94) 38%);
  z-index: 2;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.work-card p {
  color: #cfc8bc;
  margin-top: 6px;
}

.live-pill,
.soon-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.live-pill {
  background: var(--lime);
  color: #111;
}

.soon-pill {
  border: 1px solid var(--glass-border);
  color: var(--muted);
}

#modalLink,
#modalStatus {
  margin-top: 20px;
  width: fit-content;
}

.pattern-jobsahi {
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 255, 75, 0.35), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #1b1630, #0c0914);
}

.pattern-mobi {
  background:
    radial-gradient(circle at 80% 30%, rgba(92, 225, 255, 0.35), transparent 30%),
    linear-gradient(120deg, #102029, #0a0c14);
}

.pattern-resto {
  background:
    radial-gradient(circle at 30% 80%, rgba(255, 107, 138, 0.4), transparent 32%),
    linear-gradient(200deg, #241018, #0c070a);
}

.pattern-fin {
  background:
    radial-gradient(circle at 70% 20%, rgba(214, 255, 75, 0.22), transparent 28%),
    linear-gradient(160deg, #142016, #080c09);
}

.pattern-invest {
  background:
    radial-gradient(circle at 40% 40%, rgba(139, 124, 255, 0.4), transparent 34%),
    linear-gradient(180deg, #16122a, #090712);
}

.pattern-chain {
  background:
    radial-gradient(circle at 60% 70%, rgba(92, 225, 255, 0.28), transparent 30%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, #0e1a22, #07090d);
}

.pattern-shop {
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 180, 80, 0.35), transparent 30%),
    linear-gradient(140deg, #23180f, #0d0a08);
}

.pattern-pr {
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 107, 138, 0.28), transparent 32%),
    linear-gradient(160deg, #1c1220, #0b0810);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 28px;
}

.timeline-item h3 {
  font-family: var(--font-display);
  margin: 6px 0 4px;
}

.place {
  color: var(--lime);
  margin-bottom: 10px;
}

.timeline-item p {
  color: #c9c2b6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tags span,
.chips span {
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: #ddd6c8;
}

.skills-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.skill-group,
.interests,
.edu-grid article {
  padding: 26px;
}

.skill-group h3,
.interests h3 {
  font-family: var(--font-display);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interests {
  margin-top: 16px;
}

.interests p {
  color: #c9c2b6;
}

.contact .display {
  max-width: 16ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0 18px;
}

.contact-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.25s, transform 0.25s;
}

.contact-card:hover {
  border-color: rgba(214, 255, 75, 0.4);
  transform: translateY(-3px);
}

.contact-card strong {
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-form {
  padding: 26px;
  display: grid;
  gap: 14px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(214, 255, 75, 0.5);
}

.form-note {
  color: var(--muted);
}

.form-note.ok {
  color: var(--lime);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.footer {
  position: relative;
  padding: 40px 6vw 50px;
  overflow: hidden;
}

.footer-giant {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 18vw, 14rem);
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 239, 230, 0.12);
  text-align: center;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.modal-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(860px, 100%);
  max-height: min(86vh, 820px);
  overflow: hidden;
  z-index: 1;
}

.modal-visual {
  position: relative;
  height: 168px;
  flex-shrink: 0;
  overflow: hidden;
}

.modal-visual .work-art {
  inset: 12px 56px 12px 18px;
}

.modal-visual .work-badge {
  display: none;
}

.modal-body {
  padding: 24px 28px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 255, 75, 0.45) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(214, 255, 75, 0.4);
  border-radius: 99px;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

.modal-blocks h4 {
  margin: 18px 0 6px;
  font-family: var(--font-display);
}

.modal-blocks p {
  color: #c9c2b6;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  font-size: 1.4rem;
  z-index: 2;
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  a,
  button,
  input,
  textarea {
    cursor: pointer;
  }

  .cursor {
    display: none;
  }

  .nav-links,
  .nav .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 80px 16px auto;
    z-index: 49;
    background: rgba(10, 8, 14, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .about-grid,
  .bento,
  .work-grid,
  .skills-wrap,
  .edu-grid,
  .contact-grid,
  .form-row,
  .hero-stats,
  .section-head {
    grid-template-columns: 1fr;
  }

  .work-card.featured {
    grid-row: auto;
    min-height: 420px;
  }

  .hero {
    padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
