
:root {
  --bg: #07080c;
  --panel: rgba(16, 18, 28, .78);
  --line: rgba(255, 255, 255, .12);
  --muted: rgba(255, 255, 255, .58);
  --soft: rgba(255, 255, 255, .36);
  --text: #f7f8ff;
  --yellow: #ffd84d;
  --cyan: #57e5ff;
  --purple: #8f6bff;
  --green: #75ffb8;
  --discord: #5865f2;
  --radius: 28px;
  --ease: cubic-bezier(.2, .9, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body.no-scroll { overflow: hidden; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,216,77,.20), transparent 31%),
    radial-gradient(circle at 86% 18%, rgba(87,229,255,.15), transparent 29%),
    radial-gradient(circle at 46% 92%, rgba(143,107,255,.15), transparent 35%),
    conic-gradient(from 210deg at 74% 26%, rgba(255,216,77,.10), transparent 19%, rgba(87,229,255,.08), transparent 38%),
    linear-gradient(135deg, #07080c 0%, #0b0d16 42%, #07080c 100%);
  z-index: -3;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 20%, transparent 0 34%, rgba(255,255,255,.018) 35% 36%, transparent 37%),
    radial-gradient(circle at 76% 62%, transparent 0 38%, rgba(255,255,255,.016) 39% 40%, transparent 41%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.68));
  z-index: -2;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}
.brand { display: inline-flex; align-items: center; gap: 12px; padding-left: 8px; text-decoration: none; font-weight: 950; letter-spacing: .08em; }
.brand-mark {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), #fff2a8);
  box-shadow: 0 0 32px rgba(255, 216, 77, .34);
  transition: transform .28s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: #07080c; border-radius: 4px; }
.brand-mark::before { width: 17px; height: 7px; transform: translateY(-4px); }
.brand-mark::after { width: 9px; height: 9px; transform: translate(4px, 6px); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  text-decoration: none;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  padding: 12px 14px;
  border-radius: 999px;
  transition: .25s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.075); transform: translateY(-2px); }
.nav-links .nav-cta { color: #07080c; background: var(--yellow); box-shadow: 0 0 30px rgba(255, 216, 77, .32); }

.page-wrap { transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease); transform-origin: left center; }
.page-wrap.modal-open { transform: translateX(-17vw) scale(.96); opacity: .28; filter: blur(8px) saturate(.7); pointer-events: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
  padding: 88px 0 70px;
}
.hero::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -4%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,77,.18), transparent 65%);
  filter: blur(10px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 14%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,229,255,.14), transparent 68%);
  filter: blur(12px);
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255,216,77,.28);
  border-radius: 999px;
  background: rgba(255,216,77,.08);
  color: #ffe891;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 20px rgba(117,255,184,.75); animation: pulse 1.4s infinite; }
.hero h1 { max-width: 760px; font-size: clamp(54px, 8vw, 106px); line-height: .9; letter-spacing: -.075em; font-weight: 1000; }
.hero h1 .highlight { display: block; color: var(--yellow); text-shadow: 0 0 36px rgba(255,216,77,.38); }
.hero h1 .name-line { display: block; color: var(--text); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn-primary { color: #07080c; background: linear-gradient(135deg, var(--yellow), #fff0a5); box-shadow: 0 0 38px rgba(255,216,77,.32); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.05); }
.btn-ghost:hover { border-color: rgba(255,216,77,.42); box-shadow: 0 0 30px rgba(255,216,77,.11); }

.quick-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; max-width: 650px; }
.stat {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255,255,255,.045);
  transition: .28s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.stat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,216,77,.14), transparent); opacity: 0; transition: .28s var(--ease); }
.stat:hover { transform: translateY(-6px); border-color: rgba(255,216,77,.34); }
.stat:hover::before { opacity: 1; }
.stat b, .stat span { position: relative; z-index: 1; display: block; }
.stat b { color: var(--yellow); font-size: 20px; }
.stat span { margin-top: 4px; color: var(--soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }

.viewport { position: relative; min-height: 620px; }
.viewport-card {
  position: absolute;
  inset: 42px 0 auto auto;
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: 0 30px 110px rgba(0,0,0,.5);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transform: rotate(1deg);
  animation: floatIn .9s var(--ease) both;
}
.viewport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,216,77,.08), transparent 35%, rgba(87,229,255,.08) 70%, transparent);
}
.viewport-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.18); }
.traffic { display: flex; gap: 8px; }
.traffic i { width: 10px; height: 10px; display: block; border-radius: 50%; background: var(--soft); }
.traffic i:nth-child(1) { background: #ff7171; }
.traffic i:nth-child(2) { background: var(--yellow); }
.traffic i:nth-child(3) { background: var(--green); }
.viewport-top span { color: var(--soft); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }

.stage {
  position: relative;
  height: 340px;
  margin: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 28%, rgba(255,216,77,.18), transparent 24%),
    radial-gradient(circle at 72% 22%, rgba(87,229,255,.18), transparent 22%),
    radial-gradient(circle at 54% 78%, rgba(143,107,255,.16), transparent 31%),
    linear-gradient(145deg, #0a0d15, #06070c 72%);
}
.stage::after {
  content: "YouTube intro video placeholder";
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(0,0,0,.35);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.build-block {
  position: absolute;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,216,77,.88), rgba(255,244,177,.68));
  box-shadow: 0 22px 42px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.45);
  transform: skewY(-7deg) rotate(-4deg);
  animation: blockDrift 5s ease-in-out infinite;
}
.build-block.one { width: 150px; height: 108px; left: 44px; bottom: 62px; }
.build-block.two { width: 130px; height: 160px; left: 172px; bottom: 88px; background: linear-gradient(135deg, rgba(87,229,255,.78), rgba(179,245,255,.52)); animation-delay: -.9s; }
.build-block.three { width: 172px; height: 96px; right: 44px; bottom: 46px; background: linear-gradient(135deg, rgba(143,107,255,.78), rgba(213,200,255,.5)); animation-delay: -1.6s; }
.play-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  translate: -50% -50%;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 50px rgba(255,216,77,.16);
  transition: .25s var(--ease);
  cursor: pointer;
}
.play-ring:hover { transform: scale(1.05); border-color: rgba(255,216,77,.45); }
.play-ring::before { content: ""; width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid var(--yellow); margin-left: 6px; }
.stage-label { position: absolute; left: 18px; bottom: 18px; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.42); color: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; backdrop-filter: blur(10px); }

.skill-switcher { display: grid; gap: 12px; padding: 0 18px 18px; }
.skill-chip { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 12px; text-decoration: none; background: rgba(0,0,0,.18); transition: .25s var(--ease); }
.skill-chip:hover { transform: translateX(10px); border-color: rgba(255,216,77,.38); background: rgba(255,216,77,.08); }
.chip-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; color: #07080c; background: var(--yellow); font-weight: 1000; }
.skill-chip:nth-child(2) .chip-icon { background: var(--cyan); }
.skill-chip:nth-child(3) .chip-icon { background: var(--purple); color: white; }
.skill-chip b { display: block; }
.skill-chip span { display: block; margin-top: 2px; color: var(--soft); font-size: 13px; }
.skill-chip em { color: var(--soft); font-style: normal; transition: .25s var(--ease); }
.skill-chip:hover em { color: var(--yellow); transform: translate(4px, -4px); }

.impact-section { padding: 14px 0 48px; }
.impact-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.03));
  box-shadow: 0 26px 90px rgba(0,0,0,.30);
  backdrop-filter: blur(20px);
  padding: 28px;
}
.impact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 0%, rgba(255,216,77,.16), transparent 32%), radial-gradient(circle at 88% 20%, rgba(87,229,255,.14), transparent 28%);
  pointer-events: none;
}
.impact-copy, .impact-display { position: relative; z-index: 1; }
.impact-copy { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.impact-title { font-size: clamp(34px, 5vw, 62px); line-height: .95; letter-spacing: -.055em; }
.impact-text { max-width: 640px; margin-top: 10px; color: var(--muted); line-height: 1.75; }
.impact-display { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; }
.impact-count-card, .impact-chart-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: rgba(8,10,16,.72);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.impact-card-label {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,216,77,.10);
  border: 1px solid rgba(255,216,77,.18);
  color: #ffe891;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.impact-number-row { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.impact-number { font-size: clamp(46px, 8vw, 86px); line-height: .95; letter-spacing: -.06em; color: var(--yellow); text-shadow: 0 0 30px rgba(255,216,77,.14); }
.impact-number-note { color: var(--soft); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.impact-progress-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 800; }
.impact-progress-track { height: 16px; margin-top: 12px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.impact-progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), #fff0a8, var(--cyan)); box-shadow: 0 0 22px rgba(255,216,77,.28); transition: width 3.4s var(--ease); }
.impact-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.impact-chart-head span { color: var(--soft); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.impact-chart-head b { color: var(--yellow); font-size: 18px; }
.impact-chart-grid { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: stretch; }
.impact-axis { display: grid; grid-template-rows: auto repeat(5, 1fr); align-content: stretch; }
.impact-axis strong { display: block; writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; color: var(--yellow); font-size: 11px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.impact-axis span { display: flex; align-items: end; justify-content: flex-end; padding-right: 2px; color: var(--soft); font-size: 12px; }
.impact-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: end;
  min-height: 285px;
  padding: 10px 0 4px;
  border-left: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(to top, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 25%;
}
.impact-bar-wrap { display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 10px; height: 100%; }
.impact-bar {
  width: min(68px, 100%);
  height: var(--bar-height);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(87,229,255,.95), rgba(143,107,255,.75));
  box-shadow: 0 16px 40px rgba(87,229,255,.14);
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 1.75s var(--ease);
}
.impact-bar-wrap.featured .impact-bar { background: linear-gradient(180deg, #fff0a8, var(--yellow)); box-shadow: 0 18px 44px rgba(255,216,77,.22); }
.impact-bar-wrap small { display: grid; gap: 3px; text-align: center; color: var(--soft); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.impact-bar-wrap small b { color: var(--text); font-size: 12px; }
.impact-bar-wrap small span { color: var(--soft); font-size: 11px; }
.impact-shell.animate .impact-bar { transform: scaleY(1); }

.section { padding: 112px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-kicker { color: var(--yellow); font-size: 12px; font-weight: 950; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(38px, 6vw, 68px); line-height: .95; letter-spacing: -.055em; }
.section-subtitle { max-width: 650px; margin-top: 10px; color: var(--muted); line-height: 1.7; }

.about-board { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.about-copy, .experience-board, .contact-card, .work-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(20px); box-shadow: 0 24px 86px rgba(0,0,0,.28); }
.about-copy { padding: 30px; position: relative; overflow: hidden; }
.about-copy::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: rgba(255,216,77,.13); filter: blur(8px); }
.about-copy p { color: var(--muted); line-height: 1.85; font-size: 17px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); background: rgba(255,255,255,.04); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.experience-board { padding: 18px; display: grid; gap: 12px; }
.xp-row { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.04); transition: .25s var(--ease); }
.xp-row:hover { transform: translateX(8px); border-color: rgba(255,216,77,.32); }
.xp-row strong { color: var(--yellow); font-size: 26px; letter-spacing: -.04em; }
.xp-row b { display: block; }
.xp-row span { display: block; margin-top: 4px; color: var(--soft); font-size: 13px; line-height: 1.5; }

.work-section { position: relative; overflow: hidden; padding: 28px; margin-bottom: 78px; }
.work-section:last-child { margin-bottom: 0; }
.work-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 0%, var(--accent-glow), transparent 36%); opacity: .7; pointer-events: none; }
.work-section.building { --accent: var(--yellow); --accent-glow: rgba(255,216,77,.18); }
.work-section.editing { --accent: var(--cyan); --accent-glow: rgba(87,229,255,.16); }
.work-section.animating { --accent: var(--purple); --accent-glow: rgba(143,107,255,.18); }
.work-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.work-top h3 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; }
.work-top p { margin-top: 8px; color: var(--muted); }
.work-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.view-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.view-btn::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--accent); transform: translateX(-105%); transition: transform .38s var(--ease); }
.view-btn::after { content: ""; position: absolute; top: -70%; left: -40%; z-index: -1; width: 38px; height: 240%; background: rgba(255,255,255,.45); transform: rotate(22deg) translateX(-120px); transition: transform .55s var(--ease); }
.view-btn em { display: inline-block; font-style: normal; transition: transform .28s var(--ease); }
.view-btn:hover { color: #07080c; border-color: transparent; transform: translateY(-5px) scale(1.04); box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 0 34px rgba(255,216,77,.22); }
.view-btn:hover::before { transform: translateX(0); }
.view-btn:hover::after { transform: rotate(22deg) translateX(230px); }
.view-btn:hover em { transform: translate(4px, -4px); }
.view-btn:active { transform: translateY(-2px) scale(.98); }

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-card { position: relative; min-height: 292px; overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: rgba(5,7,12,.72); transition: .3s var(--ease); }
.work-card:hover { transform: translateY(-12px); border-color: rgba(255,216,77,.38); box-shadow: 0 28px 60px rgba(0,0,0,.38); }
.work-card::after { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(135deg, var(--accent-glow), transparent 54%); transition: .3s var(--ease); pointer-events: none; }
.work-card:hover::after { opacity: 1; }
.thumb {
  position: relative;
  height: 142px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 68% 20%, var(--accent-glow), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(255,255,255,.055), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015)),
    #0b0d14;
}
.thumb::before, .thumb::after { content: ""; position: absolute; border-radius: 14px; background: var(--accent); box-shadow: 0 16px 35px rgba(0,0,0,.26); transition: .3s var(--ease); }
.thumb::before { width: 72px; height: 54px; left: 24px; bottom: 28px; transform: skewY(-8deg); }
.thumb::after { width: 92px; height: 34px; right: 20px; bottom: 58px; transform: skewY(8deg); opacity: .72; }
.work-card:hover .thumb::before { transform: translateY(-7px) skewY(-8deg); }
.work-card:hover .thumb::after { transform: translateY(7px) skewY(8deg); }
.custom-thumb::before, .custom-thumb::after { display: none; }
.card-image { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.thumb-video::after {
  content: "YouTube";
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}

.card-meta { position: relative; z-index: 1; padding: 16px 2px 0; }
.card-meta small { color: var(--accent); font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.card-meta h4 { margin-top: 8px; font-size: 20px; letter-spacing: -.02em; }
.card-meta p { margin-top: 8px; color: var(--soft); line-height: 1.55; font-size: 14px; }
.preview-btn { position: relative; z-index: 1; width: 100%; margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: rgba(255,255,255,.055); cursor: pointer; font-weight: 950; transition: .25s var(--ease); }
.work-card:hover .preview-btn, .price-card:hover .preview-btn { background: var(--accent, var(--yellow)); color: #07080c; border-color: transparent; }
.disabled-btn { opacity: .58; cursor: not-allowed; }
.disabled-btn:hover { transform: none !important; background: rgba(255,255,255,.055) !important; color: var(--text) !important; border-color: var(--line) !important; }

.contact-card { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: center; padding: 30px; overflow: hidden; position: relative; }
.contact-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: rgba(88,101,242,.18); filter: blur(18px); }
.pfp-ring { position: relative; width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from 180deg, var(--yellow), var(--cyan), var(--purple), var(--yellow)); padding: 3px; box-shadow: 0 0 55px rgba(255,216,77,.13); }
.pfp-ring::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.pfp-inner { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.1), transparent 28%), #0a0c13; text-align: center; color: var(--soft); font-size: 13px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.contact-content { position: relative; z-index: 1; }
.contact-content p { max-width: 720px; color: var(--muted); line-height: 1.8; margin-top: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.discord-btn { color: white; background: var(--discord); box-shadow: 0 0 36px rgba(88,101,242,.36); }

.overlay { position: fixed; inset: 0; z-index: 100; display: none; justify-content: flex-end; background: rgba(0,0,0,.54); backdrop-filter: blur(14px); }
.overlay.active { display: flex; animation: overlayFade .28s var(--ease) both; }
.drawer {
  width: min(960px, 100%);
  height: 100%;
  border-left: 1px solid var(--line);
  background: radial-gradient(circle at 20% 0%, rgba(255,216,77,.12), transparent 34%), rgba(10,12,18,.97);
  box-shadow: -36px 0 110px rgba(0,0,0,.56);
  transform: translateX(105%) scale(.98);
  animation: drawerIn .58s var(--ease) forwards;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.drawer.small { width: min(470px, 100%); height: auto; max-height: 90vh; align-self: center; margin-right: min(7vw, 70px); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 34px 100px rgba(0,0,0,.58); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-head small { color: var(--yellow); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .2em; }
.drawer-head h3 { margin-top: 6px; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.05em; }
.close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: rgba(255,255,255,.06); cursor: pointer; font-size: 24px; transition: .25s var(--ease); }
.close:hover { color: #07080c; background: var(--yellow); transform: rotate(90deg) scale(1.04); }
.drawer-body { overflow-y: auto; padding: 24px; }
.archive-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 24px; }
.archive-card, .price-card { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 24px; padding: 14px; background: rgba(255,255,255,.045); transition: .25s var(--ease); }
.archive-card:hover, .price-card:hover { transform: translateY(-8px); border-color: rgba(255,216,77,.34); background: rgba(255,255,255,.07); }
.archive-thumb { height: 112px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: #080a10; display: grid; place-items: center; color: var(--soft); font-weight: 950; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; overflow: hidden; }
.archive-card b, .price-card h4 { margin-top: 14px; display: block; font-size: 18px; }
.archive-card span { display: block; margin-top: 6px; color: var(--soft); line-height: 1.55; font-size: 13px; }
.archive-actions { display: flex; gap: 10px; margin-top: 14px; }
.archive-action-btn { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: rgba(255,255,255,.055); cursor: pointer; font-weight: 900; transition: .25s var(--ease); }
.archive-action-btn:hover { color: #07080c; background: var(--yellow); border-color: transparent; transform: translateY(-3px); }
.overlay.active .archive-card { opacity: 0; transform: translateX(34px) translateY(10px) scale(.96); animation: archiveCardIn .5s var(--ease) forwards; }
.overlay.active .archive-card:nth-child(1) { animation-delay: .08s; }
.overlay.active .archive-card:nth-child(2) { animation-delay: .12s; }
.overlay.active .archive-card:nth-child(3) { animation-delay: .16s; }
.overlay.active .archive-card:nth-child(n+4) { animation-delay: .20s; }

.price-note { margin-bottom: 18px; color: var(--muted); line-height: 1.7; }
.price-card { min-height: 270px; padding: 20px; }
.price-card small { color: var(--yellow); font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.price-card h4 { font-size: 24px; letter-spacing: -.035em; }
.price-card .price { margin-top: 14px; font-size: 34px; font-weight: 1000; }
.price-card ul { display: grid; gap: 8px; margin: 16px 0 0 18px; }
.price-card li { color: var(--muted); line-height: 1.6; font-size: 14px; }

.viewer-drawer { width: min(760px, calc(100% - 24px)); }
.viewer-body { display: flex; justify-content: center; align-items: center; }
.viewer-image { display: block; width: 100%; border-radius: 24px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }

.discord-card { border: 1px solid rgba(88,101,242,.42); border-radius: 24px; padding: 20px; background: linear-gradient(135deg, rgba(88,101,242,.22), rgba(255,255,255,.045)); }
.discord-card p { color: var(--muted); line-height: 1.7; margin-top: 12px; }
.username-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(0,0,0,.26); }
.username-box strong { color: var(--yellow); font-size: 28px; letter-spacing: .02em; user-select: all; }
.copy-btn { border: 0; border-radius: 999px; padding: 10px 13px; color: #07080c; background: var(--yellow); font-weight: 950; cursor: pointer; transition: .22s var(--ease); }
.copy-btn:hover { transform: scale(1.05); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; padding: 12px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(10,12,18,.9); color: var(--text); font-weight: 900; transition: .25s var(--ease); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

footer { padding: 38px 0 52px; color: var(--soft); text-align: center; font-size: 13px; }

@keyframes pulse { 50% { transform: scale(1.55); opacity: .45; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(28px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(1deg); } }
@keyframes blockDrift { 50% { translate: 0 -10px; } }
@keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawerIn { to { transform: translateX(0) scale(1); } }
@keyframes archiveCardIn { to { opacity: 1; transform: translateX(0) translateY(0) scale(1); } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero, .about-board, .contact-card, .impact-display { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .viewport { min-height: auto; }
  .viewport-card { position: relative; inset: auto; width: 100%; }
  .work-grid, .archive-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { justify-items: start; }
  .impact-copy { display: block; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 22px, 1180px); }
  .topbar { top: 8px; }
  .hero { padding: 46px 0; }
  .quick-stats, .work-grid, .archive-grid, .pricing-grid { grid-template-columns: 1fr; }
  .section-header, .work-top { flex-direction: column; align-items: start; }
  .viewport-card { transform: none; }
  .stage { height: 270px; }
  .impact-shell, .impact-count-card, .impact-chart-card, .contact-card, .about-copy, .work-section { padding: 20px; border-radius: 24px; }
  .impact-chart-grid { grid-template-columns: 42px 1fr; gap: 10px; }
  .impact-bars { gap: 10px; min-height: 220px; }
  .impact-number { font-size: clamp(40px, 14vw, 64px); }
  .pfp-ring { width: 164px; height: 164px; }
  .drawer.small { margin: 12px; }
  .page-wrap.modal-open { transform: translateX(-28vw) scale(.94); }
  .status-pill { width: 100%; }
}


/* Admin-driven portfolio additions */
.card-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.custom-thumb::before,
.custom-thumb::after {
  display: none;
}

.thumb-video::after {
  content: "YouTube";
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.empty-card {
  opacity: .72;
}

.empty-card:hover {
  transform: none;
}

.disabled-btn {
  opacity: .58;
  cursor: not-allowed;
}

.disabled-btn:hover {
  transform: none !important;
  background: rgba(255,255,255,.055) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}

.archive-card .archive-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.archive-action-btn {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  font-weight: 900;
  transition: .25s var(--ease);
}

.archive-action-btn:hover {
  color: #07080c;
  background: var(--yellow);
  border-color: transparent;
  transform: translateY(-3px);
}
