:root {
  --bg: #050505;
  --bg-soft: #0f1118;
  --bg-panel: rgba(14, 16, 24, 0.85);
  --accent: #7f5af0;
  --accent-soft: rgba(127, 90, 240, 0.25);
  --accent-two: #2cb1ff;
  --text: #f6f7fb;
  --text-dim: rgba(226, 230, 240, 0.7);
  --shadow: rgba(12, 16, 28, 0.5);
  --radius-lg: 28px;
  --radius-sm: 16px;
  --transition: 240ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(127, 90, 240, 0.12), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(44, 177, 255, 0.08), transparent 55%),
    var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(127, 90, 240, 0.07), transparent);
  mix-blend-mode: screen;
  z-index: -1;
}

h1,
 h2,
 h3,
 h4 {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-dim);
}

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

a:hover,
 a:focus {
  color: var(--accent);
}

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

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.orb {
  position: absolute;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.orb--one {
  top: -10vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(127, 90, 240, 0.9) 0%, rgba(127, 90, 240, 0) 70%);
}

.orb--two {
  top: 35vh;
  right: -12vw;
  background: radial-gradient(circle, rgba(44, 177, 255, 0.8) 0%, rgba(44, 177, 255, 0) 70%);
}

.orb--three {
  bottom: -15vw;
  left: 20vw;
  background: radial-gradient(circle, rgba(255, 120, 180, 0.75) 0%, rgba(255, 120, 180, 0) 70%);
}

.backdrop__grid {
  position: absolute;
  left: -20vw;
  right: -20vw;
  bottom: -68vh;
  height: 120vh;
  background:
    linear-gradient(transparent 0 60%, rgba(12, 16, 24, 0.9) 60%),
    repeating-linear-gradient(0deg, rgba(127, 90, 240, 0.16) 0 2px, transparent 2px 80px),
    repeating-linear-gradient(90deg, rgba(44, 177, 255, 0.16) 0 2px, transparent 2px 80px);
  transform: perspective(1600px) rotateX(72deg);
  transform-origin: 50% 0%;
  opacity: 0.42;
  mix-blend-mode: screen;
  filter: blur(0.3px);
  animation: gridPulse 14s ease-in-out infinite alternate;
}

.backdrop__poly {
  position: absolute;
  top: 22vh;
  right: clamp(40px, 12vw, 220px);
  width: clamp(140px, 18vw, 240px);
  height: clamp(140px, 18vw, 240px);
  background: linear-gradient(135deg, rgba(44, 177, 255, 0.4), rgba(127, 90, 240, 0.7));
  clip-path: polygon(50% 0%, 92% 25%, 100% 72%, 62% 100%, 15% 82%, 0% 32%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 35px 60px rgba(8, 10, 20, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotateX(34deg) rotateY(-12deg) rotateZ(16deg);
  opacity: 0.38;
  mix-blend-mode: screen;
  animation: polyFloat 10s ease-in-out infinite alternate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 64px);
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 8, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__symbol {
  color: var(--accent);
}

.site-nav {
  position: relative;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.site-nav__menu {
  list-style: none;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  margin: 0;
  padding: 0;
}

.site-nav__menu a {
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
}

.site-nav__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.site-nav__menu a:hover::after,
.site-nav__menu a:focus::after {
  transform: scaleX(1);
}

main {
  padding: clamp(48px, 10vw, 120px) clamp(24px, 6vw, 112px);
  display: grid;
  gap: clamp(96px, 12vw, 160px);
}

.hero {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}

.hero__subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__actions .button {
  min-width: 160px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-two));
  color: #07080d;
  box-shadow: 0 18px 40px rgba(127, 90, 240, 0.35);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(127, 90, 240, 0.45);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: transparent;
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.button--accent {
  background: linear-gradient(120deg, rgba(44, 177, 255, 0.15), rgba(127, 90, 240, 0.25));
  border: 1px solid rgba(127, 90, 240, 0.35);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(44, 177, 255, 0.2);
}

.button--accent:hover,
.button--accent:focus {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(44, 177, 255, 0.3);
}

.button--compact {
  padding: 10px 18px;
  font-size: 0.8rem;
  min-width: auto;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  perspective: 1200px;
}

.hero__halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 60px rgba(127, 90, 240, 0.35), 0 0 40px rgba(44, 177, 255, 0.25);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.55;
}

.hero__halo::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(from 90deg, rgba(127, 90, 240, 0.65), rgba(44, 177, 255, 0.15), rgba(127, 90, 240, 0.65));
  opacity: 0.45;
  filter: blur(10px);
}

.hero__halo--outer {
  width: clamp(360px, 50vw, 460px);
  height: clamp(360px, 50vw, 460px);
  animation: heroHalo 22s linear infinite;
}

.hero__halo--inner {
  width: clamp(240px, 34vw, 320px);
  height: clamp(240px, 34vw, 320px);
  animation: heroHalo 18s linear infinite reverse;
}

.cube {
  width: clamp(220px, 32vw, 260px);
  height: clamp(220px, 32vw, 260px);
  position: relative;
  transform-style: preserve-3d;
  animation: cube-spin 18s infinite linear;
  z-index: 2;
}

.cube__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, rgba(14, 16, 24, 0.6), rgba(127, 90, 240, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(6, 9, 18, 0.6);
  backdrop-filter: blur(10px);
}

.cube__face--front { transform: translateZ(130px); }
.cube__face--back { transform: rotateY(180deg) translateZ(130px); }
.cube__face--right { transform: rotateY(90deg) translateZ(130px); }
.cube__face--left { transform: rotateY(-90deg) translateZ(130px); }
.cube__face--top { transform: rotateX(90deg) translateZ(130px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(130px); }

.hero__glow {
  position: absolute;
  width: clamp(280px, 40vw, 420px);
  height: clamp(280px, 40vw, 420px);
  background: radial-gradient(circle, rgba(127, 90, 240, 0.5), transparent 70%);
  filter: blur(45px);
  opacity: 0.6;
  transform: translateY(120px);
  z-index: 0;
}

.hero__pyramid {
  position: absolute;
  bottom: -60px;
  left: 12%;
  width: 160px;
  height: 160px;
  transform-style: preserve-3d;
  --pyramid-shift: 0;
  transform: translateX(var(--pyramid-shift)) rotateX(28deg) rotateZ(-12deg);
  animation: heroPyramid 18s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero__pyramid::after {
  content: '';
  position: absolute;
  inset: 50% -10px auto -10px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 177, 255, 0.3), transparent 70%);
  filter: blur(6px);
}

.hero__pyramid-face {
  position: absolute;
  width: 140px;
  height: 140px;
  background: linear-gradient(160deg, rgba(127, 90, 240, 0.65), rgba(44, 177, 255, 0.35));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.75;
  transform-origin: 50% 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero__pyramid-face--front {
  transform: rotateY(0deg) translateZ(70px);
}

.hero__pyramid-face--back {
  transform: rotateY(180deg) translateZ(70px);
}

.hero__pyramid-face--left {
  transform: rotateY(-90deg) translateZ(70px);
}

.hero__pyramid-face--right {
  transform: rotateY(90deg) translateZ(70px);
}

.hero__orbital {
  position: absolute;
  width: clamp(320px, 42vw, 420px);
  height: clamp(320px, 42vw, 420px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 3;
}

.hero__orbital::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(127, 90, 240, 0.2);
  box-shadow: 0 0 40px rgba(127, 90, 240, 0.25);
  mix-blend-mode: screen;
}

.hero__orbital span {
  --distance: clamp(140px, 18vw, 180px);
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: -9px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(44, 177, 255, 0.4));
  box-shadow: 0 0 16px rgba(44, 177, 255, 0.65);
  animation: heroOrbit 16s linear infinite;
}

.hero__orbital span:nth-child(2) {
  --distance: clamp(100px, 16vw, 140px);
  width: 14px;
  height: 14px;
  margin: -7px;
  animation-duration: 12s;
  animation-delay: -3s;
}

.hero__orbital span:nth-child(3) {
  --distance: clamp(70px, 12vw, 110px);
  width: 10px;
  height: 10px;
  margin: -5px;
  background: radial-gradient(circle, rgba(127, 90, 240, 0.95), rgba(44, 177, 255, 0.4));
  animation-duration: 9s;
  animation-delay: -6s;
}

@keyframes cube-spin {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes heroHalo {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

@keyframes heroPyramid {
  0% { transform: translateX(var(--pyramid-shift)) rotateX(28deg) rotateZ(-12deg) rotateY(0deg); }
  100% { transform: translateX(var(--pyramid-shift)) rotateX(28deg) rotateZ(-12deg) rotateY(360deg); }
}

@keyframes heroOrbit {
  0% { transform: rotate(0deg) translateX(var(--distance)) rotate(-0deg); }
  100% { transform: rotate(360deg) translateX(var(--distance)) rotate(-360deg); }
}

@keyframes gridPulse {
  0% {
    opacity: 0.34;
    transform: perspective(1600px) rotateX(70deg) translateY(0);
  }
  100% {
    opacity: 0.5;
    transform: perspective(1600px) rotateX(75deg) translateY(40px);
  }
}

@keyframes polyFloat {
  0% {
    transform: rotateX(34deg) rotateY(-12deg) rotateZ(16deg) translateY(0px);
  }
  100% {
    transform: rotateX(26deg) rotateY(-6deg) rotateZ(28deg) translateY(24px);
  }
}

.panel {
  background: var(--bg-panel);
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px var(--shadow);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(127, 90, 240, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.panel:hover::before {
  opacity: 1;
}

.panel__heading {
  margin-bottom: clamp(24px, 3vw, 48px);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.panel__grid {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.resume__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resume-card {
  background: rgba(8, 10, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 36px rgba(4, 6, 16, 0.45);
  display: grid;
  gap: 18px;
}

.resume-card h3 {
  font-size: 1.3rem;
}

.resume-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.resume-list li {
  color: var(--text-dim);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.resume-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-two);
  opacity: 0.8;
}

.resume-list--columns {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.resume__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.panel-card {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(10, 12, 20, 0.8);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.timeline {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.timeline__items {
  position: relative;
  padding-left: 28px;
}

.timeline__items::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(127, 90, 240, 0.6), rgba(44, 177, 255, 0.2));
}

.timeline-item {
  position: relative;
  margin-bottom: clamp(24px, 3vw, 44px);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item__marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle, var(--accent) 0%, var(--accent-two) 90%);
  position: absolute;
  left: -2px;
  top: 6px;
  transform: translateX(-50%);
  box-shadow: 0 12px 24px rgba(127, 90, 240, 0.35);
}

.timeline-item__meta {
  color: var(--accent-two);
  font-weight: 600;
  margin: 8px 0 12px;
}

.panel--projects {
  background: linear-gradient(150deg, rgba(17, 19, 30, 0.96), rgba(12, 14, 24, 0.94));
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3.5vw, 36px);
}

.project-card {
  position: relative;
  perspective: 1400px;
}

.project-card__inner {
  background: rgba(9, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 25px 50px rgba(7, 8, 15, 0.6);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(127, 90, 240, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.project-card:hover .project-card__inner::before {
  opacity: 1;
}

.project-card:hover .project-card__inner,
.project-card:focus-within .project-card__inner {
  transform: translateY(-6px) rotateX(6deg) rotateY(-6deg);
  box-shadow: 0 30px 60px rgba(10, 10, 20, 0.6);
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-two);
  font-weight: 600;
}

.project-card__link::after {
  content: '↗';
  transition: transform var(--transition);
}

.project-card__link:hover::after {
  transform: translate(4px, -4px);
}

.panel__intro {
  margin-top: clamp(12px, 2vw, 18px);
  max-width: 65ch;
  color: rgba(226, 230, 240, 0.8);
}

.panel--storyboards {
  background: linear-gradient(150deg, rgba(10, 12, 24, 0.94), rgba(16, 20, 36, 0.92));
  position: relative;
  overflow: hidden;
}

.panel--storyboards::before {
  content: '';
  position: absolute;
  inset: -18% 25% auto -12%;
  height: 120%;
  background: radial-gradient(circle at top, rgba(127, 90, 240, 0.22), transparent 68%);
  pointer-events: none;
}

.storyboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.storyboard-card {
  background: rgba(7, 9, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 30px 65px rgba(6, 8, 18, 0.58);
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.storyboard-card__screen {
  background: radial-gradient(circle at 10% 10%, rgba(127, 90, 240, 0.2), transparent 65%),
    radial-gradient(circle at 90% 0%, rgba(44, 177, 255, 0.15), transparent 70%),
    rgba(10, 12, 20, 0.95);
  border-radius: calc(var(--radius-sm) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(18px, 3vw, 26px);
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.screen-header,
.screen-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
}

.screen-title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(245, 245, 255, 0.85);
}

.screen-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(127, 90, 240, 0.15);
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.screen-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}

.screen-status--live {
  background: rgba(44, 177, 255, 0.12);
  border-color: rgba(44, 177, 255, 0.35);
  color: rgba(160, 220, 255, 0.96);
}

.screen-status--review {
  background: rgba(255, 193, 79, 0.14);
  border-color: rgba(255, 193, 79, 0.3);
  color: rgba(255, 224, 170, 0.95);
}

.screen-columns {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

.screen-panel {
  background: rgba(6, 8, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 22px);
  display: grid;
  gap: 14px;
}

.screen-panel h4,
.screen-panel h5 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(244, 244, 252, 0.84);
}

.screen-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(226, 230, 240, 0.82);
}

.screen-list--ordered {
  counter-reset: bounty-step;
}

.screen-list--ordered li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-left: 26px;
}

.screen-list--ordered li::before {
  counter-increment: bounty-step;
  content: counter(bounty-step) '.';
  position: absolute;
  left: 0;
  color: rgba(127, 90, 240, 0.75);
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(127, 90, 240, 0.3);
}

.chip--buy {
  background: rgba(76, 220, 152, 0.35);
  color: rgba(196, 255, 226, 0.95);
}

.chip--sell {
  background: rgba(255, 115, 115, 0.28);
  color: rgba(255, 220, 220, 0.94);
}

.chip--neutral {
  background: rgba(127, 90, 240, 0.28);
  color: rgba(210, 200, 255, 0.92);
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(127, 90, 240, 0.22);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(220, 215, 255, 0.9);
}

.badge--done {
  background: rgba(76, 220, 152, 0.32);
  color: rgba(210, 255, 230, 0.95);
}

.badge--review {
  background: rgba(255, 193, 79, 0.28);
  color: rgba(255, 237, 200, 0.95);
}

.screen-wallet {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(226, 230, 240, 0.82);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(9, 10, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-wallet strong {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.screen-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.screen-card {
  background: rgba(9, 11, 22, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  display: grid;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(226, 230, 240, 0.82);
}

.screen-card h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(244, 244, 252, 0.82);
}

.screen-card--chart {
  align-items: center;
  text-align: center;
}

.screen-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(rgba(127, 90, 240, 0.2) 0 40%, rgba(44, 177, 255, 0.4) 40% 76%, rgba(255, 193, 79, 0.5) 76% 100%);
  border: 4px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.screen-card__stat {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(210, 230, 255, 0.9);
}

.screen-chart {
  position: relative;
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 12, 26, 0.85), rgba(6, 8, 16, 0.92));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.screen-chart__grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(transparent 0 28px, rgba(255, 255, 255, 0.04) 28px 30px),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255, 255, 255, 0.05) 36px 37px);
}

.screen-chart__line {
  position: absolute;
  inset: 0;
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.screen-chart__line--one {
  background-image: linear-gradient(120deg, rgba(44, 177, 255, 0.8), rgba(127, 90, 240, 0.65));
  clip-path: polygon(0% 68%, 8% 64%, 18% 70%, 28% 60%, 38% 54%, 48% 40%, 58% 44%, 68% 38%, 78% 46%, 88% 32%, 100% 40%, 100% 100%, 0 100%);
}

.screen-chart__line--two {
  background-image: linear-gradient(140deg, rgba(76, 220, 152, 0.8), rgba(44, 177, 255, 0.6));
  clip-path: polygon(0% 84%, 10% 78%, 20% 82%, 30% 72%, 40% 68%, 50% 58%, 60% 66%, 70% 50%, 80% 60%, 90% 42%, 100% 48%, 100% 100%, 0 100%);
  opacity: 0.75;
}

.screen-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.screen-ticker__item {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(127, 90, 240, 0.18);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(226, 230, 240, 0.85);
}

.screen-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(226, 230, 240, 0.78);
}

.screen-footer__log {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(127, 90, 240, 0.9);
  box-shadow: 0 0 12px rgba(127, 90, 240, 0.7);
}

.screen-dot--pulse {
  background: rgba(44, 177, 255, 0.95);
  box-shadow: 0 0 14px rgba(44, 177, 255, 0.85);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.storyboard-card__body {
  display: grid;
  gap: 16px;
}

.storyboard-card__list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: rgba(226, 230, 240, 0.85);
  font-size: 0.9rem;
}

.storyboard-card__list li {
  line-height: 1.6;
}

.storyboard-card__caption {
  font-size: 0.85rem;
  color: rgba(200, 210, 232, 0.88);
}

.screen-log {
  display: grid;
  gap: 10px;
  background: rgba(9, 11, 22, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  font-size: 0.82rem;
  color: rgba(226, 230, 240, 0.84);
}

.screen-log__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.screen-timestamp {
  font-size: 0.72rem;
  color: rgba(180, 200, 230, 0.78);
}

.screen-proof {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  background: rgba(7, 9, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.8rem;
  color: rgba(210, 220, 240, 0.86);
}

.screen-proof code {
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 8px;
  border-radius: 8px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  color: rgba(180, 210, 255, 0.92);
}

@media (max-width: 900px) {
  .screen-columns {
    grid-template-columns: 1fr;
  }

  .storyboard-card__screen {
    padding: clamp(16px, 4vw, 24px);
  }

  .screen-panel {
    padding: clamp(14px, 4vw, 20px);
  }
}

@media (max-width: 640px) {
  .storyboard-grid {
    gap: clamp(20px, 6vw, 28px);
  }

  .storyboard-card {
    padding: clamp(20px, 5vw, 28px);
  }

  .screen-log__row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: flex-start;
  }

  .screen-ticker {
    gap: 8px;
  }
}

.panel--playground {
  position: relative;
  background: linear-gradient(160deg, rgba(9, 12, 24, 0.92), rgba(12, 16, 30, 0.88));
}

.panel--playground::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(44, 177, 255, 0.15), transparent 65%);
  pointer-events: none;
}

.game-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.game-card {
  background: rgba(5, 6, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 24px 48px rgba(6, 7, 16, 0.55);
  display: grid;
  gap: 18px;
}

.game-card h3 {
  font-size: 1.35rem;
}

.game__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.game__controls input[type='number'] {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
}

.game__controls input[type='number']::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.game__controls input[type='number']:focus {
  outline: none;
  border-color: rgba(127, 90, 240, 0.6);
  box-shadow: 0 0 0 3px rgba(127, 90, 240, 0.2);
}

.game__feedback {
  margin-top: 8px;
  min-height: 1.4em;
  font-weight: 500;
  color: var(--text-dim);
}

.game__feedback.is-success {
  color: #6fedc6;
}

.game__feedback.is-warning {
  color: #ffd166;
}

.game__feedback.is-error {
  color: #ff6b6b;
}

.reaction-game {
  display: grid;
  gap: 16px;
}

.reaction-pad {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(127, 90, 240, 0.25), rgba(44, 177, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 25px rgba(127, 90, 240, 0.3);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.reaction-pad::after {
  content: 'wait';
}

.reaction-pad:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(127, 90, 240, 0.35), inset 0 0 25px rgba(127, 90, 240, 0.4);
}

.reaction-pad.is-primed::after {
  content: 'arming';
}

.reaction-pad.is-go {
  background: linear-gradient(135deg, rgba(108, 255, 204, 0.35), rgba(44, 177, 255, 0.3));
  box-shadow: 0 0 35px rgba(108, 255, 204, 0.4), inset 0 0 30px rgba(44, 177, 255, 0.25);
  transform: translateY(-4px);
}

.reaction-pad.is-go::after {
  content: 'go!';
}

.gallery {
  position: relative;
  background: linear-gradient(160deg, rgba(12, 14, 24, 0.95), rgba(16, 19, 34, 0.9));
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(5, 6, 14, 0.55);
  overflow: hidden;
}

.gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(127, 90, 240, 0.2), transparent 70%);
  pointer-events: none;
}

.gallery__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.gallery-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 48px rgba(6, 7, 18, 0.55);
  overflow: hidden;
}

.gallery-card__shape {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 18px;
  background-size: 200% 200%;
  background-position: 50% 50%;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.45));
  transform: perspective(900px) rotateX(18deg);
  transition: transform var(--transition), background-position 1600ms ease;
}

.gallery-card__shape--one {
  background-image: linear-gradient(135deg, rgba(255, 120, 180, 0.9), rgba(127, 90, 240, 0.75), rgba(44, 177, 255, 0.8));
}

.gallery-card__shape--two {
  background-image: linear-gradient(135deg, rgba(44, 177, 255, 0.85), rgba(120, 255, 214, 0.75), rgba(127, 90, 240, 0.7));
}

.gallery-card__shape--three {
  background-image: linear-gradient(135deg, rgba(255, 200, 120, 0.8), rgba(255, 120, 180, 0.75), rgba(127, 90, 240, 0.8));
}

.gallery-card:hover .gallery-card__shape {
  transform: perspective(900px) rotateX(0deg) rotateY(-6deg) translateY(-8px);
  background-position: 80% 20%;
}

.gallery-card figcaption {
  margin-top: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-two);
}

.gallery-card__meta {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.gallery-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 0;
  list-style: none;
}

.gallery-card__tags li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.will-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.panel--contact {
  background: linear-gradient(160deg, rgba(10, 12, 22, 0.95), rgba(16, 20, 30, 0.92));
}

.contact-form {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
  letter-spacing: 0.06em;
}

input,
textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 5, 10, 0.85);
  color: var(--text);
  font-size: 1rem;
  transition: border var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(127, 90, 240, 0.8);
  box-shadow: 0 12px 32px rgba(127, 90, 240, 0.2);
}

textarea {
  resize: vertical;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 22px;
  margin: 4px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(120, 255, 214, 0.9);
}

.form-status.is-error {
  color: rgba(255, 120, 150, 0.95);
}

.site-footer {
  padding: 32px clamp(24px, 6vw, 96px) 60px;
  text-align: center;
  color: rgba(214, 218, 230, 0.65);
  font-size: 0.95rem;
}

.site-footer span {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .site-nav__toggle {
    display: flex;
  }

  .site-nav__menu {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    flex-direction: column;
    background: rgba(7, 8, 14, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition);
  }

  .site-nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .hero {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__pyramid {
    left: 50%;
    --pyramid-shift: -50%;
    bottom: -30px;
  }

  .hero__halo--outer {
    width: min(340px, 80vw);
    height: min(340px, 80vw);
  }

  .hero__halo--inner {
    width: min(240px, 60vw);
    height: min(240px, 60vw);
  }

  .hero__orbital {
    width: min(300px, 72vw);
    height: min(300px, 72vw);
  }

  .resume__cta {
    flex-direction: column;
  }

  .resume__cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
