:root {
  --font-ui: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  /* base */
  --bg: #070a10;
  --panel: rgba(255, 255, 255, .04);
  --panel2: rgba(255, 255, 255, .06);
  --text: rgba(255, 255, 255, .88);
  --muted: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .10);
  --a: #7ef0d4;
  --b: #9aa7ff;
  --warn: #ffd38f;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --radius: 18px;
  --radius2: 24px;
  --scanlines: .08;
  --noise: .08;
}

html[data-theme=midnight] {
  --bg: #060712;
  --panel: rgba(255, 255, 255, .035);
  --panel2: rgba(255, 255, 255, .055);
  --a: #9aa7ff;
  --b: #7ef0d4;
  --scanlines: .06;
  --noise: .07;
}

html[data-theme=ember] {
  --bg: #0b0605;
  --panel: rgba(255, 255, 255, .03);
  --panel2: rgba(255, 255, 255, .055);
  --a: #ff8b6a;
  --b: #ffd38f;
  --scanlines: .07;
  --noise: .08;
}

html[data-theme=cobalt] {
  --bg: #050812;
  --panel: rgba(255, 255, 255, .03);
  --panel2: rgba(255, 255, 255, .055);
  --a: #5ddcff;
  --b: #8a7dff;
  --scanlines: .06;
  --noise: .07;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

/* ===== Background layers ===== */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(126, 240, 212, 0.08), transparent 55%), radial-gradient(1200px 600px at 85% 20%, rgba(154, 167, 255, 0.07), transparent 55%), radial-gradient(1200px 900px at 50% 100%, rgba(255, 255, 255, 0.03), transparent 60%);
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.12;
  transform: translateZ(0);
  mask-image: radial-gradient(circle at 50% 20%, black 0%, rgba(0, 0, 0, 0.9) 60%, transparent 85%);
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.72) 100%);
}

.bg__scanlines {
  position: absolute;
  inset: 0;
  opacity: var(--scanlines);
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 2px, transparent 6px);
  mix-blend-mode: overlay;
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ===== Layout ===== */
.wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
  padding: 92px 0 72px;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 100% - 40px);
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.topbar__left {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.topbar__right {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.topbar__progress {
  position: absolute;
  z-index: 0;
  left: 22px;
  right: 22px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  pointer-events: none;
}

.topbar__progressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--a), var(--b));
  opacity: 0.9;
  transform: translateZ(0);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
}

.brand__mark {
  font-family: var(--font-mono);
  color: var(--a);
  opacity: 0.95;
}

.brand__text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.pill--muted {
  color: var(--muted);
}

.status {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

@supports (color: color-mix(in srgb, red, transparent)) {
  .status__dot {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 22%, transparent);
  }
}
.clock {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.clock__value {
  color: var(--text);
  font-weight: 600;
}

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
  font-family: var(--font-mono);
  font-size: 12px;
}

.iconbtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.iconbtn:active {
  transform: translateY(0px);
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
  padding-top: 10px;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
.kicker {
  font-family: var(--font-mono);
  color: var(--muted);
  margin: 0 0 10px;
}

.kicker__accent {
  color: var(--a);
}

.hero__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.hero__role {
  margin: 10px 0 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.hero__tagline {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.3;
  min-height: 2.6em;
  max-height: 2.6em;
  overflow: hidden;
  min-height: 2lh;
  max-height: 2lh;
}

.typewriter__cursor {
  display: inline-block;
  margin-left: 6px;
  height: 1em;
  vertical-align: -0.1em;
  border-left: 2px solid var(--a);
  animation: twBlink 1s steps(1, end) infinite;
}

@keyframes twBlink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .typewriter__cursor {
    animation: none;
  }
}
.hero__intro {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 70ch;
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
}

.btn--small {
  padding: 8px 12px;
  font-size: 13px;
}

.links {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.link {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 10px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  transition: transform 0.14s ease, border-color 0.14s ease;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
}

.link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.link__note {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Panels ===== */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel--glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.panel__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.panel__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.panel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.panel__bd {
  padding: 14px;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.kv:last-child {
  border-bottom: 0;
}

.kv__k {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
}

.kv__v {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.hint {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.hint__key {
  font-family: var(--font-mono);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--a);
}

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

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.76);
}

.chip--soft {
  background: rgba(255, 255, 255, 0.02);
}

.chip--tag {
  background: linear-gradient(180deg, rgba(126, 240, 212, 0.1), rgba(154, 167, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.1);
}

.muted {
  color: var(--muted);
  margin: 12px 0 0;
}

/* ===== Sections ===== */
.section {
  margin-top: 38px;
}

.section__hd {
  margin-bottom: 14px;
}

.section__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.section__sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 70ch;
  position: relative;
  padding-left: 14px;
}

.section__sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a), var(--b));
  opacity: 0.9;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 920px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}
.skillGroup {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.skillGroup:last-child {
  border-bottom: 0;
}

.skillGroup__name {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.skillGroup__items {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Timeline ===== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
}

.timeline__bar {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--a), var(--b));
  opacity: 0.25;
}
@supports (color: color-mix(in srgb, white, black)) {
  .timeline__bar {
    background: linear-gradient(180deg, color-mix(in srgb, var(--a) 28%, transparent), color-mix(in srgb, var(--b) 20%, transparent));
    opacity: 0.9;
  }
}

.timeline__title {
  font-weight: 700;
}

.timeline__meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 2px;
}

.timeline__list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

/* ===== Projects cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cards > .card {
  display: flex;
  flex-direction: column;
}

.cards > .card .card__links {
  margin-top: auto;
  padding-top: 12px;
}

.cards > * {
  min-width: 0;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow);
  padding: 14px;
}

.card__top {
  display: block;
}

.card__titleRow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge--status {
  transform: translateY(1px);
}

.badge--status[data-tone=theme] {
  color: var(--a);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.card__title {
  margin: 0;
  font-size: 18px;
}

.card__sub {
  margin: 6px 0 0;
  color: var(--muted);
}

.card__sub::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a), var(--b));
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.85;
}

.card__idx {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.card__tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card__desc {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.card__links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.link--inline {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* ===== Code snippet ===== */
.snippet {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.snippet__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.snippet__lang {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.snippet__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.snippet__copy:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
}

.snippet__code {
  min-width: 0;
  margin: 0;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  overflow: auto;
}

.snippet__code code {
  white-space: pre;
}

/* ===== Contact ===== */
.emailRow {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.emailRow__addr {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.84);
  padding: 8px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

input,
textarea {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  border-radius: 14px;
  width: 100%;
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

textarea {
  resize: none;
}

input:focus,
textarea:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

@supports (color: color-mix(in srgb, red, transparent)) {
  input:focus,
  textarea:focus {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent);
  }
}
.form__status {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* ===== Footer ===== */
.footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
}

.footer__mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

.sep {
  opacity: 0.35;
  margin: 0 6px;
}

/* ===== Terminal overlay (sobrio) ===== */
.terminal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 50;
}

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

.terminal__panel {
  width: min(820px, 100% - 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal__hd {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.terminal__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.terminal__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.44);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal__close {
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.terminal__body {
  height: 280px;
  overflow: auto;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.terminal__line {
  margin: 0 0 8px;
  white-space: pre-wrap;
}

.terminal__line--muted {
  color: rgba(255, 255, 255, 0.52);
}

.terminal__line--warn {
  color: var(--warn);
}

.terminal__line--cmd {
  color: rgba(255, 255, 255, 0.86);
}

.terminal__accent {
  color: var(--a);
}

.terminal__form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.terminal__prompt {
  font-family: var(--font-mono);
  color: var(--a);
}

.terminal__input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-mono);
  font-size: 12.5px;
  width: 100%;
  caret-color: transparent;
}

.terminal__inputwrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.terminal__mirror {
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  display: inline-block;
  white-space: pre;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1;
  visibility: hidden;
  pointer-events: none;
}

.terminal__caret {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1em;
  border-left: 2px solid var(--a);
  transform: translateY(-50%);
  animation: twBlink 1s steps(1, end) infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .terminal__caret {
    animation: none;
  }
}
/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Glitch ===== */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.18;
}

.glitch::before {
  transform: translateX(-1px);
  color: var(--a);
  clip-path: inset(0 0 55% 0);
  animation: glitchA 7.5s infinite;
}

.glitch::after {
  transform: translateX(1px);
  color: var(--b);
  clip-path: inset(55% 0 0 0);
  animation: glitchB 8.4s infinite;
}

@keyframes glitchA {
  0%, 96%, 100% {
    filter: none;
  }
  97% {
    filter: blur(0.4px);
    transform: translateX(-1px) translateY(-0.5px);
  }
  98% {
    filter: blur(0.2px);
    transform: translateX(0px) translateY(0.4px);
  }
  99% {
    filter: blur(0.3px);
    transform: translateX(-0.6px) translateY(0px);
  }
}
@keyframes glitchB {
  0%, 95%, 100% {
    filter: none;
  }
  96% {
    filter: blur(0.3px);
    transform: translateX(1px) translateY(0.5px);
  }
  97% {
    filter: blur(0.2px);
    transform: translateX(0px) translateY(-0.3px);
  }
  98% {
    filter: blur(0.3px);
    transform: translateX(0.6px) translateY(0px);
  }
  99% {
    filter: blur(0.2px);
    transform: translateX(1px) translateY(0.2px);
  }
}
/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* ===== Mobile topbar tweaks ===== */
@media (max-width: 720px) {
  .topbar__server,
  .topbar__status {
    display: none;
  }
}
body.is-mobile .topbar__server,
body.is-mobile .topbar__status {
  display: none;
}

.cardsMore {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.cardsMore[aria-hidden=true] {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1;
  white-space: nowrap;
}

.badge--done {
  color: var(--b);
  border-color: rgba(126, 240, 212, 0.22);
  background: rgba(126, 240, 212, 0.06);
}

.badge--wip {
  color: var(--a);
  border-color: rgba(154, 167, 255, 0.22);
  background: rgba(154, 167, 255, 0.06);
}

.badge--paused {
  color: rgba(255, 200, 120, 0.9);
  border-color: rgba(255, 200, 120, 0.22);
  background: rgba(255, 200, 120, 0.06);
}

.link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

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