:root {
  --bg: #11100f;
  --ink: #f5f2ec;
  --muted: #a7a29a;
  --line: rgba(245, 242, 236, 0.14);
  --panel: rgba(20, 19, 18, 0.74);
  --lime: #c8ff4d;
  --blue: #262dc0;
  --orange: #f05a3f;
  --cream: #f3eee7;
  --nav-bg: rgba(13, 13, 13, 0.86);
  --nav-link: rgba(255, 255, 255, 0.88);
  --active-ink: #111;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(16, 16, 15, 0.84);
  --surface-stronger: rgba(12, 12, 11, 0.92);
  --soft-text: rgba(245, 242, 236, 0.78);
  --strong-text: rgba(245, 242, 236, 0.9);
  --shadow: rgba(0, 0, 0, 0.42);
  --heavy-shadow: rgba(0, 0, 0, 0.52);
  --grid-line-a: rgba(255, 255, 255, 0.035);
  --grid-line-b: rgba(255, 255, 255, 0.025);
  --hero-sheen: rgba(245, 242, 236, 0.11);
  --input-bg: rgba(255, 255, 255, 0.055);
  --button-dark: #101010;
  --wipe-color: #f7f2e9;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f2e9;
  --ink: #161511;
  --muted: #605c53;
  --line: rgba(22, 21, 17, 0.16);
  --panel: rgba(255, 252, 245, 0.78);
  --lime: #8ee81f;
  --blue: #2557dd;
  --orange: #d85a3b;
  --cream: #181713;
  --nav-bg: rgba(255, 252, 245, 0.82);
  --nav-link: rgba(22, 21, 17, 0.74);
  --active-ink: #11100f;
  --surface: rgba(22, 21, 17, 0.045);
  --surface-strong: rgba(255, 252, 245, 0.82);
  --surface-stronger: rgba(255, 252, 245, 0.9);
  --soft-text: rgba(22, 21, 17, 0.7);
  --strong-text: rgba(22, 21, 17, 0.86);
  --shadow: rgba(48, 42, 30, 0.16);
  --heavy-shadow: rgba(48, 42, 30, 0.22);
  --grid-line-a: rgba(22, 21, 17, 0.055);
  --grid-line-b: rgba(22, 21, 17, 0.035);
  --hero-sheen: rgba(22, 21, 17, 0.08);
  --input-bg: rgba(255, 255, 255, 0.68);
  --button-dark: #161511;
  --wipe-color: #11100f;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 20%, rgba(245, 242, 236, 0.08), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
  cursor: none;
  transition: color 240ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 48% 18%, rgba(142, 232, 31, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 10%, rgba(37, 87, 221, 0.13), transparent 28rem),
    var(--bg);
}

.theme-wipe {
  position: fixed;
  z-index: 998;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--wipe-x, 88vw) var(--wipe-y, 50vh), rgba(200, 255, 77, 0.32), transparent 0 18rem),
    linear-gradient(120deg, transparent 0 34%, var(--wipe-color) 48%, transparent 62% 100%);
  opacity: 0;
  transform: translate3d(-16%, 0, 0);
  mix-blend-mode: normal;
  will-change: opacity, transform;
}

.theme-wipe.active {
  animation: themeWipe 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

@keyframes themeWipe {
  0% {
    opacity: 0;
    transform: translate3d(-18%, 0, 0);
  }
  42% {
    opacity: 0.34;
  }
  100% {
    opacity: 0;
    transform: translate3d(18%, 0, 0);
  }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

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

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

.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  position: relative;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 48px repeat(4, auto) 118px;
  align-items: center;
  gap: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--nav-bg);
  box-shadow: 0 20px 60px var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  --glow-x: 56px;
  --glow-y: 8px;
  --glow-w: 70px;
  --glow-h: 42px;
}

.nav-progress {
  position: absolute;
  left: 8px;
  bottom: 5px;
  width: calc((100% - 16px) * var(--progress, 0));
  height: 2px;
  background: var(--lime);
  transform-origin: left center;
}

.nav-glow {
  position: absolute;
  left: var(--glow-x);
  top: var(--glow-y);
  width: var(--glow-w);
  height: var(--glow-h);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(218, 218, 208, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 12px 34px rgba(245, 242, 236, 0.18);
  transition:
    left 360ms cubic-bezier(0.19, 1, 0.22, 1),
    top 360ms cubic-bezier(0.19, 1, 0.22, 1),
    width 360ms cubic-bezier(0.19, 1, 0.22, 1),
    height 360ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 220ms ease;
}

[data-theme="light"] .nav-glow {
  background:
    linear-gradient(135deg, rgba(200, 255, 77, 0.9), rgba(255, 255, 255, 0.78));
  box-shadow:
    0 0 0 1px rgba(22, 21, 17, 0.08),
    0 12px 34px rgba(142, 232, 31, 0.2);
}

.nav-pill a {
  position: relative;
  z-index: 2;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--nav-link);
  font-size: 15px;
  font-weight: 600;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.nav-pill a:hover {
  background: transparent;
  transform: translateY(-1px);
}

.nav-pill a.active:not(.avatar-link):not(.nav-contact) {
  background: transparent;
  color: var(--active-ink);
}

.nav-pill .avatar-link {
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
}

.avatar-link picture,
.avatar-link img {
  width: 100%;
  height: 100%;
}

.avatar-link img {
  object-fit: cover;
}

.nav-pill .nav-contact {
  background: transparent;
  color: var(--nav-link);
}

.nav-pill .nav-contact.active,
.nav-pill a:hover {
  color: var(--active-ink);
}

.theme-prism {
  position: fixed;
  right: 26px;
  top: 112px;
  z-index: 14;
  min-height: 62px;
  display: grid;
  grid-template-columns: 36px auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid color-mix(in srgb, var(--lime) 46%, var(--line));
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 40%),
    var(--surface-stronger);
  color: var(--ink);
  box-shadow:
    0 16px 48px var(--heavy-shadow),
    0 0 34px rgba(200, 255, 77, 0.2);
  font: inherit;
  cursor: none;
  transform: translateZ(0);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.theme-prism::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(200, 255, 77, 0.18);
  opacity: 0.86;
  animation: themeBeacon 2.8s ease-in-out infinite;
}

.theme-prism:hover {
  transform: translate3d(0, -2px, 0);
  border-color: var(--lime);
  box-shadow:
    0 18px 54px var(--heavy-shadow),
    0 0 42px rgba(200, 255, 77, 0.3);
}

.prism-core {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fff 0 14%, transparent 16%),
    conic-gradient(from 40deg, var(--lime), #65d9ff, var(--blue), var(--orange), var(--lime));
  box-shadow: 0 0 22px rgba(200, 255, 77, 0.38);
  transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 220ms ease;
}

.prism-core::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg);
  opacity: 0.72;
}

.theme-prism:hover .prism-core {
  transform: rotate(130deg) scale(1.08);
}

.theme-copy {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1;
}

.theme-kicker {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-label {
  min-width: 46px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes themeBeacon {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.85;
    transform: scale(1);
  }
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(200, 255, 77, 0.95);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, border-color 180ms ease;
  mix-blend-mode: difference;
}

.cursor span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 0;
  font-weight: 900;
}

.cursor.active {
  width: 92px;
  height: 92px;
  background: var(--lime);
  border-color: var(--lime);
  mix-blend-mode: normal;
}

.cursor.active span {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.section {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 112px 48px;
  scroll-margin-top: 112px;
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
}

.hero.is-rotating-3d {
  cursor: grabbing;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 58% 44%, rgba(200, 255, 77, 0.16), transparent 20rem),
    radial-gradient(circle at 18% 76%, rgba(240, 90, 63, 0.13), transparent 19rem),
    radial-gradient(circle at 88% 22%, rgba(38, 45, 192, 0.18), transparent 25rem);
  opacity: 0.82;
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0 39%, var(--hero-sheen) 48%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(245, 242, 236, 0.035) 0 1px, transparent 1px 120px);
  opacity: 0.36;
  mix-blend-mode: screen;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-field span {
  position: absolute;
  border: 1px solid rgba(200, 255, 77, 0.16);
  border-radius: 999px;
  opacity: 0.78;
  transform: rotate(var(--angle));
}

.hero-field span:nth-child(1) {
  --drift-x: 42px;
  --drift-y: 24px;
  --angle: -12deg;
  width: 42vw;
  height: 14vw;
  left: 3%;
  top: 22%;
}

.hero-field span:nth-child(2) {
  --drift-x: -54px;
  --drift-y: 34px;
  --angle: 18deg;
  width: 48vw;
  height: 17vw;
  right: -8%;
  bottom: 23%;
  border-color: rgba(245, 242, 236, 0.12);
}

.hero-field span:nth-child(3) {
  --drift-x: 30px;
  --drift-y: -48px;
  --angle: 4deg;
  width: 22vw;
  height: 22vw;
  left: 42%;
  top: 47%;
  border-color: rgba(240, 90, 63, 0.18);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100%, 1344px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: end;
  transform-style: preserve-3d;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  line-height: 0.9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(5.2rem, 11vw, 10.5rem);
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 26px 72px rgba(0, 0, 0, 0.46), 0 0 34px rgba(200, 255, 77, 0.05);
}

.hero-left,
.hero-right {
  animation: heroReveal 900ms cubic-bezier(0.19, 1, 0.22, 1) both;
  clip-path: inset(0 0 0 0);
}

.hero-right {
  animation-delay: 160ms;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(56px) rotateX(12deg);
    clip-path: inset(100% 0 0 0);
  }
}

.hero h1 span {
  display: block;
}

.hero-right {
  text-align: right;
}

.hero-right p {
  width: min(100%, 440px);
  margin: 14px 0 0 auto;
  color: var(--strong-text);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.45;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 58%;
  width: clamp(108px, 12vw, 170px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 80px rgba(200, 255, 77, 0.22);
  transform-style: preserve-3d;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(200, 255, 77, 0.38);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(24deg);
}

.hero-orbit::after {
  inset: -34px;
  border-color: rgba(245, 242, 236, 0.16);
  transform: rotateX(70deg) rotateZ(-32deg);
}

.hero-orbit picture {
  width: 74%;
  height: 74%;
  border-radius: 50%;
}

.hero-orbit img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(0.05) contrast(1.03);
  border: 4px solid var(--button-dark);
}

.hero-footer {
  position: relative;
  z-index: 2;
  width: min(100%, 1344px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 74px;
  margin-inline: auto;
}

.hand-button {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  color: var(--button-dark);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.availability {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.availability span {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--lime);
  background: var(--lime);
  position: relative;
  box-shadow: 0 0 22px rgba(200, 255, 77, 0.34);
}

.availability span::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 3px;
  right: 4px;
  border-radius: 50%;
  background: var(--button-dark);
}

.marquee-section {
  position: relative;
  z-index: 2;
  padding: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 26s linear infinite;
}

.marquee div {
  display: flex;
  align-items: center;
}

.marquee span {
  padding: 24px 36px;
  color: var(--ink);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 1;
  white-space: nowrap;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 64px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  max-width: 920px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3.3rem, 8vw, 8rem);
  line-height: 1;
  font-weight: 400;
}

.proof-section {
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 1200px;
}

.proof-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--surface-strong);
  transform: rotateX(calc(var(--proof-y, 0) * -5deg)) rotateY(calc(var(--proof-x, 0) * 7deg));
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.proof-card:hover {
  border-color: rgba(200, 255, 77, 0.5);
  background:
    linear-gradient(145deg, rgba(200, 255, 77, 0.12), rgba(255, 255, 255, 0.025)),
    var(--surface-stronger);
}

.proof-card > p:first-child {
  margin: 0;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.proof-card h3 {
  margin: 40px 0 12px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.25rem, 3.8vw, 4rem);
  line-height: 1.06;
  font-weight: 400;
}

.proof-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--strong-text);
  font-weight: 800;
}

.proof-card > p:last-child {
  margin: 0;
  color: var(--soft-text);
  line-height: 1.65;
}

.cert-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.cert-wall div {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px 18px 0;
}

.cert-wall div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.cert-wall div:nth-child(even) {
  padding-left: 20px;
}

.cert-wall span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cert-wall strong {
  color: var(--strong-text);
  line-height: 1.45;
}

.project-showcase {
  display: grid;
  grid-template-columns: 0.39fr 0.61fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.project-showcase.reverse {
  grid-template-columns: minmax(500px, 0.56fr) minmax(360px, 0.44fr);
}

.project-showcase.reverse .project-copy {
  order: 2;
}

.project-showcase.reverse .project-visual {
  order: 1;
}

.project-index {
  color: var(--lime);
  font-family: "Anton", Impact, sans-serif;
  font-size: 2.1rem;
}

.project-copy h3 {
  margin: 0 0 18px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(4rem, 7vw, 8.5rem);
  line-height: 0.98;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.project-showcase.reverse .project-copy h3 {
  font-size: clamp(4.3rem, 6.5vw, 7.4rem);
}

.project-copy p:not(.project-index) {
  max-width: 520px;
  color: var(--soft-text);
  font-size: 1.06rem;
  line-height: 1.75;
}

.tag-row {
  display: grid;
  gap: 10px;
  margin: 30px 0;
  max-width: 520px;
}

.tag-row span {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--soft-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.text-link::after {
  content: "->";
  margin-left: 12px;
  transition: transform 220ms ease;
}

.text-link:hover::after {
  transform: translateX(8px);
}

.project-visual {
  position: relative;
  display: block;
  min-height: 680px;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  perspective: 1200px;
  transform-style: preserve-3d;
  transform: translateY(calc(var(--scroll-shift, 0) * -32px)) rotateX(calc(var(--my, 0) * 7deg)) rotateY(calc(var(--mx, 0) * -9deg));
  transition: transform 220ms ease;
}

.project-visual picture {
  position: absolute;
  width: 82%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: var(--surface);
  overflow: visible;
  box-shadow: 0 34px 90px var(--heavy-shadow);
  transform: rotateX(3deg) rotateY(-10deg) rotateZ(1deg);
  transition: filter 320ms ease, opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-visual picture img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.project-visual picture:first-of-type {
  z-index: 1;
  top: 6%;
  right: 2%;
  width: 80%;
  filter: saturate(0.95) contrast(1.02);
  animation: previewDriftBack 12s ease-in-out infinite alternate;
}

.project-visual picture:last-of-type {
  z-index: 2;
  left: 3%;
  bottom: 10%;
  width: 60%;
  opacity: 0.98;
  transform: rotateX(3deg) rotateY(10deg) rotateZ(-4deg) translateZ(46px);
  animation: previewDriftFront 9s ease-in-out infinite alternate;
}

.project-visual.warm picture:first-of-type {
  top: 7%;
  right: 2%;
  width: 82%;
  transform: rotateX(3deg) rotateY(-8deg) rotateZ(-1deg);
}

.project-visual.warm picture:last-of-type {
  left: 3%;
  bottom: 10%;
  width: 64%;
  transform: rotateX(3deg) rotateY(9deg) rotateZ(-5deg) translateZ(56px);
}

.project-visual.warm .label-one {
  left: 7%;
  top: 27%;
}

.project-visual.warm .label-two {
  right: 10%;
  bottom: 25%;
}

.project-visual:hover picture:first-of-type {
  animation-play-state: paused;
  filter: saturate(1.08) contrast(1.06);
  transform: rotateX(0deg) rotateY(-4deg) rotateZ(0deg) translate(-28px, -34px) scale(1.04) translateZ(70px);
}

.project-visual:hover picture:last-of-type {
  animation-play-state: paused;
  filter: saturate(1.12) contrast(1.06);
  transform: rotateX(0deg) rotateY(4deg) rotateZ(-1deg) translate(48px, 24px) scale(1.08) translateZ(124px);
}

.project-visual:hover .label-one {
  transform: translate3d(-8px, -20px, 120px) rotate(-3deg);
}

.project-visual:hover .label-two {
  transform: translate3d(12px, 18px, 130px) rotate(3deg);
}

.project-visual.warm::before {
  background: rgba(240, 90, 63, 0.18);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6%;
  border-radius: 50%;
  background: rgba(38, 45, 192, 0.18);
  filter: blur(70px);
}

.project-visual::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(245, 242, 236, 0.2) 49%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 9px);
  opacity: 0.18;
  transform: translate3d(-38%, 0, 0);
  mix-blend-mode: screen;
  animation: previewSweep 5.8s ease-in-out infinite;
  transition: opacity 320ms ease;
}

.project-visual:hover::after {
  opacity: 0.34;
}

.floating-label {
  position: absolute;
  z-index: 5;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translateZ(90px);
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease;
  animation: floatLabel 4.6s ease-in-out infinite alternate;
}

.project-visual:hover .floating-label {
  animation-play-state: paused;
  border-color: rgba(200, 255, 77, 0.48);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

@media (min-width: 981px) and (max-width: 1240px) {
  .project-showcase {
    grid-template-columns: minmax(300px, 0.4fr) minmax(560px, 0.6fr);
  }

  .project-showcase.reverse {
    grid-template-columns: minmax(540px, 0.58fr) minmax(300px, 0.42fr);
  }

  .project-copy h3 {
    font-size: clamp(4rem, 6vw, 6.4rem);
  }

  .project-showcase.reverse .project-copy h3 {
    font-size: clamp(4rem, 5.7vw, 5.9rem);
  }

  .project-copy p:not(.project-index),
  .tag-row {
    max-width: 460px;
  }

  .project-visual {
    min-height: 560px;
  }

  .project-visual.warm picture:first-of-type {
    width: 88%;
    right: 0;
  }

  .project-visual.warm picture:last-of-type {
    width: 68%;
    left: 0;
    bottom: 10%;
  }
}

.label-one {
  top: 20%;
  left: 7%;
}

.label-two {
  right: 8%;
  bottom: 20%;
  animation-delay: 1.1s;
}

@keyframes floatLabel {
  to {
    transform: translate3d(0, -16px, 90px) rotate(-2deg);
  }
}

@keyframes previewDriftBack {
  from {
    transform: rotateX(3deg) rotateY(-10deg) rotateZ(1deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotateX(2deg) rotateY(-8deg) rotateZ(0deg) translate3d(-12px, -10px, 0) scale(1.015);
  }
}

@keyframes previewDriftFront {
  from {
    transform: rotateX(3deg) rotateY(10deg) rotateZ(-4deg) translateZ(46px);
  }
  to {
    transform: rotateX(2deg) rotateY(8deg) rotateZ(-2deg) translate3d(14px, 10px, 0) translateZ(62px) scale(1.025);
  }
}

@keyframes previewSweep {
  0%,
  18% {
    transform: translate3d(-42%, 0, 0);
  }
  62%,
  100% {
    transform: translate3d(42%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-visual picture,
  .project-visual img,
  .project-visual::after {
    animation: none;
  }
}

.about-section {
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.portrait-panel {
  border-radius: 8px;
  overflow: hidden;
  background: var(--lime);
  padding: 12px;
  transform: rotate(-2deg);
}

.portrait-panel picture,
.portrait-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.portrait-panel img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 4px;
  filter: saturate(0.9) contrast(1.04);
}

.about-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(245, 242, 236, 0.75);
  font-size: 1.08rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.stats-grid div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.stats-grid strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.stats-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.capabilities {
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  margin-bottom: 34px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tool-grid span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--strong-text);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  gap: 46px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.intelligence-section {
  border-top: 1px solid var(--line);
}

.intelligence-shell {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 28px;
  align-items: stretch;
}

.intel-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.intel-copy p {
  color: var(--soft-text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.intel-prompts {
  display: grid;
  gap: 10px;
}

.intel-prompts button,
.chat-form button,
.drawer-head button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.intel-prompts button {
  padding: 0 14px;
}

.intel-prompts button:hover,
.chat-form button:hover,
.drawer-head button:hover {
  background: var(--lime);
  color: var(--button-dark);
  transform: translateX(4px);
}

.chat-panel,
.ai-drawer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(200, 255, 77, 0.1), rgba(255, 255, 255, 0.025)),
    var(--surface-stronger);
  box-shadow: 0 40px 120px var(--shadow);
}

.chat-panel {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
}

.chat-header,
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.chat-header {
  justify-content: flex-start;
}

.ai-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.46), transparent 22%),
    linear-gradient(145deg, var(--lime), #65d9ff 54%, #262dc0);
  color: var(--button-dark);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0;
  box-shadow: 0 0 40px rgba(200, 255, 77, 0.28), inset 0 0 0 2px rgba(16, 16, 16, 0.22);
}

.ai-logo.compact {
  width: 36px;
  height: 36px;
  font-size: 0.68rem;
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header strong,
.drawer-head strong {
  display: block;
  font-size: 1rem;
}

.chat-header p,
.drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.ai-mode-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.ai-mode-bar button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--soft-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  cursor: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ai-mode-bar button.active,
.ai-mode-bar button:hover {
  border-color: rgba(200, 255, 77, 0.54);
  background: rgba(200, 255, 77, 0.14);
  color: var(--lime);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.message {
  width: fit-content;
  max-width: min(86%, 620px);
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--strong-text);
  line-height: 1.5;
}

.message.bot {
  border: 1px solid var(--line);
  background: var(--surface);
}

.message.thinking {
  color: var(--muted);
  font-style: italic;
}

.message.user {
  align-self: flex-end;
  background: var(--lime);
  color: var(--button-dark);
  font-weight: 800;
}

.message small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.message-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(200, 255, 77, 0.42);
  border-radius: 8px;
  color: var(--lime);
  font-weight: 900;
}

.message-link::after {
  content: "download";
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.message-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(92%, 680px);
}

.message-suggestions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(200, 255, 77, 0.3);
  border-radius: 8px;
  background: rgba(200, 255, 77, 0.08);
  color: var(--strong-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.message-suggestions button:hover {
  background: var(--lime);
  color: var(--button-dark);
  transform: translateY(-1px);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
  outline: 0;
}

.chat-form input:focus {
  border-color: rgba(200, 255, 77, 0.62);
}

.chat-form input:disabled,
.chat-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.chat-form button {
  display: grid;
  place-items: center;
  text-align: center;
}

.ai-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(200, 255, 77, 0.72);
  border-radius: 8px;
  background: var(--button-dark);
  color: var(--lime);
  font: inherit;
  font-weight: 900;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.46);
  cursor: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ai-launcher.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.ai-drawer {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 31;
  width: min(420px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 116px));
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.ai-drawer.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.drawer-head button {
  padding: 0 12px;
}

.contact-card {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.contact-card a {
  width: 100%;
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: background 200ms ease, padding 200ms ease;
}

.contact-card a:last-child {
  border-bottom: 0;
}

.contact-card a:hover {
  background: rgba(200, 255, 77, 0.08);
  padding-left: 14px;
}

.contact-card span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-card strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-card strong::after {
  content: "->";
  flex: 0 0 auto;
  color: var(--lime);
}

footer {
  position: relative;
  z-index: 1;
  padding: 28px 48px 44px;
  color: var(--muted);
  text-align: center;
}

[data-theme="light"] .noise {
  opacity: 0.22;
  mix-blend-mode: multiply;
}

[data-theme="light"] .cursor {
  mix-blend-mode: normal;
  border-color: rgba(22, 21, 17, 0.58);
}

[data-theme="light"] .hero-3d {
  opacity: 0.54;
}

[data-theme="light"] .hero::before {
  background:
    radial-gradient(circle at 56% 42%, rgba(142, 232, 31, 0.18), transparent 20rem),
    radial-gradient(circle at 18% 76%, rgba(216, 90, 59, 0.12), transparent 19rem),
    radial-gradient(circle at 88% 22%, rgba(37, 87, 221, 0.14), transparent 25rem);
}

[data-theme="light"] .hero::after,
[data-theme="light"] .project-visual::after {
  mix-blend-mode: multiply;
  opacity: 0.12;
}

[data-theme="light"] .proof-card,
[data-theme="light"] .intel-copy,
[data-theme="light"] .chat-panel,
[data-theme="light"] .ai-drawer,
[data-theme="light"] .contact-card {
  backdrop-filter: blur(18px);
}

[data-theme="light"] .project-visual picture {
  border-color: rgba(22, 21, 17, 0.16);
  filter: saturate(1.02) contrast(1.02);
}

[data-theme="light"] .floating-label {
  color: #315900;
}

[data-theme="light"] .ai-mode-bar button.active,
[data-theme="light"] .ai-mode-bar button:hover {
  color: #315900;
}

[data-theme="light"] .message.user,
[data-theme="light"] .hand-button,
[data-theme="light"] .chat-form button:hover,
[data-theme="light"] .drawer-head button:hover,
[data-theme="light"] .intel-prompts button:hover,
[data-theme="light"] .message-suggestions button:hover {
  color: #11100f;
}

[data-theme="light"] .ai-launcher {
  color: #d7ff73;
  box-shadow: 0 20px 70px rgba(48, 42, 30, 0.2);
}

.reveal {
  opacity: 0.001;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.capabilities.reveal,
.contact-section.reveal {
  opacity: 1;
}

@media (max-width: 980px) {
  body,
  a {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .section {
    padding-inline: 24px;
  }

  .hero-grid,
  .section-heading,
  .project-showcase,
  .project-showcase.reverse,
  .about-section,
  .contact-section,
  .intelligence-shell {
    grid-template-columns: 1fr;
  }

  .hero-right,
  .hero-right p {
    text-align: left;
    margin-left: 0;
  }

  .hero-orbit {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 34px auto 0;
  }

  .hero h1,
  .hero h2,
  .project-visual {
    transform: none;
  }

  .project-showcase.reverse .project-copy,
  .project-showcase.reverse .project-visual {
    order: initial;
  }

  .project-visual {
    min-height: 430px;
  }

  .project-visual picture,
  .project-visual::after {
    animation: none;
  }

  .project-visual picture:first-of-type {
    top: 0;
    right: 0;
    width: 82%;
  }

  .project-visual picture:last-of-type,
  .project-visual.warm picture:last-of-type {
    left: 0;
    bottom: 0;
    width: 64%;
  }

  .tool-grid,
  .stats-grid,
  .proof-grid,
  .cert-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-card {
    min-height: 300px;
  }

  .intel-copy {
    min-height: 340px;
  }

  .cert-wall div:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 12px;
  }

  .nav-pill {
    width: calc(100% - 24px);
    grid-template-columns: 42px repeat(4, 1fr);
    border-radius: 12px;
  }

  .nav-pill a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .theme-prism {
    top: auto;
    right: 14px;
    bottom: 82px;
    min-height: 54px;
    grid-template-columns: 32px;
    padding: 10px;
    transform: none;
  }

  .theme-prism:hover {
    transform: translateY(-2px);
  }

  .prism-core {
    width: 32px;
    height: 32px;
  }

  .theme-label {
    display: none;
  }

  .theme-kicker {
    display: none;
  }

  .nav-pill .nav-contact {
    display: none;
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(4.5rem, 22vw, 7.2rem);
  }

  .hero-footer {
    align-items: start;
    flex-direction: column;
  }

  .project-visual {
    min-height: 320px;
  }

  .project-visual picture {
    width: 86%;
  }

  .project-visual picture:last-of-type {
    width: 68%;
  }

  .floating-label {
    display: none;
  }

  .tool-grid,
  .stats-grid,
  .proof-grid,
  .cert-wall {
    grid-template-columns: 1fr;
  }

  .cert-wall div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .cert-wall div:nth-child(even) {
    padding-left: 0;
  }

  .contact-card a {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 14px;
    overflow-wrap: anywhere;
  }

  .contact-card a:hover {
    padding-left: 0;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .ai-launcher {
    right: 14px;
    bottom: 14px;
  }

  .ai-drawer {
    right: 14px;
    bottom: 78px;
    height: min(560px, calc(100vh - 96px));
    background:
      linear-gradient(145deg, rgba(200, 255, 77, 0.08), rgba(255, 255, 255, 0.025)),
      rgba(12, 12, 11, 0.98);
    backdrop-filter: blur(18px);
  }
}
