/* Justin Lee — cinematic dark portfolio */
:root {
  --bg: oklch(0.155 0.012 260);
  --bg-2: oklch(0.185 0.014 260);
  --surface: oklch(0.21 0.014 260);
  --surface-2: oklch(0.245 0.014 260);
  --hairline: oklch(1 0 0 / 0.07);
  --hairline-strong: oklch(1 0 0 / 0.13);
  --text: oklch(0.965 0.005 260);
  --text-2: oklch(0.78 0.008 260);
  --text-3: oklch(0.58 0.012 260);
  --text-4: oklch(0.42 0.012 260);
  --accent: oklch(0.82 0.13 75);          /* warm amber */
  --accent-soft: oklch(0.82 0.13 75 / 0.18);
  --glow-a: oklch(0.55 0.20 275);          /* indigo */
  --glow-b: oklch(0.62 0.18 320);          /* magenta */
  --glow-c: oklch(0.72 0.14 75);           /* amber */

  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --container: 1200px;
  --gutter-x: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--accent-soft); color: var(--text); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============== Layout ============== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter-x);
}

section { position: relative; }

.section-pad {
  padding-block: clamp(96px, 14vw, 180px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px 1px var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin-top: 18px;
  max-width: 820px;
}
.section-title em {
  font-style: normal;
  color: var(--text-3);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head .section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-4);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============== Top Nav ============== */
.nav {
  position: fixed;
  inset: 16px 16px auto 16px;
  z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 18px;
  background: oklch(0.18 0.012 260 / 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.05) inset,
    0 20px 40px -20px oklch(0 0 0 / 0.6);
}
.nav-mark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 14px;
  margin-right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav-mark .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: oklch(1 0 0 / 0.04); }
.nav-cta {
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px oklch(1 0 0 / 0.2);
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============== Hero ============== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

/* Cinematic aurora */
.aurora {
  position: absolute; inset: -20% -10% -20% -10%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px) saturate(120%);
  opacity: 0.55;
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.aurora::before {
  width: 60vw; height: 60vw;
  left: -10vw; top: -15vw;
  background: radial-gradient(circle at 30% 30%, var(--glow-a), transparent 60%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.aurora::after {
  width: 55vw; height: 55vw;
  right: -10vw; top: 5vw;
  background: radial-gradient(circle at 60% 50%, var(--glow-b), transparent 60%);
  animation: drift2 28s ease-in-out infinite alternate;
}
.aurora .a3 {
  position: absolute;
  width: 50vw; height: 50vw;
  left: 25vw; bottom: -25vw;
  background: radial-gradient(circle at 50% 50%, var(--glow-c), transparent 65%);
  border-radius: 50%;
  opacity: 0.35;
  animation: drift3 26s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(6vw, 4vw, 0) scale(1.15); }
}
@keyframes drift2 {
  0%   { transform: translate3d(0,0,0) scale(1.05); }
  100% { transform: translate3d(-5vw, 6vw, 0) scale(0.95); }
}
@keyframes drift3 {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.3; }
  100% { transform: translate3d(-4vw,-3vw,0) scale(1.1); opacity: 0.45; }
}

/* Grid wash */
.hero-grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 80%);
  pointer-events: none;
}

.hero-noise {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 40px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--hairline);
  background: oklch(0.22 0.012 260 / 0.5);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  width: fit-content;
}
.hero-status .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: oklch(0.78 0.16 150);
  box-shadow: 0 0 10px oklch(0.78 0.16 150);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 500;
  padding-right: 0.08em;
}
.hero h1 .stack {
  display: block;
}
.hero h1 .ink {
  background: linear-gradient(180deg, var(--text) 0%, oklch(0.7 0.005 260) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(95deg, var(--accent) 0%, oklch(0.78 0.14 40) 60%, var(--text) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding-right: 0.15em;
}

.hero-sub {
  max-width: 620px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-2);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--hairline-strong);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s, box-shadow .25s;
  background: oklch(0.22 0.012 260 / 0.5);
  backdrop-filter: blur(10px);
  color: var(--text);
}
.btn:hover {
  transform: translateY(-2px);
  background: oklch(0.26 0.012 260 / 0.7);
  border-color: oklch(1 0 0 / 0.2);
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover {
  background: oklch(0.95 0.005 260);
  box-shadow: 0 12px 30px -10px oklch(1 0 0 / 0.25);
}
.btn .arrow {
  display: inline-block;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arrow { transform: translate(2px,-2px); }

/* Hero meta strip */
.hero-meta {
  position: relative;
  z-index: 3;
  margin-top: clamp(60px, 10vw, 110px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.hero-meta > div {
  padding: 22px 24px;
  background: oklch(0.17 0.012 260 / 0.6);
  backdrop-filter: blur(6px);
}
.hero-meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
}
.hero-meta dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-4);
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%     { opacity: 1; transform: scaleY(1); }
}

/* ============== Glass Card ============== */
.glass {
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0.01)),
    oklch(0.21 0.012 260 / 0.55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.05) inset,
    0 30px 60px -30px oklch(0 0 0 / 0.55);
}

/* ============== Experience ============== */
.exp-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.025), oklch(1 0 0 / 0)),
    oklch(0.205 0.012 260 / 0.6);
  transition: border-color .3s, transform .3s, background .3s;
}
.exp-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0)),
    oklch(0.225 0.012 260 / 0.7);
}
.exp-card .meta {
  display: flex; flex-direction: column; gap: 10px;
}
.exp-card .dates {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.exp-card .org {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.exp-card .loc {
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--font-mono);
}
.exp-card .role {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.exp-card .product-badge {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-top: -6px;
  margin-bottom: 14px;
}
.exp-card .blurb {
  color: var(--text-2);
  font-size: 15.5px;
  margin-bottom: 22px;
  max-width: 640px;
  text-wrap: pretty;
}
.exp-card ul {
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: grid; gap: 10px;
}
.exp-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.exp-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--text-4);
}
.stack {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-2);
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--hairline);
}
@media (max-width: 760px) {
  .exp-card { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
}

/* Featured tier: brighter surface than the default card, no other structural change */
.exp-featured {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}
.exp-card-featured {
  border-color: var(--hairline-strong);
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0)),
    oklch(0.225 0.012 260 / 0.7);
}

/* "+N more roles" label + compact always-open row list */
.exp-more-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}
.exp-rows {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.exp-row {
  background: oklch(0.205 0.012 260 / 0.6);
  padding: 24px 28px;
  transition: background .25s;
}
.exp-row:hover {
  background: oklch(0.225 0.012 260 / 0.7);
}
.exp-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.exp-row-id {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.exp-row-org {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.exp-row-role {
  font-size: 13.5px;
  color: var(--text-2);
}
.exp-row-dates {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.exp-row-blurb {
  font-size: 13.5px;
  color: oklch(0.68 0.010 260) !important;
  margin-bottom: 10px !important;
  max-width: 640px;
}
.exp-row-stack .chip {
  font-size: 11px;
  padding: 4px 10px;
}
@media (max-width: 620px) {
  .exp-row { padding: 20px; }
}

/* ============== Featured Work ============== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  padding: 36px 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: oklch(0.205 0.012 260 / 0.6);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
}
.work-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, -10%), oklch(0.82 0.13 75 / 0.10), transparent 40%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  border-radius: inherit;
}
.work-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.work-card:hover::before { opacity: 1; }

.work-card .head {
  display: flex; justify-content: space-between; align-items: center;
}
.work-card .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-4);
}
.work-card .org-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: oklch(1 0 0 / 0.02);
}
.work-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
}
.case-rows {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.case-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
}
.case-row dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  padding-top: 2px;
}
.case-row dd {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 520px) {
  .case-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============== Personal Projects (placeholder slots) ============== */
.proj-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .proj-list { grid-template-columns: 1fr; } }

.proj-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 32px 30px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.025), oklch(1 0 0 / 0)),
    oklch(0.205 0.012 260 / 0.6);
  overflow: hidden;
  min-height: 320px;
  transition: border-color .3s, transform .3s, background .3s;
}
.proj-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.04), oklch(1 0 0 / 0)),
    oklch(0.225 0.012 260 / 0.7);
}

.proj-card .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.proj-card .proj-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  background: oklch(0.22 0.012 260 / 0.6);
  border: 1px solid var(--hairline);
}
.proj-card .proj-tag::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.78 0.16 150);
  box-shadow: 0 0 10px oklch(0.78 0.16 150);
}
.proj-card .corner {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-4);
}

.proj-card .title-block {
  display: grid; gap: 6px;
}
.proj-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.proj-card .kind {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.proj-card .summary {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.proj-card .stack-wrap {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.proj-card .stack-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
}

.proj-card.placeholder {
  background:
    repeating-linear-gradient(135deg, oklch(1 0 0 / 0.012) 0 14px, transparent 14px 28px),
    oklch(0.195 0.012 260 / 0.55);
  border-style: dashed;
  border-color: oklch(1 0 0 / 0.13);
}
.proj-card.placeholder h3 { color: var(--text-2); }
.proj-card.placeholder .summary { color: var(--text-3); }
.proj-card.placeholder .stack-wrap {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
}
.proj-card.placeholder .stack-wrap::before {
  content: "[ stack TBD ]";
}

.proj-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      oklch(0.78 0.16 150 / 0.65) 20%,
      oklch(0.78 0.16 150) 50%,
      oklch(0.78 0.16 150 / 0.65) 80%,
      transparent 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  opacity: 0.5;
  animation: buildScan 4.2s ease-in-out infinite;
}
.proj-card:nth-child(2)::after { animation-delay: 0.7s; }
.proj-card:nth-child(3)::after { animation-delay: 1.4s; }

@keyframes buildScan {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ============== Skills ============== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .skills-grid { grid-template-columns: 1fr; } }

.skill-cell {
  background: oklch(0.2 0.012 260 / 0.7);
  padding: 36px 36px 40px;
  display: grid; gap: 18px;
  transition: background .3s;
}
.skill-cell:hover { background: oklch(0.225 0.012 260 / 0.8); }
.skill-cell h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.skill-cell h4 .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-4);
}
.skill-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}

/* ============== About ============== */
.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .about-wrap { grid-template-columns: 1fr; gap: 32px; } }

.about-text p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 24px;
  font-weight: 400;
  text-wrap: pretty;
}
.about-text p + p { color: var(--text-2); font-size: clamp(18px, 1.5vw, 22px); }

.about-side {
  display: grid;
  gap: 14px;
}
.about-card {
  padding: 22px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: oklch(0.205 0.012 260 / 0.6);
}
.about-card .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.about-card .val {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.about-card .sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-3);
}

/* ============== Contact / Footer ============== */
.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.contact-aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  z-index: 0;
  opacity: 0.4;
  filter: blur(80px);
  background:
    radial-gradient(circle at 30% 30%, var(--glow-a), transparent 55%),
    radial-gradient(circle at 70% 60%, var(--glow-c), transparent 55%);
}
.contact-inner { position: relative; z-index: 1; }

.contact h2 {
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-weight: 500;
  text-wrap: balance;
}
.contact h2 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(95deg, var(--accent), oklch(0.7 0.005 260));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-rows {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--hairline);
}
.contact-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding .25s;
}
.contact-row:hover { padding-left: 12px; }
.contact-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
}
.contact-row .v {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  color: var(--text);
}
.contact-row .arrow {
  font-family: var(--font-mono);
  color: var(--text-3);
  transition: transform .25s, color .25s;
}
.contact-row:hover .arrow { transform: translate(4px, -4px); color: var(--accent); }
@media (max-width: 620px) {
  .contact-row { grid-template-columns: 1fr auto; }
  .contact-row .k { grid-column: 1 / -1; }
}

.foot {
  margin-top: 80px;
  padding-block: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-4);
  text-transform: uppercase;
}

/* ============== Reveal on scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora::before, .aurora::after, .aurora .a3 { animation: none; }
  .scroll-cue .line { animation: none; }
  .proj-card::after { animation: none; }
}
