:root {
  color-scheme: light;
  --bg: #f7f7f2;
  --ink: #111111;
  --muted: #5f625c;
  --panel: rgba(255, 255, 249, 0.78);
  --panel-solid: #fffffa;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #00a878;
  --accent-2: #ff5c35;
  --accent-3: #1d8cff;
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --max: 1180px;
}

:root[data-theme="night"] {
  color-scheme: dark;
  --bg: #111111;
  --ink: #f8f5ea;
  --muted: #b9b2a3;
  --panel: rgba(27, 28, 25, 0.78);
  --panel-solid: #191a17;
  --line: rgba(248, 245, 234, 0.14);
  --accent: #31d29c;
  --accent-2: #ff7a57;
  --accent-3: #6fb4ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 168, 120, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(255, 92, 53, 0.13), transparent 25rem),
    linear-gradient(135deg, rgba(29, 140, 255, 0.08), transparent 36rem),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 25%, transparent), transparent 62%),
    radial-gradient(circle, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 72%);
  opacity: 0.55;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
  mix-blend-mode: multiply;
  filter: blur(8px);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 56%, transparent);
}

.signal-dock {
  position: fixed;
  top: 50%;
  left: 18px;
  z-index: 25;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.signal-dock a {
  display: flex;
  width: 42px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 70%, transparent);
  padding: 7px 9px;
  color: transparent;
  font-size: 0.76rem;
  font-weight: 760;
  white-space: nowrap;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  transition:
    width 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.signal-dock a:hover {
  width: 138px;
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--panel-solid);
  color: var(--ink);
}

.signal-dock span {
  color: var(--accent);
  flex: 0 0 auto;
}

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

button {
  font: inherit;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px);
  background-size: 41px 41px, 5px 5px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-solid) 64%, transparent);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--bg);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.sun {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent);
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(26px, 4.8vw, 66px);
  align-items: center;
  padding: 122px 0 62px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.6rem, 7.15vw, 7.4rem);
  line-height: 0.9;
  font-weight: 860;
}

h1 span {
  display: block;
  max-width: 720px;
  margin-top: 14px;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 74%, transparent);
  font-size: 0.66em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 590px;
  margin-top: 26px;
}

.hero-proof span {
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-solid) 68%, transparent);
  padding: 12px 13px;
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
  font-size: 0.9rem;
  font-weight: 760;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button.primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.button.ghost {
  border: 1px solid var(--line);
  background: var(--panel);
}

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

.availability {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.availability span,
.tag-list span,
.ticker span,
.project-topline span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 78%, transparent);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
}

.availability span {
  padding: 8px 12px;
}

.hero-stage {
  position: relative;
  min-height: 500px;
  perspective: 1200px;
}

.skill-deck {
  --mx: 50%;
  --my: 50%;
  position: sticky;
  top: 118px;
  display: grid;
  min-height: 540px;
  place-items: center;
  transform-style: preserve-3d;
  isolation: isolate;
}

.skill-deck::before {
  position: absolute;
  inset: 3% 0 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 18%, transparent), transparent 24%),
    radial-gradient(circle at 72% 68%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 26%);
  content: "";
  opacity: 0.9;
  transform: translateZ(-120px);
  filter: blur(10px);
}

.deck-screen {
  position: absolute;
  top: 6%;
  left: 4%;
  z-index: 5;
  width: min(74%, 360px);
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-solid) 84%, transparent);
  padding: 20px;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translate3d(0, 0, 112px) rotateY(-8deg);
  backdrop-filter: blur(18px);
}

.deck-screen .core-label {
  margin-bottom: 24px;
}

.deck-screen strong {
  display: block;
  font-size: 2rem;
  line-height: 1.04;
}

.deck-screen p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.keyboard-base {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 600px);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, #202020, #070707 58%),
    #101010;
  padding: 28px;
  box-shadow:
    0 54px 90px rgba(0, 0, 0, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    inset 0 -18px 34px rgba(0, 0, 0, 0.48);
  transform: rotateX(58deg) rotateZ(-14deg) translate3d(34px, 48px, 0);
  transform-style: preserve-3d;
}

.keyboard-base::before {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  content: "";
  transform: translateZ(10px);
}

.keyboard-base::after {
  position: absolute;
  right: 8%;
  bottom: -22%;
  left: 8%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.34), transparent 70%);
  content: "";
  filter: blur(12px);
  transform: rotateX(16deg) translateZ(-34px);
}

.key-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  transform-style: preserve-3d;
}

.skill-key {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: var(--key-color, #20242a);
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.26);
  box-shadow:
    inset 6px 8px 10px rgba(255, 255, 255, 0.18),
    inset -8px -12px 18px rgba(0, 0, 0, 0.3),
    0 16px 0 color-mix(in srgb, var(--key-color, #20242a) 62%, #000),
    0 28px 26px rgba(0, 0, 0, 0.28);
  transform: translateZ(42px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  animation: keyBreath 5.5s ease-in-out infinite;
}

.skill-key::before {
  position: absolute;
  inset: 9px 10px auto;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
  filter: blur(1px);
}

.skill-key:hover {
  filter: saturate(1.14) brightness(1.08);
  transform: translateZ(66px) translateY(-6px);
  box-shadow:
    inset 6px 8px 10px rgba(255, 255, 255, 0.22),
    inset -8px -12px 18px rgba(0, 0, 0, 0.32),
    0 20px 0 color-mix(in srgb, var(--key-color, #20242a) 58%, #000),
    0 38px 38px rgba(0, 0, 0, 0.34);
}

.key-ts {
  --key-color: #007acc;
}

.key-react {
  --key-color: #00bcd4;
  animation-delay: -0.4s;
}

.key-next {
  --key-color: #2b2f38;
  animation-delay: -0.8s;
}

.key-nest {
  --key-color: #e0234e;
  animation-delay: -1.2s;
}

.key-node {
  --key-color: #189447;
  animation-delay: -1.6s;
}

.key-rust {
  --key-color: #f05d2a;
  animation-delay: -2s;
}

.key-docker {
  --key-color: #1596d1;
  animation-delay: -2.4s;
}

.key-aws {
  --key-color: #f49a1a;
  animation-delay: -2.8s;
}

.key-kube {
  --key-color: #326ce5;
  animation-delay: -3.2s;
}

.key-auth {
  --key-color: #6d4bb2;
  animation-delay: -3.6s;
}

.key-db {
  --key-color: #47a248;
  animation-delay: -4s;
}

.key-java {
  --key-color: #d84315;
  animation-delay: -4.4s;
}

.key-ci {
  --key-color: #111111;
  animation-delay: -4.8s;
}

.key-api {
  --key-color: #7c3aed;
  animation-delay: -5.2s;
}

.key-cloud {
  --key-color: #00a878;
  animation-delay: -5.6s;
}

.deck-chip {
  position: absolute;
  z-index: 6;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 860;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
  animation: float 5.5s ease-in-out infinite;
}

.deck-chip-a {
  top: 22%;
  right: 3%;
}

.deck-chip-b {
  right: 16%;
  bottom: 11%;
  animation-delay: -1.8s;
}

.deck-chip-c {
  bottom: 24%;
  left: 5%;
  animation-delay: -3.2s;
}

.orbit-grid {
  position: sticky;
  top: 130px;
  display: grid;
  min-height: 500px;
  place-items: center;
  transform-style: preserve-3d;
}

.orbit-grid::before,
.orbit-grid::after {
  position: absolute;
  content: "";
  width: min(52vw, 500px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotateX(67deg) rotateZ(var(--rotation, 0deg));
  animation: spin 24s linear infinite;
}

.orbit-grid::after {
  width: min(42vw, 370px);
  animation-direction: reverse;
  animation-duration: 18s;
}

.core-card,
.project-card,
.skill-column,
.formation-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.core-card {
  position: relative;
  overflow: hidden;
  z-index: 2;
  width: min(100%, 390px);
  padding: 24px;
  transform: rotateX(8deg) rotateY(-9deg);
}

.core-card::after {
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 168px;
  height: 168px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
  transform: rotateX(68deg);
  animation: breathe 5s ease-in-out infinite;
}

.core-label {
  display: inline-flex;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
}

.core-card strong {
  display: block;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  line-height: 1.05;
}

.core-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-console {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  padding: 12px;
  color: var(--bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
}

.mini-console span::before {
  color: var(--accent);
  content: "> ";
}

.orbit-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 780;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  animation: float 5.5s ease-in-out infinite;
}

.chip-a {
  top: 8%;
  left: 22%;
}

.chip-b {
  top: 18%;
  right: 3%;
  animation-delay: -1s;
}

.chip-c {
  right: 15%;
  bottom: 11%;
  animation-delay: -2s;
}

.chip-d {
  bottom: 21%;
  left: 0;
  animation-delay: -3s;
}

.chip-e {
  top: 50%;
  left: -1%;
  animation-delay: -1.8s;
}

.chip-f {
  right: -2%;
  top: 55%;
  animation-delay: -2.6s;
}

.projects-section,
.skills-section,
.formation-section,
.contact-section {
  padding: 88px 0;
}

.projects-section {
  perspective: 1300px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 0.98;
}

.section-heading p:not(.eyebrow),
.contact-panel p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.project-card h3,
.skill-column h3,
.formation-card h3,
.timeline-item h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.project-card p,
.skill-column p,
.formation-card p,
.timeline-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.64;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  padding: 88px 0;
}

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

.trajectory-orbit {
  position: relative;
  display: grid;
  width: min(100%, 430px);
  aspect-ratio: 1.08;
  place-items: center;
  margin-top: 34px;
  border: 0;
  border-radius: 50%;
  perspective: 900px;
  transform-style: preserve-3d;
  filter: drop-shadow(0 32px 44px rgba(0, 0, 0, 0.12));
}

.trajectory-orbit::before,
.trajectory-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.trajectory-orbit::before {
  inset: 24% 18%;
  background:
    radial-gradient(circle at 48% 42%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 42%),
    color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow:
    inset 0 0 48px color-mix(in srgb, var(--accent) 18%, transparent),
    0 26px 80px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: rotateX(68deg) translateZ(-28px);
  animation: coreGlow 5.8s ease-in-out infinite;
}

.trajectory-orbit::after {
  right: 12%;
  bottom: 6%;
  left: 12%;
  height: 18%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.18), transparent 70%);
  filter: blur(5px);
  transform: rotateX(72deg) translateZ(-80px);
}

.orbit-rail {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--ink) 15%, var(--line));
  border-radius: 50%;
  transform-style: preserve-3d;
}

.rail-a {
  inset: 10% 2%;
  transform: rotateX(68deg) rotateZ(-7deg);
  animation: orbitSpinA 18s linear infinite;
}

.rail-b {
  inset: 21% 14%;
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  transform: rotateX(70deg) rotateZ(14deg) translateZ(20px);
  animation: orbitSpinB 23s linear infinite reverse;
}

.rail-c {
  inset: 18% 24%;
  border-color: color-mix(in srgb, var(--accent-2) 24%, var(--line));
  transform: rotateY(64deg) rotateZ(18deg);
  opacity: 0.7;
}

.trajectory-core {
  position: relative;
  z-index: 3;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92), transparent 24%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 34%, var(--panel-solid)), var(--panel-solid) 70%);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateZ(94px);
  box-shadow:
    inset -18px -24px 42px rgba(0, 0, 0, 0.12),
    0 30px 90px color-mix(in srgb, var(--accent) 28%, transparent);
  animation: coreFloat 5.4s ease-in-out infinite;
}

.orbit-token {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 74px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 5px color-mix(in srgb, var(--panel-solid) 54%, transparent);
  transform-style: preserve-3d;
  animation: tokenFloat 6s ease-in-out infinite;
}

.token-api {
  top: 5%;
  left: 50%;
  transform: translate3d(-50%, 0, 118px);
}

.token-auth {
  top: 36%;
  right: -1%;
  transform: translate3d(0, -50%, 86px);
  animation-delay: -1.6s;
}

.token-cloud {
  bottom: 4%;
  left: 50%;
  transform: translate3d(-50%, 0, 56px);
  animation-delay: -3.1s;
}

.token-rust {
  top: 41%;
  left: -1%;
  transform: translate3d(0, -50%, 76px);
  animation-delay: -4.4s;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  perspective: 1200px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--accent) 70%, transparent),
    color-mix(in srgb, var(--accent-2) 54%, transparent),
    transparent
  );
  content: "";
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 38%, transparent));
}

.timeline-item {
  position: relative;
  min-height: 385px;
  margin-left: 46px;
  cursor: pointer;
  outline: none;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.timeline-item:focus-visible .flip-face {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent),
    var(--shadow);
}

.flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.timeline-item.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  overflow: auto;
  backface-visibility: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.22), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
  transform-style: preserve-3d;
  backdrop-filter: blur(18px);
}

.flip-face::before {
  position: absolute;
  inset: 13px;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 6px;
  content: "";
  transform: translateZ(18px);
}

.flip-face::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: 0.7;
  transform: rotateX(66deg) translateZ(22px);
}

.flip-front {
  display: flex;
  flex-direction: column;
}

.flip-back {
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 34%),
    linear-gradient(140deg, color-mix(in srgb, var(--ink) 6%, transparent), transparent 42%),
    var(--panel);
  transform: rotateY(180deg);
}

.timeline-item:hover .flip-face {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
}

.timeline-item::before {
  position: absolute;
  top: 31px;
  left: -38px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow:
    0 0 0 7px color-mix(in srgb, var(--accent-2) 14%, transparent),
    0 14px 30px color-mix(in srgb, var(--accent-2) 34%, transparent);
  content: "";
  animation: nodePulse 3.6s ease-in-out infinite;
}

.timeline-item time {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 780;
}

.timeline-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.timeline-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 78%, transparent);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.timeline-item h3,
.timeline-item p,
.experience-points,
.timeline-item .tag-list,
.card-hint {
  position: relative;
  z-index: 1;
  transform: translateZ(28px);
}

.timeline-item h3 {
  max-width: 560px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.experience-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.experience-points li {
  position: relative;
  padding-left: 18px;
  color: color-mix(in srgb, var(--muted) 90%, var(--ink));
  line-height: 1.55;
}

.experience-points li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.card-hint {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 820;
}

.project-lab {
  --mx: 76%;
  --my: 50%;
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent-2) 11%, transparent), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel-solid) 86%, transparent), transparent),
    var(--panel);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  isolation: isolate;
}

.project-lab::before {
  position: absolute;
  inset: 20px;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 8px;
  content: "";
  opacity: 0.75;
  transform: translateZ(34px);
}

.project-lab::after {
  position: absolute;
  right: 7%;
  bottom: -96px;
  width: min(430px, 44%);
  height: 330px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 50%;
  content: "";
  opacity: 0.62;
  transform: rotateX(70deg) translateZ(18px);
}

.project-lab-copy {
  position: relative;
  z-index: 5;
  max-width: 580px;
  transform: translateZ(54px);
}

.project-lab-copy span {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 76%, transparent);
  padding: 8px 11px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.project-lab-copy strong {
  display: block;
  max-width: 640px;
  font-size: clamp(2rem, 3.7vw, 4.35rem);
  font-weight: 860;
  line-height: 0.96;
}

.project-lab-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-stack-3d {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(100%, 340px);
  height: 260px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-18deg) translate3d(0, 16px, 0);
  animation: stackDrift 8s ease-in-out infinite;
}

.project-stack-3d::after {
  position: absolute;
  right: 6%;
  bottom: -18%;
  left: 6%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.22), transparent 72%);
  content: "";
  filter: blur(10px);
  transform: translateZ(-60px);
}

.stack-layer {
  position: absolute;
  display: grid;
  width: 240px;
  height: 112px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), transparent 42%),
    color-mix(in srgb, var(--panel-solid) 86%, var(--accent) 10%);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 24px 58px color-mix(in srgb, var(--accent) 16%, transparent);
  backdrop-filter: blur(16px);
}

.layer-front {
  right: 22px;
  bottom: 16px;
  transform: translateZ(82px);
}

.layer-middle {
  right: 68px;
  bottom: 84px;
  transform: translateZ(42px);
  opacity: 0.88;
}

.layer-back {
  right: 116px;
  bottom: 148px;
  transform: translateZ(6px);
  opacity: 0.76;
}

.lab-node {
  position: absolute;
  z-index: 4;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 850;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  animation: labFloat 5s ease-in-out infinite;
}

.node-a {
  bottom: 26px;
  left: 26px;
}

.node-b {
  right: 44px;
  bottom: 58px;
  animation-delay: -1.4s;
}

.node-c {
  right: 255px;
  bottom: 40px;
  animation-delay: -2.2s;
}

.node-d {
  right: 56px;
  top: 94px;
  animation-delay: -3s;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
  align-items: stretch;
  perspective: 1200px;
}

.project-card {
  --mx: 18%;
  --my: 18%;
  position: relative;
  overflow: hidden;
  min-height: 352px;
  padding: 24px;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 15%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent 38%),
    var(--panel);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow:
    0 30px 90px color-mix(in srgb, var(--accent) 14%, transparent),
    var(--shadow);
}

.project-card::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 6px;
  content: "";
  transform: translateZ(20px);
}

.project-card::after {
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
  transform: rotateX(68deg) translateZ(26px);
}

.project-card.featured {
  grid-row: span 2;
  min-height: 720px;
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 34%),
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--accent-2) 17%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 52%),
    var(--panel);
}

.project-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 46px;
  transform: translateZ(28px);
}

.project-topline span,
.tag-list span {
  padding: 7px 10px;
}

.project-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3.3vw, 3.75rem);
  transform: translateZ(34px);
}

.project-card.featured h3 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.9;
}

.project-card p {
  position: relative;
  z-index: 1;
  transform: translateZ(26px);
}

.project-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  transform: translateZ(30px);
}

.project-number {
  color: color-mix(in srgb, var(--ink) 38%, transparent);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 860;
  line-height: 0.9;
}

.project-status {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 78%, transparent);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 780;
}

.project-impact {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  transform: translateZ(24px);
}

.project-impact li {
  position: relative;
  padding-left: 17px;
  color: color-mix(in srgb, var(--muted) 92%, var(--ink));
  font-size: 0.95rem;
  line-height: 1.48;
}

.project-impact li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  content: "";
  transform: translateY(-50%);
}

.tag-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  transform: translateZ(26px);
}

.project-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  transform: translateZ(30px);
}

.project-links a,
.github-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 13px;
  font-weight: 800;
}

.github-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.github-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-solid) 78%, transparent);
  padding: 8px 11px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 820;
}

.github-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.skill-matrix,
.formation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.skill-column,
.formation-card {
  padding: 22px;
}

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

.formation-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-weight: 800;
}

.ticker {
  overflow: hidden;
  contain: paint;
  margin-top: 18px;
  border-block: 1px solid var(--line);
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: ticker 32s linear infinite;
}

.ticker span {
  padding: 10px 14px;
}

.contact-section {
  padding-bottom: 120px;
}

.contact-panel {
  display: grid;
  min-height: 430px;
  align-content: center;
  padding: clamp(24px, 5vw, 58px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 48%),
    linear-gradient(315deg, color-mix(in srgb, var(--accent-3) 12%, transparent), transparent 40%),
    var(--panel);
}

.contact-panel p {
  max-width: 800px;
}

.command-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 26;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 15px;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font-weight: 780;
  box-shadow: var(--shadow);
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(10px);
}

.command-palette.is-open {
  opacity: 1;
  pointer-events: auto;
}

.command-panel {
  display: grid;
  width: min(100%, 520px);
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  padding: 16px;
  box-shadow: var(--shadow);
}

.command-panel a,
.close-command {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel-solid) 88%, var(--ink) 4%);
  padding: 13px 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.close-command {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

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

@keyframes spin {
  to {
    transform: rotateX(67deg) rotateZ(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 40px);
  }
  50% {
    transform: translate3d(0, -14px, 80px);
  }
}

@keyframes keyBreath {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@keyframes coreGlow {
  0%,
  100% {
    opacity: 0.74;
    transform: rotateX(68deg) translateZ(-28px) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: rotateX(68deg) translateZ(-20px) scale(1.08);
  }
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 94px);
  }
  50% {
    transform: translate3d(0, -9px, 116px);
  }
}

@keyframes orbitSpinA {
  to {
    transform: rotateX(68deg) rotateZ(353deg);
  }
}

@keyframes orbitSpinB {
  to {
    transform: rotateX(70deg) rotateZ(374deg) translateZ(20px);
  }
}

@keyframes tokenFloat {
  0%,
  100% {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.18),
      0 0 0 5px color-mix(in srgb, var(--panel-solid) 54%, transparent);
  }
  50% {
    box-shadow:
      0 26px 62px rgba(0, 0, 0, 0.24),
      0 0 0 8px color-mix(in srgb, var(--accent) 12%, transparent);
  }
}

@keyframes stackDrift {
  0%,
  100% {
    transform: rotateX(58deg) rotateZ(-18deg) translate3d(0, 16px, 0);
  }
  50% {
    transform: rotateX(56deg) rotateZ(-12deg) translate3d(0, 0, 38px);
  }
}

@keyframes labFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 52px);
  }
  50% {
    transform: translate3d(0, -12px, 82px);
  }
}

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

@keyframes breathe {
  0%,
  100% {
    transform: rotateX(68deg) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: rotateX(68deg) scale(1.12);
    opacity: 0.82;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow:
      0 0 0 7px color-mix(in srgb, var(--accent-2) 14%, transparent),
      0 14px 30px color-mix(in srgb, var(--accent-2) 34%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 12px color-mix(in srgb, var(--accent) 12%, transparent),
      0 18px 40px color-mix(in srgb, var(--accent) 28%, transparent);
  }
}

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

  .signal-dock,
  .cursor-glow {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-stage,
  .orbit-grid,
  .skill-deck {
    min-height: 470px;
  }

  .deck-screen {
    top: 0;
    left: 0;
    width: min(80%, 340px);
  }

  .keyboard-base {
    width: min(100%, 520px);
    transform: rotateX(57deg) rotateZ(-10deg) translate3d(18px, 76px, 0);
  }

  h1 {
    max-width: 820px;
  }

  .skill-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-lab {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .project-stack-3d {
    justify-self: end;
    width: min(100%, 320px);
    margin-top: 22px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-row: auto;
    min-height: 560px;
  }

  .node-a {
    top: auto;
    right: auto;
    bottom: 72px;
    left: 22px;
  }

  .node-b {
    right: 26px;
    bottom: 54px;
  }

  .node-c {
    right: auto;
    bottom: 34px;
    left: 148px;
  }

  .node-d {
    top: auto;
    right: 36px;
    bottom: 130px;
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.65rem);
    line-height: 0.94;
  }

  h1 span {
    max-width: 100%;
    font-size: 0.58em;
  }

  .hero-stage,
  .orbit-grid,
  .skill-deck {
    min-height: 430px;
  }

  .deck-screen {
    width: min(92%, 320px);
    padding: 16px;
  }

  .deck-screen strong {
    font-size: 1.42rem;
  }

  .deck-screen p {
    font-size: 0.9rem;
  }

  .keyboard-base {
    width: min(100%, 430px);
    gap: 9px;
    border-radius: 22px;
    padding: 18px;
    transform: rotateX(55deg) rotateZ(-8deg) translate3d(8px, 88px, 0);
  }

  .key-row {
    gap: 8px;
  }

  .skill-key {
    min-height: 44px;
    border-radius: 11px;
    font-size: 0.68rem;
    box-shadow:
      inset 4px 6px 8px rgba(255, 255, 255, 0.18),
      inset -6px -9px 14px rgba(0, 0, 0, 0.3),
      0 10px 0 color-mix(in srgb, var(--key-color, #20242a) 62%, #000),
      0 18px 18px rgba(0, 0, 0, 0.24);
  }

  .deck-chip {
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  .deck-chip-a {
    top: 32%;
    right: 0;
  }

  .deck-chip-b {
    right: 8%;
    bottom: 4%;
  }

  .deck-chip-c {
    left: 0;
    bottom: 16%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof span {
    padding: 11px 12px;
  }

  .orbit-chip {
    font-size: 0.76rem;
    padding: 8px 11px;
  }

  .chip-a {
    left: 10%;
  }

  .chip-b,
  .chip-f {
    right: 4%;
  }

  .chip-e,
  .chip-d {
    left: 4%;
  }

  .project-showcase,
  .skill-matrix,
  .formation-grid {
    grid-template-columns: 1fr;
  }

  .project-lab {
    min-height: 560px;
    padding: 22px;
  }

  .project-lab::after {
    right: -44px;
  }

  .project-stack-3d {
    width: 260px;
    height: 210px;
    justify-self: center;
    transform: rotateX(56deg) rotateZ(-16deg) translate3d(0, 32px, 0);
  }

  .stack-layer {
    width: 190px;
    height: 86px;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .layer-front {
    right: 8px;
    bottom: 8px;
  }

  .layer-middle {
    right: 40px;
    bottom: 62px;
  }

  .layer-back {
    right: 72px;
    bottom: 116px;
  }

  .lab-node {
    font-size: 0.72rem;
    padding: 7px 9px;
  }

  .project-card.featured {
    grid-row: auto;
    min-height: auto;
  }

  .project-card {
    min-height: auto;
  }

  .github-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .trajectory-orbit {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .trajectory-core {
    width: 94px;
    height: 94px;
    font-size: 0.68rem;
  }

  .orbit-token {
    min-width: 62px;
    min-height: 36px;
    font-size: 0.72rem;
  }

  .timeline-item {
    min-height: 520px;
    margin-left: 30px;
  }

  .timeline-item::before {
    left: -27px;
  }

  .flip-face {
    padding: 20px;
  }

  .timeline-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-topline {
    margin-bottom: 42px;
  }

  .contact-actions,
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .command-button {
    top: 22px;
    right: 72px;
    bottom: auto;
    z-index: 31;
    min-height: 36px;
    padding: 0 12px;
  }
}

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

  #field {
    display: none;
  }
}
