@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #06070c;
  --bg-deep: #030409;
  --surface: #0c0f17;
  --surface-raised: #11151f;
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(255, 255, 255, 0.18);
  --text: #f7f8f2;
  --muted: #9da3b3;
  --soft: #c8cbd2;
  --acid: #d9ff4a;
  --acid-bright: #e8ff7c;
  --cyan: #6fe8ff;
  --violet: #9a7bff;
  --orange: #ff8f66;
  --max-width: 1320px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --font-sans: "Instrument Sans", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

::selection {
  color: #090b0f;
  background: var(--acid);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #080a0e;
  background: var(--acid);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 1001;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--acid));
  box-shadow: 0 0 15px rgba(217, 255, 74, 0.55);
}

.ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient__orb--one {
  width: 45vw;
  height: 45vw;
  top: -24vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(93, 63, 255, 0.32), transparent 66%);
}

.ambient__orb--two {
  width: 35vw;
  height: 35vw;
  top: 58vh;
  left: -21vw;
  background: radial-gradient(circle, rgba(54, 223, 255, 0.2), transparent 68%);
  animation-delay: -6s;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  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='.85' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

@keyframes drift {
  0% { transform: translate3d(-2%, -2%, 0) scale(0.9); }
  100% { transform: translate3d(9%, 7%, 0) scale(1.08); }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 1380px);
  min-height: 66px;
  padding: 10px 12px 10px 18px;
  border: 1px solid transparent;
  border-radius: 20px;
  transform: translateX(-50%);
  transition:
    background 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    top 300ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(8, 10, 16, 0.82);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #080a0e;
  background: var(--acid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.04em;
  box-shadow: 0 0 30px rgba(217, 255, 74, 0.14);
}

.brand__text {
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.desktop-nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  color: #aeb3c0;
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.desktop-nav a.is-active::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 1px;
  content: "";
  background: var(--acid);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-control {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 28px 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.language-control::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 5px;
  height: 5px;
  border-right: 1px solid #aeb4c1;
  border-bottom: 1px solid #aeb4c1;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.language-control svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.4;
}

.language-control select {
  min-width: 67px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #d9dde4;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
}

.language-control select option {
  color: #10131a;
  background: #f6f7f3;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 6px;
  color: #b7bbc6;
  font-size: 12px;
}

.availability i,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6dffad;
  box-shadow: 0 0 0 5px rgba(109, 255, 173, 0.08), 0 0 15px rgba(109, 255, 173, 0.4);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.section {
  position: relative;
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
  padding-block: 130px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  min-height: 920px;
  align-items: center;
  gap: 56px;
  width: min(calc(100% - 64px), 1380px);
  padding-top: 150px;
  padding-bottom: 80px;
  overflow: clip;
}

.eyebrow,
.section-heading__index,
.mini-label {
  color: #a8aeba;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
}

.eyebrow__index {
  color: var(--acid);
}

.eyebrow:not(.hero .eyebrow)::before {
  width: 28px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.28);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(3.5rem, 6.5vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.066em;
}

.hero__name {
  display: block;
  margin-bottom: 30px;
  color: #aeb4c1;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__dot {
  color: var(--acid);
}

.hero__statement {
  display: block;
}

.hero__statement > span {
  display: block;
}

.hero__accent {
  color: transparent;
  background: linear-gradient(100deg, #dfe3ea 4%, #f4f7f2 42%, var(--acid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0.06em 0.1em 0.24em;
  margin: -0.06em -0.1em -0.24em;
}

.hero__intro {
  max-width: 570px;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.button svg,
.contact-mail svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: #090b0f;
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 8px 30px rgba(217, 255, 74, 0.12);
}

.button--primary:hover {
  background: var(--acid-bright);
  box-shadow: 0 14px 44px rgba(217, 255, 74, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.065);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 58px;
  color: #777f8e;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.typewriter {
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.typewriter b {
  color: var(--acid);
  animation: blink 0.9s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__visual {
  position: relative;
  height: 640px;
  perspective: 1400px;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.visual-orbit--one {
  width: 560px;
  height: 560px;
  top: 38px;
  left: 5%;
  animation: rotate-slow 28s linear infinite;
}

.visual-orbit--two {
  width: 430px;
  height: 430px;
  top: 104px;
  left: 13%;
  border-style: dashed;
  animation: rotate-slow 38s linear infinite reverse;
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 18px currentColor;
}

.visual-orbit::before {
  top: 8%;
  left: 24%;
}

.visual-orbit::after {
  right: 6%;
  bottom: 29%;
  color: var(--acid);
  background: var(--acid);
}

@keyframes rotate-slow {
  to { transform: rotate(360deg); }
}

.screen-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #0d1017;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform-style: preserve-3d;
}

.screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.screen-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e9ebef;
  background: rgba(7, 9, 14, 0.76);
  font-size: 10px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
}

.screen-card figcaption span {
  color: var(--acid);
}

.screen-card--main {
  z-index: 3;
  width: 76%;
  aspect-ratio: 16 / 10;
  top: 145px;
  left: 12%;
  transform: rotateY(-8deg) rotateX(3deg) rotateZ(-1.5deg);
  animation: float-main 7s ease-in-out infinite;
}

.screen-card--top {
  z-index: 4;
  width: 28%;
  aspect-ratio: 16 / 10;
  top: 15px;
  right: 0;
  transform: rotateY(-12deg) rotateZ(3deg);
  animation: float-top 8s ease-in-out infinite;
}

.screen-card--side {
  z-index: 2;
  width: 27%;
  aspect-ratio: 16 / 10;
  bottom: 15px;
  left: 0;
  transform: rotateY(12deg) rotateZ(-3deg);
  animation: float-side 8.5s ease-in-out infinite;
}

@keyframes float-main {
  50% { transform: translateY(-12px) rotateY(-5deg) rotateX(2deg) rotateZ(-0.5deg); }
}

@keyframes float-top {
  50% { transform: translateY(12px) rotateY(-8deg) rotateZ(1deg); }
}

@keyframes float-side {
  50% { transform: translateY(-9px) rotateY(8deg) rotateZ(-1.5deg); }
}

.hero-chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(13, 16, 24, 0.84);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-chip > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #0a0c11;
  background: var(--acid);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
}

.hero-chip div {
  display: grid;
}

.hero-chip strong {
  font-size: 11px;
  font-weight: 600;
}

.hero-chip small {
  color: #8e94a2;
  font-size: 9px;
}

.hero-chip--code {
  top: 88px;
  left: -6%;
  animation: chip-float 6s ease-in-out infinite;
}

.hero-chip--ai {
  right: 0;
  bottom: 116px;
  animation: chip-float 7s ease-in-out -2s infinite;
}

.hero-chip--ai > span {
  border-radius: 50%;
  background: linear-gradient(145deg, #67efff, #9272ff);
}

.spark::before {
  content: "✦";
  color: white;
}

@keyframes chip-float {
  50% { transform: translateY(-8px); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #686f7d;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 60%;
  content: "";
  background: var(--acid);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  to { top: 120%; }
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ticker__track {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  padding: 17px 0;
}

.ticker__track span {
  color: #a7adba;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ticker__track i {
  display: none;
}

.ticker__track > :nth-child(n+12) {
  display: none;
}

.section-heading {
  margin-bottom: 68px;
}

.section-heading h2 {
  margin-top: 17px;
  font-size: clamp(3.1rem, 6vw, 6.7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.section-heading h2 em,
.more-work h3 em,
.contact h2 em {
  display: inline-block;
  max-width: 100%;
  color: transparent;
  background: linear-gradient(100deg, var(--acid), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-weight: 340;
  line-height: 1.08;
  padding: 0.06em 0.1em 0.24em;
  margin: -0.06em -0.1em -0.24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-heading--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 60px;
}

.section-heading--row > p {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

.about {
  padding-top: 154px;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 90px;
}

.about__story {
  position: relative;
}

.about__story .lead {
  max-width: 850px;
  margin-bottom: 34px;
  font-family: var(--font-display);
  color: #edf0e9;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 350;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.about__story p:not(.lead) {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

.about__story p + p:not(.lead) {
  margin-top: 18px;
}

.about__facts {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(10, 12, 18, 0.5);
}

.fact-list {
  display: grid;
  margin-top: 22px;
}

.fact {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.fact strong {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 350;
}

.fact span {
  color: #aeb4c1;
  font-size: 12px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.text-link span {
  color: var(--acid);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

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

.principle {
  min-height: 210px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.principle:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 255, 74, 0.25);
  background: rgba(217, 255, 74, 0.03);
}

.principle__number {
  color: #686f7d;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.principle h3 {
  margin-top: 58px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.principle p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.skills {
  padding-top: 90px;
}

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

.skill-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012));
  transition: border-color 260ms ease, transform 260ms ease;
}

.skill-card::after {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(111, 232, 255, 0.09), transparent 65%);
  transition: transform 300ms ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.skill-card:hover::after {
  transform: scale(1.5);
}

.skill-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.025);
}

.skill-card__icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.skill-card__top span {
  color: #737b89;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.skill-card h3 {
  margin-top: 48px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.skill-list span,
.tech-pill {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #aeb4c0;
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
}

.language-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 14px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.018);
}

#language-list {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 40px;
}

#language-list span {
  display: grid;
  font-size: 13px;
}

#language-list small {
  color: #747c8a;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  max-width: 1020px;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 12px;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, var(--acid), rgba(255, 255, 255, 0.08) 50%, transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 70px 62px;
}

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

.timeline-item__marker {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--acid), 0 0 24px rgba(217, 255, 74, 0.35);
}

.job-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.job-company {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.job-company i {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.job-head h3 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.job-head .period {
  padding-top: 4px;
  color: #838b99;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.job-summary {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
}

.job-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.job-list li {
  position: relative;
  padding-left: 20px;
  color: #b6bbc6;
  font-size: 14px;
}

.job-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--cyan);
}

.job-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.job-tech span {
  color: #838b99;
  font-size: 10px;
}

.job-tech span:not(:last-child)::after {
  margin-left: 6px;
  color: #404653;
  content: "/";
}

.education {
  padding-top: 70px;
}

.education-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 420px;
  align-items: center;
  gap: 60px;
  padding: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 50%, rgba(154, 123, 255, 0.12), transparent 34%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.education-card__orbit {
  position: relative;
  display: grid;
  width: 260px;
  height: 260px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.education-card__orbit::before,
.education-card__orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.education-card__orbit::before {
  inset: 30px;
}

.education-card__orbit::after {
  inset: 66px;
}

.education-card__orbit > span {
  z-index: 1;
  color: transparent;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 300;
}

.education-card__orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(217, 255, 74, 0.5);
}

.education-card__orbit i:nth-child(2) { top: 9%; left: 30%; }
.education-card__orbit i:nth-child(3) { right: 2%; bottom: 36%; background: var(--cyan); }
.education-card__orbit i:nth-child(4) { bottom: 8%; left: 15%; background: var(--violet); }

.education-copy .section-heading__index {
  color: var(--violet);
}

.education-copy h2 {
  margin-top: 13px;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.education-copy h2 em {
  display: inline-block;
  max-width: 100%;
  padding: 0.06em 0.1em 0.22em;
  margin: -0.06em -0.1em -0.22em;
  line-height: 1.08;
}

.education-copy .school {
  margin-top: 20px;
  color: #b4b9c3;
  font-size: 14px;
}

.education-copy .school span {
  color: #737b88;
}

.education-copy > p {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.course-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #9da4b0;
  font-size: 10px;
}

.projects {
  padding-top: 120px;
}

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

.project-card {
  position: relative;
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.project-card:nth-child(1),
.project-card:nth-child(4) {
  grid-column: span 7;
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card:nth-child(5) {
  grid-column: span 12;
}

.project-card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--project-accent, var(--acid)) 48%, transparent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(-7px);
}

.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--media-aspect, 16 / 10);
  background: #11141c;
}

.project-card:nth-child(5) .project-card__media {
  aspect-ratio: var(--media-aspect, 1003 / 366);
}

.project-card__media::after {
  display: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
}

.project-card:nth-child(5) .project-card__media img {
  object-fit: contain;
  padding: 32px;
  background:
    radial-gradient(circle at 75% 40%, rgba(54, 231, 162, 0.08), transparent 34%),
    #090c12;
}

.project-card:hover .project-card__media img {
  transform: scale(1.035);
  filter: saturate(1.07);
}

.project-card__number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #dfe2e8;
  background: rgba(7, 9, 14, 0.72);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.project-card__open {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 500;
  color: var(--project-accent);
  transition: gap 220ms ease;
}

.project-card:hover .project-card__open {
  gap: 15px;
}

.project-card__body {
  padding: 26px 27px 29px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7c8491;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta span:first-child {
  color: var(--project-accent);
}

.project-card h3 {
  margin-top: 15px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.project-card__subtitle {
  margin-top: 7px;
  color: #858d9a;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 350;
}

.project-card__description {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.more-work {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.more-work h3 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.more-work__items {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.more-work__items article {
  display: grid;
  grid-template-columns: 0.55fr 0.65fr 1.2fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: var(--bg);
}

.more-work__items span {
  color: #777f8d;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.more-work__items h4 {
  font-size: 16px;
  font-weight: 500;
}

.more-work__items p {
  color: #858c99;
  font-size: 11px;
  line-height: 1.5;
}

.more-work__items a {
  color: var(--acid);
  font-size: 10px;
  white-space: nowrap;
}

.contact {
  padding-top: 190px;
  padding-bottom: 160px;
  overflow: hidden;
}

.contact__inner {
  position: relative;
  padding: 86px 70px 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 110%, rgba(139, 107, 255, 0.2), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.contact__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 300px;
  border-radius: 50%;
  background: rgba(111, 232, 255, 0.05);
  filter: blur(80px);
  transform: translate(-50%, -50%);
}

.contact h2 {
  margin-top: 26px;
  font-size: clamp(3.2rem, 7vw, 7.7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.contact__inner > p:not(.eyebrow) {
  max-width: 510px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-mail {
  display: flex;
  max-width: 840px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  font-size: clamp(1.2rem, 3.3vw, 2.55rem);
  letter-spacing: -0.045em;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.contact-mail:hover {
  color: #0a0c10;
  border-color: var(--acid);
  background: var(--acid);
}

.contact-mail svg {
  width: 27px;
  flex: 0 0 auto;
}

.contact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 32px;
  color: #7c8491;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact__meta a {
  color: #b8bec9;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 64px), var(--max-width));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  color: #707886;
  font-size: 11px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #aeb4bf;
  font-size: 11px;
}

.back-to-top span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.back-to-top:hover span {
  color: #090b0f;
  background: var(--acid);
  transform: translateY(-3px);
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  max-width: 420px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #12151e;
  font-size: 12px;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 50%;
    display: grid;
    width: 100vw;
    height: 100vh;
    padding: 120px 32px 40px;
    align-content: center;
    gap: 0;
    background: rgba(6, 7, 12, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-16px);
    transition: opacity 240ms ease, transform 240ms ease;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 350;
  }

  .mobile-menu a span {
    color: #5f6673;
    font-family: var(--font-sans);
    font-size: 10px;
  }

  .mobile-menu a strong {
    font: inherit;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 180px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero__visual {
    width: min(100%, 760px);
    height: 590px;
    margin: 30px auto 0;
  }

  .about__layout {
    gap: 44px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card,
  .project-card:nth-child(n) {
    grid-column: span 6;
  }

  .project-card:last-child {
    grid-column: span 12;
  }

  .more-work {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px 8px 8px 10px;
    border-radius: 17px;
  }

  .site-header.is-scrolled {
    top: 8px;
  }

  .brand__text,
  .availability {
    display: none;
  }

  .language-control {
    min-height: 38px;
    padding-right: 23px;
  }

  .language-control select {
    min-width: 56px;
    font-size: 10px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .section,
  .hero {
    width: calc(100% - 32px);
  }

  .section {
    padding-block: 92px;
  }

  .ticker__track {
    gap: 10px 18px;
    padding: 16px;
  }

  .ticker__track > :nth-child(n+12) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 100px;
  }

  .hero__title {
    margin-top: 20px;
    font-size: clamp(3rem, 14.8vw, 5.5rem);
    line-height: 0.91;
  }

  .hero__name {
    margin-bottom: 22px;
  }

  .hero__intro {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero__actions {
    margin-top: 26px;
  }

  .button {
    min-height: 50px;
    flex: 1;
    padding: 0 15px;
  }

  .hero__meta {
    margin-top: 36px;
  }

  .hero__visual {
    height: 270px;
    margin-top: 64px;
  }

  .visual-orbit--one {
    width: 280px;
    height: 280px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .visual-orbit--two {
    display: none;
  }

  .screen-card--main {
    width: 100%;
    top: 22px;
    left: 0;
    border-radius: 13px;
    transform: none;
  }

  .screen-card--top {
    display: none;
  }

  .screen-card--side {
    display: none;
  }

  .hero-chip {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2 {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .section-heading--row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about__story .lead {
    font-size: 1.65rem;
  }

  .principles,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .principle,
  .skill-card {
    min-height: 0;
  }

  .principle h3 {
    margin-top: 34px;
  }

  .skill-card h3 {
    margin-top: 32px;
  }

  .language-strip,
  #language-list {
    align-items: flex-start;
    flex-direction: column;
  }

  #language-list {
    width: 100%;
    gap: 16px;
    margin-top: 8px;
  }

  #language-list span {
    width: 100%;
    grid-template-columns: 1fr auto;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .job-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .job-head .period {
    text-align: left;
  }

  .timeline-item {
    padding-left: 44px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item__marker {
    left: 1px;
  }

  .education-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px 24px;
  }

  .education-card__orbit {
    width: 190px;
    height: 190px;
    margin-inline: auto;
  }

  .education-card__orbit > span {
    font-size: 42px;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:nth-child(n) {
    grid-column: auto;
    border-radius: 22px;
  }

  .project-card__media {
    aspect-ratio: 16 / 10;
  }

  .project-card:nth-child(5) .project-card__media {
    aspect-ratio: 16 / 9;
  }

  .project-card:nth-child(5) .project-card__media img {
    padding: 16px;
  }

  .project-card__open {
    opacity: 1;
    transform: none;
  }

  .project-card__body {
    padding: 22px;
  }

  .project-card h3 {
    font-size: 2.2rem;
  }

  .more-work {
    margin-top: 80px;
    padding-top: 58px;
  }

  .more-work__items article {
    grid-template-columns: 1fr auto;
  }

  .more-work__items p {
    grid-column: 1 / -1;
  }

  .contact {
    padding-top: 105px;
    padding-bottom: 95px;
  }

  .contact__inner {
    padding: 54px 24px 35px;
    border-radius: 28px;
  }

  .contact h2 {
    font-size: clamp(3rem, 13.5vw, 5rem);
  }

  .contact-mail {
    margin-top: 36px;
    padding: 18px;
    font-size: 1.12rem;
  }

  .contact-mail svg {
    width: 21px;
  }

  .site-footer {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    gap: 20px;
  }

  .site-footer p {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Project presentations */

.case-page {
  --project-accent: var(--acid);
  --project-accent-2: var(--cyan);
  background: #05060a;
}

.case-header {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 14, 0.66);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.case-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #aeb4c1;
  font-size: 11px;
}

.case-nav a {
  transition: color 180ms ease;
}

.case-nav a:hover {
  color: var(--text);
}

.case-nav__back span {
  display: inline-block;
  margin-right: 5px;
  transition: transform 180ms ease;
}

.case-nav__back:hover span {
  transform: translateX(-4px);
}

.case-nav__divider {
  width: 1px;
  height: 16px;
  background: var(--line);
}

.case-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: #7f8694;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-loading span {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--project-accent);
  border-radius: 50%;
  animation: rotate-slow 0.8s linear infinite;
}

.case-hero {
  position: relative;
  display: grid;
  min-height: 1180px;
  align-items: start;
  width: min(calc(100% - 64px), 1420px);
  margin-inline: auto;
  padding: 170px 0 80px;
  overflow: hidden;
}

.case-hero::before {
  position: absolute;
  top: -8%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--project-accent) 12%, transparent), transparent 64%);
  filter: blur(36px);
  transform: translateX(-50%);
}

.case-hero__copy {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.case-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #adafba;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-kicker::before {
  width: 27px;
  height: 1px;
  content: "";
  background: var(--project-accent);
  box-shadow: 0 0 10px var(--project-accent);
}

.case-hero h1 {
  margin-top: 24px;
  font-size: clamp(4.7rem, 11vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.082em;
  line-height: 0.82;
}

.case-hero h1 em {
  color: transparent;
  background: linear-gradient(110deg, #ffffff 4%, var(--project-accent) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-weight: 320;
}

.case-hero__subtitle {
  max-width: 760px;
  margin: 30px auto 0;
  color: #aeb4c1;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.case-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.case-hero__actions .button--primary {
  --acid: var(--project-accent);
}

.case-quickstats {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-top: 45px;
}

.case-quickstat {
  min-width: 160px;
  padding: 0 32px;
  border-left: 1px solid var(--line);
}

.case-quickstat:first-child {
  border-left: 0;
}

.case-quickstat strong {
  display: block;
  color: var(--project-accent);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 340;
  line-height: 1;
}

.case-quickstat span {
  display: block;
  margin-top: 7px;
  color: #76808d;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  height: 700px;
  margin: 75px auto 0;
  perspective: 1800px;
}

.case-device {
  position: absolute;
  z-index: 3;
  width: 86%;
  top: 40px;
  left: 7%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background: #0b0e15;
  box-shadow:
    0 80px 130px rgba(0, 0, 0, 0.58),
    0 0 100px color-mix(in srgb, var(--project-accent) 8%, transparent);
  transform: rotateX(4deg);
  transform-origin: center top;
}

.case-browser-bar {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #11151e;
}

.case-browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4b515d;
}

.case-browser-bar i:first-child {
  background: var(--project-accent);
}

.case-device img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--hero-aspect, 16 / 10);
  object-fit: cover;
  object-position: top center;
}

.case-float {
  position: absolute;
  z-index: 4;
  width: 30%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
}

.case-float img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--hero-aspect, 16 / 10);
  object-fit: cover;
  object-position: top left;
}

.case-float--left {
  bottom: 45px;
  left: -1%;
  transform: rotateY(11deg) rotateZ(-2deg);
}

.case-float--right {
  top: 8px;
  right: -1%;
  transform: rotateY(-11deg) rotateZ(2deg);
}

.case-scroll {
  position: relative;
  min-height: 165vh;
  background:
    radial-gradient(circle at 60% 50%, color-mix(in srgb, var(--project-accent) 7%, transparent), transparent 33%),
    #05060a;
}

.case-scroll__sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
}

.case-scroll__copy {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
  pointer-events: none;
}

.case-scroll__copy p {
  width: min(600px, 100%);
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1.7rem, 3.6vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.case-scroll__copy p strong {
  color: var(--text);
  font-weight: 500;
}

.case-scroll__copy p em {
  color: var(--project-accent);
  font-family: var(--font-display);
  font-weight: 330;
}

.case-reveal-window {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(74vw, 1080px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: #0c0f16;
  box-shadow: 0 70px 150px rgba(0, 0, 0, 0.65);
  transform: translate(-50%, -50%) scale(0.74) rotateY(-7deg) rotateX(4deg);
}

.case-reveal-window img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--reveal-aspect, 16 / 10);
  object-fit: cover;
  object-position: top left;
}

.case-reveal-window::after {
  display: none;
}

.case-section {
  position: relative;
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
  padding-block: 140px;
}

.case-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.case-section-title .section-heading__index {
  color: var(--project-accent);
}

.case-section-title h2 {
  max-width: 800px;
  margin-top: 15px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.case-section-title h2 em {
  color: transparent;
  background: linear-gradient(100deg, var(--project-accent), var(--project-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-weight: 330;
  display: inline-block;
  max-width: 100%;
  line-height: 1.08;
  padding: 0.06em 0.1em 0.24em;
  margin: -0.06em -0.1em -0.24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.case-story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.case-story-grid .sticky-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.case-story-grid .sticky-copy p {
  margin-top: 20px;
  color: var(--muted);
}

.case-story-grid .sticky-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.story-panels {
  display: grid;
  gap: 18px;
}

.story-panel {
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.story-panel:first-child {
  border-color: color-mix(in srgb, var(--project-accent) 28%, transparent);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--project-accent) 11%, transparent), transparent 45%),
    rgba(255, 255, 255, 0.025);
}

.story-panel__index {
  color: var(--project-accent);
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.story-panel h3 {
  margin-top: 48px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.story-panel p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.case-features {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.018), transparent);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 540px;
  align-items: center;
  gap: 68px;
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

.feature-row:nth-child(even) {
  grid-template-columns: 0.7fr 1.3fr;
}

.feature-row:nth-child(even) .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.36);
}

.feature-media::after {
  display: none;
}

.feature-media img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--feature-aspect, 16 / 10);
  object-fit: cover;
  object-position: top left;
}

.feature-copy__index {
  color: var(--project-accent);
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.feature-copy h3 {
  margin-top: 20px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.feature-copy h3 em {
  color: var(--project-accent);
  font-family: var(--font-display);
  font-weight: 330;
  display: inline-block;
  max-width: 100%;
  line-height: 1.08;
  padding: 0.06em 0.1em 0.24em;
  margin: -0.06em -0.1em -0.24em;
}

.feature-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.feature-checklist {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-checklist li {
  position: relative;
  padding-left: 22px;
  color: #b5bbc5;
  font-size: 13px;
}

.feature-checklist li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--project-accent);
  content: "↳";
}

.case-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-card {
  min-height: 390px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.022);
}

.detail-card h3 {
  margin-top: 70px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.detail-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: detail;
}

.detail-list li {
  position: relative;
  padding: 16px 0 16px 42px;
  border-top: 1px solid var(--line);
  color: #b7bdc7;
  font-size: 13px;
  counter-increment: detail;
}

.detail-list li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--project-accent);
  content: "0" counter(detail);
  font-family: ui-monospace, monospace;
  font-size: 9px;
}

.stack-section {
  position: relative;
  overflow: hidden;
  padding-block: 170px;
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin-inline: auto;
}

.stack-cloud span {
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: #c5cad3;
  background: rgba(255, 255, 255, 0.026);
  font-size: clamp(13px, 1.7vw, 18px);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.stack-cloud span:nth-child(3n + 1):hover {
  color: var(--project-accent);
  border-color: var(--project-accent);
  transform: translateY(-5px);
}

.stack-cloud span:nth-child(3n + 2):hover {
  color: var(--project-accent-2);
  border-color: var(--project-accent-2);
  transform: translateY(-5px);
}

.case-final {
  position: relative;
  padding: 70px 0 140px;
}

.case-final__card {
  position: relative;
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
  padding: 80px 58px 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 105%, color-mix(in srgb, var(--project-accent) 15%, transparent), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  text-align: center;
}

.case-final__image {
  position: relative;
  width: min(100%, 1060px);
  margin: 0 auto 62px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.45);
}

.case-final__image img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--final-aspect, 16 / 10);
  object-fit: cover;
  object-position: top;
}

.case-final h2 {
  margin-top: 20px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.case-final h2 em {
  color: transparent;
  background: linear-gradient(100deg, var(--project-accent), var(--project-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-weight: 330;
  display: inline-block;
  max-width: 100%;
  line-height: 1.08;
  padding: 0.06em 0.1em 0.24em;
  margin: -0.06em -0.1em -0.24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.case-final__card > p {
  max-width: 690px;
  margin: 26px auto 0;
  color: var(--muted);
}

.case-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.case-next {
  display: flex;
  width: min(calc(100% - 64px), var(--max-width));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}

.case-next span {
  color: #717987;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-next a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.case-next a b {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--project-accent);
  transition: color 200ms ease, background 200ms ease;
}

.case-next a:hover b {
  color: #080a0e;
  background: var(--project-accent);
}

.case-footer {
  border-color: var(--line);
}

.js-ready .case-reveal-item {
  opacity: 0;
  transform: translateY(28px);
}

.js-ready .case-reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 900px) {
  .case-hero {
    min-height: auto;
    padding-bottom: 30px;
  }

  .case-hero h1 {
    font-size: clamp(4.2rem, 13vw, 8rem);
  }

  .case-visual {
    height: 590px;
  }

  .case-float {
    display: none;
  }

  .case-device {
    top: 95px;
    width: 96%;
    left: 2%;
  }

  .case-story-grid,
  .feature-row,
  .feature-row:nth-child(even),
  .case-details-grid {
    grid-template-columns: 1fr;
  }

  .case-story-grid .sticky-copy {
    position: static;
  }

  .feature-row:nth-child(even) .feature-media {
    order: 0;
  }

  .case-section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .case-nav__divider,
  .case-nav #case-github {
    display: none;
  }

  .case-header {
    width: calc(100% - 20px);
    top: 8px;
  }

  .case-hero {
    width: calc(100% - 32px);
    padding-top: 130px;
  }

  .case-hero h1 {
    font-size: clamp(2.9rem, 11.5vw, 4.2rem);
    line-height: 0.9;
  }

  .case-hero__subtitle {
    margin-top: 24px;
    font-size: 15px;
  }

  .case-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .case-quickstats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-top: 34px;
  }

  .case-quickstat {
    min-width: 0;
    padding: 0 10px;
    overflow-wrap: anywhere;
  }

  .case-quickstat strong {
    font-size: 24px;
  }

  .case-quickstat span {
    font-size: 8px;
    line-height: 1.35;
  }

  .case-visual {
    height: 310px;
    margin-top: 50px;
  }

  .case-device {
    top: 35px;
    width: 100%;
    left: 0;
    border-radius: 13px;
  }

  .case-browser-bar {
    height: 24px;
  }

  .case-scroll {
    min-height: auto;
  }

  .case-scroll__sticky {
    position: relative;
    display: flex;
    min-height: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 38px;
    padding: 80px 0;
  }

  .case-scroll__copy {
    width: calc(100% - 32px);
    order: 2;
  }

  .case-scroll__copy p {
    margin-left: 0;
    font-size: 1.45rem;
    text-align: center;
  }

  .case-reveal-window {
    position: relative;
    top: auto;
    left: auto;
    order: 1;
    width: calc(100% - 32px);
    margin-inline: auto;
    border-radius: 16px;
    transform: none;
  }

  .case-section {
    width: calc(100% - 32px);
    padding-block: 92px;
  }

  .case-section-title {
    margin-bottom: 40px;
  }

  .case-section-title h2 {
    font-size: 2.8rem;
  }

  .case-story-grid {
    gap: 38px;
  }

  .story-panel {
    min-height: 0;
    padding: 25px;
  }

  .story-panel h3 {
    margin-top: 28px;
  }

  .feature-row {
    min-height: 0;
    gap: 34px;
    padding-block: 38px;
  }

  .feature-media {
    border-radius: 18px;
  }

  .detail-card {
    min-height: 0;
    padding: 26px;
  }

  .detail-card h3 {
    margin-top: 42px;
  }

  .stack-section {
    padding-block: 100px;
  }

  .stack-cloud {
    justify-content: flex-start;
  }

  .stack-cloud span {
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12px;
  }

  .case-final {
    padding-bottom: 90px;
  }

  .case-final__card {
    width: calc(100% - 32px);
    padding: 44px 20px 28px;
    border-radius: 28px;
  }

  .case-final__image {
    margin-bottom: 40px;
    border-radius: 13px;
  }

  .case-final h2 {
    font-size: 3rem;
  }

  .case-next {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
