:root {
  --bg: #040415;
  --surface: #09091d;
  --ink: #f6f4ee;
  --muted: rgba(246, 244, 238, 0.68);
  --dim: rgba(246, 244, 238, 0.36);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.24);
  --panel: rgba(12, 12, 32, 0.78);
  --panel-strong: rgba(20, 20, 44, 0.92);
  --card-radius: 28px;
  --blue-shadow: rgba(0, 0, 0, 0.34);
  --pixel-accent: #9736ff;
  --accent: #9736ff;
  --accent-hot: #b979ff;
  --accent-soft: rgba(151, 54, 255, 0.16);
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 6%, rgba(77, 88, 160, 0.2), transparent 25vw),
    radial-gradient(circle at 24% 88%, rgba(58, 37, 120, 0.18), transparent 30vw),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  cursor: auto;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 7.14vw 7.14vw;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(120deg, rgba(138, 157, 255, 0.05), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.04));
  content: "";
  opacity: 0.45;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  pointer-events: none;
  opacity: 0;
  background-image: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.pointer-light {
  position: fixed;
  z-index: 45;
  width: 16px;
  height: 16px;
  border-radius: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--pixel-accent) 95%, transparent) 50%, transparent 50%),
    linear-gradient(color-mix(in srgb, var(--pixel-accent) 95%, transparent) 50%, transparent 50%);
  background-size: 8px 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 18px color-mix(in srgb, var(--pixel-accent) 42%, transparent);
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.82;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease, transform 120ms ease;
}

.cursor-dot {
  position: fixed;
  z-index: 50;
  width: 12px;
  height: 12px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--pixel-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--pixel-accent) 24%, transparent);
  opacity: 0.95;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 120ms ease, height 120ms ease, opacity 120ms ease, background 120ms ease;
}

.cursor-dot.is-active {
  width: 18px;
  height: 18px;
  background: var(--pixel-accent);
  opacity: 1;
}

.cursor-dot.is-active::before,
.cursor-dot.is-active::after {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--pixel-accent);
  content: "";
}

.cursor-dot.is-active::before {
  right: -9px;
  top: 2px;
}

.cursor-dot.is-active::after {
  right: -16px;
  top: 9px;
}

.cursor-trail {
  position: fixed;
  z-index: 46;
  width: 10px;
  height: 10px;
  background: var(--pixel-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--pixel-accent) 38%, transparent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: pixelTrail 620ms steps(5, end) forwards;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background:
    url("generated-assets/portfolio/loader-studio-map.png") center / cover no-repeat,
    var(--bg);
  animation: loaderExit 620ms cubic-bezier(0.66, 0, 0.01, 1) 1450ms forwards;
  pointer-events: none;
}

.loader-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(151, 54, 255, 0.16), transparent 34vw),
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.38)),
    rgba(4, 4, 21, 0.24);
  backdrop-filter: saturate(0.96) brightness(0.94);
}

.loader::before,
.loader::after {
  position: absolute;
  left: 50%;
  width: min(560px, calc(100vw - 56px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 143, 255, 0.54), transparent);
  content: "";
  transform: translateX(-50%) scaleX(0);
  animation: loaderRule 920ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
  box-shadow: 0 0 18px rgba(151, 54, 255, 0.4);
}

.loader::before {
  top: calc(50% - 88px);
}

.loader::after {
  top: calc(50% + 96px);
}

.loader-mark {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 56px));
  display: grid;
  gap: 14px;
  justify-items: center;
  opacity: 0;
  transform: translateY(10px);
  animation: loaderMarkIn 620ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.loader-kicker {
  color: rgba(239, 214, 255, 0.84);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 0 16px rgba(185, 121, 255, 0.54);
}

.loader-mark strong {
  color: #fff7ff;
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.4),
    0 0 28px rgba(185, 121, 255, 0.52),
    0 0 52px rgba(151, 54, 255, 0.38);
}

.loader-track {
  position: relative;
  width: min(430px, 76vw);
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(222, 169, 255, 0.44);
  border-radius: 999px;
  background: rgba(18, 8, 32, 0.7);
  box-shadow:
    0 0 0 1px rgba(151, 54, 255, 0.12),
    inset 0 0 18px rgba(151, 54, 255, 0.2),
    0 0 30px rgba(151, 54, 255, 0.18);
}

.loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d27ff, #d87dff 56%, #fff1ff);
  box-shadow:
    0 0 16px rgba(216, 125, 255, 0.9),
    0 0 34px rgba(151, 54, 255, 0.62);
  transform: translateX(-100%);
  animation: loaderProgress 1180ms cubic-bezier(0.22, 1, 0.36, 1) 240ms forwards;
}

.hud-bottom {
  position: fixed;
  right: 56px;
  bottom: 26px;
  left: 56px;
  z-index: 35;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 0.78rem;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-height: 72px;
  margin: 0;
  padding: 0 5.4vw;
  border-bottom: 0;
  color: #fff;
  background: transparent;
  backdrop-filter: none;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.topbar.is-scrolled {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 4, 21, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.18);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 8px;
  font-weight: 700;
  color: currentColor;
  font-size: clamp(1rem, 1.25vw, 1.4rem);
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  animation: softReveal 520ms ease 1500ms forwards;
}

.topbar .brand {
  position: absolute;
  left: 5.4vw;
}

.brand::before,
.download-btn::before {
  position: absolute;
  inset: 0;
  border: 1.5px dotted transparent;
  content: "";
  transition: border-color 160ms ease;
  pointer-events: none;
}

.topnav a::before {
  position: absolute;
  left: 8px;
  bottom: 0;
  width: 0;
  height: 6px;
  background:
    linear-gradient(90deg, var(--pixel-accent) 50%, transparent 50%) 0 0 / 8px 6px repeat-x;
  content: "";
  opacity: 0;
  transition: width 220ms steps(6, end), opacity 120ms ease;
  pointer-events: none;
}

.brand::after {
  display: none;
}

.brand:hover::before,
.download-btn:hover::before {
  border-color: currentColor;
}

.topnav a:hover::before,
.topnav a.active::before {
  width: calc(100% - 16px);
  opacity: 1;
}

.brand-badge {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
}

.topnav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.1vw, 34px);
  color: currentColor;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 0.78vw, 0.92rem);
  text-transform: uppercase;
}

.topnav a {
  position: relative;
  display: inline-flex;
  min-height: auto;
  align-items: center;
  padding: 8px;
  opacity: 0;
  animation: softReveal 520ms ease forwards;
}

.topnav a:nth-child(1) {
  animation-delay: 1580ms;
}

.topnav a:nth-child(2) {
  animation-delay: 1640ms;
}

.topnav a:nth-child(3) {
  animation-delay: 1700ms;
}

.topnav a:nth-child(4) {
  animation-delay: 1760ms;
}

.topnav a:nth-child(5) {
  animation-delay: 1820ms;
}

.topnav a:nth-child(6) {
  animation-delay: 1880ms;
}

.topnav a:nth-child(7) {
  animation-delay: 1940ms;
}

.topnav a::after {
  display: none;
}

.topnav a.active,
.topnav a:hover {
  color: currentColor;
}

.topnav a.active::after,
.topnav a:hover::after {
  opacity: 0;
}

.download-btn {
  position: absolute;
  right: 5.4vw;
  display: inline-flex;
  min-height: auto;
  align-items: center;
  padding: 8px;
  border: 0;
  font-family: var(--mono);
  color: currentColor;
  font-size: clamp(0.78rem, 0.86vw, 0.98rem);
  text-transform: uppercase;
  opacity: 0;
  animation: softReveal 520ms ease 1940ms forwards;
}

.download-btn:hover {
  background: transparent;
  color: currentColor;
}

main,
.footer {
  width: min(100%, 100vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: clamp(92px, 8vw, 128px) 5.4vw clamp(24px, 3vw, 48px);
  background:
    url("generated-assets/portfolio/immersive-video-frame.png") center / cover no-repeat,
    #030318;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: none;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 12;
  background: none;
  content: "";
  mix-blend-mode: normal;
  opacity: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
  filter: saturate(1) contrast(1.02) brightness(0.84);
  transform: scale(1.02);
  pointer-events: none;
}

.hero-vignette {
  display: none;
}

.hero-grid-crosses,
.hero-side-tab,
.hero-stamp,
.hero-sticker,
.hero-blue-arrow,
.hero-globe {
  display: none;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero > .hero-video {
  position: absolute;
  z-index: 0;
}

.hero > .hero-vignette {
  position: absolute;
  z-index: 1;
}

.hero.section-reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.hero-split-layout {
  position: relative;
  z-index: 100;
  display: flex;
  min-height: calc(100svh - clamp(116px, 11vw, 176px));
  flex-direction: column;
  transform: translateZ(0);
  will-change: transform;
}

.hero-copy-row,
.hero-bottom-row {
  position: relative;
  z-index: 101;
}

.hero-intro-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 7vw, 120px);
  align-items: start;
  margin-top: clamp(18px, 5vh, 70px);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--mono);
  font-size: clamp(0.92rem, 1.08vw, 1.18rem);
  line-height: 1.65;
}

.hero-intro-row p {
  max-width: 560px;
  margin: 0;
  opacity: 0;
  transform: translateY(-14px);
  animation: slideDown 800ms ease forwards;
}

.hero-intro-row p:nth-child(2) {
  animation-delay: 120ms;
}

.hero-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 72px);
  align-items: end;
  margin-top: clamp(292px, 42vh, 400px);
  margin-bottom: clamp(22px, 4vh, 48px);
}

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

.hero-kicker {
  margin: 0 0 clamp(10px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.08vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  line-height: 1.35;
  opacity: 0;
  transform: translateY(16px);
  animation: softRevealUp 680ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
}

.immersive-title {
  display: grid;
  margin: 0;
  color: #fff;
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(3.6rem, 6.2vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: none;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.42),
    0 0 1px rgba(255, 255, 255, 0.46);
}

.hero-role-title {
  font-size: clamp(3.1rem, 5.25vw, 6.75rem);
  font-weight: 780;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 24px 74px rgba(203, 181, 255, 0.16);
}

.hero-name-title {
  justify-items: end;
  font-size: clamp(2.7rem, 4.55vw, 5.65rem);
}

.hero-subtitle {
  margin: clamp(8px, 1vw, 14px) 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: clamp(0.9rem, 1.28vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(16px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  animation: softRevealUp 680ms cubic-bezier(0.22, 1, 0.36, 1) 780ms forwards;
}

.immersive-title span {
  display: block;
  opacity: 0;
  transform: translateY(0.46em);
  filter: blur(10px);
  animation: titleLift 980ms cubic-bezier(0.66, 0, 0.01, 1) forwards;
}

.hero-copy-left .immersive-title span:nth-child(1) {
  animation-delay: 620ms;
}

.hero-copy-left .immersive-title span:nth-child(2) {
  animation-delay: 760ms;
}

.hero-copy-right .immersive-title span {
  animation-delay: 900ms;
}

.hero-role-title span {
  background: linear-gradient(102deg, #fffaf3 0 42%, #f1eaff 66%, #d8c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-bottom-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(240px, 0.9fr) auto;
  gap: clamp(18px, 3.8vw, 62px);
  align-items: start;
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-mark {
  display: grid;
  width: clamp(56px, 6vw, 88px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: clamp(1rem, 1.4vw, 1.42rem);
  font-weight: 700;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.82);
  animation: markIn 660ms cubic-bezier(0.22, 1, 0.36, 1) 1040ms forwards;
}

.hero-note {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.68rem, 0.78vw, 0.86rem);
  font-weight: 500;
  line-height: 1.7;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
  animation: softRevealUp 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-note:nth-child(1) {
  animation-delay: 1180ms;
}

.hero-note:nth-child(2) {
  animation-delay: 1320ms;
}

.hero-note strong {
  color: #fff;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 0.84vw, 0.92rem);
  letter-spacing: 0.08em;
}

.hero-glass-btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 26px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 0.84vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--pixel-accent) 62%, rgba(255, 255, 255, 0.2));
  background: color-mix(in srgb, var(--pixel-accent) 18%, rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.16),
    0 0 34px color-mix(in srgb, var(--pixel-accent) 18%, transparent);
  backdrop-filter: blur(6px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: softRevealUp 620ms cubic-bezier(0.22, 1, 0.36, 1) 1460ms forwards;
  transition: background 240ms ease, transform 240ms ease;
}

.hero-glass-btn::before {
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.48), rgba(255,255,255,0.08) 34%, transparent 50%, rgba(255,255,255,0.24));
  content: "";
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-glass-btn:hover {
  background: color-mix(in srgb, var(--pixel-accent) 28%, rgba(255, 255, 255, 0.04));
  transform: translateY(-2px);
}

@media (min-width: 1101px) and (max-height: 760px) {
  .hero {
    padding-top: clamp(76px, 7vh, 96px);
    padding-bottom: clamp(14px, 2vh, 24px);
  }

  .hero-split-layout {
    min-height: calc(100svh - clamp(96px, 11vh, 120px));
  }

  .hero-copy-row {
    margin-top: clamp(306px, 44vh, 352px);
    margin-bottom: clamp(18px, 3.5vh, 32px);
  }

  .hero-bottom-row {
    gap: clamp(16px, 3vw, 48px);
    padding-top: clamp(14px, 1.6vw, 20px);
  }
}


.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.9rem;
}

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

h1 {
  margin-bottom: 26px;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.hero-info-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-self: start;
  color: #050505;
  font-family: var(--mono);
  font-size: clamp(1rem, 1.08vw, 1.22rem);
  line-height: 1.55;
}

.hero-info-grid p {
  margin: 0;
  padding: 8px;
  opacity: 0;
  transform: translateY(12px);
  animation: softRevealUp 640ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-info-grid p:nth-child(1) {
  grid-column: 1 / span 3;
  animation-delay: 1480ms;
}

.hero-info-grid p:nth-child(2) {
  grid-column: 9 / span 4;
  animation-delay: 1580ms;
}

.hero-info-lead {
  color: #050505;
  font-family: var(--sans);
  font-size: clamp(2rem, 2vw, 2.8rem);
  font-weight: 600;
  line-height: 1.12;
}

.hero-title-wrap {
  position: relative;
  width: 100%;
  align-self: end;
  z-index: 5;
}

.hero-title-wrap::before {
  position: absolute;
  inset: -18px auto -20px -20px;
  z-index: -1;
  width: min(74vw, 1180px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 90px rgba(80, 140, 190, 0.1);
  backdrop-filter: blur(12px) saturate(1.08);
  content: "";
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  max-width: 70vw;
  font-size: clamp(5.2rem, 7.45vw, 10.4rem);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  max-width: 100%;
  opacity: 0;
  transform: translateY(1.08em);
  filter: blur(10px);
  animation: titleLift 1080ms cubic-bezier(0.66, 0, 0.01, 1) forwards;
}

.hero-hello {
  display: none;
  position: absolute;
  top: 22%;
  left: 20%;
  z-index: 3;
  width: 68vw;
  height: 50vh;
  pointer-events: none;
  perspective: 900px;
}

.hero-hello span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(121, 171, 226, 0.56);
  font-family: "Brush Script MT", "Snell Roundhand", "Segoe Script", cursive;
  font-size: clamp(14rem, 27vw, 38rem);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  text-shadow:
    0 8px 0 rgba(87, 141, 204, 0.4),
    0 22px 26px rgba(73, 126, 189, 0.28),
    -20px -20px 28px rgba(255, 255, 255, 0.82),
    14px 14px 20px rgba(28, 89, 155, 0.22),
    inset 0 0 12px rgba(255, 255, 255, 0.8);
  -webkit-text-stroke: 3px rgba(235, 245, 255, 0.38);
  filter: blur(0.2px) saturate(1.18);
  mix-blend-mode: normal;
  opacity: 0;
  transform: rotateX(16deg) rotateZ(-3deg) translate3d(0, 30px, 0) scale(0.88);
  animation: helloArrive 1400ms cubic-bezier(0.22, 1, 0.36, 1) 1280ms forwards, helloFloat 5.6s ease-in-out 2800ms infinite;
}

.hero-hello::before,
.hero-hello::after {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  content: "";
  filter: blur(2px);
  opacity: 0;
  transform: rotate(-18deg);
  animation: helloShine 3.6s ease-in-out 2600ms infinite;
}

.hero-hello::before {
  top: 18%;
  left: 24%;
  width: 18vw;
  height: 18px;
}

.hero-hello::after {
  right: 18%;
  bottom: 22%;
  width: 20vw;
  height: 16px;
  animation-delay: 3400ms;
}

.hero-side-tab {
  position: absolute;
  top: 39%;
  left: 0;
  z-index: 6;
  display: grid;
  width: 72px;
  height: 232px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #050505;
  box-shadow: 0 8px 34px rgba(35, 88, 130, 0.12);
  animation: softRevealUp 640ms ease 1700ms both;
}

.hero-side-tab b {
  align-self: start;
  padding-top: 18px;
  font-size: 1.9rem;
}

.hero-side-tab span {
  align-self: end;
  padding-bottom: 18px;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-stamp {
  position: absolute;
  top: 9%;
  right: 17%;
  z-index: 4;
  width: 132px;
  aspect-ratio: 1;
  border: 9px solid rgba(4, 4, 4, 0.68);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-12deg) scale(0.8);
  animation: stampIn 620ms cubic-bezier(0.22, 1, 0.36, 1) 2200ms forwards;
}

.hero-stamp::before,
.hero-stamp::after {
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(45deg, transparent 44%, rgba(4, 4, 4, 0.72) 45% 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, rgba(4, 4, 4, 0.72) 45% 55%, transparent 56%);
  content: "";
}

.hero-sticker {
  position: absolute;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}

.hero-sticker-red {
  --sticker-rotate: -16deg;
  top: 30%;
  right: 45%;
  color: #f05c92;
  font-size: clamp(2rem, 3.4vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
  -webkit-text-stroke: 2px rgba(190, 20, 92, 0.6);
  transform: rotate(-16deg) scale(0.82);
  animation: stickerPop 680ms cubic-bezier(0.22, 1, 0.36, 1) 2300ms forwards;
}

.hero-sticker-smile {
  --sticker-rotate: 10deg;
  right: 46%;
  bottom: 40%;
  width: clamp(70px, 5.6vw, 110px);
  aspect-ratio: 1;
  border: 7px solid rgba(255, 143, 37, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 38%, #050505 0 4px, transparent 5px),
    radial-gradient(circle at 66% 38%, #050505 0 4px, transparent 5px),
    linear-gradient(160deg, transparent 0 58%, #050505 59% 64%, transparent 65%),
    rgba(255, 183, 80, 0.18);
  transform: rotate(10deg) scale(0.82);
  animation: stickerPop 680ms cubic-bezier(0.22, 1, 0.36, 1) 2460ms forwards;
}

.hero-sticker-pencil {
  --sticker-rotate: 42deg;
  right: 20%;
  bottom: 45%;
  width: clamp(84px, 7vw, 130px);
  height: 18px;
  border: 3px solid rgba(64, 113, 219, 0.7);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(64, 113, 219, 0.68) 0 12px, rgba(132, 175, 255, 0.72) 12px 22px);
  transform: rotate(42deg) scale(0.82);
  animation: stickerPop 680ms cubic-bezier(0.22, 1, 0.36, 1) 2600ms forwards;
}

.hero-blue-arrow {
  display: none;
  position: absolute;
  right: 7.8%;
  bottom: 13.5%;
  z-index: 4;
  width: clamp(108px, 10vw, 180px);
  aspect-ratio: 1;
  background: #2f88e8;
  clip-path: polygon(18% 4%, 92% 50%, 54% 62%, 42% 96%, 26% 90%, 38% 58%, 7% 44%);
  filter: drop-shadow(-8px 8px 0 rgba(70, 138, 234, 0.5));
  opacity: 0;
  transform: rotate(24deg) translateY(24px) scale(0.92);
  animation: arrowIn 860ms cubic-bezier(0.22, 1, 0.36, 1) 2100ms forwards, arrowBob 4.2s ease-in-out 3s infinite;
}

.hero-globe {
  position: absolute;
  right: 4.3%;
  bottom: 4.2%;
  z-index: 5;
  width: 62px;
  height: 30px;
  border: 3px solid #050505;
  border-radius: 50%;
  opacity: 0;
  animation: softReveal 420ms ease 2400ms forwards;
}

.hero-globe::before,
.hero-globe::after {
  position: absolute;
  inset: -3px 18px;
  border: 3px solid #050505;
  border-block: 0;
  border-radius: 50%;
  content: "";
}

.hero-globe::after {
  inset: 11px -3px;
  border-inline: 0;
  border-block: 3px solid #050505;
  border-radius: 0;
}

.hero-grid-crosses span {
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
}

.hero-grid-crosses span::before,
.hero-grid-crosses span::after {
  position: absolute;
  background: rgba(0, 0, 0, 0.28);
  content: "";
}

.hero-grid-crosses span::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.hero-grid-crosses span::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.hero-grid-crosses span:nth-child(1) {
  top: 33.8%;
  left: 3.2%;
}

.hero-grid-crosses span:nth-child(2) {
  top: 33.8%;
  right: 3.2%;
}

.hero-grid-crosses span:nth-child(3) {
  bottom: 30.6%;
  left: 3.2%;
}

.hero-grid-crosses span:nth-child(4) {
  bottom: 30.6%;
  right: 3.2%;
}

.hero-title span:nth-child(1) {
  animation-delay: 1720ms;
}

.hero-title span:nth-child(2) {
  animation-delay: 1980ms;
}

.hero-title span:nth-child(3) {
  animation-delay: 2240ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  opacity: 0;
  animation: softRevealUp 620ms ease 2180ms forwards;
}

.solid-btn,
.line-btn {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.solid-btn {
  border-color: var(--pixel-accent);
  background: var(--pixel-accent);
  color: #050505;
}

.line-btn:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.hero-image-frame {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 58% 58%, rgba(255, 75, 22, 0.09), transparent 26%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.06), transparent 34%),
    #d9d9d7;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.1);
}

.hero-image-frame::before {
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line);
  content: "";
  z-index: 4;
}

.kinetic-word {
  position: absolute;
  right: -9%;
  bottom: -8%;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(5.8rem, 11vw, 12rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.motion-streak {
  position: absolute;
  z-index: 5;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 50%, #fff4df 0 8%, transparent 9%),
    linear-gradient(90deg, #a31908 0%, #ff3d00 34%, #ff8a00 58%, rgba(255, 138, 0, 0) 100%);
  filter: blur(0.4px);
  box-shadow: 0 0 30px rgba(255, 75, 22, 0.3);
  transform: skewX(-12deg);
}

.streak-one {
  top: 40%;
  left: 8%;
  width: 46%;
}

.streak-two {
  top: 50%;
  left: 20%;
  width: 32%;
  height: 14px;
  opacity: 0.78;
}

.streak-three {
  top: 35%;
  right: 12%;
  width: 20%;
  height: 12px;
  opacity: 0.56;
}

.floating-service-card {
  position: absolute;
  top: 12%;
  right: 6%;
  z-index: 6;
  display: grid;
  gap: 4px;
  width: min(220px, 44%);
  min-height: 96px;
  align-content: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2)),
    linear-gradient(90deg, rgba(255, 75, 22, 0.15), transparent);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(10px);
}

.floating-service-card b {
  font-weight: 600;
}

.floating-service-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.vertical-label {
  position: absolute;
  top: 30px;
  right: 18px;
  z-index: 6;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.74rem;
  writing-mode: vertical-rl;
}

.frame-caption {
  position: absolute;
  bottom: 28px;
  left: 38px;
  z-index: 6;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.portrait-silhouette {
  position: absolute;
  right: 16%;
  bottom: 0;
  width: 48%;
  height: 78%;
  z-index: 3;
  background:
    radial-gradient(circle at 48% 18%, rgba(17, 17, 17, 0.9), transparent 0 10%, transparent 11%),
    linear-gradient(92deg, transparent 0 20%, rgba(17, 17, 17, 0.9) 21% 46%, rgba(17, 17, 17, 0.26) 47% 100%);
  clip-path: polygon(45% 0, 66% 5%, 74% 20%, 67% 36%, 76% 54%, 95% 100%, 0 100%, 19% 50%, 30% 36%, 25% 18%);
  filter: blur(0.2px);
}

.portrait-silhouette.small {
  inset: 14% 24% 0 24%;
  width: auto;
  height: auto;
}

.keyword-strip {
  width: 100vw;
  margin-left: 0;
  overflow: hidden;
  border-block: 0;
  background: #050505;
}

.keyword-track {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.keyword-strip:hover .keyword-track {
  animation-duration: 34s;
}

.keyword-group {
  display: flex;
  flex: 0 0 auto;
}

.keyword-group span {
  padding: 18px 34px;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.index-deck-section {
  position: relative;
  min-height: clamp(540px, 54vw, 720px);
  padding: clamp(48px, 6vw, 82px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(153, 97, 255, 0.15), transparent 26vw),
    linear-gradient(180deg, #050505 0%, #070611 48%, #050505 100%);
}

.index-deck-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 44%, #000 0 34%, transparent 72%);
  content: "";
  opacity: 0.26;
  pointer-events: none;
}

.index-deck-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 24px;
  text-align: center;
}

.index-deck-copy span {
  color: rgba(246, 244, 238, 0.46);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.index-deck-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.95;
}

.index-deck-copy p {
  margin: 0;
  color: rgba(246, 244, 238, 0.56);
  font-size: 0.92rem;
}

.index-deck {
  --deck-hover: 0;
  position: relative;
  z-index: 2;
  width: min(100vw, 1500px);
  height: clamp(360px, 34vw, 500px);
  margin: clamp(44px, 5vw, 72px) auto 0;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.index-card {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  --s: 1;
  --z: 1;
  --hover-shift: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z);
  display: block;
  width: clamp(154px, 15.4vw, 238px);
  aspect-ratio: 355 / 701;
  border-radius: clamp(18px, 2vw, 30px);
  outline: none;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
  transform:
    translate3d(calc(-50% + var(--x) + var(--hover-shift)), calc(-50% + var(--y)), calc(var(--z) * 14px))
    rotateZ(var(--r))
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    scale(var(--s));
  transform-origin: center;
  transform-style: preserve-3d;
  transition:
    transform 780ms cubic-bezier(0.16, 0.9, 0.18, 1),
    filter 520ms ease,
    opacity 520ms ease;
  will-change: transform, filter, opacity;
}

.index-card::before {
  position: absolute;
  inset: 6% 4%;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(196, 129, 255, 0.34), rgba(116, 48, 255, 0.16) 44%, rgba(41, 12, 84, 0.05) 74%);
  filter: blur(28px);
  content: "";
  opacity: 0;
  transform: translateY(26px) scale(0.78);
  transition:
    opacity 520ms ease,
    transform 720ms cubic-bezier(0.16, 0.9, 0.18, 1);
}

.index-card::after {
  position: absolute;
  inset: 2.5% 3.5%;
  border-radius: inherit;
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.58) 45%, rgba(190, 145, 255, 0.5) 51%, transparent 64% 100%);
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 94% auto;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 94% auto;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-92%) skewX(-12deg);
  transition:
    opacity 340ms ease,
    transform 960ms cubic-bezier(0.16, 0.9, 0.18, 1);
}

.index-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 34px rgba(0, 0, 0, 0.36))
    drop-shadow(0 6px 12px rgba(90, 36, 160, 0.14));
  pointer-events: none;
  user-select: none;
}

.index-card-01 {
  --x: clamp(-380px, -26vw, -300px);
  --y: 32px;
  --r: -18deg;
  --s: 0.8;
  --z: 1;
}

.index-card-02 {
  --x: clamp(-204px, -14vw, -166px);
  --y: 8px;
  --r: -8deg;
  --s: 0.92;
  --z: 3;
}

.index-card-03 {
  --x: 0px;
  --y: -16px;
  --r: 0deg;
  --s: 1;
  --z: 5;
}

.index-card-04 {
  --x: clamp(166px, 14vw, 204px);
  --y: 8px;
  --r: 8deg;
  --s: 0.92;
  --z: 3;
}

.index-card-05 {
  --x: clamp(300px, 26vw, 380px);
  --y: 32px;
  --r: 18deg;
  --s: 0.8;
  --z: 1;
}

.index-card-01::after {
  -webkit-mask-image: url("generated-assets/portfolio/index-cards/01-about.png");
  mask-image: url("generated-assets/portfolio/index-cards/01-about.png");
}

.index-card-02::after {
  -webkit-mask-image: url("generated-assets/portfolio/index-cards/02-selected.png");
  mask-image: url("generated-assets/portfolio/index-cards/02-selected.png");
}

.index-card-03::after {
  -webkit-mask-image: url("generated-assets/portfolio/index-cards/03-vibe-coding.png");
  mask-image: url("generated-assets/portfolio/index-cards/03-vibe-coding.png");
}

.index-card-04::after {
  -webkit-mask-image: url("generated-assets/portfolio/index-cards/04-projects.png");
  mask-image: url("generated-assets/portfolio/index-cards/04-projects.png");
}

.index-card-05::after {
  -webkit-mask-image: url("generated-assets/portfolio/index-cards/05-resources.png");
  mask-image: url("generated-assets/portfolio/index-cards/05-resources.png");
}

.index-deck:has(.index-card:hover) .index-card:not(:hover),
.index-deck.is-hovering .index-card:not(.is-active) {
  opacity: 0.66;
  filter: saturate(0.84) brightness(0.82) blur(0.25px);
}

.index-card:hover,
.index-card:focus-visible,
.index-card.is-active {
  opacity: 1;
  filter:
    saturate(1.1)
    brightness(1.08)
    drop-shadow(0 20px 30px rgba(0, 0, 0, 0.32))
    drop-shadow(0 8px 18px rgba(155, 83, 255, 0.14));
}

.index-card:hover::before,
.index-card:focus-visible::before,
.index-card.is-active::before {
  opacity: 0.48;
  transform: translateY(22px) scale(0.94);
}

.index-card:hover::after,
.index-card:focus-visible::after,
.index-card.is-active::after {
  opacity: 0.42;
  transform: translateX(92%) skewX(-12deg);
}

.numbered-section {
  padding: clamp(68px, 8vw, 108px) 56px 0;
  scroll-margin-top: 92px;
}

.section-title {
  position: relative;
  display: grid;
  gap: clamp(8px, 1vw, 14px);
  align-items: start;
  justify-items: start;
  margin-bottom: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(18px, 2vw, 26px);
  border-bottom: 1px solid var(--line);
}

.section-title span {
  align-self: start;
  display: inline-flex;
  min-width: auto;
  min-height: auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(246, 244, 238, 0.62);
  font-family: var(--mono);
  font-size: clamp(0.66rem, 0.72vw, 0.82rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
}

.section-title span::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9b5cff;
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.74), 0 0 32px rgba(188, 142, 255, 0.28);
  content: "";
}

.section-title p {
  align-self: start;
  margin: 0;
  color: rgba(246, 244, 238, 0.56);
  font-family: var(--font-zh);
  font-size: clamp(0.78rem, 0.9vw, 1rem);
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  justify-self: start;
  white-space: normal;
}

.section-title h2::after {
  display: none;
  content: none;
}

.section-title h2 {
  position: relative;
  justify-self: stretch;
  max-width: 100%;
  margin: 0;
  background:
    linear-gradient(96deg, #fff 0 58%, #efe9ff 76%, #bda4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.25rem, 5vw, 5.45rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-shadow: 0 24px 74px rgba(203, 181, 255, 0.16);
}

.profile-card,
.about-accordion,
.coding-item,
.work-shell,
.resource-grid article,
.contact-grid {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--card-radius);
  box-shadow: 0 22px 70px var(--blue-shadow);
}

.profile-card,
.about-accordion,
.coding-item,
.work-shell,
.resource-grid article,
.contact-grid,
.resume-photo {
  backdrop-filter: blur(10px);
}

.resume-photo,
.coding-thumb,
.mockup,
.project-card,
.resource-image,
.qr-placeholder {
  border-color: var(--line);
}

.about-section .section-title {
  margin-bottom: clamp(18px, 2.8vw, 38px);
}

.selected-showcase-section {
  overflow: hidden;
}

.selected-showcase {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
  padding-bottom: clamp(10px, 2vw, 28px);
}

.selected-showcase-stage {
  position: relative;
  min-height: clamp(380px, 34vw, 500px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.selected-feature-card {
  --selected-x: 0px;
  --selected-y: 0px;
  --selected-rotate: 0deg;
  --selected-scale: 1;
  --selected-z: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--selected-z);
  display: grid;
  width: clamp(350px, 34vw, 500px);
  min-height: clamp(360px, 27vw, 430px);
  align-content: start;
  gap: 14px;
  padding: 20px 20px 72px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: rgb(12, 12, 32);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transform:
    translate3d(calc(-50% + var(--selected-x)), calc(-50% + var(--selected-y)), calc(var(--selected-z) * 16px))
    scale(var(--selected-scale));
  transform-style: preserve-3d;
  transition:
    transform 760ms cubic-bezier(0.16, 0.9, 0.18, 1),
    opacity 420ms ease,
    filter 420ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 420ms ease;
  will-change: transform, opacity, filter;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 8px 24px rgba(91, 59, 184, 0.12);
}

.selected-feature-card::before {
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1.5px dotted transparent;
  border-radius: calc(var(--card-radius) - 8px);
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease;
}

.selected-feature-card::after {
  display: none;
  content: none;
}

.selected-feature-card.is-active {
  border-color: rgba(203, 181, 255, 0.58);
  background:
    radial-gradient(circle at 82% 8%, rgba(203, 181, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(151, 54, 255, 0.2), rgba(203, 181, 255, 0.08) 42%, rgba(12, 11, 30, 0.82)),
    var(--panel-strong);
  box-shadow:
    0 0 0 1px rgba(203, 181, 255, 0.18),
    0 30px 86px rgba(0, 0, 0, 0.42),
    0 18px 52px rgba(151, 54, 255, 0.26);
}

.selected-feature-card:hover,
.selected-feature-card:focus-visible {
  outline: 0;
  border-color: rgba(203, 181, 255, 0.58);
  background:
    radial-gradient(circle at 82% 8%, rgba(203, 181, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(151, 54, 255, 0.2), rgba(203, 181, 255, 0.08) 42%, rgba(12, 11, 30, 0.82)),
    var(--panel-strong);
  box-shadow:
    0 0 0 1px rgba(203, 181, 255, 0.18),
    0 30px 86px rgba(0, 0, 0, 0.42),
    0 18px 52px rgba(151, 54, 255, 0.26);
}

.selected-feature-card:hover::before,
.selected-feature-card:focus-visible::before,
.selected-feature-card.is-active::before {
  border-color: transparent;
}

.selected-feature-card:not(.is-active) {
  opacity: 1;
  filter: none;
}

.selected-card-number {
  position: absolute;
  bottom: 26px;
  left: 24px;
  z-index: 3;
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  font-weight: 900;
  line-height: 1;
}

.selected-card-cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 76% 18%, rgba(91, 157, 255, 0.36), transparent 28%),
    radial-gradient(circle at 26% 82%, rgba(155, 92, 255, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(20, 68, 156, 0.5), rgba(12, 11, 30, 0.88));
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 320ms ease;
}

.selected-card-cover::before {
  position: absolute;
  inset: 14% 12%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06));
  content: "";
  transform: translate(16%, -8%);
}

.selected-card-cover::after {
  position: absolute;
  right: 9%;
  bottom: 12%;
  width: 38%;
  height: 46%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(6, 8, 20, 0.62);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  content: "";
}

.selected-feature-card:hover .selected-card-cover,
.selected-feature-card:focus-visible .selected-card-cover,
.selected-feature-card.is-active .selected-card-cover {
  border-color: rgba(203, 181, 255, 0.34);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 20px 58px rgba(151, 54, 255, 0.2);
}

.selected-feature-card:hover .selected-card-cover,
.selected-feature-card:focus-visible .selected-card-cover {
  transform: scale(1.025);
}

.selected-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.selected-feature-card em {
  position: relative;
  z-index: 1;
  color: rgba(246, 244, 238, 0.44);
  font-size: clamp(0.9rem, 1vw, 1.04rem);
  font-style: normal;
  font-weight: 650;
  line-height: 1.7;
}

.selected-feature-card strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.22vw, 1.46rem);
  font-weight: 760;
  line-height: 1.18;
}

.selected-card-line {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(246, 244, 238, 0.14);
}

.selected-showcase-controls {
  display: grid;
  grid-template-columns: minmax(170px, 250px) auto minmax(170px, 250px);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 42px);
  width: min(100%, 760px);
  margin-inline: auto;
}

.selected-control-btn {
  min-height: clamp(42px, 3vw, 52px);
  padding: 0 clamp(20px, 2.2vw, 32px);
  border: 1px solid rgba(246, 244, 238, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  color: rgba(246, 244, 238, 0.84);
  cursor: pointer;
  font-family: var(--mono);
  font-size: clamp(0.64rem, 0.75vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.selected-control-prev {
  border-color: rgba(246, 244, 238, 0.18);
  background: rgba(255, 255, 255, 0.028);
  color: rgba(246, 244, 238, 0.84);
}

.selected-control-prev,
.selected-control-next {
  justify-self: stretch;
}

.selected-control-btn:hover,
.selected-control-btn:focus-visible {
  border-color: rgba(203, 181, 255, 0.7);
  background: linear-gradient(135deg, #9b5cff, #cbb5ff);
  color: #fff;
  box-shadow: 0 12px 30px rgba(151, 54, 255, 0.16);
  outline: 0;
  transform: translateY(-2px);
}

.selected-showcase-status {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: clamp(130px, 12vw, 176px);
  text-align: center;
}

.selected-status-count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.selected-status-count strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(1.42rem, 1.9vw, 2.15rem);
  font-weight: 900;
  line-height: 0.9;
}

.selected-status-count > span {
  color: rgba(246, 244, 238, 0.42);
  font-family: var(--mono);
  font-size: clamp(0.92rem, 1.15vw, 1.26rem);
  font-weight: 900;
}

.selected-showcase-status em {
  color: rgba(246, 244, 238, 0.44);
  font-family: var(--mono);
  font-size: clamp(0.5rem, 0.62vw, 0.66rem);
  font-style: normal;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.resume-section {
  --resume-progress: 0;
  --resume-card-x: 22vw;
  --resume-card-y: 11vh;
  --resume-card-scale: 1.08;
  --resume-sidebar-nudge: clamp(-34px, -2vw, -16px);
  --resume-card-rotate: 0deg;
  --resume-content-opacity: 0;
  --resume-content-y: 32px;
  --resume-actions-opacity: 0;
  position: relative;
  min-height: 128vh;
  padding-bottom: clamp(8px, 2vw, 28px);
}

.resume-panel-heading span,
.resume-meta,
.timeline-period,
.selected-projects h4 {
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
}

.resume-shell {
  position: sticky;
  top: 96px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 26%) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
  align-items: start;
  min-height: calc(100vh - 126px);
  margin-top: 0;
  padding-top: clamp(18px, 3vw, 42px);
}

.resume-sidebar {
  position: relative;
  display: grid;
  gap: 18px;
  align-self: start;
  width: min(100%, clamp(330px, 27vw, 530px));
  justify-self: start;
  transform:
    translateX(calc(var(--resume-card-x) + var(--resume-sidebar-nudge)))
    translateY(var(--resume-card-y))
    scale(var(--resume-card-scale));
  transition: transform 80ms linear;
  will-change: transform;
}

.resume-profile-card {
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(var(--resume-card-rotate));
  transition: border-color 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.resume-profile-card:hover {
  border-color: transparent;
  box-shadow: none;
}

.resume-photo-card {
  --id-rotate-x: 0deg;
  --id-rotate-y: 0deg;
  --id-glare-x: 50%;
  --id-glare-y: 50%;
  position: relative;
  width: clamp(330px, 26vw, 500px);
  aspect-ratio: 1161 / 1355;
  height: auto;
  margin-inline: 0 auto;
  max-height: none;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  perspective: 1200px;
}

.resume-id-card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  transform:
    rotateX(var(--id-rotate-x))
    rotateY(var(--id-rotate-y))
    scale(1.06)
    translateZ(0);
  transform-style: preserve-3d;
  transition: transform 220ms ease, filter 220ms ease;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.46));
  will-change: transform;
}

.resume-id-card-3d::before {
  position: absolute;
  inset: 8% 8% 2%;
  z-index: -1;
  border-radius: 40% 40% 18% 18%;
  background: rgba(151, 54, 255, 0.24);
  content: "";
  filter: blur(34px);
  opacity: 0.72;
  transform: translateZ(-42px);
}

.resume-id-card-3d img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.03);
  transform: translateZ(34px) scale(1.02);
}

.resume-id-card-3d .resume-id-card-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  filter:
    brightness(1.55)
    contrast(1.08)
    saturate(1.04)
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.28));
  mix-blend-mode: screen;
  clip-path: polygon(-18% 0, -10% 0, 18% 100%, 10% 100%);
  transform: translateZ(48px) scale(1.02);
}

.resume-id-card-scene.is-revealing .resume-id-card-shine {
  opacity: 0.34;
  animation: resumeIdImageSweep 1.85s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.resume-id-card-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 0;
  background:
    linear-gradient(
      112deg,
      transparent 0 47%,
      rgba(255, 255, 255, 0.34) 49%,
      rgba(205, 182, 255, 0.46) 50%,
      rgba(255, 255, 255, 0.24) 51.5%,
      transparent 54% 100%
    ),
    radial-gradient(circle at var(--id-glare-x) var(--id-glare-y), rgba(255, 255, 255, 0.14), transparent 22%);
  background-position: -120% center, center;
  background-size: 220% 100%, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: none;
  -webkit-mask: url("generated-assets/portfolio/resume-id-card-3d.png") center / contain no-repeat;
  mask: url("generated-assets/portfolio/resume-id-card-3d.png") center / contain no-repeat;
}

.resume-id-card-scene.is-revealing .resume-id-card-glare {
  opacity: 0.38;
  animation: resumeIdGlareSweep 1.85s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.resume-sidebar-photo {
  transition: transform 260ms ease;
}

.resume-panel {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--panel);
}

.resume-sidebar-copy {
  display: grid;
  gap: 12px;
  padding: 18px 16px 10px;
}

.resume-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.resume-sidebar-copy h3 {
  margin: 0;
  font-size: clamp(1.48rem, 1.72vw, 2.05rem);
  line-height: 1.06;
}

.resume-sidebar-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.resume-role-label {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink) !important;
  font-size: 0.78rem;
  font-weight: 700;
}

.resume-years-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--pixel-accent) 58%, rgba(255, 255, 255, 0.18));
  border-radius: 999px;
  background: color-mix(in srgb, var(--pixel-accent) 18%, transparent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.resume-meta-list {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.resume-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  font-size: 0.78rem;
}

.resume-meta strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 700;
  text-transform: none;
}

.resume-actions {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  opacity: var(--resume-actions-opacity);
  pointer-events: none;
  transform: translateY(calc((1 - var(--resume-actions-opacity)) * 10px));
  transition: opacity 160ms ease, transform 160ms ease;
}

.resume-section.is-card-settled .resume-actions {
  display: grid;
  pointer-events: auto;
}

.resume-actions .solid-btn,
.resume-actions .line-btn {
  min-height: 48px;
  border-radius: 999px;
}

.resume-actions .solid-btn {
  color: #fff;
}

.resume-content {
  display: grid;
  gap: 18px;
  opacity: var(--resume-content-opacity);
  transform: translateY(var(--resume-content-y));
  pointer-events: none;
  transition: opacity 80ms linear, transform 80ms linear;
}

.resume-panel {
  padding: clamp(22px, 3vw, 38px);
  scroll-margin-top: 120px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.resume-section.is-stage-active .resume-content {
  pointer-events: auto;
}

.resume-section.is-stage-active .resume-panel {
  opacity: 1;
  transform: translateY(0);
}

.resume-section.is-stage-active .resume-education {
  transition-delay: 80ms;
}

.resume-section.is-stage-active .resume-experience {
  transition-delay: 180ms;
}

.resume-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.resume-panel-heading span {
  order: 2;
  color: var(--dim);
  font-size: 0.78rem;
  text-align: right;
}

.resume-panel-heading h3 {
  order: 1;
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  line-height: 1;
}

.experience-detail-inner {
  border: 1px solid var(--line);
  border-radius: calc(var(--card-radius) - 10px);
  background: rgba(255, 255, 255, 0.025);
}

.education-meta,
.responsibility-index {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.education-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(180px, 1fr) minmax(210px, 1.05fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  padding: 0;
}

.education-card h4 {
  margin: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
}

.education-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  font-weight: 650;
  line-height: 1.75;
}

.education-period {
  justify-self: center;
}

.education-period .education-meta {
  color: var(--muted);
  font-family: inherit;
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  font-weight: 650;
  text-transform: none;
}

.education-degree {
  justify-self: end;
  text-align: right;
}

.experience-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.experience-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.experience-timeline::before {
  display: none;
}

.experience-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(12, 11, 20, 0.82);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.experience-card::before {
  position: absolute;
  inset: -3px;
  z-index: -2;
  background:
    conic-gradient(from var(--flow-angle, 0deg), transparent 0 12%, rgba(130, 59, 255, 0.98) 21%, rgba(224, 205, 255, 0.98) 29%, rgba(160, 92, 255, 0.98) 37%, transparent 50% 100%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.experience-card::after {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(22, 20, 32, 0.96), rgba(13, 12, 22, 0.96));
  content: "";
}

.experience-card:hover,
.experience-card.is-expanded {
  border-color: rgba(178, 120, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(178, 120, 255, 0.44);
}

.experience-card:hover::before,
.experience-card.is-expanded::before {
  opacity: 1;
  animation: experienceBorderFlow 2.4s linear infinite;
}

.experience-card-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: clamp(10px, 1.4vw, 18px);
  align-items: center;
  padding: clamp(16px, 1.8vw, 22px) clamp(16px, 2vw, 24px);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.experience-card-dots {
  color: rgba(246, 244, 238, 0.28);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.experience-status-dot {
  width: 22px;
  height: 12px;
  border: 1px solid rgba(158, 92, 255, 0.5);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 0 12px rgba(155, 92, 255, 0.18);
}

.experience-card.is-expanded .experience-status-dot {
  border-color: rgba(206, 174, 255, 0.9);
  background: #9b5cff;
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.74), 0 0 34px rgba(155, 92, 255, 0.34);
}

.experience-card-title {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.experience-card-title strong {
  overflow: hidden;
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  font-weight: 820;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-card-title small {
  color: var(--muted);
  font-size: 0.78em;
}

.experience-card-title em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-card-period {
  color: rgba(246, 244, 238, 0.62);
  font-family: var(--mono);
  font-size: 0.78rem;
  white-space: nowrap;
}

.experience-card-action {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(246, 244, 238, 0.74);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.experience-card:hover .experience-card-action,
.experience-card.is-expanded .experience-card-action {
  border-color: rgba(157, 94, 255, 0.66);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(157, 94, 255, 0.22);
}

.experience-card-body {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 26px) clamp(16px, 2vw, 24px);
  animation: experienceCardReveal 260ms ease both;
}

.experience-card-body[hidden] {
  display: none;
}

.experience-card-main {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 58px);
  padding-top: clamp(16px, 1.8vw, 22px);
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

.experience-card-section {
  display: grid;
  align-content: start;
  gap: 12px;
}

.experience-card-section > span {
  color: rgba(246, 244, 238, 0.35);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.experience-card-section > p {
  margin: 0;
  color: rgba(246, 244, 238, 0.7);
  font-size: clamp(0.88rem, 0.98vw, 1rem);
  font-weight: 560;
  line-height: 1.75;
}

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

.experience-work-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: start;
}

.experience-work-list li > span {
  grid-row: span 2;
  color: #b989ff;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.experience-work-list strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.experience-work-list p {
  margin: 0 0 8px;
  color: rgba(246, 244, 238, 0.62);
  font-size: 0.84rem;
  font-weight: 520;
  line-height: 1.68;
}

.experience-work-list p:last-child {
  margin-bottom: 0;
}

.experience-company-logo {
  display: grid;
  width: min(230px, 78%);
  min-height: 92px;
  place-items: center;
  margin: 0 0 8px;
  padding: 10px 18px;
  border: 1px solid rgba(180, 127, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 233, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.experience-company-logo img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  object-fit: contain;
}

.experience-detail {
  display: none;
}

.timeline-button {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 24px auto;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--dim);
  border-radius: 50%;
  background: var(--surface);
}

.timeline-button.is-active .timeline-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.timeline-button.is-active::before {
  position: absolute;
  top: 11px;
  right: -24px;
  left: 12px;
  z-index: 0;
  height: 1px;
  background: var(--accent);
  content: "";
}

.timeline-button:last-child::before {
  display: none;
}

.timeline-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 12px;
}

.timeline-content {
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
}

.timeline-button.is-active .timeline-content {
  color: var(--ink);
}

.timeline-period {
  font-size: 0.72rem;
}

.timeline-company {
  font-weight: 760;
  line-height: 1.45;
}

.timeline-role {
  color: var(--muted);
  font-size: 0.86rem;
}

.experience-detail {
  min-height: 560px;
  transition: opacity 340ms ease, transform 340ms ease;
}

.experience-detail.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.experience-detail-inner {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.2vw, 28px);
}

.experience-header {
  display: grid;
  gap: 10px;
}

.experience-header h4 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.8rem);
  line-height: 1.08;
}

.experience-header h4 small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}

.experience-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-meta span,
.education-tags span,
.selected-projects a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.experience-meta span,
.education-tags span {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.8rem;
}

.responsibility-list {
  display: grid;
  gap: 0;
}

.responsibility-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: clamp(10px, 1vw, 14px);
  padding: clamp(12px, 1.45vw, 18px) 0;
  border-top: 1px solid var(--line);
}

.responsibility-item h5 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  font-weight: 780;
  letter-spacing: 0;
}

.responsibility-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1vw, 1.08rem);
  font-weight: 620;
  line-height: 1.78;
}

.responsibility-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: clamp(0.92rem, 0.98vw, 1.05rem);
  font-weight: 620;
  line-height: 1.72;
}

.responsibility-points li {
  position: relative;
  padding-left: 18px;
}

.responsibility-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pixel-accent) 72%, #fff 18%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--pixel-accent) 38%, transparent);
  content: "";
}

.resume-highlight {
  color: var(--ink);
  font-weight: 820;
}

.selected-projects {
  display: grid;
  gap: 12px;
}

.selected-projects h4 {
  margin: 0;
  color: var(--dim);
  font-size: 0.76rem;
}

.selected-project-links,
.education-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-projects a {
  min-height: 34px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.experience-card-section .selected-project-links {
  display: flex;
  gap: 8px;
}

.experience-card-section .selected-project-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(180, 127, 255, 0.42);
  border-radius: 999px;
  background: rgba(155, 92, 255, 0.035);
  color: rgba(246, 244, 238, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.experience-card-section .selected-project-links a:hover {
  border-color: rgba(210, 184, 255, 0.92);
  background: rgba(155, 92, 255, 0.16);
  color: #fff;
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.selected-projects a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

.profile-image {
  position: relative;
  min-height: 230px;
  border-bottom: 1px solid var(--line);
  background: #101026;
  overflow: hidden;
}

.profile-copy {
  padding: 24px;
}

.profile-copy p {
  margin-bottom: 10px;
  font-weight: 600;
}

.profile-copy span {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.profile-copy a {
  font-family: var(--mono);
}

.about-accordion details {
  border-bottom: 1px solid var(--line);
}

.about-accordion details:last-child {
  border-bottom: 0;
}

summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.28rem, 2vw, 2rem);
  font-weight: 520;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--muted);
  content: "+";
  font-family: var(--mono);
  font-size: 1rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 28px 28px;
  color: var(--muted);
  line-height: 1.8;
}

.coding-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.coding-overview {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.coding-overview span {
  color: rgba(203, 181, 255, 0.72);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coding-overview h3 {
  max-width: 10.5em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.45vw, 3.2rem);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.coding-overview p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.75;
}

.coding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
  border: 0;
  background: transparent;
}

.coding-item {
  position: relative;
  min-width: 0;
  background: var(--panel);
  overflow: hidden;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.coding-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: clamp(320px, 25vw, 380px);
  grid-template-rows: auto auto;
  gap: 14px;
  padding: 20px 20px 72px;
}

.coding-card-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 34px;
  pointer-events: none;
}

.coding-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(203, 181, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(151, 54, 255, 0.95), rgba(203, 181, 255, 0.72));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}

.coding-item:hover .coding-card-link,
.coding-card-link:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(151, 54, 255, 0.26);
}

.coding-card-copy {
  display: grid;
  gap: 8px;
}

.coding-card-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.22vw, 1.46rem);
  font-weight: 760;
  line-height: 1.18;
  white-space: normal;
}

.coding-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 560;
  line-height: 1.72;
}

.coding-card-copy .coding-meta {
  display: none;
}

.coding-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.coding-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 320ms ease;
}

.coding-item:hover .coding-cover {
  border-color: rgba(203, 181, 255, 0.34);
  box-shadow: 0 22px 58px rgba(151, 54, 255, 0.12);
}

.coding-item:hover .coding-cover img {
  transform: scale(1.025);
}

.coding-item::before,
.project-card::before,
.resource-grid article::before {
  display: none;
  content: none;
}

.coding-item::after {
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1.5px dotted transparent;
  border-radius: calc(var(--card-radius) - 8px);
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.coding-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 280px;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  align-items: start;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 22px;
  text-align: left;
}

.coding-item:hover,
.coding-item.is-open {
  border-color: rgba(203, 181, 255, 0.58);
  background:
    radial-gradient(circle at 82% 8%, rgba(203, 181, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(151, 54, 255, 0.2), rgba(203, 181, 255, 0.08) 42%, rgba(12, 11, 30, 0.82)),
    var(--panel-strong);
  box-shadow:
    0 0 0 1px rgba(203, 181, 255, 0.18),
    0 24px 70px rgba(0, 0, 0, 0.28),
    0 18px 54px rgba(151, 54, 255, 0.18);
  transform: translateY(-4px);
}

.coding-item:hover::before,
.coding-item.is-open::before,
.project-card:hover::before,
.resource-grid article:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.coding-item:hover::after,
.coding-item.is-open::after {
  border-color: transparent;
  box-shadow: none;
}

.coding-item:hover .coding-thumb,
.coding-item.is-open .coding-thumb {
  border-color: rgba(151, 54, 255, 0.34);
}

.coding-index,
.coding-toggle {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.coding-index {
  display: none;
}

.coding-item:hover .coding-index,
.coding-item:hover .coding-toggle,
.coding-item.is-open .coding-index,
.coding-item.is-open .coding-toggle {
  color: var(--dim);
}

.coding-title {
  grid-column: 1 / -1;
  align-self: end;
  max-width: 8em;
  font-size: clamp(1.28rem, 1.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
}

.coding-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.coding-toggle {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 1.25rem;
}

.coding-thumb {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  display: grid;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, transparent 0 42%, var(--accent-soft) 44% 56%, transparent 58%),
    var(--panel);
  overflow: hidden;
}

.dashboard-thumb {
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 6px;
  padding: 8px;
}

.dashboard-thumb i,
.audio-thumb i,
.plugin-thumb i {
  border: 1px solid currentColor;
  opacity: 0.18;
}

.dashboard-thumb i:first-child {
  grid-row: span 2;
}

.nav-thumb {
  place-items: center;
  font-family: var(--mono);
  font-size: 0.86rem;
}

.audio-thumb,
.plugin-thumb {
  gap: 6px;
  padding: 8px;
}

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

.coding-detail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(22px);
  visibility: hidden;
  transition: max-height 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, transform 420ms ease, visibility 0ms linear 520ms;
}

.coding-item.is-open .coding-detail {
  max-height: 620px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: max-height 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, transform 420ms ease, visibility 0ms;
}

.coding-item:nth-child(even) .coding-detail {
  grid-template-columns: 1fr;
}

.coding-copy {
  padding: 0 22px 24px;
}

.coding-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 3rem);
  font-weight: 560;
}

.coding-copy p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.75;
}

.coding-copy a {
  display: inline-flex;
  margin-top: 10px;
  font-family: var(--mono);
}

.coding-item.is-open .coding-copy p,
.coding-item.is-open .tag-row span {
  color: var(--muted);
}

.coding-item.is-open .tag-row span,
.coding-item.is-open .mockup {
  border-color: var(--line-strong);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

.mockup {
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 16 / 8.8;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(255, 75, 22, 0.12) 43% 56%, transparent 60%),
    repeating-linear-gradient(110deg, rgba(54, 54, 48, 0.055) 0 1px, transparent 1px 12px),
    var(--panel);
  transform: none;
  transform-origin: center;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.coding-item:hover .mockup,
.coding-item.is-open .mockup {
  box-shadow: 0 22px 58px rgba(80, 140, 190, 0.1);
  transform: none;
}

.coding-item:nth-child(even) .mockup {
  order: 0;
}

.dashboard-mockup {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 10px;
  padding: 18px;
}

.dashboard-mockup span,
.plugin-mockup span,
.audio-mockup span {
  border: 1px solid rgba(54, 54, 48, 0.13);
  background: rgba(255, 255, 255, 0.36);
}

.dashboard-mockup span:first-child {
  grid-row: span 2;
}

.nav-mockup {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1.3rem;
}

.audio-mockup,
.plugin-mockup {
  display: grid;
  gap: 12px;
  padding: 18px;
}

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

.work-shell {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
  padding: 28px;
  border-right: 0;
}

.category-nav button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  padding: 0 18px;
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.category-nav button::after,
.company-tabs button::after {
  position: absolute;
  inset: 6px;
  border: 1.5px dotted transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color 160ms ease;
}

.category-nav button:hover::after,
.company-tabs button:hover::after {
  border-color: transparent;
}

.category-nav button span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.8rem;
  padding-left: 0;
}

.category-nav button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 52px rgba(151, 54, 255, 0.3);
}

.category-nav button.active span {
  color: rgba(255, 255, 255, 0.82);
}

.category-nav button:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.06);
}

.category-nav button.active:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #fff;
}

.category-nav button:disabled {
  opacity: 0.34;
  cursor: not-allowed;
  transform: none;
}

.company-tabs button:hover,
.project-view-toggle button:hover {
  border-color: rgba(151, 54, 255, 0.34);
  background: rgba(151, 54, 255, 0.09);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(151, 54, 255, 0.1);
}

.work-content {
  padding: 0 28px 28px;
}

.work-heading-row {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  align-items: center;
  margin-bottom: 18px;
}

.work-title-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.work-heading-row h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.8vw, 3.4rem);
  font-weight: 760;
  line-height: 1.02;
}

.work-heading-row p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.55;
}

.project-view-toggle {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.project-view-toggle button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.project-view-toggle button.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #fff;
  box-shadow: 0 12px 34px rgba(151, 54, 255, 0.24);
}

.company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.company-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 auto;
  border-block: 0;
}

.company-tabs button {
  position: relative;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.company-tabs button.active {
  background: rgba(151, 54, 255, 0.16);
  color: var(--ink);
  border-color: rgba(151, 54, 255, 0.46);
  box-shadow: 0 14px 40px rgba(151, 54, 255, 0.14);
}

.company-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  background: transparent;
  border: 0;
}

.company-meta span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.project-list {
  display: grid;
  gap: 14px;
  background: transparent;
  border: 0;
}

.project-list.is-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 170px;
  padding: 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.project-card:focus-visible {
  border-color: rgba(203, 181, 255, 0.72);
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(151, 54, 255, 0.22),
    0 18px 54px rgba(151, 54, 255, 0.16);
}

.project-list.is-card .project-card {
  min-height: clamp(420px, 32vw, 500px);
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.project-card:hover {
  border-color: rgba(185, 128, 255, 0.82);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(175, 112, 255, 0.28),
    0 18px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.project-card::before {
  position: absolute;
  inset: -3px;
  z-index: -2;
  display: block;
  border-radius: inherit;
  background:
    conic-gradient(from var(--flow-angle, 0deg), transparent 0 10%, rgba(130, 59, 255, 0.98) 19%, rgba(226, 210, 255, 0.98) 27%, rgba(163, 94, 255, 0.98) 36%, transparent 48% 100%);
  content: "";
  opacity: 0;
  transform: none;
  transition: opacity 220ms ease;
}

.project-card::after {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border: 0;
  border-radius: 23px;
  background:
    linear-gradient(135deg, rgba(18, 17, 28, 0.96), rgba(10, 10, 20, 0.98));
  content: "";
  pointer-events: none;
}

.resource-grid article::after {
  position: absolute;
  inset: 8px;
  border: 1.5px dotted transparent;
  content: "";
  pointer-events: none;
  transition: border-color 160ms ease;
}

.resource-grid article::after {
  border-radius: calc(var(--card-radius) - 8px);
}

.resource-grid article:hover::after {
  border-color: transparent;
}

.project-card:hover::before,
.project-card:focus-visible::before {
  opacity: 1;
  transform: none;
  animation: experienceBorderFlow 2.2s linear infinite;
}

.project-cover {
  position: relative;
  min-height: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 75, 22, 0.11) 44% 56%, transparent 58%),
    linear-gradient(135deg, rgba(18, 22, 20, 0.05), transparent 42%),
    var(--panel);
  overflow: hidden;
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-list.is-list .project-cover {
  max-width: none;
}

.project-list.is-card .project-cover {
  max-width: none;
}

.project-cover-2 {
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(151, 54, 255, 0.16) 45% 55%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 20px),
    var(--panel);
}

.project-cover-3 {
  background:
    radial-gradient(circle at 28% 35%, rgba(203, 181, 255, 0.22), transparent 14%),
    radial-gradient(circle at 74% 55%, rgba(151, 54, 255, 0.16), transparent 18%),
    var(--panel);
}

.project-cover-4 {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, transparent 0 44%, rgba(151, 54, 255, 0.13) 45% 58%, transparent 59%),
    var(--panel);
}

.project-copy {
  min-width: 0;
}

.project-card h4 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2vw, 2.2rem);
  font-weight: 560;
}

.project-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.7;
}

.project-card-link {
  align-self: end;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(203, 181, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(151, 54, 255, 0.95), rgba(203, 181, 255, 0.72));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}

.project-card:hover .project-card-link,
.project-card-link:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(151, 54, 255, 0.26);
}

.project-list.is-list .project-card-link {
  justify-self: end;
  align-self: center;
  margin-right: 12px;
}

.project-list.is-card .project-card-link {
  position: absolute;
  bottom: 22px;
  left: 22px;
}

.project-detail-main {
  padding-top: 92px;
}

.project-back-link {
  position: sticky;
  top: 104px;
  left: clamp(24px, 4.5vw, 72px);
  z-index: 25;
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(203, 181, 255, 0.34);
  border-radius: 999px;
  background: rgba(8, 8, 24, 0.72);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-back-link:hover {
  border-color: rgba(203, 181, 255, 0.72);
  background: rgba(151, 54, 255, 0.16);
  transform: translateY(-2px);
}

.back-to-top-btn {
  position: fixed;
  right: clamp(18px, 2.6vw, 34px);
  bottom: clamp(18px, 2.6vw, 34px);
  z-index: 80;
  display: inline-flex;
  width: 48px;
  height: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 181, 255, 0.46);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(151, 54, 255, 0.96), rgba(203, 181, 255, 0.72));
  color: #fff;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 16px 42px rgba(151, 54, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.back-to-top-btn:hover,
.back-to-top-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(151, 54, 255, 0.36);
  transform: translateY(-3px);
  outline: 0;
}

.project-page {
  padding-top: clamp(12px, 2vw, 28px);
}

.project-detail-title {
  justify-content: flex-start;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.project-detail-title h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
}

.project-detail-list {
  margin-bottom: clamp(34px, 4vw, 60px);
}

.project-reader {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
  margin-top: clamp(24px, 3vw, 42px);
  transition: grid-template-columns 240ms ease;
}

.project-reader.is-thumbs-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.project-thumb-panel {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 136px);
  min-width: 0;
  transition: opacity 220ms ease, transform 240ms ease;
}

.project-thumb-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 8;
  display: inline-flex;
  width: 38px;
  height: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(203, 181, 255, 0.34);
  border-radius: 50%;
  background: rgba(8, 8, 24, 0.78);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  backdrop-filter: blur(18px);
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.project-thumb-toggle:hover,
.project-thumb-toggle:focus-visible {
  border-color: rgba(203, 181, 255, 0.68);
  background: rgba(151, 54, 255, 0.14);
  box-shadow: 0 14px 34px rgba(151, 54, 255, 0.18);
  transform: translateY(-2px);
  outline: 0;
}

.project-reader.is-thumbs-collapsed .project-thumb-panel {
  position: absolute;
  width: min(320px, 30vw);
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-100% - 28px));
}

.project-reader:not(.is-thumbs-collapsed) .project-thumb-panel {
  grid-column: 1;
}

.project-reader:not(.is-thumbs-collapsed) .project-viewer {
  grid-column: 2;
}

.project-reader.is-thumbs-collapsed .project-thumbs {
  opacity: 0;
  pointer-events: none;
}

.project-reader.is-thumbs-collapsed .project-viewer {
  grid-column: 1;
}

.project-thumbs {
  display: grid;
  gap: 14px;
  padding-right: 4px;
  overflow: auto;
  transform: translateX(0);
  transition: opacity 220ms ease, transform 240ms ease;
}

.project-thumb {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.project-thumb:hover,
.project-thumb:focus-visible {
  border-color: rgba(203, 181, 255, 0.54);
  background: rgba(151, 54, 255, 0.11);
  color: var(--ink);
  transform: translateY(-2px);
  outline: 0;
}

.project-thumb.is-active {
  border-color: rgba(203, 181, 255, 0.66);
  background:
    radial-gradient(circle at 88% 8%, rgba(203, 181, 255, 0.24), transparent 32%),
    rgba(151, 54, 255, 0.17);
  box-shadow: 0 18px 50px rgba(151, 54, 255, 0.16);
  color: var(--ink);
}

.project-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
}

.project-thumb span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.project-thumb strong {
  font-size: 1rem;
  line-height: 1.25;
}

.project-thumb small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.55;
}

.project-empty,
.pdf-empty {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.project-empty {
  padding: 24px;
}

.pdf-empty {
  padding: clamp(28px, 5vw, 70px);
  text-align: center;
}

.project-detail-list .project-card.is-active {
  border-color: rgba(203, 181, 255, 0.56);
  box-shadow:
    0 0 0 1px rgba(151, 54, 255, 0.18),
    0 18px 54px rgba(151, 54, 255, 0.16);
}

.project-detail-list .project-card-link {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-viewer {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(78vh, 920px);
  min-height: 680px;
  border: 0;
  background: #111;
}

.pdf-page-stack {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  padding: 0;
  background: transparent;
}

.pdf-page {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pdf-page img {
  display: block;
  width: 100%;
  height: auto;
}

.coding-video-shell {
  background: #020b12;
}

.coding-video-shell video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #020b12;
}

.coding-detail-summary {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background:
    radial-gradient(circle at 88% 12%, rgba(151, 54, 255, 0.2), transparent 32%),
    rgba(255, 255, 255, 0.045);
}

.coding-detail-summary > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.coding-detail-summary h3 {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.25vw, 3rem);
  line-height: 1.12;
  white-space: nowrap;
}

.coding-detail-summary p {
  margin: 0;
  max-width: 940px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 560;
  line-height: 1.75;
}

.coding-detail-warning {
  padding: 14px 16px;
  border: 1px solid rgba(203, 181, 255, 0.18);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
}

.coding-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.coding-detail-columns h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
}

.coding-detail-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.62;
}

.coding-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coding-detail-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(203, 181, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(151, 54, 255, 0.95), rgba(203, 181, 255, 0.72));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.coding-download-code {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.coding-detail-shell {
  grid-template-columns: 1fr;
}

.coding-detail-page .work-content {
  padding-top: clamp(30px, 3.5vw, 52px);
}

.coding-detail-page .work-heading-row {
  margin-bottom: clamp(28px, 3vw, 42px);
}

.solid-btn.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.resources-section {
  margin-bottom: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  overflow: visible;
}

.resource-grid.active {
  display: grid;
}

.resource-grid article {
  position: relative;
  height: 300px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.resource-grid article:hover {
  z-index: 5;
  border-color: rgba(203, 181, 255, 0.68);
  background: #9736ff;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(203, 181, 255, 0.26),
    0 30px 84px rgba(0, 0, 0, 0.34),
    0 22px 70px rgba(151, 54, 255, 0.36);
  transform: translateY(-8px);
}

.resource-grid article:hover p,
.resource-grid article:hover a {
  color: rgba(255, 255, 255, 0.82);
}

.resource-grid article:hover .resource-image {
  border-color: rgba(203, 181, 255, 0.62);
  filter: none;
  opacity: 1;
  transform: translateY(0);
}

.resource-image {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  min-height: 0;
  height: 118px;
  opacity: 0;
  transform: translateY(-18px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(255, 75, 22, 0.09) 43% 56%, transparent 60%),
    linear-gradient(135deg, rgba(18, 22, 20, 0.04), transparent 46%),
    var(--panel);
  transition: opacity 180ms ease, transform 220ms ease, border-color 180ms ease;
}

.resource-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-feishu {
  background: #f6f7f9;
}

.image-baidu-prompts {
  background: #050506;
}

.image-yuque-knowledge {
  background: #eefbf3;
}

.image-figma-guideline {
  background: #eef3ff;
}

.resource-grid h3,
.resource-grid p {
  position: relative;
  z-index: 2;
  margin-inline: 24px;
  text-align: left;
}

.resource-grid h3 {
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 560;
  transition: margin-top 220ms ease, color 180ms ease;
}

.resource-grid article:hover h3 {
  margin-top: 132px;
}

.resource-grid p {
  max-width: calc(100% - 48px);
  margin-top: 0;
  margin-bottom: 56px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.7;
  display: -webkit-box;
  max-height: 3.4em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-grid small {
  display: none;
}

.resource-grid a {
  display: inline-flex;
  position: absolute;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 4;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 22, 0.18);
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.resource-grid article:hover a {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.image-lines {
  background:
    radial-gradient(circle at 92% 54%, var(--accent) 0 8px, transparent 9px),
    repeating-linear-gradient(135deg, rgba(17,17,17,0.12) 0 1px, transparent 1px 16px),
    var(--panel);
}

.image-grid {
  background:
    linear-gradient(90deg, rgba(17,17,17,0.1) 1px, transparent 1px),
    linear-gradient(rgba(17,17,17,0.1) 1px, transparent 1px),
    var(--panel);
  background-size: 28px 28px;
}

.image-system {
  background:
    radial-gradient(circle at 24% 32%, rgba(17,17,17,0.16) 0 22px, transparent 23px),
    radial-gradient(circle at 68% 56%, rgba(17,17,17,0.12) 0 34px, transparent 35px),
    var(--panel);
}

.image-observe {
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(17,17,17,0.12) 23% 44%, transparent 45%),
    linear-gradient(20deg, rgba(255,75,22,0.12), transparent 48%),
    var(--panel);
}

.image-plugin {
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(17,17,17,0.14) 43% 57%, transparent 58%),
    linear-gradient(0deg, transparent 0 42%, rgba(17,17,17,0.14) 43% 57%, transparent 58%),
    var(--panel);
}

.image-kit {
  background:
    repeating-linear-gradient(90deg, rgba(17,17,17,0.12) 0 42px, transparent 42px 54px),
    var(--panel);
}

.image-prompt {
  background:
    radial-gradient(circle, rgba(17,17,17,0.14) 0 2px, transparent 3px) 0 0 / 22px 22px,
    var(--panel);
}

.image-ai {
  background:
    conic-gradient(from 90deg at 50% 50%, rgba(255,75,22,0.18), transparent, rgba(17,17,17,0.1), transparent),
    var(--panel);
}

.contact-section {
  position: relative;
  padding: clamp(68px, 8vw, 108px) 0 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 82%, rgba(151, 54, 255, 0.14), transparent 28vw),
    #050516;
}

.contact-section .section-title {
  position: relative;
  z-index: 2;
  margin-right: 56px;
  margin-left: 56px;
}

.contact-bends {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(151, 54, 255, 0.32), transparent 32vw),
    radial-gradient(circle at 22% 86%, rgba(203, 181, 255, 0.14), transparent 26vw),
    #050516;
  opacity: 0.78;
  pointer-events: none;
}

.contact-bends canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-simple {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, 0.64fr) minmax(150px, 0.3fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  width: 100vw;
  min-height: clamp(260px, 24vw, 360px);
  margin-left: calc(50% - 50vw);
  padding: clamp(34px, 5vw, 70px) clamp(56px, 6vw, 112px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.contact-simple::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 22, 0.3), rgba(5, 5, 22, 0.16) 48%, rgba(5, 5, 22, 0.24)),
    rgba(0, 0, 0, 0.12);
  content: "";
  pointer-events: none;
}

.contact-intro {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  justify-items: start;
}

.contact-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.32vw, 1.46rem);
  font-weight: 760;
  line-height: 1.72;
}

.contact-list {
  position: relative;
  z-index: 2;
  display: grid;
  justify-self: start;
  gap: 16px;
  min-width: min(100%, 320px);
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

@property --flow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.contact-list a {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  color: var(--ink);
}

.contact-list small {
  color: rgba(246, 244, 238, 0.54);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-list span {
  font-size: clamp(0.98rem, 1.08vw, 1.16rem);
  font-weight: 700;
}

.contact-primary {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(203, 181, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(151, 54, 255, 0.96), rgba(203, 181, 255, 0.72));
  color: #fff;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 18px 48px rgba(151, 54, 255, 0.22);
}

.contact-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 64px rgba(151, 54, 255, 0.3);
}

.contact-qr {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  justify-items: center;
  justify-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.contact-copy,
.contact-links,
.qr-card {
  display: none;
}

.contact-links p {
  display: grid;
  grid-template-columns: 44px minmax(56px, auto) 1fr;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.contact-links p:last-child {
  border-bottom: 0;
}

.contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 1.4rem;
}

.contact-links small {
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-links strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.15vw, 1.24rem);
  font-weight: 760;
  letter-spacing: 0;
}

.qr-card {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.qr-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.qr-placeholder,
.qr-image {
  width: clamp(132px, 10vw, 180px);
  aspect-ratio: 1;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.qr-placeholder {
  background:
    linear-gradient(90deg, #fff 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(#fff 12px, transparent 12px) 0 0 / 24px 24px,
    #050516;
  border: 18px solid rgba(255, 255, 255, 0.08);
}

.qr-image {
  display: block;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.92);
  background: #fff;
}

.footer {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  padding: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.footer a {
  justify-self: end;
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 760ms ease, transform 760ms ease;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

@keyframes loaderProgress {
  to {
    transform: translateX(0);
  }
}

@keyframes loaderMarkIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderRule {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes resumeIdGlareSweep {
  0% {
    opacity: 0.18;
    background-position: -120% center, center;
  }

  52% {
    opacity: 0.42;
    background-position: 115% center, center;
  }

  100% {
    opacity: 0.18;
    background-position: 145% center, center;
  }
}

@keyframes resumeIdImageSweep {
  0% {
    opacity: 0;
    clip-path: polygon(-22% 0, -14% 0, 14% 100%, 6% 100%);
  }

  18% {
    opacity: 0.34;
  }

  58% {
    opacity: 0.32;
    clip-path: polygon(42% 0, 50% 0, 78% 100%, 70% 100%);
  }

  100% {
    opacity: 0;
    clip-path: polygon(76% 0, 84% 0, 112% 100%, 104% 100%);
  }
}

@keyframes experienceBorderFlow {
  to {
    --flow-angle: 360deg;
  }
}

@keyframes experienceCardReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes softReveal {
  to {
    opacity: 1;
  }
}

@keyframes softRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleLift {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes markIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes helloArrive {
  0% {
    opacity: 0;
    transform: rotateX(28deg) rotateZ(-8deg) translate3d(-28px, 60px, 0) scale(0.72);
  }

  68% {
    opacity: 0.94;
    transform: rotateX(14deg) rotateZ(-2deg) translate3d(0, -8px, 0) scale(1.03);
  }

  100% {
    opacity: 0.92;
    transform: rotateX(16deg) rotateZ(-3deg) translate3d(0, 0, 0) scale(1);
  }
}

@keyframes helloFloat {
  0%,
  100% {
    transform: rotateX(16deg) rotateZ(-3deg) translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: rotateX(13deg) rotateZ(-1deg) translate3d(0, -18px, 0) scale(1.015);
  }
}

@keyframes helloShine {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-18%) rotate(-18deg);
  }

  36% {
    opacity: 0.88;
  }

  68% {
    opacity: 0;
    transform: translateX(42%) rotate(-18deg);
  }
}

@keyframes stampIn {
  to {
    opacity: 0.72;
    transform: rotate(-12deg) scale(1);
  }
}

@keyframes arrowIn {
  to {
    opacity: 1;
    transform: rotate(24deg) translateY(0) scale(1);
  }
}

@keyframes arrowBob {
  0%,
  100% {
    transform: rotate(24deg) translateY(0) scale(1);
  }

  50% {
    transform: rotate(20deg) translateY(-14px) scale(1.02);
  }
}

@keyframes stickerPop {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: rotate(var(--sticker-rotate, 0deg)) translateY(18px) scale(0.62);
  }

  100% {
    opacity: 0.88;
    filter: blur(0);
    transform: rotate(var(--sticker-rotate, 0deg)) translateY(0) scale(1);
  }
}

@keyframes charReveal {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(0.9em);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes signDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pixelTrail {
  0% {
    opacity: 0.96;
    transform: translate(-50%, -50%) scale(1);
  }

  56% {
    opacity: 0.58;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--trail-x, 0px)), calc(-50% + var(--trail-y, 0px))) scale(0.24);
  }
}

.char {
  display: inline-block;
  opacity: 0;
  animation: charReveal 460ms cubic-bezier(0.22, 1, 0.36, 1) calc(1500ms + var(--char-delay)) forwards;
}

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

  .cursor-dot,
  .pointer-light {
    display: none;
  }

  .resume-section {
    --resume-progress: 1 !important;
    --resume-card-x: 0px !important;
    --resume-card-y: 0px !important;
    --resume-card-scale: 1 !important;
    --resume-card-rotate: -3.6deg !important;
    --resume-content-opacity: 1 !important;
    --resume-content-y: 0px !important;
    --resume-actions-opacity: 1 !important;
  }

  .resume-sidebar,
  .resume-profile-card,
  .resume-content,
  .experience-detail {
    transform: none !important;
  }

  .resume-content,
  .resume-panel {
    opacity: 1 !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .pointer-light,
  .cursor-trail,
  .resume-id-card-glare {
    display: none;
  }
}

@media (min-width: 1101px) and (max-width: 1600px) {
  .resume-section {
    --resume-sidebar-nudge: -30px;
  }

  .resume-shell {
    grid-template-columns: minmax(260px, 27%) minmax(0, 1fr);
    gap: clamp(18px, 2vw, 28px);
  }

  .resume-sidebar {
    width: min(100%, 500px);
  }

  .resume-photo-card {
    width: clamp(380px, 30vw, 490px);
  }

  .resume-id-card-3d {
    transform:
      rotateX(var(--id-rotate-x))
      rotateY(var(--id-rotate-y))
      scale(1.06)
      translateZ(0);
  }
}

@media (min-width: 1601px) {
  .resume-sidebar {
    width: min(100%, clamp(400px, 25vw, 540px));
  }

  .resume-photo-card {
    width: clamp(380px, 24vw, 520px);
  }
}

@media (max-width: 1100px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 10px;
    padding: 12px 18px;
    color: #fff;
  }

  .topbar .brand,
  .download-btn {
    position: relative;
    right: auto;
    left: auto;
  }

  .topbar.is-scrolled {
    color: #fff;
  }

  .brand::after,
  .brand span::before,
  .brand span::after {
    display: none;
  }

  .topnav {
    justify-content: start;
    overflow-x: auto;
  }

  .download-btn {
    width: max-content;
  }

  .hero,
  .work-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    min-height: auto;
    grid-template-columns: minmax(260px, 0.9fr) minmax(240px, 0.62fr);
    gap: 26px 40px;
    padding: 132px 48px 72px;
    background-position: center;
  }

  .contact-copy {
    min-height: auto;
  }

  .contact-links {
    width: 100%;
  }

  .hero {
    min-height: 100svh;
    padding: 124px 18px 38px;
  }

  .hero-split-layout {
    min-height: calc(100svh - 162px);
  }

  .hero-intro-row,
  .hero-copy-row,
  .hero-bottom-row {
    grid-template-columns: 1fr;
  }

  .hero-intro-row {
    gap: 16px;
    margin-top: 12px;
  }

  .hero-copy-row {
    gap: 14px;
    margin-top: clamp(132px, 26vh, 210px);
    margin-bottom: auto;
  }

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

  .immersive-title {
    font-size: clamp(3rem, 13vw, 6.6rem);
  }

  .hero-role-title {
    font-size: clamp(2.5rem, 10.5vw, 5.2rem);
  }

  .hero-name-title {
    justify-items: start;
    font-size: clamp(2.4rem, 10vw, 4.8rem);
  }

  .hero-bottom-row {
    gap: 16px;
  }

  .hero-glass-btn {
    justify-self: start;
  }

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

  .hero-info-grid p,
  .hero-info-grid p:nth-child(1),
  .hero-info-grid p:nth-child(2),
  .hero-info-grid p:nth-child(3) {
    grid-column: 1;
  }

  .resume-shell {
    grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
    gap: 24px;
  }

  .education-card {
    grid-template-columns: minmax(120px, 0.8fr) minmax(150px, 0.9fr) minmax(180px, 1fr);
    gap: 18px;
  }

  .section-title {
    gap: 10px;
  }

  .section-title p {
    margin-bottom: 0;
  }

  .category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-heading-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .resume-panel-heading,
  .education-card,
  .experience-layout {
    grid-template-columns: 1fr;
  }

  .experience-timeline {
    grid-template-columns: 1fr;
  }

  .experience-timeline::before,
  .timeline-button.is-active::before {
    display: none;
  }

  .hero-hello {
    top: 36%;
    left: 4%;
    width: 100vw;
    height: 32vh;
  }

  .hero-hello span {
    font-size: clamp(8rem, 34vw, 18rem);
  }

  .hero-side-tab {
    display: none;
  }

  .hero-stamp {
    top: 19%;
    right: 8%;
    width: 88px;
    border-width: 6px;
  }

  .hero-blue-arrow {
    right: 7%;
    bottom: 12%;
    width: 92px;
  }

  .hero-image-frame {
    min-height: 420px;
  }

  .coding-detail,
  .coding-item:nth-child(even) .coding-detail {
    grid-template-columns: 1fr;
  }

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

  .coding-overview {
    position: relative;
    top: auto;
  }

  .coding-overview h3,
  .coding-overview p {
    max-width: 720px;
  }

  .coding-card {
    min-height: 340px;
  }

  .company-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .coding-trigger {
    gap: 12px;
  }

  .coding-thumb {
    min-height: 120px;
  }

  .coding-item:nth-child(even) .mockup {
    order: 0;
    border-left: 0;
  }

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

  .project-list.is-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-nav {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-nav button {
    min-width: max-content;
    padding-right: 20px;
  }
}

@media (max-width: 720px) {
  main,
  .topbar,
  .footer {
    width: 100%;
  }

  .loader-mark strong {
    max-width: 300px;
    font-size: 1.02rem;
    letter-spacing: 0.14em;
  }

  .loader-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

  .topbar {
    min-height: auto;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(3.3rem, 16vw, 6.2rem);
  }

  .hero-intro-row p:nth-child(2) {
    max-width: 92%;
  }

  .hero-kicker {
    font-size: clamp(0.92rem, 5vw, 1.28rem);
  }

  .hero-bottom-row {
    align-items: start;
  }

  .hero-note {
    text-transform: none;
  }

  .hero-mark {
    width: 58px;
    border-radius: 18px;
  }

  .hero-info-lead {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .hero-info-grid {
    gap: 8px;
  }

  .topnav {
    gap: 18px;
  }

  .download-btn {
    display: none;
  }

  .numbered-section {
    padding-inline: 18px;
  }

  .selected-showcase-stage {
    display: grid;
    grid-auto-columns: minmax(250px, 76vw);
    grid-auto-flow: column;
    gap: 14px;
    min-height: auto;
    margin-inline: -18px;
    padding: 10px 18px 24px;
    overflow-x: auto;
    perspective: none;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }

  .selected-showcase-stage::-webkit-scrollbar {
    display: none;
  }

  .selected-feature-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 340px;
    scroll-snap-align: center;
    transform: none;
  }

  .selected-feature-card:not(.is-active) {
    opacity: 1;
    filter: none;
  }

  .selected-showcase-controls {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .selected-showcase-status {
    order: -1;
    min-width: 0;
  }

  .selected-control-btn {
    min-height: 48px;
  }

  .contact-section {
    padding-inline: 0;
  }

  .contact-section .section-title {
    margin-right: 18px;
    margin-left: 18px;
  }

  .contact-simple {
    grid-template-columns: 1fr;
    margin-inline: 18px;
  }

  .contact-primary {
    justify-self: start;
  }

  .hud-bottom {
    right: 18px;
    bottom: 14px;
    left: 18px;
    font-size: 0.68rem;
  }

  .section-title {
    gap: 8px;
  }

  .section-title p {
    font-size: 0.7rem;
    white-space: normal;
  }

  .section-title span {
    font-size: 0.64rem;
  }

  .section-title h2 {
    font-size: clamp(1.62rem, 8.7vw, 3.1rem);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .index-deck-section {
    min-height: auto;
    padding: 44px 0 58px;
  }

  .index-deck-copy {
    justify-items: start;
    padding-inline: 18px;
    text-align: left;
  }

  .index-deck {
    display: grid;
    grid-auto-columns: minmax(212px, 68vw);
    grid-auto-flow: column;
    gap: 14px;
    width: 100%;
    height: auto;
    margin-top: 24px;
    padding: 12px 18px 24px;
    overflow-x: auto;
    perspective: none;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .index-deck::-webkit-scrollbar {
    display: none;
  }

  .index-card,
  .index-card:hover,
  .index-card:focus-visible,
  .index-card.is-active {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    scroll-snap-align: center;
    transform: none;
  }

  .index-card::before {
    opacity: 0.34;
    transform: translateY(18px) scale(0.9);
  }

  .index-card::after {
    display: none;
  }

  .resume-section {
    --resume-progress: 1 !important;
    --resume-card-x: 0px !important;
    --resume-card-y: 0px !important;
    --resume-card-scale: 1 !important;
    --resume-card-rotate: 0deg !important;
    --resume-content-opacity: 1 !important;
    --resume-content-y: 0px !important;
    --resume-actions-opacity: 1 !important;
    min-height: auto;
  }

  .resume-shell {
    display: grid;
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    margin-top: 0;
    transform: none;
    min-height: auto;
  }

  .resume-sidebar {
    position: static;
    transform: none;
  }

  .resume-profile-card {
    transform: none;
  }

  .resume-photo-card {
    width: 100%;
  }

  .resume-id-card-3d {
    width: 100%;
    transform: none;
  }

  .resume-sidebar-photo {
    min-height: 340px;
  }

  .resume-actions {
    grid-template-columns: 1fr;
  }

  .resume-panel {
    opacity: 1;
    transform: none;
    padding: 20px;
  }

  .education-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .education-period,
  .education-degree {
    justify-self: start;
    text-align: left;
  }

  .resume-content {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .resume-actions {
    pointer-events: auto;
  }

  .experience-card-toggle {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .experience-card-period {
    grid-column: 3 / 5;
    justify-self: start;
    font-size: 0.68rem;
  }

  .experience-company-logo {
    min-height: 104px;
  }

  .category-nav {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .category-nav button {
    min-height: 54px;
    justify-content: flex-start;
  }

  .responsibility-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .experience-detail {
    min-height: auto;
  }

  .coding-grid,
  .project-list.is-card,
  .resource-grid,
  .company-meta,
  .footer {
    grid-template-columns: 1fr;
  }

  .coding-trigger {
    min-height: 240px;
  }

  .coding-card {
    min-height: 330px;
  }

  .coding-card-copy h3 {
    white-space: normal;
  }

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

  .pdf-frame {
    min-height: 560px;
  }

  .project-back-link {
    position: static;
    margin: 18px 18px 0;
  }

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

  .project-reader.is-thumbs-collapsed {
    grid-template-columns: 1fr;
  }

  .project-thumb-panel {
    position: static;
    width: auto;
    max-height: none;
  }

  .project-thumb-toggle {
    top: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    transform: none;
  }

  .project-thumb-toggle:hover,
  .project-thumb-toggle:focus-visible {
    transform: translateY(-2px);
  }

  .project-reader.is-thumbs-collapsed .project-thumb-panel {
    display: none;
  }

  .project-reader.is-thumbs-collapsed .project-thumb-toggle {
    width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 50%;
    transform: none;
  }

  .project-thumbs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }

  .contact-grid {
    border-radius: 0;
    grid-template-columns: 1fr;
    padding: 108px 28px 42px;
  }

  .contact-links p {
    grid-template-columns: 34px 46px 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .work-heading-row {
    grid-template-columns: 1fr;
  }

  .coding-detail-summary h3 {
    white-space: normal;
  }

  .topnav a {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-card,
  .index-card::before,
  .index-card::after {
    transition: none;
  }
}

@media (max-width: 620px) {
  .experience-card-main {
    grid-template-columns: 1fr;
  }
}

/* Uploaded selected-project cover. */
.selected-card-cover-image::before,
.selected-card-cover-image::after { display: none; }
.selected-card-cover-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.selected-feature-card[data-project-href] strong { line-height: 1.45; }

.selected-project-detail .work-shell { grid-template-columns: minmax(0, 1fr); }
