*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #08080a;
  --ink: #f5f5f7;
  --ink-2: rgba(245,245,247,0.55);
  --ink-3: rgba(245,245,247,0.30);
  --line: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.04);
  --glass-h: rgba(255,255,255,0.07);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: -0.011em;
}
::selection { background: rgba(255,255,255,0.18); color: #fff; }

/* ---------- Background ---------- */
.stage {
  position: fixed; inset: 0; z-index: -3;
  background: var(--bg);
}
.stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 85%);
}
.stage::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.04; mix-blend-mode: overlay;
}

.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora .a1 {
  width: 700px; height: 700px;
  top: -280px; left: 50%;
  margin-left: -350px;
  background: radial-gradient(circle, rgba(140,170,255,0.22) 0%, transparent 60%);
  animation: float-1 24s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 560px; height: 560px;
  top: 30%; left: -180px;
  background: radial-gradient(circle, rgba(180,150,255,0.16) 0%, transparent 60%);
  animation: float-2 28s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 520px; height: 520px;
  bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(120,200,230,0.14) 0%, transparent 60%);
  animation: float-3 32s ease-in-out infinite alternate;
}
@keyframes float-1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.08); }
}
@keyframes float-2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(120px, -80px) scale(1.12); }
}
@keyframes float-3 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-100px, -60px) scale(1.1); }
}

.horizon {
  position: fixed; top: 0; left: 0; right: 0;
  height: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 2px;
  padding: 5px;
  background: rgba(20,20,24,0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-size: 13px;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), opacity 0.4s;
}
.nav.hide { transform: translateX(-50%) translateY(-130%); opacity: 0; }
.nav a {
  position: relative;
  padding: 7px 14px;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.25s;
  font-weight: 400;
}
.nav a:hover { color: var(--ink); }
.nav .pill {
  position: absolute;
  top: 5px; bottom: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  transition: left 0.55s cubic-bezier(.2,.9,.2,1.2),
              width 0.55s cubic-bezier(.2,.9,.2,1.2),
              opacity 0.3s;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
}
.nav .pill.show { opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 120px;
  position: relative;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero .sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-2);
  font-weight: 400;
  max-width: 480px;
  margin: 0 auto 56px;
  text-wrap: balance;
}

.gbtn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1),
              background 0.3s, border-color 0.3s;
}
.gbtn:hover {
  transform: translateY(-2px);
  background: var(--glass-h);
  border-color: rgba(255,255,255,0.18);
}
.gbtn svg { width: 14px; height: 14px; opacity: 0.7; }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 40px;
  overflow: hidden;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ink-2), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-40px); }
  100% { transform: translateY(40px); }
}

/* ---------- SECTIONS ---------- */
section.s {
  padding: 140px 24px;
  position: relative;
}
.container { max-width: 960px; margin: 0 auto; }
.label {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 500;
}
.head h2 {
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
.head p {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 560px;
  text-wrap: pretty;
}
.head { margin-bottom: 72px; }

/* ---------- ABOUT ---------- */
.about-card {
  position: relative;
  padding: 56px 56px 44px;
  border-radius: 28px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx,30%) var(--my,20%),
    rgba(255,255,255,0.045), transparent 55%);
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none;
}
.about-card:hover::before { opacity: 1; }
.about-card::after {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  pointer-events: none;
}

.about-top {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.about-loc {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.about-loc .v { color: var(--ink); font-size: 14px; letter-spacing: -0.01em; margin-top: 2px; }

.about-body p {
  font-size: 19px;
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.55;
  text-wrap: pretty;
  max-width: 640px;
}
.about-body p + p { margin-top: 14px; color: var(--ink-2); }

.about-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-meta .m .k {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.about-meta .m .v {
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 680px) {
  .about-card { padding: 32px 24px; border-radius: 22px; }
  .about-body p { font-size: 17px; }
  .about-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ---------- EDUCATION ---------- */
.edu-list {
  border-top: 1px solid var(--line);
}
.edu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s cubic-bezier(.2,.8,.2,1);
}
.edu-row:hover { padding-left: 12px; padding-right: 12px; }
.edu-row .ttl {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.edu-row .ttl .sub {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 4px;
}
.edu-row .ttl .dt {
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
}
.edu-row .badge {
  font-size: 11px;
  color: var(--ink-2);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.edu-row.now .badge {
  color: #4cd964;
  border-color: rgba(76,217,100,0.4);
  background: rgba(76,217,100,0.06);
}
.edu-row.now .badge::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4cd964;
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 6px #4cd964;
  animation: pulse 2.4s ease-in-out infinite;
}
@media (max-width: 680px) {
  .edu-row { gap: 16px; }
}

/* ---------- SKILLS ---------- */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}
.skill {
  position: relative;
  padding: 36px 28px;
  background: rgba(8,8,10,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.4s;
  cursor: default;
}
.skill::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,0.06), transparent 50%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.skill:hover { background: rgba(20,20,24,0.7); }
.skill:hover::before { opacity: 1; }
.skill .ic {
  width: 26px; height: 26px;
  color: var(--ink);
  margin-bottom: 20px;
  opacity: 0.85;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), opacity 0.4s;
}
.skill:hover .ic { transform: translateY(-3px); opacity: 1; }
.skill .ic svg { width: 100%; height: 100%; }
.skill .nm {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.skill .tg {
  font-size: 13px;
  color: var(--ink-3);
}
.skill-cat {
  grid-column: 1 / -1;
  padding: 10px 28px;
  background: rgba(6,6,8,0.98);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .skills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .skills { grid-template-columns: 1fr; }
}

/* ---------- PROJECTS ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proj {
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(8,8,10,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, transform 0.4s cubic-bezier(.2,.8,.2,1);
  cursor: default;
}
.proj:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.proj-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-plus {
  font-size: 28px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1;
  transition: color 0.3s;
}
.proj:hover .proj-plus { color: var(--ink-2); }
.proj-body {
  padding: 20px 22px;
}
.proj-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.proj-desc {
  font-size: 13px;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta {
  padding: 180px 24px;
  text-align: center;
}
.cta h2 {
  font-weight: 600;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta p {
  color: var(--ink-2);
  font-size: 17px;
  margin-bottom: 48px;
}

.liquid-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1),
              background 0.3s, border-color 0.3s;
}
.liquid-btn .shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.20) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}
.liquid-btn:hover {
  transform: translateY(-2px);
  background: var(--glass-h);
  border-color: rgba(255,255,255,0.22);
}
.liquid-btn:hover .shimmer { animation: shimmer 1.1s ease-in-out; }
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 130%; }
}
.liquid-btn .arr { opacity: 0.5; transition: transform 0.4s cubic-bezier(.2,.8,.2,1), opacity 0.3s; }
.liquid-btn:hover .arr { transform: translate(4px, -4px); opacity: 1; }

/* ---------- Footer ---------- */
.foot {
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.foot a { color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.3s cubic-bezier(.16,1,.3,1),
              transform 1.3s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1),
              transform 1.1s cubic-bezier(.16,1,.3,1);
}
.reveal.stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal.stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.reveal.stagger.in > *:nth-child(3) { transition-delay: 0.15s; }
.reveal.stagger.in > *:nth-child(4) { transition-delay: 0.20s; }
.reveal.stagger.in > *:nth-child(5) { transition-delay: 0.25s; }
.reveal.stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal.stagger.in > *:nth-child(7) { transition-delay: 0.35s; }
.reveal.stagger.in > *:nth-child(8) { transition-delay: 0.40s; }
.reveal.stagger.in > *:nth-child(9) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal.stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- VIEW TRANSITION (theme ripple) ---------- */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-new(root) { z-index: 9999; }
::view-transition-old(root) { z-index: 1; }

/* ---------- NAV LINKS WRAPPER ---------- */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-divider { width: 1px; height: 16px; background: var(--line); margin: 0 4px; flex-shrink: 0; }

/* ---------- HAMBURGER ---------- */
.ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none;
  cursor: pointer; padding: 0; margin-left: 4px; flex-shrink: 0;
}
.ham span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), background 0.2s;
  transform-origin: center;
}
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--ink); }
.ham.open span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); background: var(--ink); }
.ham:hover span { background: var(--ink); }

/* ---------- MOBILE MENU ---------- */
.mob-menu {
  display: none;
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  flex-direction: column;
  padding: 28px 32px 48px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s cubic-bezier(.2,.8,.2,1), transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.mob-menu.open { opacity: 1; transform: translateY(0); }
.mob-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 52px;
}
.mob-top span {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.mob-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mob-links a {
  font-size: clamp(38px, 11vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink-3);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s;
}
.mob-links a:hover { color: var(--ink); }
.mob-theme {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px;
  color: var(--ink-3); cursor: pointer;
  font-size: 13px; font-family: 'Inter', sans-serif;
  margin-top: 36px;
  transition: color 0.2s, border-color 0.2s;
}
.mob-theme:hover { color: var(--ink); border-color: var(--ink-3); }
.mob-theme svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-divider { display: none; }
  .theme-toggle { display: none; }
  .ham { display: flex; }

  section.s { padding: 80px 20px; }
  .head { margin-bottom: 48px; }
  .about-card { padding: 28px 20px 24px; border-radius: 20px; }
  .about-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-body p { font-size: 16px; }
  .edu-row .ttl { font-size: 16px; }
  .edu-row .ttl .sub { font-size: 13px; flex-wrap: wrap; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 20px 100px; }
  .proj-grid { grid-template-columns: 1fr; }
}

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
  padding: 0;
  margin-left: 4px;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--ink); background: rgba(255,255,255,0.07); }
.theme-toggle svg { width: 15px; height: 15px; }
.icon-moon { display: none; }

/* ---------- LIGHT MODE ---------- */
[data-theme="light"] {
  --bg: #f0e9db;
  --ink: #1c1916;
  --ink-2: rgba(28,25,22,0.62);
  --ink-3: rgba(28,25,22,0.38);
  --line: rgba(0,0,0,0.1);
  --glass: rgba(0,0,0,0.03);
  --glass-h: rgba(0,0,0,0.06);
}
[data-theme="light"] .stage::before {
  background-image: radial-gradient(rgba(0,0,0,0.07) 1px, transparent 1.2px);
}
[data-theme="light"] .stage::after { opacity: 0.015; }
[data-theme="light"] .horizon {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}
[data-theme="light"] .aurora .a1 {
  background: radial-gradient(circle, rgba(190,160,240,0.2) 0%, transparent 60%);
}
[data-theme="light"] .aurora .a2 {
  background: radial-gradient(circle, rgba(240,170,170,0.18) 0%, transparent 60%);
}
[data-theme="light"] .aurora .a3 {
  background: radial-gradient(circle, rgba(130,200,210,0.18) 0%, transparent 60%);
}
[data-theme="light"] .nav {
  background: rgba(235,226,210,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
[data-theme="light"] .nav .pill { background: rgba(0,0,0,0.08); }
[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,0.06); }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .about-card {
  background: rgba(240,232,218,0.7);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
}
[data-theme="light"] .about-card::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}
[data-theme="light"] .about-card::before {
  background: radial-gradient(500px circle at var(--mx,30%) var(--my,20%),
    rgba(0,0,0,0.03), transparent 55%);
}
[data-theme="light"] .skill {
  background: rgba(240,232,218,0.85);
}
[data-theme="light"] .skill:hover { background: rgba(230,222,208,0.95); }
[data-theme="light"] .skill::before {
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%),
    rgba(0,0,0,0.04), transparent 50%);
}
[data-theme="light"] .skill-cat { background: rgba(228,220,205,0.98); }
[data-theme="light"] .proj {
  background: rgba(240,232,218,0.85);
}
[data-theme="light"] .proj:hover { border-color: rgba(0,0,0,0.18); }
[data-theme="light"] .proj-thumb { background: rgba(0,0,0,0.04); }
[data-theme="light"] .gbtn {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: var(--ink-2);
}
[data-theme="light"] .gbtn:hover { background: rgba(0,0,0,0.1); color: var(--ink); }
[data-theme="light"] ::selection { background: rgba(0,0,0,0.12); color: #1c1916; }
