:root {
  --ink: #eef4e8;
  --muted: #929b90;
  --bg: #080b0a;
  --panel: rgba(18, 23, 20, .78);
  --line: rgba(238, 244, 232, .16);
  --acid: #c7ff38;
  --violet: #9c7bff;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  font-size: 18px;
}
main {
  margin-inline: 12px;
  overflow: hidden;
  border-right: 1px solid rgba(238, 244, 232, .08);
  border-left: 1px solid rgba(238, 244, 232, .08);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: #080b0a; background: var(--acid); }
.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--acid), var(--violet));
  box-shadow: 0 0 14px var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .08s linear;
}

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: .72;
}
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 12px;
  right: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4vw;
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled {
  background: rgba(8, 11, 10, .74);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #080b0a;
  background: var(--acid);
  border-radius: 50%;
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.brand-status, .header-link, .desktop-nav {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.brand-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--acid);
}
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a, .header-link { position: relative; transition: color .2s; }
.desktop-nav a:hover, .header-link:hover { color: var(--ink); }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 10px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav a[aria-current="true"] { color: var(--ink); }
.header-actions, .language-switcher { display: flex; align-items: center; }
.header-actions { gap: 22px; }
.language-switcher {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(8, 11, 10, .44);
}
.language-switcher button {
  width: 34px;
  height: 26px;
  padding: 0;
  color: var(--muted);
  border: 0;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.language-switcher button.active { color: #080b0a; background: var(--acid); }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 19vh 5vw 6vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 28px;
  color: var(--acid);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
}
.hero-title, .section-title, .contact-title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.065em;
  line-height: .86;
}
.hero-title { font-size: clamp(54px, 10.5vw, 160px); }
.hero-title span { display: block; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238, 244, 232, .78);
  transform: translateX(7vw);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5vw;
  margin-top: 5vh;
}
.hero-bottom > p {
  max-width: 390px;
  color: #bdc5bb;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.55;
}
.round-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(14, 18, 16, .54);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.round-button b { position: absolute; right: 25px; bottom: 25px; }
.round-button:hover { color: #080b0a; background: var(--acid); }
.scroll-note {
  position: absolute;
  bottom: 28px;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
}
.scroll-note span { width: 70px; height: 1px; background: var(--line); }
.hero-orbit {
  position: absolute;
  top: 17%;
  right: 7%;
  width: 142px;
  height: 142px;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 18s linear infinite;
  opacity: .34;
}
.hero-orbit::before, .hero-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-orbit::before { inset: 22px; }
.hero-orbit::after { inset: 47px; background: var(--violet); box-shadow: 0 0 34px rgba(156, 123, 255, .4); }
.hero-orbit span {
  position: absolute;
  font-size: 8px;
  letter-spacing: .13em;
}
.hero-orbit span:nth-child(1) { top: -4px; left: 50px; }
.hero-orbit span:nth-child(2) { right: -20px; top: 66px; }
.hero-orbit span:nth-child(3) { bottom: 3px; left: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-profile {
  position: absolute;
  right: 5vw;
  top: 110px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(11, 15, 13, .72);
  backdrop-filter: blur(18px);
}
.avatar-shell { position: relative; width: 64px; height: 64px; }
.avatar-shell {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.avatar-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(.85) contrast(1.05);
}
.avatar-shell span {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border: 3px solid #101411;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}
.avatar-shell b {
  position: absolute;
  right: -7px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #080b0a;
  border-radius: 50%;
  background: rgba(199, 255, 56, .88);
  box-shadow: 0 0 0 4px #101411, 0 0 18px rgba(199, 255, 56, .25);
  font-size: 9px;
  opacity: 1;
  transform: scale(.86);
  transition: opacity .25s, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.hero-profile:hover .avatar-shell b,
.avatar-shell:focus-visible b { opacity: 1; transform: scale(1); }
.avatar-shell:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.hero-profile strong { display: block; font: 600 13px "Unbounded", sans-serif; }
.hero-profile p { margin: 5px 0; color: var(--muted); font-size: 12px; }
.hero-profile small { display: flex; align-items: center; gap: 7px; color: #c3cbc0; font-size: 10px; }
.hero-profile small i { width: 5px; height: 5px; border-radius: 50%; background: var(--acid); }
.play-label {
  display: block;
  margin-top: 7px;
  padding: 0;
  color: var(--acid);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-shell { padding: 140px 5vw; }
.manifest {
  background: rgba(11, 15, 13, .92);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.manifest-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 8vw;
  align-items: end;
}
.section-title { font-size: clamp(48px, 7vw, 110px); }
.section-title em { color: var(--acid); font-style: normal; }
.section-title span { color: var(--acid); }
.about-copy {
  max-width: 520px;
  color: #bcc4ba;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.65;
}
.about-copy p:first-child { color: var(--ink); font-size: clamp(22px, 1.75vw, 29px); }
.text-link {
  display: inline-flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-link span { color: var(--acid); }
.skill-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 110px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(12px, 1.3vw, 17px);
  text-transform: uppercase;
}
.skill-line i { width: 5px; height: 5px; background: var(--violet); border-radius: 50%; }

.skills {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(156, 123, 255, .1), transparent 30%),
    rgba(8, 11, 10, .95);
  border-bottom: 1px solid var(--line);
}
.skills::before {
  content: "SKILLS";
  position: absolute;
  right: -2vw;
  top: 70px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 244, 232, .025);
  font: 700 clamp(100px, 18vw, 290px) "Unbounded", sans-serif;
  letter-spacing: -.08em;
  pointer-events: none;
}
.skills-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 9vw;
  align-items: end;
}
.skills-heading > * { min-width: 0; }
.skills .section-title { overflow-wrap: anywhere; }
.skills .section-title em { color: var(--violet); }
.skills-intro {
  max-width: 470px;
  margin: 0 0 8px;
  color: #c5cdc2;
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.55;
}
.skills-console {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 80px;
  perspective: 1400px;
}
.skill-card {
  position: relative;
  min-height: 410px;
  cursor: pointer;
  outline: none;
  perspective: 1200px;
}
.skill-card-wide { grid-column: 1 / -1; min-height: 350px; }
.skill-card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
}
.skill-card.is-flipped .skill-card-inner { transform: rotateY(180deg); }
.skill-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(25, 30, 27, .9), rgba(12, 15, 14, .8));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color .3s, background .3s;
}
.skill-card:hover .skill-face,
.skill-card:focus-visible .skill-face {
  border-color: rgba(156, 123, 255, .65);
  background: linear-gradient(145deg, rgba(34, 29, 50, .92), rgba(12, 15, 14, .84));
}
.skill-back { transform: rotateY(180deg); background: linear-gradient(145deg, rgba(30, 24, 47, .97), rgba(10, 14, 12, .97)); }
.skill-panel-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.skill-panel-top i { height: 1px; background: var(--line); }
.skill-face h3 {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin: auto 0 20px;
  font: 600 clamp(31px, 3vw, 48px)/1.03 "Unbounded", sans-serif;
  letter-spacing: -.05em;
}
.skill-face > p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.skill-symbol {
  position: absolute;
  right: 18px;
  top: 48px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 255, 56, .28);
  font: 700 clamp(74px, 9vw, 145px) "Unbounded", sans-serif;
  letter-spacing: -.1em;
  transform: rotate(-7deg);
  transition: color .45s, transform .55s cubic-bezier(.16, 1, .3, 1);
}
.skill-symbol::before,
.skill-symbol::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid rgba(156, 123, 255, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.skill-symbol::after {
  width: 1.7em;
  height: .72em;
  border-color: rgba(199, 255, 56, .12);
  transform: translate(-50%, -50%) rotate(32deg);
}
.skill-card:hover .skill-symbol {
  color: rgba(199, 255, 56, .06);
  transform: rotate(0) scale(1.05);
}
.flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 24px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.flip-hint b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #080b0a;
  border-radius: 50%;
  background: var(--acid);
  transition: transform .5s;
}
.skill-card:hover .flip-hint b { transform: rotate(180deg); }
.skill-tags {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
  margin: auto 0 30px;
}
.skill-tags span {
  padding: 9px 13px;
  color: var(--ink);
  border: 1px solid rgba(199, 255, 56, .22);
  border-radius: 100px;
  background: rgba(199, 255, 56, .055);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}
.skill-card-wide .skill-tags { max-width: 900px; }
.tech-marquee {
  width: calc(100% + 10vw);
  margin: 95px -5vw -140px;
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(199, 255, 56, .03);
}
.tech-marquee > div {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.tech-marquee span {
  font: 600 clamp(19px, 2vw, 28px) "Unbounded", sans-serif;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.tech-marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
@keyframes marquee { to { transform: translateX(-50%); } }

.projects { background: rgba(8, 11, 10, .9); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.project-count {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-count strong { color: var(--acid); font: 600 40px "Unbounded", sans-serif; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 60px 0 28px;
}
.filters button {
  padding: 9px 17px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.filters button:hover, .filters button.active { color: #080b0a; background: var(--acid); border-color: var(--acid); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 38px;
}
.project-card {
  position: relative;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 21, 18, .93);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color .3s, transform .15s ease-out, opacity .3s;
}
.project-card:hover { border-color: rgba(199, 255, 56, .6); }
.project-card.hidden { display: none; }
.card-top, .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-language::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}
.card-visual {
  position: relative;
  height: 215px;
  margin: 18px 0 22px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #1b261e, #14121e);
  transform: translateZ(15px);
}
.live-preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: transparent;
}
.project-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: .82;
  filter: saturate(.82) contrast(1.05);
  transform: scale(1.01);
  transition: transform .75s cubic-bezier(.16, 1, .3, 1), filter .45s, opacity .45s;
}
.project-card:hover .project-cover {
  opacity: 1;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.055);
}
.live-preview iframe {
  width: 1440px;
  height: 900px;
  border: 0;
  pointer-events: none;
  transform: scale(.36);
  transform-origin: 0 0;
  opacity: .82;
  filter: saturate(.86) contrast(1.05);
  transition: opacity .45s ease, filter .45s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.project-card:hover .live-preview iframe {
  opacity: 1;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(.375) translate(-10px, -8px);
}
.preview-badge {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--ink);
  border: 1px solid rgba(238, 244, 232, .24);
  border-radius: 100px;
  background: rgba(8, 11, 10, .78);
  backdrop-filter: blur(9px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.preview-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  animation: preview-pulse 1.8s ease-in-out infinite;
}
@keyframes preview-pulse {
  50% { opacity: .35; transform: scale(.72); }
}
.project-card:nth-child(3n+2) .card-visual { background: linear-gradient(135deg, #251d38, #111614); }
.project-card:nth-child(3n+3) .card-visual { background: linear-gradient(135deg, #16272b, #181a12); }
.visual-grid {
  position: absolute;
  inset: -100%;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 35px 35px;
  transform: perspective(380px) rotateX(65deg) rotateZ(-20deg);
}
.visual-letter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 255, 56, .82);
  font: 700 150px "Unbounded", sans-serif;
  text-transform: uppercase;
  text-shadow: 14px 14px 0 rgba(156, 123, 255, .2);
}
.card-body h3 {
  margin: 0 0 16px;
  font: 600 clamp(24px, 2vw, 32px)/1.12 "Unbounded", sans-serif;
  letter-spacing: -.04em;
  text-transform: capitalize;
}
.card-body { display: flex; flex: 1; flex-direction: column; }
.card-body p { min-height: 54px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.case-study {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.case-study p {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  padding: 13px 0 4px;
  border-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}
.case-study b {
  color: var(--acid);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.case-study span { color: #d1d8cf; line-height: 1.55; }
.card-topics { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 15px; }
.card-topics span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: #d0d7ce;
  font-size: 12px;
  text-transform: uppercase;
}
.card-footer {
  position: static;
  flex-shrink: 0;
  width: 100%;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.card-footer a { margin-left: 14px; color: var(--ink); }
.card-footer a:hover { color: var(--acid); }
.card-footer .demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  padding: 10px 14px;
  color: #080b0a;
  border-radius: 100px;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(199, 255, 56, .3);
  transition: transform .25s, box-shadow .25s;
}
.card-footer .demo-link:hover {
  color: #080b0a;
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(199, 255, 56, .11), 0 8px 26px rgba(199, 255, 56, .18);
}
.demo-link b { font-size: 8px; }
.demo-link:empty { display: none; }
.project-loading { min-height: 300px; }
.skeleton {
  height: 18px;
  margin-top: 65px;
  border-radius: 4px;
  background: linear-gradient(90deg, #171c19, #29302b, #171c19);
  background-size: 200% 100%;
  animation: loading 1.4s infinite;
}
.skeleton.short { width: 55%; margin-top: 16px; }
@keyframes loading { to { background-position: -200% 0; } }

.contact {
  padding-bottom: 35px;
  background: var(--acid);
  color: #080b0a;
}
.contact .eyebrow { color: #080b0a; }
.contact-content {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 6vw;
  align-items: end;
}
.contact-title { font-size: clamp(48px, 8vw, 125px); }
.contact-title span { color: transparent; -webkit-text-stroke: 1.5px #080b0a; }
.contact-side { max-width: 520px; font-size: 19px; line-height: 1.65; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.contact-email {
  position: relative;
  grid-column: 1 / -1;
  display: block;
  padding: 8px 74px 17px 0;
  border-bottom: 2px solid #080b0a;
  user-select: text;
  cursor: copy;
}
.contact-email small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-email span {
  display: block;
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 600;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  user-select: text;
}
.contact-email b {
  position: absolute;
  right: 0;
  bottom: 20px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s;
}
.contact-email:hover b { transform: translateX(3px); }
.contact-email:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-button {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
  border: 1px solid #080b0a;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-button:hover { color: var(--acid); background: #080b0a; }
.contact-button b { font-size: 14px; }
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 140px;
  padding-top: 22px;
  border-top: 1px solid rgba(8, 11, 10, .3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: -12px;
  padding: 11px 15px;
  color: var(--acid);
  border-radius: 100px;
  background: #080b0a;
  transition: transform .25s, box-shadow .25s;
}
.back-to-top b { font-size: 15px; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(8, 11, 10, .2); }
.copy-toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 17px;
  color: var(--ink);
  border: 1px solid rgba(199, 255, 56, .34);
  border-radius: 100px;
  background: rgba(8, 11, 10, .9);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .34);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px) scale(.94);
  transition: opacity .3s, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.copy-toast.visible { opacity: 1; transform: translate(-50%, 0) scale(1); }
.copy-toast i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #080b0a;
  border-radius: 50%;
  background: var(--acid);
  font-style: normal;
}

body.game-open { overflow: hidden; }
body.game-open #space { opacity: .28; transform: scale(1.06); filter: blur(3px); }
#space { transition: opacity .5s, transform .8s cubic-bezier(.16, 1, .3, 1), filter .5s; }
.game-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
.game-modal[hidden] { display: none; }
.game-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 4, .84);
  backdrop-filter: blur(20px);
}
.game-console {
  position: relative;
  width: min(1120px, 100%);
  height: min(760px, calc(100svh - 48px));
  overflow: hidden;
  border: 1px solid rgba(199, 255, 56, .3);
  border-radius: 30px;
  background:
    linear-gradient(rgba(199, 255, 56, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 56, .025) 1px, transparent 1px),
    radial-gradient(circle at 75% 25%, rgba(156, 123, 255, .14), transparent 34%),
    #090d0b;
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .65), inset 0 0 80px rgba(199, 255, 56, .025);
  animation: console-in .55s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes console-in {
  from { opacity: 0; transform: scale(.92) translateY(30px); }
}
.game-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
}
.game-kicker, .game-overline {
  color: var(--acid);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
.game-header h2 { margin: 6px 0 0; font: 600 22px "Unbounded", sans-serif; }
.game-levels { display: flex; align-items: center; gap: 18px; }
.game-levels::before, .game-levels::after { content: ""; width: 44px; height: 1px; background: var(--line); }
.game-levels i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
}
.game-levels i.active { color: #080b0a; border-color: var(--acid); background: var(--acid); box-shadow: 0 0 22px rgba(199, 255, 56, .25); }
.game-levels i.done { color: var(--acid); border-color: var(--acid); }
.game-close {
  justify-self: end;
  width: 42px;
  height: 42px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
}
.game-close:hover { color: #080b0a; background: var(--acid); border-color: var(--acid); }
.game-intro {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  height: calc(100% - 96px);
  align-items: center;
  padding: 48px 7%;
}
.game-intro[hidden],
.game-play[hidden],
.game-wisdom[hidden],
.game-finish[hidden] { display: none !important; }
.game-avatar { position: relative; display: grid; place-items: center; }
.game-avatar::before, .game-avatar::after {
  content: "";
  position: absolute;
  width: 83%;
  aspect-ratio: 1;
  border: 1px solid rgba(199, 255, 56, .28);
  border-radius: 50%;
  animation: game-orbit 12s linear infinite;
}
.game-avatar::after { width: 96%; border-color: rgba(156, 123, 255, .2); animation-direction: reverse; animation-duration: 18s; }
.game-avatar img { position: relative; z-index: 1; width: min(390px, 90%); height: auto; border-radius: 50%; filter: drop-shadow(0 0 28px rgba(156, 123, 255, .22)); }
.game-avatar span { position: absolute; z-index: 2; width: 12px; height: 12px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px var(--acid); animation: game-satellite 5s linear infinite; }
@keyframes game-orbit { to { transform: rotate(360deg); } }
@keyframes game-satellite {
  from { transform: rotate(0) translateX(180px) rotate(0); }
  to { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}
.game-intro-copy h3, .game-wisdom h3, .game-finish h3 {
  margin: 20px 0;
  max-width: 760px;
  font: 600 clamp(33px, 4vw, 58px)/1.14 "Unbounded", sans-serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.game-intro-copy > p:not(.game-overline) { max-width: 600px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.game-skill-list { display: flex; gap: 8px; margin: 28px 0; }
.game-skill-list span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; color: #c3cbc0; font-size: 10px; text-transform: uppercase; }
.game-primary, .game-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 16px 20px;
  border: 1px solid var(--acid);
  border-radius: 100px;
  cursor: pointer;
  font: 700 11px "Manrope", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.game-primary { color: #080b0a; background: var(--acid); }
.game-primary:hover { box-shadow: 0 0 0 7px rgba(199, 255, 56, .09), 0 10px 34px rgba(199, 255, 56, .16); transform: translateY(-2px); }
.game-secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.game-play { height: calc(100% - 96px); padding: 26px 30px 18px; }
.game-stage-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}
.game-stage-number { color: var(--acid); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.game-stage-title { margin: 5px 0 0; font: 600 24px "Unbounded", sans-serif; }
.game-instruction { max-width: 540px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.game-score { color: var(--acid); font: 600 18px "Unbounded", sans-serif; }
.game-canvas-shell {
  position: relative;
  height: min(440px, calc(100% - 115px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #070a08;
}
#game-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.game-countdown { position: absolute; inset: 0; place-items: center; color: var(--acid); background: rgba(7, 10, 8, .74); font: 700 90px "Unbounded", sans-serif; }
.game-countdown:not([hidden]) { display: grid; }
.game-controls { margin: 12px 0 0; color: #697168; font-size: 9px; letter-spacing: .14em; text-align: center; }
.game-answers {
  position: absolute;
  inset: auto 5% 60px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.game-answers[hidden] { display: none; }
.game-answers button {
  padding: 17px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 21, 18, .94);
  cursor: pointer;
  font: 600 18px "Unbounded", sans-serif;
}
.game-answers button:hover { color: #080b0a; border-color: var(--acid); background: var(--acid); }
.game-answers button.correct,
.game-answers button.correct:disabled { color: #080b0a; border-color: var(--acid); background: var(--acid); opacity: 1; }
.game-answers button.wrong,
.game-answers button.wrong:disabled { color: #fff; border-color: #ff6688; background: rgba(255, 102, 136, .28); opacity: 1; }
.game-answers button:disabled { cursor: default; opacity: .42; }
.game-answers.shooter-keys {
  grid-template-columns: repeat(5, minmax(44px, 72px));
  justify-content: center;
}
.game-answers.shooter-keys button {
  color: #080b0a;
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 0 18px rgba(199, 255, 56, .13);
}
.game-wisdom, .game-finish {
  position: relative;
  height: calc(100% - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  text-align: center;
}
.game-wisdom[hidden], .game-finish[hidden] { display: none; }
.wisdom-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 24px; color: #080b0a; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 12px rgba(199, 255, 56, .06), 0 0 70px rgba(199, 255, 56, .3); font-size: 31px; animation: reward-pop .65s cubic-bezier(.16, 1, .3, 1) both; }
.wisdom-reward {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 14px;
  padding: 9px 15px;
  color: #080b0a;
  border-radius: 100px;
  background: var(--acid);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: reward-pop .7s .12s cubic-bezier(.16, 1, .3, 1) both;
}
.reward-rays { position: absolute; left: 50%; top: 45%; width: 360px; height: 360px; transform: translate(-50%, -50%); pointer-events: none; }
.reward-rays i { position: absolute; inset: 0; border: 1px solid rgba(199, 255, 56, .12); border-radius: 50%; animation: reward-ring 2.4s ease-out infinite; }
.reward-rays i:nth-child(2) { animation-delay: .8s; }
.reward-rays i:nth-child(3) { animation-delay: 1.6s; }
@keyframes reward-ring {
  from { opacity: .7; transform: scale(.35); }
  to { opacity: 0; transform: scale(1.25); }
}
@keyframes reward-pop {
  from { opacity: 0; transform: scale(.55) rotate(-8deg); }
}
.wisdom-text { max-width: 700px; margin: 0 0 34px; color: #c7cec5; font-size: 20px; line-height: 1.6; }
.finish-orbit { position: relative; width: 170px; height: 170px; margin-bottom: 22px; }
.finish-orbit img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.finish-orbit i { position: absolute; inset: -10px; border: 1px solid var(--acid); border-radius: 50%; animation: game-orbit 8s linear infinite; }
.finish-orbit i:nth-child(2) { inset: -20px; border-color: var(--violet); animation-direction: reverse; }
.finish-orbit i:nth-child(3) { inset: -30px; border-style: dashed; opacity: .35; }
.finish-stats { color: var(--muted); font-size: 17px; }
.finish-actions { display: flex; gap: 12px; margin-top: 24px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-title.reveal,
.section-title.reveal,
.contact-title.reveal { transition-duration: 1s; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .brand-status { display: none; }
  .hero-title { font-size: clamp(65px, 10.5vw, 118px); }
  .manifest-grid, .skills-heading { grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr); gap: 4vw; }
  .section-title { font-size: clamp(50px, 7vw, 84px); }
  .project-card { min-height: 0; }
  .card-visual { height: 205px; }
  .live-preview iframe { transform: scale(.32); }
  .case-study { grid-template-columns: 1fr; gap: 0; }
  .case-study p { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .site-header { padding: 16px 20px; }
  .desktop-nav, .brand-status, .header-link { display: none; }
  .header-actions { gap: 0; }
  body { font-size: 17px; }
  main { margin-inline: 6px; }
  .site-header { left: 6px; right: 6px; }
  .hero { min-height: 920px; padding: 190px 20px 70px; justify-content: flex-start; }
  .hero-title { margin-top: 9vh; font-size: clamp(47px, 15vw, 82px); }
  .hero-title .outline { transform: none; }
  .hero-bottom { align-items: end; gap: 18px; margin-top: 9vh; }
  .hero-bottom > p { font-size: 18px; }
  .round-button { flex: 0 0 120px; width: 120px; height: 120px; font-size: 10px; }
  .hero-orbit { top: 15%; right: -50px; width: 130px; height: 130px; }
  .hero-orbit::after { inset: 42px; }
  .hero-profile { top: 94px; right: 20px; bottom: auto; }
  .section-shell { padding: 90px 20px; }
  .manifest-grid, .skills-heading, .contact-content { grid-template-columns: 1fr; gap: 55px; }
  .section-title { font-size: clamp(44px, 13vw, 75px); }
  .about-copy p:first-child { font-size: 19px; }
  .skill-line { overflow: hidden; justify-content: flex-start; width: calc(100vw - 20px); margin-top: 70px; white-space: nowrap; }
  .skills-console { grid-template-columns: 1fr; margin-top: 55px; }
  .skill-card, .skill-card-wide { min-height: 390px; grid-column: auto; }
  .tech-marquee { margin-bottom: -90px; }
  .section-heading { align-items: start; }
  .project-count { display: none; }
  .filters { margin-top: 42px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 0; }
  .card-visual { height: 235px; }
  .live-preview iframe { transform: scale(.31); }
  .project-card:hover .live-preview iframe { transform: scale(.32) translate(-8px, -6px); }
  .contact-title { font-size: clamp(43px, 13vw, 72px); }
  .contact-side { max-width: none; }
  footer { gap: 20px; flex-wrap: wrap; margin-top: 90px; }
  .game-modal { padding: 0; }
  .game-console { height: 100svh; border: 0; border-radius: 0; }
  .game-header { grid-template-columns: 1fr auto; min-height: 80px; padding: 14px 18px; }
  .game-levels { grid-row: 2; grid-column: 1 / -1; justify-content: center; margin-top: 12px; }
  .game-levels::before, .game-levels::after { width: 24px; }
  .game-close { grid-column: 2; grid-row: 1; }
  .game-intro { grid-template-columns: 1fr; height: calc(100% - 130px); overflow-y: auto; padding: 26px 20px 40px; text-align: center; }
  .game-avatar img { width: min(240px, 65vw); }
  .game-avatar span { display: none; }
  .game-intro-copy h3 { font-size: 31px; }
  .game-intro-copy > p:not(.game-overline) { font-size: 16px; }
  .game-skill-list { justify-content: center; }
  .game-play { height: calc(100% - 130px); padding: 22px 14px; }
  .game-stage-head { grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
  .game-instruction { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
  .game-canvas-shell { height: calc(100% - 118px); min-height: 330px; }
  .game-controls { display: none; }
  .game-answers { inset: auto 20px 36px; gap: 7px; }
  .game-answers button { padding: 14px 6px; font-size: 14px; }
  .game-answers.shooter-keys { grid-template-columns: repeat(5, minmax(42px, 58px)); }
  .game-wisdom, .game-finish { height: calc(100% - 130px); padding: 30px 20px; }
  .game-wisdom h3, .game-finish h3 { font-size: 29px; line-height: 1.2; }
  .wisdom-text { font-size: 17px; line-height: 1.7; }
}

@media (max-width: 520px) {
  .site-header { padding: 13px 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .language-switcher button { width: 32px; }
  .hero { min-height: 800px; padding-inline: 15px; }
  .hero-title { font-size: clamp(43px, 14.7vw, 68px); line-height: .9; }
  .hero-bottom { display: grid; grid-template-columns: 1fr auto; }
  .hero-bottom > p { font-size: 16px; line-height: 1.5; }
  .round-button { width: 104px; height: 104px; flex-basis: 104px; }
  .round-button b { right: 18px; bottom: 18px; }
  .hero-profile { left: 15px; right: auto; top: 78px; bottom: auto; width: fit-content; max-width: calc(100% - 30px); }
  .hero-profile strong { font-size: 11px; }
  .hero-profile small { font-size: 9px; }
  .section-shell { padding-inline: 15px; }
  .section-title { font-size: clamp(39px, 12.5vw, 58px); line-height: .92; }
  .about-copy p:first-child { font-size: 21px; }
  .skills-intro { font-size: 18px; }
  .skill-card, .skill-card-wide { min-height: 390px; }
  .skill-face { padding: 22px; }
  .skill-face h3 { font-size: 29px; }
  .skill-face > p { font-size: 16px; }
  .skill-symbol { top: 60px; font-size: 70px; }
  .skill-tags { gap: 7px; margin-bottom: 20px; }
  .skill-tags span { padding: 7px 10px; font-size: 10px; }
  .project-grid { gap: 24px; }
  .project-card { min-height: 0; padding: 18px; border-radius: 20px; }
  .card-visual { height: 190px; margin-inline: 0; }
  .card-footer { align-items: flex-end; gap: 12px; }
  .card-footer > div { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  .case-study p { grid-template-columns: 58px 1fr; font-size: 12px; }
  .card-footer a { margin-left: 0; }
  .contact-title { font-size: clamp(39px, 12vw, 58px); }
  .contact-links { grid-template-columns: 1fr; }
  .contact-email { grid-column: auto; }
  footer { flex-direction: column; }
  .game-header h2 { font-size: 17px; }
  .game-kicker { font-size: 7px; }
  .game-levels i { width: 29px; height: 29px; }
  .game-stage-title { font-size: 19px; }
  .game-canvas-shell { min-height: 290px; }
  .finish-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
