@charset "UTF-8";
:root {
  --bg-void: #0B0D14;
  --bg-surface: #11141C;
  --bg-raised: #181C26;
  --bg-overlay: #1F2430;
  --bg-deep: #06070B;
  --ink: #ECEEF5;
  --ink-mut: rgba(236, 238, 245, 0.6);
  --ink-faint: rgba(236, 238, 245, 0.34);
  --phosphor: #00FF9C;
  --phosphor-bright: #4DFFB1;
  --phosphor-soft: #1FB886;
  --cyan: #2BE4FF;
  --hazard: #FF2E4C;
  --amber: #FFB627;
  --violet: #A779FF;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-serif: Fraunces, Georgia, Times New Roman, serif;
  --font-display: Space Grotesk, Outfit, system-ui, sans-serif;
  --font-body: Inter, DM Sans, system-ui, sans-serif;
  --font-mono: JetBrains Mono, IBM Plex Mono, ui-monospace, monospace;
  --dur-fast: 0.18s;
  --dur-base: 0.32s;
  --dur-slow: 0.6s;
  --dur-cine: 0.9s;
  --dur-lightup: 0.45s;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

[data-theme=light] {
  --bg-void: #E8E5DC;
  --bg-surface: #DEDBD0;
  --bg-raised: #F2F0E8;
  --bg-overlay: #F2F0E8;
  --bg-deep: #D4D1C6;
  --ink: #0A0B0F;
  --ink-mut: rgba(10, 11, 15, 0.62);
  --ink-faint: rgba(10, 11, 15, 0.34);
  --phosphor: #00805C;
  --phosphor-bright: #00805C;
  --phosphor-soft: #0E8F6A;
  --cyan: #0891B2;
}

.cls-1 {
  fill: #ffc541;
}

.cls-2 {
  fill: #4e4066;
}

.cls-3 {
  fill: #6f5b92;
}

.cls-4 {
  fill: #f78d5e;
}

.cls-5 {
  fill: #fa976c;
}

.cls-6 {
  fill: #b65c32;
  opacity: 0.6;
}

.cls-7 {
  fill: #b65c32;
  opacity: 0.4;
}

.cls-8 {
  fill: #b65c32;
}

.cls-9 {
  fill: #f4b73b;
}

.cls-10 {
  opacity: 0.6;
}

.cls-11 {
  fill: #f9c358;
}

.cls-12 {
  fill: #9b462c;
}

.cls-13 {
  fill: #aa512e;
}

.cls-14 {
  fill: #7d6aa5;
}

/* animations */
.wheel {
  animation: wheel-rotate 6s ease infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes wheel-rotate {
  50% {
    transform: rotate(360deg);
    animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  }
  100% {
    transform: rotate(960deg);
  }
}
.clock-hand-1 {
  animation: clock-rotate 3s linear infinite;
  transform-origin: bottom;
  transform-box: fill-box;
}

.clock-hand-2 {
  animation: clock-rotate 6s linear infinite;
  transform-origin: bottom;
  transform-box: fill-box;
}

@keyframes clock-rotate {
  100% {
    transform: rotate(360deg);
  }
}
#box-top {
  animation: box-top-anim 2s linear infinite;
  transform-origin: right top;
  transform-box: fill-box;
}

@keyframes box-top-anim {
  50% {
    transform: rotate(-5deg);
  }
}
#umbrella {
  animation: umbrella-anim 6s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes umbrella-anim {
  25% {
    transform: translateY(10px) rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}
#cup {
  animation: cup-rotate 3s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
  transform-origin: top left;
  transform-box: fill-box;
}

@keyframes cup-rotate {
  50% {
    transform: rotate(-5deg);
  }
}
#pillow {
  animation: pillow-anim 3s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes pillow-anim {
  25% {
    transform: rotate(10deg) translateY(5px);
  }
  75% {
    transform: rotate(-10deg);
  }
}
#stripe {
  animation: stripe-anim 3s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes stripe-anim {
  25% {
    transform: translate(10px, 0) rotate(-10deg);
  }
  75% {
    transform: translateX(10px);
  }
}
#bike {
  animation: bike-anim 6s ease infinite;
}

@keyframes bike-anim {
  0% {
    transform: translateX(-1300px);
  }
  50% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
  }
  100% {
    transform: translateX(1300px);
  }
}
#rucksack {
  animation: ruck-anim 3s linear infinite;
  transform-origin: top;
  transform-box: fill-box;
}

@keyframes ruck-anim {
  50% {
    transform: rotate(5deg);
  }
}
.circle {
  animation: circle-anim ease infinite;
  transform-origin: center;
  transform-box: fill-box;
  perspective: 0px;
}

.circle.c1 {
  animation-duration: 2s;
}

.circle.c2 {
  animation-duration: 3s;
}

.circle.c3 {
  animation-duration: 1s;
}

.circle.c4 {
  animation-duration: 1s;
}

.circle.c5 {
  animation-duration: 2s;
}

.circle.c6 {
  animation-duration: 3s;
}

@keyframes circle-anim {
  50% {
    transform: scale(0.2) rotateX(360deg) rotateY(360deg);
  }
}
.four,
#ou {
  animation: four-anim cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
}

.four.a {
  transform-origin: bottom left;
  animation-duration: 3s;
  transform-box: fill-box;
}

.four.b {
  transform-origin: bottom right;
  animation-duration: 3s;
  transform-box: fill-box;
}

#ou {
  animation-duration: 6s;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes four-anim {
  50% {
    transform: scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wheel, .clock-hand-1, .clock-hand-2, #box-top, #umbrella, #cup,
  #pillow, #stripe, #bike, #rucksack, .circle, .four, #ou {
    animation: none !important;
  }
}
html {
  padding-left: calc(100vw - 100%);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  font-family: "Inter", "DM Sans", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "Outfit", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  font-optical-sizing: auto;
}

.mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
.blink,
.title-prompt,
.cursor-blink {
  color: var(--phosphor);
  animation: blink 1.1s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .blink, .title-prompt, .cursor-blink {
    animation: none !important;
  }
}
::selection {
  background: rgba(0, 255, 156, 0.28);
  color: #ECEEF5;
}

[data-theme=light] ::selection {
  background: rgba(0, 255, 156, 0.32);
  color: #0A0B0F;
}

.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
  opacity: 0.18;
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0px, rgba(0, 0, 0, 0.22) 1px, transparent 1px, transparent 3px);
}
[data-theme=light] .crt-overlay {
  opacity: 0.1;
  mix-blend-mode: multiply;
  background-image: repeating-linear-gradient(0deg, rgba(10, 11, 15, 0.1) 0px, rgba(10, 11, 15, 0.1) 1px, transparent 1px, transparent 3px);
}

.crt-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme=light] .crt-grain {
  opacity: 0.035;
}

.crt-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
}
[data-theme=light] .crt-vignette {
  background: radial-gradient(ellipse at center, transparent 68%, rgba(10, 11, 15, 0.07) 100%);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0B0D14;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 156, 0.25);
  border: 2px solid #0B0D14;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 156, 0.5);
}

[data-theme=light] ::-webkit-scrollbar-track {
  background: #E8E5DC;
}
[data-theme=light] ::-webkit-scrollbar-thumb {
  background: rgba(10, 11, 15, 0.22);
  border-color: #E8E5DC;
}

.hud-frame .hud-corner {
  position: fixed;
  width: 22px;
  height: 22px;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.32;
}
.hud-frame .hud-corner::before, .hud-frame .hud-corner::after {
  content: "";
  position: absolute;
  background: #00FF9C;
}
.hud-frame .hud-corner::before {
  width: 100%;
  height: 1px;
  top: 50%;
}
.hud-frame .hud-corner::after {
  width: 1px;
  height: 100%;
  left: 50%;
}
.hud-frame .hud-corner.tl {
  top: 14px;
  left: 14px;
}
.hud-frame .hud-corner.tr {
  top: 14px;
  right: 14px;
}
.hud-frame .hud-corner.bl {
  bottom: 14px;
  left: 14px;
}
.hud-frame .hud-corner.br {
  bottom: 14px;
  right: 14px;
}
[data-theme=light] .hud-frame .hud-corner::before, [data-theme=light] .hud-frame .hud-corner::after {
  background: #0A0B0F;
}
[data-theme=light] .hud-frame .hud-corner {
  opacity: 0.22;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10004;
  transform: translateY(calc(-100% - 1.5rem));
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 0.95rem;
  background: var(--bg-surface);
  color: var(--phosphor);
  border: 1px solid var(--phosphor);
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
  transform: translateY(0);
}

#smooth-scroll {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* native cursor hidden the instant .custom-cursor is added */
html.custom-cursor,
html.custom-cursor * {
  cursor: none !important;
}

#cursor-root {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10003;
  opacity: 0;
  will-change: transform;
  --glow: 0.16;
  --cursor-outline-scale: 0.7;
}

.cursor-body {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.cursor-glow {
  position: absolute;
  top: -19px;
  left: -19px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--phosphor) 90%, transparent) 0%, transparent 65%);
  filter: blur(7px);
  opacity: var(--glow);
  transition: opacity 0.3s ease;
}

.cursor-trail {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--phosphor);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0;
  will-change: transform, opacity;
}

.cursor-vector {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  overflow: visible;
  display: block;
  isolation: isolate;
}

/* ---- Invert ring (sibling of #cursor-root so its fill's
       mix-blend-mode reaches the page, not just the cursor's own
       stacking context). A mask carves a triangular ring: the outer
       triangle scales with --cursor-outline-scale from its centroid
       (locked to .cursor-outline), the inner hole stays fixed at the
       .cursor-core boundary so the cut-out always aligns with the
       tip. White fill + difference inverts page color in the ring
       only; the inner triangle keeps the cursor's own styling. ---- */
.cursor-spot {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  opacity: 0;
  z-index: 10002;
  overflow: visible;
  transform-origin: 0 0; /* rotate around apex like the cursor body */
  transition: opacity 0.34s ease;
  will-change: transform;
}

.cursor-spot-fill {
  /* Pure white is a blend-mode constant, not a palette colour: difference
     inverts whatever sits behind the ring, so the fill must stay #fff. */
  fill: #FFFFFF;
  mix-blend-mode: difference;
}

.cursor-ring-outer {
  transform: scale(var(--cursor-outline-scale));
  transform-box: fill-box;
  transform-origin: 33.333% 33.333%;
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: ring fades in. Expansion is driven by --cursor-outline-scale
   — the same var the cursor's outline + aurora use — so the ring,
   border, and aurora grow together from the centroid as one object. */
#cursor-root.is-hover ~ .cursor-spot {
  opacity: 1;
}

.cursor-aurora-outer-halo,
.cursor-aurora-outer-core {
  fill: none;
  stroke: var(--phosphor-bright);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.16 0.84;
  animation: cursor-flow 2.8s linear infinite;
  transform-box: fill-box;
  transform-origin: 33.333% 33.333%;
  transform: scale(var(--cursor-outline-scale));
  opacity: 0;
  transition: opacity 0.34s ease, stroke-width 0.3s ease;
}

.cursor-aurora-outer-halo {
  stroke-width: 4;
  filter: blur(3px);
}

.cursor-aurora-inner {
  fill: none;
  stroke: var(--bg-deep);
  stroke-opacity: 0.7;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.16 0.84;
  animation: cursor-flow 2.8s linear infinite;
  mix-blend-mode: multiply;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.cursor-outline {
  fill: none;
  stroke: var(--phosphor);
  stroke-width: 1;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: 33.333% 33.333%;
  transform: scale(var(--cursor-outline-scale));
  opacity: 0.18;
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.34s cubic-bezier(0.16, 1, 0.3, 1), stroke-width 0.3s ease;
}

.cursor-core {
  fill: var(--phosphor);
  stroke: none;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

/* ---- interaction states ---- */
#cursor-root.is-hover {
  --glow: 0.42;
  --cursor-outline-scale: 1;
}

#cursor-root.is-hover .cursor-outline {
  opacity: 0.9;
}

#cursor-root.is-hover .cursor-aurora-outer-halo {
  opacity: 0.85;
}

#cursor-root.is-hover .cursor-aurora-outer-core {
  opacity: 0.95;
}

#cursor-root.is-hover .cursor-aurora-inner {
  opacity: 0;
}

#cursor-root.is-hover .cursor-core {
  fill: transparent;
  stroke: var(--phosphor);
  stroke-width: 1.4;
}

#cursor-root.is-zoom {
  --glow: 0.55;
  --cursor-outline-scale: 1.12;
}

#cursor-root.is-zoom .cursor-outline {
  opacity: 1;
}

#cursor-root.is-zoom .cursor-aurora-outer-halo {
  opacity: 0.9;
}

#cursor-root.is-zoom .cursor-aurora-outer-core {
  opacity: 1;
}

#cursor-root.is-down {
  --glow: 0.6;
}

#cursor-root.is-down .cursor-outline {
  stroke-width: 1.6;
}

#cursor-root.is-drag .cursor-aurora-inner {
  opacity: 1;
}

#cursor-root.is-pulse .cursor-outline {
  animation: cursor-pulse 1.15s ease-in-out infinite;
}

/* ---- :has()-driven cursor visuals — Pattern D.
   Browser tracks :hover through scroll, layout, and DOM mutations
   for free, so cursor visuals stay synced with zero JS. Mirrors
   the .is-hover/.is-zoom/.is-pulse class rules above; the class
   paths remain as fallback for older browsers without :has()
   support. JS still owns .is-down/.is-drag (input state) and
   .is-zoom (renderer internal stateMul needs the local zoom flag). */
html:has(a:hover, button:hover, label[for]:hover, .nav-link:hover,
.social:hover, .skill-tag:hover, input:hover, textarea:hover,
[data-cursor=hover]:hover, [contenteditable]:hover) #cursor-root {
  --glow: 0.42;
  --cursor-outline-scale: 1;
}

html:has(a:hover, button:hover, label[for]:hover, .nav-link:hover,
.social:hover, .skill-tag:hover, input:hover, textarea:hover,
[data-cursor=hover]:hover, [contenteditable]:hover) #cursor-root .cursor-outline {
  opacity: 0.9;
}

html:has(a:hover, button:hover, label[for]:hover, .nav-link:hover,
.social:hover, .skill-tag:hover, input:hover, textarea:hover,
[data-cursor=hover]:hover, [contenteditable]:hover) #cursor-root .cursor-aurora-outer-halo {
  opacity: 0.85;
}

html:has(a:hover, button:hover, label[for]:hover, .nav-link:hover,
.social:hover, .skill-tag:hover, input:hover, textarea:hover,
[data-cursor=hover]:hover, [contenteditable]:hover) #cursor-root .cursor-aurora-outer-core {
  opacity: 0.95;
}

html:has(a:hover, button:hover, label[for]:hover, .nav-link:hover,
.social:hover, .skill-tag:hover, input:hover, textarea:hover,
[data-cursor=hover]:hover, [contenteditable]:hover) #cursor-root .cursor-aurora-inner {
  opacity: 0;
}

html:has(a:hover, button:hover, label[for]:hover, .nav-link:hover,
.social:hover, .skill-tag:hover, input:hover, textarea:hover,
[data-cursor=hover]:hover, [contenteditable]:hover) #cursor-root .cursor-core {
  fill: transparent;
  stroke: var(--phosphor);
  stroke-width: 1.4;
}

html:has(a:hover, button:hover, [role=button]:hover,
.btn-primary-custom:hover, .btn-secondary-custom:hover,
.btn-project:hover, [data-magnetic]:hover) #cursor-root .cursor-outline {
  animation: cursor-pulse 1.15s ease-in-out infinite;
}

html:has(.gallery-slide:hover, [data-lightbox]:hover,
.featured-item--project img:hover, [data-cursor=zoom]:hover) #cursor-root {
  --glow: 0.55;
  --cursor-outline-scale: 1.12;
}

html:has(.gallery-slide:hover, [data-lightbox]:hover,
.featured-item--project img:hover, [data-cursor=zoom]:hover) #cursor-root .cursor-outline {
  opacity: 1;
}

html:has(.gallery-slide:hover, [data-lightbox]:hover,
.featured-item--project img:hover, [data-cursor=zoom]:hover) #cursor-root .cursor-aurora-outer-halo {
  opacity: 0.9;
}

html:has(.gallery-slide:hover, [data-lightbox]:hover,
.featured-item--project img:hover, [data-cursor=zoom]:hover) #cursor-root .cursor-aurora-outer-core {
  opacity: 1;
}

@keyframes cursor-flow {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes cursor-pulse {
  0%, 100% {
    transform: scale(var(--cursor-outline-scale));
  }
  50% {
    transform: scale(calc(var(--cursor-outline-scale) * 1.06));
  }
}
/* belt-and-suspenders: the JS gate also returns early on these */
@media (hover: none), (pointer: coarse) {
  #cursor-root, .cursor-spot {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #cursor-root, .cursor-spot {
    display: none !important;
  }
}
@property --trace-spread {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --trace-entry {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.markdown-body {
  color: var(--ink);
}
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.markdown-body h1 {
  font-size: 1.75rem;
  margin-top: 32px;
}
.markdown-body h2 {
  font-size: 1.5rem;
}
.markdown-body h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
}
.markdown-body h4 {
  font-size: 1rem;
}
.markdown-body h5 {
  font-size: 0.95rem;
  color: var(--ink-mut);
}
.markdown-body h6 {
  font-size: 0.85rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.markdown-body strong, .markdown-body b {
  font-weight: 700;
  color: var(--ink);
}
.markdown-body em, .markdown-body i {
  font-style: italic;
}
.markdown-body del, .markdown-body s {
  text-decoration: line-through;
  color: var(--ink-faint);
  opacity: 0.85;
}
.markdown-body mark {
  background: color-mix(in srgb, var(--phosphor) 25%, transparent);
  color: var(--ink);
  padding: 0.05em 0.3em;
  border-radius: var(--radius-xs);
}
.markdown-body kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-raised);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-bottom-width: 2px;
  border-radius: var(--radius-xs);
  padding: 0.1em 0.4em;
  color: var(--phosphor-bright);
  line-height: 1;
}
.markdown-body abbr[title] {
  text-decoration: underline dotted;
  text-decoration-color: var(--phosphor-soft);
  text-underline-offset: 2px;
  cursor: help;
}
.markdown-body dl {
  margin: 1.25rem 0;
}
.markdown-body dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--phosphor-bright);
  margin-top: 0.85rem;
}
.markdown-body dt:first-child {
  margin-top: 0;
}
.markdown-body dd {
  margin-left: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--ink-mut);
  line-height: 1.65;
}
.markdown-body sup, .markdown-body sub {
  font-size: 0.75em;
  line-height: 0;
}
.markdown-body sup a, .markdown-body sub a {
  color: var(--phosphor);
  text-decoration: none;
}
.markdown-body p {
  line-height: 1.78;
  margin-bottom: 1.2rem;
}
.markdown-body hr {
  border: none;
  height: 1px;
  margin: 3rem 0;
  background: color-mix(in srgb, var(--phosphor-soft) 40%, transparent);
}
.markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip) {
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip).is-hover::after, .markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip):hover::after, .markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip):focus-visible::after {
  transform: scaleX(1);
}
.markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip) {
  color: var(--cyan);
}
.markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip).is-hover, .markdown-body a:not(.btn):not([class^=carousel-]):not([class^=list-]):not(.no-underline):not(.tag-chip):hover {
  color: var(--phosphor);
}
.markdown-body ul, .markdown-body ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}
.markdown-body li {
  line-height: 1.72;
  margin-bottom: 0.5rem;
}
.markdown-body blockquote {
  border-left: 3px solid var(--phosphor);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 1.75rem 0 1.75rem 0.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08em;
  line-height: 1.7;
  color: var(--ink-mut);
}
.markdown-body blockquote p {
  margin-bottom: 0.5rem;
}
.markdown-body blockquote p:last-child {
  margin-bottom: 0;
}
.markdown-body blockquote blockquote {
  border-left-color: var(--ink-faint);
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95em;
}
.markdown-body blockquote strong {
  color: var(--ink);
}
.markdown-body blockquote a {
  color: var(--cyan);
}
.markdown-body blockquote code {
  font-size: 0.85em;
}
.markdown-body blockquote.child-page-link {
  --card-accent: var(--phosphor);
  border: 1px solid color-mix(in srgb, var(--phosphor-soft) 30%, transparent);
  border-left: 3px solid var(--phosphor);
  border-radius: 2px;
  padding: 0.85rem 1.1rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: color-mix(in srgb, var(--phosphor-soft) 5%, transparent);
  transition: border-color 0.25s var(--ease-out-expo, ease-out), background 0.25s var(--ease-out-expo, ease-out);
}
.markdown-body blockquote.child-page-link p {
  margin: 0;
}
.markdown-body blockquote.child-page-link::before {
  content: "\\201C";
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 0.25rem;
}
.markdown-body blockquote.child-page-link a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s var(--ease-out-expo, ease-out);
}
.markdown-body blockquote.child-page-link:hover {
  border-color: var(--phosphor);
  background: color-mix(in srgb, var(--phosphor-soft) 10%, transparent);
}
.markdown-body blockquote.child-page-link:hover a {
  color: var(--phosphor);
}
.markdown-body img:not(.emoji) {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
  margin: 1.5rem 0;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.markdown-body .video {
  position: relative;
  padding-bottom: 56.25%;
  margin-bottom: 1rem;
  width: 100%;
}
.markdown-body .video iframe {
  position: absolute;
  height: 100%;
  width: 100%;
}
.markdown-body ul.task-list {
  list-style: none;
  padding-left: 24px;
}
.markdown-body input.task-list-item-checkbox {
  margin-right: 10px;
  vertical-align: middle;
}
.markdown-body table:not(.highlight) {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  border-collapse: collapse;
  font-size: 0.92em;
  line-height: 1.55;
}
.markdown-body table:not(.highlight) th, .markdown-body table:not(.highlight) td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border: none;
}
.markdown-body table:not(.highlight) th code, .markdown-body table:not(.highlight) td code {
  white-space: nowrap;
}
.markdown-body table:not(.highlight) thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--phosphor-bright);
  background: color-mix(in srgb, var(--phosphor-soft) 8%, transparent);
  border-bottom: 2px solid var(--phosphor-soft);
  white-space: nowrap;
}
.markdown-body table:not(.highlight) tbody tr + tr td,
.markdown-body table:not(.highlight) tbody tr + tr th {
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.markdown-body table:not(.highlight) tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}
.markdown-body table:not(.highlight) tbody tr:hover td {
  background: color-mix(in srgb, var(--phosphor-soft) 6%, transparent);
}
.markdown-body table:not(.highlight) td code {
  background: color-mix(in srgb, var(--bg-deep) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--cyan);
  padding: 0.08em 0.35em;
}
.markdown-body pre, .markdown-body pre.highlight {
  background: var(--bg-deep);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-left: 2px solid var(--phosphor-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.markdown-body pre code, .markdown-body pre.highlight code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink);
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
}
.markdown-body :not(pre) > code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: color-mix(in srgb, var(--phosphor-soft) 12%, transparent);
  color: var(--ink);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-xs);
  border: 1px solid color-mix(in srgb, var(--phosphor-soft) 20%, transparent);
  white-space: nowrap;
}
.markdown-body .highlight .c, .markdown-body .highlight .c1, .markdown-body .highlight .cm, .markdown-body .highlight .cp, .markdown-body .highlight .ch, .markdown-body .highlight .cs, .markdown-body .highlight .cpf, .markdown-body .highlight .cx {
  color: var(--ink-faint);
  font-style: italic;
}
.markdown-body .highlight .k, .markdown-body .highlight .kd, .markdown-body .highlight .kn, .markdown-body .highlight .kp, .markdown-body .highlight .kr, .markdown-body .highlight .kv {
  color: var(--phosphor-bright);
}
.markdown-body .highlight .kt {
  color: var(--cyan);
}
.markdown-body .highlight .s, .markdown-body .highlight .s1, .markdown-body .highlight .s2, .markdown-body .highlight .sa, .markdown-body .highlight .sb, .markdown-body .highlight .sc, .markdown-body .highlight .sd, .markdown-body .highlight .se, .markdown-body .highlight .sh, .markdown-body .highlight .si, .markdown-body .highlight .sx, .markdown-body .highlight .sr, .markdown-body .highlight .ss {
  color: var(--amber);
}
.markdown-body .highlight .m, .markdown-body .highlight .mf, .markdown-body .highlight .mh, .markdown-body .highlight .mi, .markdown-body .highlight .mo, .markdown-body .highlight .il, .markdown-body .highlight .mb, .markdown-body .highlight .mx {
  color: var(--violet);
}
.markdown-body .highlight .nf, .markdown-body .highlight .fm {
  color: var(--phosphor);
}
.markdown-body .highlight .nc, .markdown-body .highlight .nt, .markdown-body .highlight .no, .markdown-body .highlight .nb, .markdown-body .highlight .bp {
  color: var(--cyan);
}
.markdown-body .highlight .na {
  color: var(--phosphor-soft);
}
.markdown-body .highlight .n, .markdown-body .highlight .nx, .markdown-body .highlight .nv, .markdown-body .highlight .nl, .markdown-body .highlight .nn, .markdown-body .highlight .nd, .markdown-body .highlight .ne, .markdown-body .highlight .ni, .markdown-body .highlight .vc, .markdown-body .highlight .vg, .markdown-body .highlight .vi {
  color: var(--ink);
}
.markdown-body .highlight .o, .markdown-body .highlight .ow {
  color: var(--phosphor-soft);
}
.markdown-body .highlight .p, .markdown-body .highlight .pi {
  color: var(--ink-mut);
}
.markdown-body .highlight .l, .markdown-body .highlight .ld {
  color: var(--ink);
}
.markdown-body .highlight .err, .markdown-body .highlight .gr {
  color: var(--hazard);
}
.markdown-body .highlight .gd {
  color: var(--hazard);
}
.markdown-body .highlight .gi {
  color: var(--phosphor);
}
.markdown-body .highlight .gh {
  color: var(--phosphor-bright);
  font-weight: 700;
}
.markdown-body .highlight .gu {
  color: var(--cyan);
  font-weight: 700;
}
.markdown-body .highlight .go {
  color: var(--ink-mut);
}
.markdown-body .highlight .gp {
  color: var(--ink-mut);
}
.markdown-body .highlight .gt {
  color: var(--hazard);
}
.markdown-body .highlight .w {
  color: var(--ink-faint);
}
.markdown-body sup a.footnote, .markdown-body sup a[rel=footnote] {
  color: var(--phosphor);
  text-decoration: none;
  font-weight: 600;
}
.markdown-body sup a.footnote:hover, .markdown-body sup a[rel=footnote]:hover {
  color: var(--phosphor-bright);
}
.markdown-body .footnotes {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink-mut);
  font-size: 0.88rem;
  line-height: 1.65;
}
.markdown-body .footnotes ol {
  padding-left: 1.5rem;
}
.markdown-body .footnotes li {
  margin-bottom: 0.5rem;
}
.markdown-body .footnotes p {
  margin-bottom: 0.5rem;
}
.markdown-body .footnotes .reversefootnote, .markdown-body .footnotes a[rel=doc-backlink] {
  color: var(--phosphor);
  text-decoration: none;
  margin-left: 0.25em;
}
.markdown-body .footnotes .reversefootnote:hover, .markdown-body .footnotes a[rel=doc-backlink]:hover {
  color: var(--phosphor-bright);
}

[data-theme=light] .markdown-body .highlight .s, [data-theme=light] .markdown-body .highlight .s1, [data-theme=light] .markdown-body .highlight .s2, [data-theme=light] .markdown-body .highlight .sa, [data-theme=light] .markdown-body .highlight .sb, [data-theme=light] .markdown-body .highlight .sc, [data-theme=light] .markdown-body .highlight .sd, [data-theme=light] .markdown-body .highlight .se, [data-theme=light] .markdown-body .highlight .sh, [data-theme=light] .markdown-body .highlight .si, [data-theme=light] .markdown-body .highlight .sx, [data-theme=light] .markdown-body .highlight .sr, [data-theme=light] .markdown-body .highlight .ss {
  color: #B07315;
}
[data-theme=light] .markdown-body .highlight .m, [data-theme=light] .markdown-body .highlight .mf, [data-theme=light] .markdown-body .highlight .mh, [data-theme=light] .markdown-body .highlight .mi, [data-theme=light] .markdown-body .highlight .mo, [data-theme=light] .markdown-body .highlight .il, [data-theme=light] .markdown-body .highlight .mb, [data-theme=light] .markdown-body .highlight .mx {
  color: #6B3FA0;
}
[data-theme=light] .markdown-body .highlight .k, [data-theme=light] .markdown-body .highlight .kd, [data-theme=light] .markdown-body .highlight .kn, [data-theme=light] .markdown-body .highlight .kp, [data-theme=light] .markdown-body .highlight .kr, [data-theme=light] .markdown-body .highlight .kv {
  color: var(--phosphor);
}
[data-theme=light] .markdown-body .highlight .nf, [data-theme=light] .markdown-body .highlight .fm {
  color: var(--phosphor-soft);
}
[data-theme=light] .markdown-body .highlight .na {
  color: var(--phosphor);
}
[data-theme=light] .markdown-body .highlight .o, [data-theme=light] .markdown-body .highlight .ow {
  color: var(--phosphor);
}

a:hover {
  text-decoration: none;
}

.card-title-link {
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-title-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-title-link.is-hover::after, .card-title-link:hover::after, .card-title-link:focus-visible::after {
  transform: scaleX(1);
}
.card-title-link {
  color: inherit;
}
.card-title-link.is-hover, .card-title-link:hover {
  color: var(--card-accent, #00FF9C);
}

@media (prefers-reduced-motion: reduce) {
  .card-title-link,
  .card-title-link::after {
    transition-duration: 0.01ms !important;
  }
}
.navbar-themed {
  padding: 0.9rem 0;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme=dark] .navbar-themed {
  background: rgba(11, 13, 20, 0);
}
.navbar-themed.scrolled {
  padding: 0.6rem 0;
}
[data-theme=light] .navbar-themed.scrolled {
  background: rgba(232, 229, 220, 0.86);
}
[data-theme=dark] .navbar-themed.scrolled {
  background: rgba(11, 13, 20, 0.78);
}
[data-theme=light] .navbar-themed.scrolled {
  border-bottom-color: rgba(10, 11, 15, 0.18);
}
[data-theme=dark] .navbar-themed.scrolled {
  border-bottom-color: rgba(0, 255, 156, 0.22);
}
.navbar-themed.scrolled {
  box-shadow: 0 1px 0 rgba(0, 255, 156, 0.08);
}

.navbar-brand {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navbar-brand .brand-icon {
  height: 1.15em;
  width: auto;
  margin-right: 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.navbar-brand b {
  position: relative;
  transition: color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-brand b::before, .navbar-brand b::after {
  color: #00FF9C;
  opacity: 0;
  position: absolute;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme=light] .navbar-brand b::before, [data-theme=light] .navbar-brand b::after {
  color: #00805C;
}
.navbar-brand b::before {
  content: "[ ";
  left: -0.5rem;
  transform: translateX(-4px);
}
.navbar-brand b::after {
  content: " ]";
  right: -0.5rem;
  transform: translateX(4px);
}

.navbar-brand:hover b::before, .navbar-brand:hover b::after,
.navbar-brand.active b::before,
.navbar-brand.active b::after,
.navbar-brand:focus-visible b::before,
.navbar-brand:focus-visible b::after {
  opacity: 1;
  transform: translateX(0);
}

.navbar-brand.active b {
  color: #00FF9C;
}
[data-theme=light] .navbar-brand.active b {
  color: #00805C;
}

.navbar-brand:focus-visible {
  outline: none;
}

.navbar-brand:focus-visible b {
  color: #00FF9C;
}
[data-theme=light] .navbar-brand:focus-visible b {
  color: #00805C;
}

.navbar-nav .nav-link {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-nav .nav-link::before {
  content: "[";
  position: absolute;
  left: 0.2rem;
  opacity: 0;
  color: #00FF9C;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-4px);
}
[data-theme=light] .navbar-nav .nav-link::before {
  color: #00805C;
}
.navbar-nav .nav-link::after {
  content: "]";
  position: absolute;
  right: 0.2rem;
  opacity: 0;
  color: #00FF9C;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(4px);
}
[data-theme=light] .navbar-nav .nav-link::after {
  color: #00805C;
}
.navbar-nav .nav-link:hover::before, .navbar-nav .nav-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.navbar-nav .nav-link:focus-visible {
  outline: none;
  color: #00FF9C;
}
[data-theme=light] .navbar-nav .nav-link:focus-visible {
  color: #00805C;
}
.navbar-nav .nav-link:focus-visible::before, .navbar-nav .nav-link:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}
.navbar-nav .nav-link.active {
  color: #00FF9C !important;
}
[data-theme=light] .navbar-nav .nav-link.active {
  color: #00805C !important;
}
.navbar-nav .nav-link.active::before, .navbar-nav .nav-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .navbar-themed .navbar-collapse {
    flex-grow: 1;
  }
  .nav-right {
    margin-left: 1.25rem;
  }
}
#theme-toggler {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  background: rgba(0, 255, 156, 0.06);
  border: 1px solid rgba(0, 255, 156, 0.35);
  border-radius: 2px;
  color: #00FF9C;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
#theme-toggler::before {
  content: "VOID";
}
[data-theme=light] #theme-toggler::before {
  content: "SOLID";
}
[data-theme=light] #theme-toggler {
  background: transparent;
  border-color: rgba(10, 11, 15, 0.3);
  color: #0A0B0F;
}
#theme-toggler.is-hover, #theme-toggler:hover {
  transform: translateY(-1px);
  border-color: var(--phosphor) !important;
  background: color-mix(in srgb, var(--phosphor) 16%, transparent) !important;
  color: var(--ink) !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--phosphor) 26%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
}
#theme-toggler:active {
  transform: translateY(0) scale(0.96);
}
#theme-toggler:focus-visible {
  outline: 2px solid #00FF9C;
  outline-offset: 2px;
}

.navbar-toggler {
  border: 1px solid rgba(0, 255, 156, 0.3) !important;
  border-radius: 2px !important;
  padding: 0.35rem 0.6rem !important;
  outline: none !important;
  box-shadow: none !important;
}
.navbar-toggler .fa-bars {
  color: #00FF9C;
}
[data-theme=light] .navbar-toggler {
  border-color: rgba(10, 11, 15, 0.35) !important;
}
[data-theme=light] .navbar-toggler .fa-bars {
  color: #0A0B0F;
}

@media (max-width: 991.98px) {
  .navbar-themed .navbar-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .navbar-themed.nav-open .navbar-collapse {
    max-height: 22rem;
  }
}
@media (max-width: 991.98px) {
  .navbar-themed .navbar-nav {
    position: relative;
    padding: 1rem 1.25rem 1rem 1.4rem;
    margin-top: 0.5rem;
  }
  .navbar-themed .navbar-nav::before, .navbar-themed .navbar-nav::after {
    font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
    font-weight: 700;
    font-size: 1.05rem;
    color: #00FF9C;
    position: absolute;
    opacity: 0.85;
  }
  [data-theme=light] .navbar-themed .navbar-nav::before, [data-theme=light] .navbar-themed .navbar-nav::after {
    color: #00805C;
  }
  .navbar-themed .navbar-nav::before {
    content: "[";
    left: 0.2rem;
    top: 0.55rem;
  }
  .navbar-themed .navbar-nav::after {
    content: "]";
    right: 0.2rem;
    bottom: 0.55rem;
  }
  .navbar-themed .navbar-nav .nav-link {
    padding: 0.6rem 0.25rem !important;
  }
  .navbar-themed .navbar-nav .nav-link::before, .navbar-themed .navbar-nav .nav-link::after {
    content: none;
  }
}
.landing-wrapper {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 4rem;
}

.hero-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(38% 48% at 82% 20%, rgba(0, 255, 156, 0.13) 0%, transparent 70%), radial-gradient(34% 44% at 14% 80%, rgba(43, 228, 255, 0.09) 0%, transparent 72%), radial-gradient(55% 45% at 50% 112%, rgba(167, 121, 255, 0.06) 0%, transparent 75%);
  filter: blur(32px);
  animation: aurora-shift 22s ease-in-out infinite alternate;
}
[data-theme=light] .hero-aurora {
  opacity: 0.5;
}

@keyframes aurora-shift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}
.hero-glyph {
  position: absolute;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(0, 255, 156, 0.28);
  pointer-events: none;
  z-index: 1;
  animation: glyph-float 12s ease-in-out infinite alternate;
}
[data-theme=light] .hero-glyph {
  color: rgba(10, 11, 15, 0.22);
}
.hero-glyph.glyph-a {
  top: 12%;
  right: 6%;
  animation-delay: -2s;
}
.hero-glyph.glyph-b {
  bottom: 18%;
  left: 4%;
  animation-delay: -5s;
  font-size: 0.55rem;
}
.hero-glyph.glyph-c {
  top: 38%;
  left: 3%;
  animation-delay: -8s;
}

@keyframes glyph-float {
  0% {
    transform: translateY(0);
    opacity: 0.55;
  }
  100% {
    transform: translateY(-12px);
    opacity: 1;
  }
}
.landing-row {
  position: relative;
  z-index: 2;
}

.landing-content {
  position: relative;
  z-index: 3;
}

.hud-telemetry {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 255, 156, 0.45);
}
[data-theme=light] .hud-row {
  color: rgba(10, 11, 15, 0.4);
}

.hud-cell {
  white-space: nowrap;
}

.hud-cell .blink {
  animation: blink 1.1s steps(1) infinite;
  color: #00FF9C;
}

@media (max-width: 768px) {
  .hud-cell:nth-child(3) {
    display: none;
  }
}
.cover-eyebrow {
  font-size: 0.74rem;
  color: #2BE4FF;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
[data-theme=light] .cover-eyebrow {
  color: #0891B2;
}
.cover-eyebrow .crosshair {
  color: #00FF9C;
  font-weight: 700;
}

.cover-wordmark {
  font-family: "Space Grotesk", "Outfit", system-ui, sans-serif;
  font-size: clamp(4.5rem, 16vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.cover-wordmark .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.cover-wordmark .line-inner {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  transform: translateY(110%);
  filter: blur(12px);
  animation: reveal-line 1.1s cubic-bezier(0.16, 1, 0.3, 1) calc(0.35s + var(--line-i, 0) * 0.1s) forwards;
}

[data-glitch].glitching .line-inner {
  animation: glitch-shift 0.32s steps(2) 2;
  text-shadow: -2px 0 #FF2E4C, 2px 0 #2BE4FF, 0 0 8px rgba(0, 255, 156, 0.4);
}

@keyframes glitch-shift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2px, 1px);
  }
  50% {
    transform: translate(2px, -1px);
  }
  75% {
    transform: translate(-1px, -1px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes reveal-line {
  to {
    transform: translateY(0);
    filter: blur(0);
  }
}
.cover-deck {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-mut);
  margin-bottom: 2.25rem;
  max-width: 30ch;
  font-feature-settings: "liga", "kern";
}
[data-theme=light] .cover-deck {
  color: rgba(10, 11, 15, 0.62);
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.cover-tags .tag-chip {
  animation: chip-ambient 6s ease-in-out infinite;
}
.cover-tags .tag-chip:nth-child(1) {
  animation-delay: 0s;
}
.cover-tags .tag-chip:nth-child(2) {
  animation-delay: -1.2s;
}
.cover-tags .tag-chip:nth-child(3) {
  animation-delay: -2.4s;
}
.cover-tags .tag-chip:nth-child(4) {
  animation-delay: -3.6s;
}
.cover-tags .tag-chip:nth-child(5) {
  animation-delay: -4.8s;
}
.cover-tags .tag-chip.is-hover, .cover-tags .tag-chip:hover {
  animation: none;
}

@keyframes chip-ambient {
  0%, 100% {
    box-shadow: 0 0 6px color-mix(in srgb, var(--phosphor) 9%, transparent);
  }
  50% {
    box-shadow: 0 0 13px color-mix(in srgb, var(--phosphor) 22%, transparent);
  }
}
.cover-cta,
.cta-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.7rem;
  border-radius: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-custom {
  background: var(--phosphor-soft);
  color: var(--bg-void);
  border: 1px solid var(--phosphor-soft);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--phosphor) 50%, transparent);
}
.btn-primary-custom.is-hover, .btn-primary-custom:hover {
  transform: translateY(-2px);
  background: var(--phosphor);
  border-color: var(--phosphor);
  color: var(--bg-void);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--phosphor) 35%, transparent), 0 0 30px color-mix(in srgb, var(--phosphor) 25%, transparent);
}
.btn-primary-custom:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary-custom:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 22px color-mix(in srgb, var(--phosphor) 40%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary-custom:focus-visible {
    transition: none !important;
  }
}
.btn-primary-custom:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary-custom {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  color: var(--ink);
}
.btn-secondary-custom.is-hover, .btn-secondary-custom:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 24px color-mix(in srgb, var(--cyan) 18%, transparent);
}
.btn-secondary-custom:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary-custom:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 22px color-mix(in srgb, var(--phosphor) 40%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .btn-secondary-custom:focus-visible {
    transition: none !important;
  }
}

.btn-bracket {
  opacity: 0.6;
  font-weight: 400;
}

.btn-prompt {
  color: #00FF9C;
}
[data-theme=light] .btn-prompt {
  color: #00805C;
}

.cover-portrait {
  display: inline-block;
  position: relative;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-portrait.is-visible {
  opacity: 1;
}

.portrait-frame {
  position: relative;
  width: clamp(240px, 28vw, 320px);
  height: clamp(240px, 28vw, 320px);
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  background: var(--bg-surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.portrait-frame:hover {
  transform: translateY(-3px);
  border-color: var(--phosphor);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 6px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px color-mix(in srgb, var(--phosphor) 40%, transparent);
}
[data-theme=light] .portrait-frame {
  box-shadow: 0 16px 36px rgba(10, 11, 15, 0.2), 0 4px 10px rgba(10, 11, 15, 0.1);
}
[data-theme=light] .portrait-frame:hover {
  box-shadow: 0 20px 44px rgba(10, 11, 15, 0.25), 0 6px 12px rgba(10, 11, 15, 0.12), 0 0 0 1px rgba(0, 128, 92, 0.5);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03);
  display: block;
  position: relative;
  z-index: 0;
  transition: filter 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.portrait-frame:hover .portrait-image {
  filter: contrast(1.06);
  transform: scale(1.04);
}

.portrait-riso {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(1) sepia(1) hue-rotate(105deg) saturate(14) brightness(0.32) contrast(1.7);
  mix-blend-mode: screen;
  transform: translate3d(1.5px, -0.5px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.portrait-frame:hover .portrait-riso {
  opacity: 0.45;
  transform: translate3d(calc(var(--mx, 0) * 3px + 1.5px), calc(var(--my, 0) * 2px - 0.5px), 0);
}

.portrait-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-repeat: repeat;
  animation: paper-grain-breathe 14s ease-in-out infinite alternate;
}

@keyframes paper-grain-breathe {
  0% {
    opacity: 0.18;
  }
  100% {
    opacity: 0.26;
  }
}
[data-theme=light] .portrait-grain {
  opacity: 0.14;
  animation: none;
}

.portrait-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0px, rgba(0, 0, 0, 0.14) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
  animation: scanline-breathe 8s ease-in-out infinite alternate;
}

@keyframes scanline-breathe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.58;
  }
}
.portrait-frame:hover .portrait-scan {
  animation-duration: 4s;
}

.portrait-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.55rem;
  color: var(--phosphor);
  letter-spacing: 0.16em;
  text-shadow: 0 0 6px rgba(0, 255, 156, 0.5);
  z-index: 3;
  opacity: 0.85;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme=light] .portrait-tag {
  color: #00805C;
  text-shadow: none;
}

.cover-portrait:hover .portrait-tag {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cover-portrait {
    opacity: 1 !important;
    transition: none !important;
  }
  .portrait-grain {
    animation: none !important;
  }
  .portrait-riso {
    transition: opacity 0.2s linear !important;
    transform: none !important;
  }
  .portrait-scan {
    animation: none !important;
  }
}
.mag {
  position: relative;
}

.mag-section {
  padding: 6rem 0;
  position: relative;
}

.mag-section-head {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mag-kicker {
  font-size: 0.66rem;
  color: var(--cyan);
  letter-spacing: 0.22em;
}
[data-theme=light] .mag-kicker {
  color: #0891B2;
}

.mag-heading {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-transform: none;
  color: var(--ink);
  font-feature-settings: "liga", "kern";
  text-wrap: balance;
}
.mag-heading em {
  font-style: italic;
}
[data-theme=light] .mag-heading {
  color: #0A0B0F;
}

.mag-section-foot {
  margin-top: 3rem;
  text-align: center;
}

.mag-all {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--phosphor);
  text-decoration: none;
  text-transform: uppercase;
}
[data-theme=light] .mag-all {
  color: #00805C;
}
.mag-all.is-hover, .mag-all:hover {
  color: var(--cyan);
}
.mag-all:focus-visible {
  color: var(--cyan);
  outline: none;
}
.mag-all i {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 0.4rem;
}
.mag-all.is-hover i, .mag-all:hover i, .mag-all:focus-visible i {
  transform: translateX(4px);
}

.mag-stream {
  padding-top: 5rem;
  padding-bottom: 0;
}

.stream {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-item {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 8px;
  background: var(--bg-surface);
  text-decoration: none;
  --cat: var(--phosphor);
  --card-accent: var(--cat);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(from var(--trace-entry, 0deg), var(--phosphor) 0deg, var(--phosphor) var(--trace-spread, 0deg), transparent var(--trace-spread, 0deg), transparent calc(360deg - var(--trace-spread, 0deg)), var(--phosphor) calc(360deg - var(--trace-spread, 0deg)), var(--phosphor) 360deg);
  opacity: 0;
  transition: opacity 0.2s ease;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: padding-box, border-box;
  mask-composite: exclude;
}
.featured-item.is-traced::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .featured-item::before {
    display: none;
  }
}
[data-theme=light] .featured-item {
  background: var(--paper-raised);
  border-color: rgba(10, 11, 15, 0.14);
}
.featured-item.is-hover {
  transform: translateY(-6px);
  border-color: var(--phosphor-soft);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}
[data-theme=light] .featured-item.is-hover {
  box-shadow: 0 24px 50px rgba(10, 11, 15, 0.16), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}
.featured-item:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-item:focus-within {
  border-color: var(--phosphor-soft);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}
[data-theme=light] .featured-item:focus-within {
  box-shadow: 0 24px 50px rgba(10, 11, 15, 0.16), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}

.featured-item--project {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .featured-item--project {
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  .featured-item--project.fi-side-right {
    grid-template-columns: 1fr 1.1fr;
  }
  .featured-item--project.fi-side-right .fi-media {
    order: 2;
  }
  .featured-item--project.fi-side-right .fi-body {
    order: 1;
  }
}

.featured-item--article {
  --cat: var(--cyan);
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
}
@media (max-width: 600px) {
  .featured-item--article {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
}

.fi-media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent);
  aspect-ratio: 16/10;
  padding: 0.75rem;
  text-decoration: none !important;
  align-self: center;
}
.fi-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.18) contrast(1.04);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme=light] .fi-media {
  background: rgba(10, 11, 15, 0.1);
}

.fi-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--cat) 24%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.fi-view {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  padding: 0.4rem 0.75rem;
  background: color-mix(in srgb, var(--bg-void) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.featured-item.is-hover .fi-media img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.06);
}
.featured-item.is-hover .fi-overlay {
  opacity: 1;
}
.featured-item.is-hover .fi-view {
  opacity: 1;
  transform: translateY(0);
  color: var(--cat);
}

.fi-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fi-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.fi-meta-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.1rem;
}

.fi-index {
  font-size: 0.62rem;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.fi-category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fi-category--project {
  color: var(--phosphor);
}
[data-theme=light] .fi-category--project {
  color: var(--print-phosphor);
}

.fi-category--article {
  color: var(--cyan);
}
[data-theme=light] .fi-category--article {
  color: var(--print-cyan);
}

.fi-title {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
  color: var(--ink);
}

.fi-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-mut);
  margin: 0;
  max-width: 52ch;
}

.fi-tools, .fi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.fi-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--cyan) 32%, transparent);
  border-radius: 2px;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fi-ext i {
  font-size: 0.58rem;
}
.fi-ext.is-hover, .fi-ext:hover {
  color: var(--phosphor);
  border-color: var(--phosphor);
  background: color-mix(in srgb, var(--phosphor) 8%, transparent);
}
.fi-ext:focus-visible {
  outline: none;
  color: var(--phosphor);
  border-color: var(--phosphor);
  background: color-mix(in srgb, var(--phosphor) 8%, transparent);
}
[data-theme=light] .fi-ext {
  color: var(--print-cyan);
  border-color: color-mix(in srgb, var(--print-cyan) 40%, transparent);
}

.fi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mut);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  padding-top: 0.4rem;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fi-link i {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fi-link.is-hover, .fi-link:hover {
  color: var(--cat);
}
.fi-link.is-hover i, .fi-link:hover i {
  transform: translateX(4px);
}
.fi-link:focus-visible {
  color: var(--cat);
  outline: none;
}
.fi-link:focus-visible i {
  transform: translateX(4px);
}

.stream-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .featured-item, .fi-media img, .fi-overlay, .fi-view,
  .fi-link, .fi-link i, .fi-index {
    transition-duration: 0.01ms !important;
  }
}
.mag-cta {
  padding: 4rem 0 5rem;
  text-align: center;
}

.cta-heading {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 auto 2.25rem;
  max-width: 26ch;
  text-transform: none;
  text-wrap: balance;
}
.cta-heading em {
  font-style: italic;
}
[data-theme=light] .cta-heading {
  color: #0A0B0F;
}

.cta-actions {
  justify-content: center;
}

.js-reveal-ready .reveal,
.js-reveal-ready .reveal-left,
.js-reveal-ready .reveal-right,
.js-reveal-ready [data-reveal] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-reveal-ready .reveal {
  transform: translateY(28px);
}
.js-reveal-ready .reveal-left {
  transform: translateX(-32px);
}
.js-reveal-ready .reveal-right {
  transform: translateX(32px);
}
.js-reveal-ready [data-reveal] {
  transform: translateY(20px);
}
.js-reveal-ready .reveal.visible,
.js-reveal-ready .reveal-left.visible,
.js-reveal-ready .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.js-reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .hero-glyph,
  .hud-cell .blink,
  .cover-wordmark .line-inner {
    animation: none !important;
  }
  .cover-wordmark .line-inner {
    filter: none;
    transform: none;
  }
  .cover-tags .tag-chip {
    animation: none !important;
    box-shadow: 0 0 10px color-mix(in srgb, var(--phosphor) 14%, transparent);
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .landing-wrapper {
    padding: 1rem 0 5rem;
  }
  .landing-row {
    flex-direction: column-reverse;
  }
  .landing-row > .col-lg-4 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
  }
  .portrait-frame {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
    background: var(--bg-surface);
    box-shadow: none;
    overflow: hidden;
  }
  .portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.15) contrast(1.04);
  }
  .portrait-scan,
  .portrait-tag,
  .portrait-frame:hover {
    display: none;
    transform: none;
  }
  .portrait-frame:hover {
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  }
  .cover-wordmark {
    font-size: clamp(4.5rem, 11vw, 7rem);
  }
  .cover-deck {
    max-width: 48ch;
  }
  .mag-section {
    padding: 3.5rem 0;
  }
  .mag-stream {
    padding-top: 2.5rem;
    padding-bottom: 0;
  }
  .mag-section-head {
    margin-bottom: 1.75rem;
  }
  .mag-heading {
    font-size: clamp(1.7rem, 3.8vw, 2.2rem);
  }
  .mag-kicker {
    font-size: 0.6rem;
  }
  .stream {
    gap: 1.25rem;
  }
  .featured-item {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .featured-item--article {
    padding: 1.5rem;
    gap: 0.5rem;
  }
  .fi-body {
    gap: 0.65rem;
  }
  .fi-index {
    font-size: 0.58rem;
  }
  .fi-category {
    font-size: 0.58rem;
  }
  .fi-title {
    font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  }
  .fi-desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .fi-link {
    font-size: 0.68rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .stream-foot {
    margin-top: 1.5rem;
  }
  .mag-all {
    font-size: 0.72rem;
  }
  .hero-glyph {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .landing-wrapper {
    min-height: auto;
    padding: 0.75rem 0 5rem;
  }
  .landing-row {
    flex-direction: column-reverse;
  }
  .landing-row > .col-lg-4 {
    margin-top: 0 !important;
    margin-bottom: 1rem;
  }
  .portrait-frame {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
    background: var(--bg-surface);
    box-shadow: none;
    overflow: hidden;
  }
  .portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.1) contrast(1.04);
  }
  .portrait-scan,
  .portrait-tag,
  .portrait-frame:hover {
    display: none;
    transform: none;
  }
  .portrait-frame:hover {
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  }
  .hud-telemetry,
  .hero-glyph {
    display: none;
  }
  .cover-wordmark {
    font-size: clamp(3.5rem, 17vw, 6rem);
    letter-spacing: -0.04em;
    line-height: 0.85;
  }
  .cover-wordmark .line-inner {
    animation-delay: 0.25s;
  }
  .cover-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.85rem;
  }
  .cover-deck {
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    margin-bottom: 1.25rem;
    max-width: none;
  }
  .cover-tags {
    margin-bottom: 1.5rem;
    gap: 0.3rem;
  }
  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 0.85rem 1.25rem;
    font-size: 0.72rem;
  }
  .cover-cta {
    gap: 0.65rem;
  }
  .mag-section {
    padding: 2.5rem 0;
  }
  .mag-stream {
    padding-top: 1.75rem;
    padding-bottom: 0;
  }
  .mag-section-head {
    margin-bottom: 1.25rem;
    gap: 0.4rem;
  }
  .mag-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
  }
  .mag-heading {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
  .mag-section-foot {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }
  .stream {
    gap: 0.75rem;
  }
  .featured-item {
    padding: 0.9rem;
    gap: 0.9rem;
  }
  .featured-item--article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.9rem;
  }
  .fi-body {
    gap: 0.45rem;
  }
  .fi-index {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
  .fi-category {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
  .fi-title {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    letter-spacing: -0.015em;
  }
  .fi-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .fi-tools {
    gap: 0.25rem;
  }
  .fi-link {
    font-size: 0.6rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .stream-foot .mag-all {
    font-size: 0.6rem;
  }
  .mag-cta {
    padding: 2.5rem 0 3rem;
  }
  .cta-heading {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 1.25rem;
  }
  .hero-aurora {
    filter: blur(16px);
    animation: none;
  }
}
@media (hover: none) and (pointer: coarse) {
  .btn-primary-custom:active,
  .btn-secondary-custom:active {
    transform: scale(0.98);
  }
}
.projects-section {
  padding: 5rem 0 6rem;
}

.projects-header {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.projects-subtitle {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-mut);
  margin: 0.25rem 0 0;
  max-width: 44ch;
  font-feature-settings: "liga", "kern";
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}
@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.project.card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.project.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(from var(--trace-entry, 0deg), var(--phosphor) 0deg, var(--phosphor) var(--trace-spread, 0deg), transparent var(--trace-spread, 0deg), transparent calc(360deg - var(--trace-spread, 0deg)), var(--phosphor) calc(360deg - var(--trace-spread, 0deg)), var(--phosphor) 360deg);
  opacity: 0;
  transition: opacity 0.2s ease;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: padding-box, border-box;
  mask-composite: exclude;
}
.project.card.is-traced::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .project.card::before {
    display: none;
  }
}
[data-theme=light] .project.card {
  background: #F2F0E8;
  border-color: rgba(10, 11, 15, 0.16);
}
.project.card.is-hover {
  transform: translateY(-6px);
  border-color: var(--phosphor-soft);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}
[data-theme=light] .project.card.is-hover {
  box-shadow: 0 22px 40px rgba(10, 11, 15, 0.16), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
  border-color: #0E8F6A;
}
.project.card.is-hover .card-img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.06);
}
.project.card.is-hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.project.card:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.project.card:focus-within {
  border-color: var(--phosphor-soft);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}
[data-theme=light] .project.card:focus-within {
  box-shadow: 0 22px 40px rgba(10, 11, 15, 0.16), 0 0 24px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
  border-color: #0E8F6A;
}
.project.card:focus-within .card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--phosphor);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent);
}
[data-theme=light] .card-media {
  background: rgba(10, 11, 15, 0.1);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(0.25) contrast(1.04);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg-void) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}

.project.card.is-hover .card-arrow {
  color: var(--phosphor);
}

.card-body {
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card-index {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--phosphor);
  margin-bottom: 0.5rem;
}
[data-theme=light] .card-index {
  color: #00805C;
}

.card-title {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  text-transform: none;
}
[data-theme=light] .card-title {
  color: #0A0B0F;
}

.card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-mut);
  margin: 0;
}
[data-theme=light] .card-desc {
  color: rgba(10, 11, 15, 0.62);
}

.card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.1rem;
}

.card-tags .tag-chip {
  position: relative;
  z-index: 2;
}

.card-stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tag-chip--link {
  text-decoration: none;
  cursor: pointer;
}

.tag-chip {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ink-mut);
  background: rgba(31, 184, 134, 0.07);
  border: 1px solid rgba(31, 184, 134, 0.24);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme=light] .tag-chip {
  background: rgba(10, 11, 15, 0.04);
  border-color: rgba(10, 11, 15, 0.18);
  color: rgba(10, 11, 15, 0.8);
}
.tag-chip {
  position: relative;
  overflow: hidden;
  cursor: default;
}
.tag-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(0, 255, 156, 0.22) 50%, transparent 62%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.tag-chip.is-hover, .tag-chip:hover {
  transform: translateY(-1px);
  border-color: var(--phosphor);
  color: var(--phosphor);
  background: rgba(31, 184, 134, 0.12);
  box-shadow: 0 0 12px rgba(0, 255, 156, 0.28);
}
[data-theme=light] .tag-chip.is-hover, [data-theme=light] .tag-chip:hover {
  border-color: #00805C;
  color: #00805C;
  background: rgba(10, 11, 15, 0.06);
  box-shadow: 0 0 10px rgba(10, 11, 15, 0.14);
}
.tag-chip:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 14px color-mix(in srgb, var(--phosphor) 30%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .tag-chip:focus-visible {
    transition: none !important;
  }
}
.tag-chip.is-hover::before, .tag-chip:hover::before {
  transform: translateX(120%);
}
[data-theme=light] .tag-chip::before {
  background: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(10, 11, 15, 0.18) 50%, transparent 62%, transparent 100%);
}

.tag-chip--accent {
  border-color: rgba(43, 228, 255, 0.42);
  color: var(--cyan);
  background: rgba(43, 228, 255, 0.06);
  animation: tag-pulse 5s ease-in-out infinite;
}
[data-theme=light] .tag-chip--accent {
  border-color: rgba(8, 145, 178, 0.5);
  color: #0891B2;
  background: rgba(8, 145, 178, 0.06);
}

@keyframes tag-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(43, 228, 255, 0);
  }
  50% {
    box-shadow: 0 0 10px 0 rgba(43, 228, 255, 0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tag-chip,
  .tag-chip--accent,
  .tag-chip::before {
    transition: none !important;
    animation: none !important;
  }
  .tag-chip.is-hover::before, .tag-chip:hover::before {
    transform: translateX(-120%);
  }
}
.card-wrap {
  position: relative;
}

.cat-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1.5rem 0 2.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.cat-filter__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--phosphor);
}
[data-theme=light] .cat-filter__label {
  color: #00805C;
}

.cat-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cat-chip {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  appearance: none;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  color: var(--ink-mut);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat-chip:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 16px color-mix(in srgb, var(--phosphor) 30%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .cat-chip:focus-visible {
    transition: none !important;
  }
}
.cat-chip.is-hover, .cat-chip:hover {
  color: var(--phosphor);
  border-color: var(--phosphor-soft);
  transform: translateY(-1px);
}
.cat-chip.is-active {
  color: var(--bg-void);
  background: var(--phosphor);
  border-color: var(--phosphor);
}
[data-theme=light] .cat-chip.is-active {
  color: #E8E5DC;
  background: #00805C;
  border-color: #00805C;
}

@media (prefers-reduced-motion: reduce) {
  .cat-chip {
    transition: none !important;
    transform: none !important;
  }
}
.card-kicker {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.card-cat {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink-mut);
}
[data-theme=light] .card-cat {
  color: rgba(10, 11, 15, 0.62);
}

.card-wrap[data-visibility=hidden]:not(.unhidden) {
  display: none;
}

.card-wrap[data-visibility=dimmed] .project.card {
  opacity: 0.62;
  filter: saturate(0.7);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-wrap[data-visibility=dimmed]:hover .project.card {
  opacity: 0.9;
  filter: saturate(1);
}

.visibility-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  justify-content: flex-end;
}

.visibility-toggles .cat-filter__label {
  color: var(--cyan);
}
[data-theme=light] .visibility-toggles .cat-filter__label {
  color: #0891B2;
}

.cat-chip--toggle {
  border-color: color-mix(in srgb, var(--cyan) 28%, transparent);
  color: var(--cyan);
}
[data-theme=light] .cat-chip--toggle {
  border-color: rgba(8, 145, 178, 0.42);
  color: #0891B2;
}
.cat-chip--toggle.is-hover, .cat-chip--toggle:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.cat-chip--toggle.is-active {
  color: var(--bg-void);
  background: var(--cyan);
  border-color: var(--cyan);
}
[data-theme=light] .cat-chip--toggle.is-active {
  color: #E8E5DC;
  background: #0891B2;
  border-color: #0891B2;
}

.cat-chip__count {
  margin-left: 0.4rem;
  opacity: 0.55;
  font-size: 0.9em;
}

@media (prefers-reduced-motion: reduce) {
  .card-wrap[data-visibility=dimmed] .project.card {
    transition: none !important;
  }
}
.cat-chip {
  position: relative;
  overflow: hidden;
}

.cat-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-130%);
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%);
}

.cat-chip.is-active::after {
  animation: chip-shine 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-chip.is-active {
  animation: chip-pop 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.5);
}

.cat-chip.is-outro::after {
  animation: chip-shine-rev 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-chip.is-outro {
  animation: chip-out 0.34s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes chip-shine {
  to {
    transform: translateX(130%);
  }
}
@keyframes chip-shine-rev {
  from {
    transform: translateX(130%);
  }
  to {
    transform: translateX(-130%);
  }
}
@keyframes chip-pop {
  0% {
    transform: scale(0.92);
  }
  55% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes chip-out {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.93);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes card-in {
  0% {
    transform: translateY(22px) scale(0.95);
    filter: blur(7px);
  }
  100% {
    transform: none;
    filter: blur(0);
  }
}
.card-in {
  animation: card-in 0.52s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
  animation-delay: var(--card-in-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .card-in {
    animation: none !important;
  }
  .cat-chip.is-active, .cat-chip.is-outro,
  .cat-chip.is-active::after, .cat-chip.is-outro::after {
    animation: none !important;
  }
}
.article-body,
.project-body {
  max-width: 760px;
  margin: 0 auto;
}

.deck-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .deck-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
  }
}
.deck-body[data-reveal],
.deck-meta[data-reveal] {
  transition-delay: var(--reveal-delay, 0ms);
}

.deck-body[data-reveal] {
  --reveal-delay: 0ms;
}

.deck-meta[data-reveal] {
  --reveal-delay: 100ms;
}

.deck-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 40ch;
  font-feature-settings: "liga", "kern";
}

.deck-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.deck-label {
  display: block;
  font-size: 0.6rem;
  color: var(--phosphor);
  letter-spacing: 0.22em;
  margin-bottom: 0.6rem;
}

.deck-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  color: var(--phosphor);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--dur-base, 0.32s) var(--ease-out-expo, ease-out);
}
.back-link i {
  transition: transform var(--dur-base, 0.32s) var(--ease-out-expo, ease-out);
}
.back-link.is-hover, .back-link:hover {
  color: var(--cyan);
}
.back-link.is-hover i, .back-link:hover i {
  transform: translateX(-4px);
}
.back-link:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 18px color-mix(in srgb, var(--phosphor) 32%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .back-link:focus-visible {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-link,
  .back-link i {
    transition: none !important;
  }
}
.project-detail {
  padding-bottom: 5rem;
}

/* ---- Editorial hero (full-bleed, magazine cover) ---- */
.project-hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(540px, 88vh, 920px);
  display: grid;
  grid-template-columns: minmax(28px, 6vw) 1fr minmax(28px, 6vw);
  grid-template-rows: 1fr;
  align-items: end;
  overflow: hidden;
  background: var(--bg-void);
  color: var(--ink);
}

/* ---- Atmosphere stack ---- */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  transform-origin: 62% 38%;
  will-change: opacity, transform, filter;
  transition: opacity 1.2s var(--ease-out-expo) 200ms, filter 1.2s var(--ease-out-expo) 200ms, transform 1.2s var(--ease-out-expo) 200ms;
}

.js-reveal-ready .hero-image-wrap {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.1);
}

.hero-image-wrap.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1.04);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9) brightness(0.94);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
}

[data-theme=light] .hero-grain {
  opacity: 0.05;
  mix-blend-mode: multiply;
}

.hero-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0.5;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-void) 18%, transparent) 0%, color-mix(in srgb, var(--bg-void) 0%, transparent) 28%, color-mix(in srgb, var(--bg-void) 38%, transparent) 70%, color-mix(in srgb, var(--bg-void) 80%, transparent) 100%), linear-gradient(90deg, color-mix(in srgb, var(--bg-void) 58%, transparent) 0%, color-mix(in srgb, var(--bg-void) 12%, transparent) 45%, transparent 78%);
  pointer-events: none;
}

.hero-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 78% 22%, rgba(255, 255, 255, 0.07) 0%, transparent 65%), linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

/* ---- Typography column ---- */
.hero-content {
  grid-column: 2/3;
  grid-row: 1;
  align-self: end;
  position: relative;
  padding-block: clamp(72px, 14vh, 140px) clamp(56px, 10vh, 96px);
  max-width: 720px;
}

/* Frosted panel moved to .hero-title::before below - kept tight to the title only. */
@property --panel-strength {
  syntax: "<percentage>";
  initial-value: 0%;
  inherits: false;
}
@keyframes hero-panel {
  to {
    --panel-strength: 100%;
  }
}
.hero-meta {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.66rem, 0.78vw, 0.78rem);
  color: var(--ink);
  opacity: 0.62;
  margin: 0 0 1.1rem;
}

.hero-kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.7rem, 0.82vw, 0.84rem);
  color: var(--phosphor);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
}

.kicker-mark {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  position: relative;
  isolation: isolate;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  letter-spacing: -0.028em;
  line-height: 0.92;
  text-wrap: balance;
  max-width: 13ch;
  margin: 0 0 clamp(1.2rem, 2.4vh, 1.8rem);
  color: var(--ink);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-optical-sizing: auto;
}

.hero-title::before {
  content: "";
  position: absolute;
  top: clamp(-6px, -0.6vh, -2px);
  bottom: clamp(-6px, -0.6vh, -2px);
  left: clamp(-18px, -1.6vw, -12px);
  right: clamp(-180px, -16vw, -120px);
  z-index: -1;
  border-radius: 2px;
  --panel-strength: 0%;
  background: linear-gradient(100deg, color-mix(in srgb, var(--bg-void) calc(55% * var(--panel-strength) / 100%), transparent) 0%, color-mix(in srgb, var(--bg-void) calc(32% * var(--panel-strength) / 100%), transparent) 60%, transparent 100%);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  pointer-events: none;
  animation: hero-panel 1.6s var(--ease-out-expo) 0.4s forwards;
}

.hero-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  opacity: 0.86;
  text-wrap: pretty;
  max-width: 44ch;
  margin: 0 0 clamp(1.4rem, 2.8vh, 2rem);
}

.hero-rule {
  width: 64px;
  height: 1px;
  background: color-mix(in srgb, var(--ink) 50%, transparent);
}

/* ---- Reveal stagger ---- */
.hero-content [data-reveal] {
  transition-delay: var(--reveal-delay, 0ms);
}

.hero-meta {
  --reveal-delay: 300ms;
  transition-duration: 800ms;
}

.hero-lede {
  --reveal-delay: 0ms;
  transition-duration: 550ms;
}

.hero-rule {
  --reveal-delay: 90ms;
  transition-duration: 550ms;
  transform: none !important;
}

.hero-image-wrap {
  transition-delay: 200ms;
}

/* ---- Kicker typer (built in JS) ---- */
.hero-kicker .typer {
  display: inline-block;
}

.hero-kicker .typer-caret {
  display: inline-block;
  width: 0.6ch;
  margin-left: 0.1ch;
  color: currentColor;
  font-family: var(--font-mono);
  animation: typer-blink 0.85s steps(2, end) infinite;
}

.hero-kicker .typer-caret.is-done {
  opacity: 0;
  transition: opacity 240ms var(--ease-out-expo);
}

@keyframes typer-blink {
  50% {
    opacity: 0;
  }
}
/* ---- Title word mask (built in JS) ---- */
.hero-title.is-ready {
  /* parent no longer needs the global translateY; words animate */
  transform: none !important;
  opacity: 1 !important;
}

.hero-title .hero-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.hero-title .hero-w-i {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 700ms var(--ease-out-expo);
  transition-delay: calc(var(--word-i, 0) * 45ms);
  will-change: transform;
}

.hero-title.is-visible .hero-w-i {
  transform: translateY(0);
}

/* ---- Body reading column reveal ---- */
.project-body [data-reveal] {
  transition-duration: 500ms;
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---- No-image variant ---- */
.project-hero--no-image {
  min-height: 0;
  padding: 0;
}

.project-hero--no-image .hero-image-wrap,
.project-hero--no-image .hero-grain,
.project-hero--no-image .hero-frame {
  display: none;
}

.project-hero--no-image .hero-veil {
  background: linear-gradient(155deg, color-mix(in srgb, var(--bg-surface) 100%, transparent) 0%, color-mix(in srgb, var(--bg-void) 100%, transparent) 100%);
}

/* ---- Mobile restructure ---- */
@media (max-width: 720px) {
  .project-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: 100%;
    margin-left: 0;
  }
  .hero-backdrop {
    position: relative;
    inset: auto;
    aspect-ratio: 4/3;
    max-height: 56vh;
    overflow: hidden;
  }
  .hero-image-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    transform: none;
    animation: none;
    transition: none;
    opacity: 1;
    filter: none;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.9) brightness(0.94);
  }
  .hero-veil {
    /* Stronger bottom shade so text reads on bright cover images */
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-void) 0%, transparent) 0%, color-mix(in srgb, var(--bg-void) 0%, transparent) 55%, color-mix(in srgb, var(--bg-void) 55%, transparent) 100%);
  }
  .hero-grain,
  .hero-frame,
  .hero-light {
    display: none;
  }
  .hero-content {
    grid-column: auto;
    align-self: stretch;
    max-width: none;
    padding: clamp(36px, 9vw, 56px) clamp(20px, 6vw, 32px) clamp(48px, 12vw, 72px);
    background: transparent;
  }
  .hero-title::before {
    display: none;
  }
  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 0.96;
    max-width: 11ch;
    letter-spacing: -0.022em;
  }
  .hero-kicker {
    margin-bottom: 1.2rem;
  }
}
/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-image-wrap,
  .hero-title::before,
  .hero-content [data-reveal],
  .hero-title .hero-w-i {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    --panel-strength: 100% !important;
  }
  .hero-kicker .typer-caret {
    animation: none !important;
    opacity: 0 !important;
  }
  .pn-card,
  .pn-card .pn-rail,
  .pn-card .pn-arrow,
  .pn-card .pn-cover,
  .pn-card .pn-title::after {
    transition: none !important;
  }
  .pn-card:hover,
  .pn-card:active {
    transform: none !important;
  }
  .pn-card:hover .pn-cover,
  .pn-card:hover .pn-arrow {
    transform: none !important;
  }
}
/* ---- Deck wrapper padding (grid + meta + tags are shared in _sass/_detail.scss) ---- */
.project-deck {
  padding: 3rem 0 2.5rem;
}

/* ---- Body reading column (prose lives in _sass/_markdown.scss;
   only the serif H2 override is project-specific) ---- */
.project-body-section {
  padding: 1rem 0 3rem;
}

.project-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  margin-top: 3rem;
  margin-bottom: 1.1rem;
  color: var(--ink);
}

/* ---- Prev / Next + back ---- */
.project-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-top: 3rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

@media (min-width: 768px) {
  .project-nav {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "back back" "prev next";
  }
}
.back-link {
  grid-area: back;
} /* visual in _sass/_detail.scss */
.pn-prev {
  grid-area: prev;
}

.pn-next {
  grid-area: next;
}

.pn-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 116px;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out-expo), border-color var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo);
}

.pn-next {
  flex-direction: row-reverse;
  text-align: right;
}

/* Kill any inherited link underline (UA a:hover etc.) - only the title ::after underlines on hover */
.pn-card, .pn-card:hover, .pn-card:focus-visible,
.pn-card span, .pn-card i {
  text-decoration: none;
  border-bottom: none;
}

/* Full-bleed cover image */
.pn-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.25) contrast(1.05) brightness(0.92);
  transition: transform var(--dur-base) var(--ease-out-expo), filter var(--dur-base) var(--ease-out-expo);
}

/* Veil - surface-tinted gradient keeps text legible over the image */
.pn-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg-surface) 92%, transparent) 0%, color-mix(in srgb, var(--bg-surface) 60%, transparent) 48%, color-mix(in srgb, var(--bg-surface) 10%, transparent) 100%);
}

.pn-next .pn-veil {
  background: linear-gradient(270deg, color-mix(in srgb, var(--bg-surface) 92%, transparent) 0%, color-mix(in srgb, var(--bg-surface) 60%, transparent) 48%, color-mix(in srgb, var(--bg-surface) 10%, transparent) 100%);
}

/* Direction rail - phosphor accent on the leading edge; glows on hover */
.pn-rail {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  z-index: 2;
  background: color-mix(in srgb, var(--phosphor) 45%, transparent);
  transition: background var(--dur-base) var(--ease-out-expo), box-shadow var(--dur-base) var(--ease-out-expo);
}

.pn-next .pn-rail {
  left: auto;
  right: 0;
}

/* Direction arrow; slides on hover */
.pn-arrow {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.7;
  transition: transform var(--dur-base) var(--ease-out-expo), color var(--dur-fast) var(--ease-out-expo), opacity var(--dur-fast) var(--ease-out-expo);
}

/* Text stack */
.pn-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.pn-next .pn-text {
  align-items: flex-end;
}

.pn-kicker {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--phosphor);
}

.pn-title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  transition: color var(--dur-base) var(--ease-out-expo);
}

/* Underline - title only, grows on hover */
.pn-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.pn-next .pn-title::after {
  transform-origin: right center;
}

.pn-meta {
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--ink-mut);
}

/* Hover - lift, phosphor border, glow, cover zoom, rail lights, arrow slides, title underline */
@media (hover: hover) and (pointer: fine) {
  .pn-card:hover {
    transform: translateY(-5px);
    border-color: var(--phosphor-soft);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  [data-theme=light] .pn-card:hover {
    box-shadow: 0 18px 32px rgba(10, 11, 15, 0.16);
  }
  .pn-card:hover .pn-cover {
    transform: scale(1.06);
    filter: grayscale(0) contrast(1.08) brightness(1);
  }
  .pn-card:hover .pn-rail {
    background: var(--phosphor);
    box-shadow: 0 0 12px color-mix(in srgb, var(--phosphor) 60%, transparent);
  }
  .pn-card:hover .pn-arrow {
    color: var(--phosphor);
    opacity: 1;
  }
  .pn-card:hover .pn-title {
    color: var(--phosphor);
  }
  .pn-card:hover .pn-title::after {
    transform: scaleX(1);
  }
  .pn-prev:hover .pn-arrow {
    transform: translateX(-4px);
  }
  .pn-next:hover .pn-arrow {
    transform: translateX(4px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pn-card:active {
    transform: translateY(0) scale(0.985);
    transition: transform 0.12s var(--ease-out-expo);
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-body {
    animation: none;
  }
}
.search-scope {
  margin-bottom: 1.5rem;
}

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.2s ease;
}

.search-bar.active {
  border-color: color-mix(in srgb, var(--phosphor-soft) 22%, transparent);
  background: color-mix(in srgb, var(--phosphor-soft) 4%, transparent);
}

.search-bar.active:focus-within {
  border-color: color-mix(in srgb, var(--phosphor) 50%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--phosphor) 10%, transparent);
}

.search-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 42px;
  padding: 0 0.9rem;
  overflow: hidden;
  white-space: nowrap;
  flex: 1 1 0;
  max-width: 0;
  opacity: 0;
  min-width: 0;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.search-bar.active .search-content {
  max-width: 100%;
  opacity: 1;
}

.search-prompt {
  font-size: 0.8rem;
  color: var(--phosphor);
  font-weight: 700;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.search-input::placeholder {
  color: var(--ink-faint);
}

.search-count {
  font-size: 0.62rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.search-toggle {
  height: 42px;
  padding: 0 0.8rem;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.35s ease, color 0.25s ease, background 0.25s ease;
}

.search-toggle:hover {
  border-color: color-mix(in srgb, var(--phosphor) 40%, transparent);
  color: var(--phosphor);
}

.search-toggle:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 16px color-mix(in srgb, var(--phosphor) 30%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .search-toggle:focus-visible {
    transition: none !important;
  }
}

.search-bar.active .search-toggle {
  border-color: transparent;
  color: var(--ink-faint);
}

.search-empty {
  padding: 2.5rem 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.search-cursor-blink {
  animation: search-blink 1.1s steps(1) infinite;
}

@keyframes search-blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
.gallery {
  margin: 2.75rem 0;
  position: relative;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  background: var(--bg-raised);
  height: clamp(300px, 56vh, 560px);
  touch-action: pan-y;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery-track.dragging {
  transition: none;
}

.gallery-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  user-select: none;
}

.gallery-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  pointer-events: none;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
  background: color-mix(in srgb, var(--bg-void) 62%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 4;
  opacity: 0.75;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-nav:hover {
  opacity: 1;
  border-color: var(--phosphor);
  color: var(--phosphor);
  background: color-mix(in srgb, var(--phosphor) 12%, transparent);
}

.gallery-nav:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  color: var(--phosphor);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 4;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--ink-mut);
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  background: color-mix(in srgb, var(--bg-void) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-sep {
  opacity: 0.45;
  margin: 0 0.15rem;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px 1px 6px;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 86px;
  height: 58px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.5;
  background: var(--bg-raised);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-thumb:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 14px color-mix(in srgb, var(--phosphor) 28%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .gallery-thumb:focus-visible {
    transition: none !important;
  }
}

.gallery-thumb:hover {
  opacity: 0.85;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--phosphor);
}

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

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 5, 8, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ECEEF5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-btn:active {
  transform: scale(0.94);
}

.lightbox-btn:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 16px color-mix(in srgb, var(--phosphor) 40%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-btn:focus-visible {
    transition: none !important;
  }
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover, .lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(236, 238, 245, 0.7);
}

@media (max-width: 576px) {
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    transition: none;
  }
  .lightbox {
    transition: none;
  }
  .lightbox-img {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
#smooth-scroll > footer {
  border-top: 1px solid rgba(0, 255, 156, 0.18);
  background: transparent;
  position: relative;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}
[data-theme=light] #smooth-scroll > footer {
  border-top-color: rgba(10, 11, 15, 0.18);
}
#smooth-scroll > footer small {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 238, 245, 0.6);
}
[data-theme=light] #smooth-scroll > footer small {
  color: rgba(10, 11, 15, 0.62);
}
#smooth-scroll > footer small .fa-heart {
  color: #FF2E4C;
}
#smooth-scroll > footer small .fa-code {
  color: #00FF9C;
}
[data-theme=light] #smooth-scroll > footer small .fa-code {
  color: #00805C;
}
#smooth-scroll > footer small .fa-map-marker-alt {
  color: #2BE4FF;
}
[data-theme=light] #smooth-scroll > footer small .fa-map-marker-alt {
  color: #0891B2;
}

.social {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 2px !important;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: var(--bg-surface);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.social.is-hover, .social:hover {
  transform: translateY(-3px);
  border-color: var(--phosphor) !important;
  background: color-mix(in srgb, var(--phosphor) 10%, transparent) !important;
  color: var(--ink) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--phosphor) 24%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
}
.social:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 20px color-mix(in srgb, var(--phosphor) 34%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .social:focus-visible {
    transition: none !important;
  }
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--bg-surface);
  color: var(--phosphor);
  border: 1px solid color-mix(in srgb, var(--phosphor) 35%, transparent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  font-size: 0.85rem;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top.is-hover, .back-to-top:hover {
  background: var(--phosphor);
  color: var(--bg-void);
  border-color: var(--phosphor);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--phosphor) 35%, transparent);
}
.back-to-top:active {
  transform: translateY(0) scale(0.95);
}
.back-to-top:focus-visible {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--phosphor) 60%, transparent), 0 0 22px color-mix(in srgb, var(--phosphor) 38%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 38%, transparent);
  transition: border-color var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow var(--dur-lightup, 0.45s) var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top:focus-visible {
    transition: none !important;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--phosphor);
  box-shadow: 0 0 10px color-mix(in srgb, var(--phosphor) 60%, transparent);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s linear;
}

.about-wrapper {
  padding: 2rem 0 4rem;
  max-width: 820px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid color-mix(in srgb, var(--phosphor-soft) 26%, transparent);
}

.section-eyebrow {
  display: block;
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: "Space Grotesk", "Outfit", system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.028em;
  text-transform: uppercase;
  line-height: 1;
  text-wrap: balance;
}

.about-intro p {
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-intro strong {
  color: var(--phosphor-soft);
}

.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-list li {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ink-mut);
  background: rgba(31, 184, 134, 0.07);
  border: 1px solid rgba(31, 184, 134, 0.24);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme=light] .skills-list li {
  background: rgba(10, 11, 15, 0.04);
  border-color: rgba(10, 11, 15, 0.18);
  color: rgba(10, 11, 15, 0.8);
}
.skills-list li.is-hover, .skills-list li:hover {
  transform: translateY(-1px);
  border-color: var(--phosphor);
  color: var(--phosphor);
  background: rgba(31, 184, 134, 0.12);
  box-shadow: 0 0 12px rgba(0, 255, 156, 0.28);
}
[data-theme=light] .skills-list li.is-hover, [data-theme=light] .skills-list li:hover {
  border-color: #00805C;
  color: #00805C;
  background: rgba(10, 11, 15, 0.06);
  box-shadow: 0 0 10px rgba(10, 11, 15, 0.14);
}
.skills-list li::before {
  content: "// ";
  color: var(--phosphor);
  opacity: 0.75;
}

.skills-section {
  margin-bottom: 1.5rem;
}

.skills-title {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--cyan);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ink-mut);
  background: rgba(31, 184, 134, 0.07);
  border: 1px solid rgba(31, 184, 134, 0.24);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme=light] .skill-tag {
  background: rgba(10, 11, 15, 0.04);
  border-color: rgba(10, 11, 15, 0.18);
  color: rgba(10, 11, 15, 0.8);
}
.skill-tag.is-hover, .skill-tag:hover {
  transform: translateY(-1px);
  border-color: var(--phosphor);
  color: var(--phosphor);
  background: rgba(31, 184, 134, 0.12);
  box-shadow: 0 0 12px rgba(0, 255, 156, 0.28);
}
[data-theme=light] .skill-tag.is-hover, [data-theme=light] .skill-tag:hover {
  border-color: #00805C;
  color: #00805C;
  background: rgba(10, 11, 15, 0.06);
  box-shadow: 0 0 10px rgba(10, 11, 15, 0.14);
}
.skill-tag {
  cursor: default;
}

.languages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.language-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  transition: background 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.language-item:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--phosphor) 10%, transparent);
  border-color: color-mix(in srgb, var(--phosphor) 35%, transparent);
}

.language-name {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.language-name::after {
  content: "//";
  color: var(--phosphor);
  opacity: 0.55;
  margin-left: 0.35rem;
  font-weight: 400;
}

.language-level {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.languages-note {
  margin-top: 1rem;
  font-size: 0.65rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.education-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-left: 2px solid var(--phosphor-soft);
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}

.education-index {
  font-size: 0.65rem;
  color: var(--phosphor-soft);
  letter-spacing: 0.16em;
  flex-shrink: 0;
}

.education-content {
  min-width: 0;
}

.education-qualification {
  font-family: "Fraunces", "Georgia", "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.2rem;
  color: var(--ink);
}

.education-institution {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0 0 0.5rem;
}

.education-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--ink-mut);
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-blurb {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-mut);
  margin: 0;
  max-width: 52ch;
}

.contact-social {
  margin-top: 0.25rem;
}

#contact {
  scroll-margin-top: 2rem;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (max-width: 576px) {
  .now-grid {
    grid-template-columns: 1fr;
  }
}

.now-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}

.now-label {
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  flex-shrink: 0;
  min-width: 4.5rem;
}

.now-value {
  font-family: "Inter", "DM Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ink-mut);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--phosphor-soft);
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  border-radius: 0 2px 2px 0;
}

.testimonial p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-mut);
  margin: 0 0 0.5rem;
}

.testimonial cite {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--phosphor-soft);
}

.placeholder {
  font-style: italic;
  color: var(--ink-faint);
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 28%, transparent);
  padding-bottom: 1px;
}

.timeline-body {
  position: relative;
  padding: 0.5rem 0;
}

.timeline-body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--phosphor-soft), color-mix(in srgb, var(--phosphor-soft) 12%, transparent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: 1.5rem;
  padding: 0 2.25rem;
  box-sizing: border-box;
}

.timeline-item.side-left {
  left: 0;
  text-align: right;
}

.timeline-item.side-right {
  left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 1.1rem;
  width: 12px;
  height: 12px;
  background: var(--bg-void);
  border: 2px solid var(--phosphor);
  transform: rotate(45deg);
  box-shadow: 0 0 8px color-mix(in srgb, var(--phosphor) 50%, transparent);
  z-index: 2;
}

.side-left .timeline-marker {
  right: -6px;
}

.side-right .timeline-marker {
  left: -6px;
}

.timeline-content {
  display: inline-block;
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid color-mix(in srgb, var(--phosphor-soft) 22%, transparent);
  padding: 0.9rem 1.05rem;
  border-radius: 2px;
  max-width: 100%;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-content:hover {
  border-color: color-mix(in srgb, var(--phosphor) 60%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 16px color-mix(in srgb, var(--phosphor) 22%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 35%, transparent);
}
[data-theme=light] .timeline-content:hover {
  box-shadow: 0 8px 18px rgba(10, 11, 15, 0.1), 0 0 14px color-mix(in srgb, var(--phosphor) 20%, transparent), inset 0 1px 0 color-mix(in srgb, var(--phosphor) 32%, transparent);
}

.timeline-index {
  display: block;
  font-size: 0.58rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: "Space Grotesk", "Outfit", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.timeline-date {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  color: var(--phosphor);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-mut);
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-body::before {
    left: 8px;
    transform: none;
  }
  .timeline-item,
  .timeline-item.side-left,
  .timeline-item.side-right {
    width: 100%;
    left: 0;
    padding: 0 0 0 2rem;
    text-align: left;
    margin-bottom: 1.25rem;
  }
  .side-left .timeline-marker,
  .side-right .timeline-marker {
    left: 2px;
    right: auto;
  }
}
[data-theme=light] #theme-toggler:before {
  content: "SOLID";
}
[data-theme=dark] #theme-toggler:before {
  content: "VOID";
}
#theme-toggler:before {
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.5rem;
  border: 1px solid;
}
[data-theme=light] #theme-toggler:before {
  border-color: rgba(10, 11, 15, 0.35);
}
[data-theme=dark] #theme-toggler:before {
  border-color: rgba(0, 255, 156, 0.45);
}
[data-theme=light] #theme-toggler:before {
  color: #0A0B0F;
}
[data-theme=dark] #theme-toggler:before {
  color: #00FF9C;
}
[data-theme=light] #theme-toggler:before {
  background: transparent;
}
[data-theme=dark] #theme-toggler:before {
  background: rgba(0, 255, 156, 0.04);
}
#theme-toggler:before {
  transition: background 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme=light] #theme-toggler:hover:before {
  background: rgba(10, 11, 15, 0.05);
}
[data-theme=dark] #theme-toggler:hover:before {
  background: rgba(0, 255, 156, 0.1);
}

[data-theme=light] .navbar-themed .navbar-brand,
[data-theme=light] .navbar-themed .navbar-nav .nav-link.active {
  color: #0A0B0F;
}
[data-theme=dark] .navbar-themed .navbar-brand,
[data-theme=dark] .navbar-themed .navbar-nav .nav-link.active {
  color: #ECEEF5;
}
[data-theme=light] .navbar-themed .navbar-nav .nav-link {
  color: rgba(10, 11, 15, 0.62);
}
[data-theme=dark] .navbar-themed .navbar-nav .nav-link {
  color: rgba(236, 238, 245, 0.6);
}
[data-theme=light] .navbar-themed .navbar-nav .nav-link.is-hover, [data-theme=light] .navbar-themed .navbar-nav .nav-link:hover {
  color: #0A0B0F;
}
[data-theme=dark] .navbar-themed .navbar-nav .nav-link.is-hover, [data-theme=dark] .navbar-themed .navbar-nav .nav-link:hover {
  color: #ECEEF5;
}

[data-theme=dark] {
  color: #ECEEF5 !important;
}
[data-theme=dark] h1, [data-theme=dark] h2, [data-theme=dark] h3, [data-theme=dark] h4, [data-theme=dark] h5, [data-theme=dark] h6,
[data-theme=dark] .h1, [data-theme=dark] .h2, [data-theme=dark] .h3, [data-theme=dark] .h4, [data-theme=dark] .h5, [data-theme=dark] .h6 {
  color: #ECEEF5 !important;
}
[data-theme=dark] .text-muted {
  color: rgba(236, 238, 245, 0.6) !important;
}
[data-theme=dark] a:not([class*=btn]) {
  color: #2BE4FF;
}
[data-theme=dark] a:not([class*=btn]).is-hover, [data-theme=dark] a:not([class*=btn]):hover {
  color: #00FF9C;
}
[data-theme=dark] .card {
  background-color: #11141C;
  border: 1px solid rgba(236, 238, 245, 0.1);
  color: #ECEEF5;
}
[data-theme=dark] .card-body {
  color: rgba(236, 238, 245, 0.86);
}
[data-theme=dark] .card-title {
  color: #ECEEF5 !important;
}
[data-theme=dark] .project.card, [data-theme=dark] .post.card {
  background-color: #11141C;
  border-color: rgba(236, 238, 245, 0.1);
}
[data-theme=dark] #smooth-scroll > footer {
  border-top-color: rgba(0, 255, 156, 0.2);
  color: rgba(236, 238, 245, 0.6);
}
[data-theme=dark] .bg-themed {
  background-color: transparent !important;
}
[data-theme=dark] .timeline-body {
  background-color: transparent !important;
}
[data-theme=dark] .btn-outline-primary {
  color: #00FF9C;
  border-color: #00FF9C;
}
[data-theme=dark] .btn-outline-primary.is-hover, [data-theme=dark] .btn-outline-primary:hover {
  background-color: #00FF9C;
  color: #0B0D14;
}
[data-theme=dark] .btn-outline-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 255, 156, 0.55);
}

[data-theme=light] .card {
  background-color: #F2F0E8;
  border: 1px solid rgba(10, 11, 15, 0.18);
}
[data-theme=light] .project.card, [data-theme=light] .post.card {
  background-color: #F2F0E8;
  border-color: rgba(10, 11, 15, 0.18);
}

[data-theme=light] body {
  background-color: #E8E5DC;
}
[data-theme=dark] body {
  background-color: #0B0D14;
}
[data-theme=light] body {
  color: #0A0B0F;
}
[data-theme=dark] body {
  color: #ECEEF5;
}
body {
  transition: background-color 0.32s cubic-bezier(0.16, 1, 0.3, 1), color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme=dark] body {
  background-image: radial-gradient(ellipse 130% 85% at 50% -18%, #14171F 0%, #0B0D14 48%, #06070B 100%);
  background-attachment: fixed;
}

[data-theme=light] body {
  background-image: radial-gradient(ellipse 130% 85% at 50% -18%, #F2F0E8 0%, #E8E5DC 52%, #D4D1C6 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 255, 156, 0.016) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 156, 0.016) 1px, transparent 1px);
  background-size: 64px 64px;
}
[data-theme=light] body::before {
  background-image: linear-gradient(rgba(10, 11, 15, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 11, 15, 0.028) 1px, transparent 1px);
}

@media (max-width: 991.98px) {
  #theme-toggler,
  .navbar-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    padding: 0 0.6rem !important;
  }
  #theme-toggler:before {
    font-size: 0.56rem;
    padding: 0;
    border: none;
    background: transparent !important;
    letter-spacing: 0.1em;
  }
}

/*# sourceMappingURL=style.css.map */