:root {
  --bg: #0d1117;
  --bg-soft: #0b0d12;
  --surface: rgba(15, 18, 23, 0.92);
  --surface-strong: rgba(20, 24, 31, 0.98);
  --surface-elevated: rgba(24, 29, 37, 0.98);
  --text: #edf2f7;
  --text-soft: #c9d2dd;
  --muted: #8d99a8;
  --silver: #c5ced8;
  --silver-strong: #f4f7fb;
  --gold: #d4af37;
  --green: #3fb950;
  --cyan: #4fd7ff;
  --red: #ff5a5f;
  --amber: #ffb454;
  --line: rgba(197, 206, 216, 0.14);
  --line-strong: rgba(222, 230, 240, 0.24);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --shadow-float:
    0 16px 30px rgba(0, 0, 0, 0.22),
    0 6px 16px rgba(0, 0, 0, 0.14);
  --shadow-panel:
    0 28px 56px rgba(0, 0, 0, 0.34),
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --glow: rgba(214, 224, 235, 0.08);
  --bg-gradient:
    radial-gradient(circle at 12% 16%, rgba(197, 206, 216, 0.08), transparent 0 24%),
    radial-gradient(circle at 78% 22%, rgba(79, 215, 255, 0.08), transparent 0 20%),
    radial-gradient(circle at 82% 10%, rgba(244, 247, 251, 0.05), transparent 0 18%),
    linear-gradient(180deg, #030406 0%, #090b10 42%, #06080c 100%);
  --panel-surface:
    linear-gradient(180deg, rgba(17, 21, 28, 0.94), rgba(8, 10, 14, 0.98));
  --panel-overlay:
    linear-gradient(140deg, rgba(255, 255, 255, 0.03), transparent 36%);
  --panel-accent:
    radial-gradient(circle at top right, rgba(244, 247, 251, 0.06), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(79, 215, 255, 0.08), transparent 22%);
  --panel-chrome:
    radial-gradient(circle at 1rem 1rem, rgba(63, 185, 80, 0.82) 0 1.4px, transparent 1.7px),
    radial-gradient(circle at 1.45rem 1rem, rgba(79, 215, 255, 0.82) 0 1.4px, transparent 1.7px),
    radial-gradient(circle at 1.9rem 1rem, rgba(244, 247, 251, 0.56) 0 1.4px, transparent 1.7px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 2.05rem, rgba(255, 255, 255, 0.07) 2.05rem 2.1rem, transparent 2.1rem);
  --card-surface:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(10, 12, 16, 0.76);
  --card-surface-hover:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(12, 15, 20, 0.82);
  --control-surface:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
  --control-surface-hover:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.022));
  --accent-wash:
    linear-gradient(180deg, rgba(212, 175, 55, 0.045), rgba(255, 255, 255, 0.012));
  --max-width: 1240px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__ticker-track {
    animation: none;
  }
  .hero__globe {
    animation: none;
  }
  .splash::before {
    animation: none;
  }
  .splash__bar {
    animation: splashLoad 2.1s ease forwards;
  }
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background: var(--bg-gradient);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  opacity: 0.22;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(79, 215, 255, 0.025) 0 1px,
    transparent 1px 5px
  );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 86%);
  opacity: 0.12;
}

.telemetry-band {
  position: fixed;
  top: 0.35rem;
  left: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), calc(var(--max-width) - 2.5rem));
  padding: 0.35rem 1rem 0.5rem;
  color: rgba(201, 210, 221, 0.62);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.telemetry-band::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 215, 255, 0.2), rgba(63, 185, 80, 0.22), transparent);
}

.telemetry-band::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), rgba(79, 215, 255, 0.2));
}

.telemetry-band span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  white-space: nowrap;
}

.telemetry-band span::before {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 215, 255, 0.86), rgba(63, 185, 80, 0.72));
  box-shadow: 0 0 0 3px rgba(79, 215, 255, 0.05);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 1.5rem), calc(var(--max-width) - 2rem));
  margin: 1.15rem auto 0;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(26px);
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.topbar::before {
  inset: 1px;
  border: 1px solid rgba(63, 185, 80, 0.05);
}

.topbar::after {
  inset: auto 1.15rem 1rem 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 185, 80, 0.36), rgba(79, 215, 255, 0.3), rgba(212, 175, 55, 0.18), transparent 88%);
  opacity: 0.7;
}

.brand,
.eyebrow,
.hero__title,
.button,
.filters button,
.vault-item a,
.metric-label,
.contact-card span,
.hero__signal,
.hero__terminal {
  font-family: "JetBrains Mono", monospace;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--silver-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(63, 185, 80, 0.95), rgba(63, 185, 80, 0.45));
  box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.08);
}

.topnav {
  display: none;
  gap: 1rem;
}

.topnav a {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.topnav a::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  border-left: 1px solid rgba(212, 175, 55, 0.5);
  border-top: 1px solid rgba(63, 185, 80, 0.42);
  border-bottom: 1px solid rgba(63, 185, 80, 0.18);
  border-right: 1px solid transparent;
  border-radius: 0.22rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
  opacity: 0.78;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  width: 0.95rem;
  height: 0.28rem;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(63, 185, 80, 0.86) 0 34%,
      rgba(255, 255, 255, 0.08) 34% 42%,
      rgba(212, 175, 55, 0.72) 42% 74%,
      rgba(255, 255, 255, 0.08) 74% 100%
    );
  opacity: 0;
  transform: translateX(-0.22rem) scaleX(0.78);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.topnav a,
.lang-switch button {
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.topnav a:hover,
.topnav a.is-current,
.lang-switch button:hover,
.lang-switch button.is-active {
  color: var(--silver-strong);
}

.topnav a.is-current {
  text-shadow: 0 0 14px rgba(79, 215, 255, 0.12);
}

.topnav a:hover::before {
  border-left-color: rgba(212, 175, 55, 0.82);
  border-top-color: rgba(63, 185, 80, 0.78);
  border-bottom-color: rgba(63, 185, 80, 0.42);
  background: linear-gradient(135deg, rgba(63, 185, 80, 0.1), rgba(255, 255, 255, 0.02));
  transform: translateX(1px);
}

.topnav a.is-current::before {
  border-color: rgba(79, 215, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(79, 215, 255, 0.16), rgba(63, 185, 80, 0.06)),
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 72%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(79, 215, 255, 0.07);
  animation: navSignalPulse 1.3s ease-out;
}

.topnav a:hover::after,
.topnav a.is-current::after {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.lang-switch button .flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.02);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.lang-switch button .flag--br {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' rx='10' fill='%23009739'/%3E%3Cpath d='M14 3 24 10 14 17 4 10Z' fill='%23FEDD00'/%3E%3Ccircle cx='14' cy='10' r='3.6' fill='%23012369'/%3E%3C/svg%3E");
}

.lang-switch button .flag--us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' rx='10' fill='%23ffffff'/%3E%3Cg fill='%23B22234'%3E%3Crect y='0' width='28' height='2'/%3E%3Crect y='4' width='28' height='2'/%3E%3Crect y='8' width='28' height='2'/%3E%3Crect y='12' width='28' height='2'/%3E%3Crect y='16' width='28' height='2'/%3E%3C/g%3E%3Crect width='12' height='10' rx='2' fill='%233C3B6E'/%3E%3C/svg%3E");
}

.lang-switch button.is-active .flag,
.lang-switch button:hover .flag {
  border-color: rgba(63, 185, 80, 0.26);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 3px rgba(63, 185, 80, 0.08);
}

.sidebar-fill {
  display: none;
}

main {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 1.25rem 6rem;
}

.bento-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.section {
  padding: 6.25rem 0 0;
  min-width: 0;
}

.section:not(.section--hero) {
  padding-top: 0;
}

.section-shell,
.vault-shell,
.insight-shell,
.contact-shell {
  position: relative;
}

.section-shell::before,
.vault-shell::before,
.insight-shell::before,
.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-shell[data-section]::after,
.vault-shell[data-section]::after,
.insight-shell[data-section]::after,
.contact-shell[data-section]::after {
  content: attr(data-section);
  position: absolute;
  top: -0.35rem;
  right: 0.2rem;
  z-index: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: transparent;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.14), rgba(244, 247, 251, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.9;
  pointer-events: none;
}

.hero {
  padding-top: 3.25rem;
}

.hero__shell,
.skill-card,
.badge-card,
.metric-card,
.project-card,
.contact-card,
.vault-item {
  border: 1px solid var(--line);
  background: var(--card-surface);
  box-shadow: var(--shadow-panel);
}

.hero__shell {
  position: relative;
  display: grid;
  grid-template-areas:
    "visual"
    "content";
  gap: 1.2rem;
  padding: 1.6rem;
  border-radius: 34px;
  overflow: hidden;
  transform-style: preserve-3d;
  background:
    var(--panel-chrome),
    linear-gradient(125deg, rgba(255, 255, 255, 0.045), transparent 30%),
    radial-gradient(circle at top right, rgba(244, 247, 251, 0.05), transparent 30%),
    linear-gradient(180deg, rgba(17, 21, 28, 0.96), rgba(8, 10, 14, 0.99));
}

.hero__shell::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  left: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 185, 80, 0.42), rgba(79, 215, 255, 0.28), rgba(212, 175, 55, 0.2), transparent 78%);
  pointer-events: none;
  opacity: 0.7;
}

.hero__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 88% at 72% 53%, transparent 0 72.05%, rgba(79, 215, 255, 0.14) 72.25%, transparent 72.45%),
    radial-gradient(ellipse 58% 82% at 19% 45%, transparent 0 72.05%, rgba(79, 215, 255, 0.08) 72.22%, transparent 72.38%),
    radial-gradient(ellipse 52% 78% at 84% 54%, transparent 0 72.2%, rgba(244, 247, 251, 0.05) 72.34%, transparent 72.5%),
    linear-gradient(180deg, rgba(63, 185, 80, 0.04), transparent 20%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent),
    radial-gradient(circle at top right, var(--glow), transparent 26%);
  pointer-events: none;
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
}

.hero__content {
  grid-area: content;
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: 2.1rem 1.2rem 1.2rem;
}

.hero__content::before {
  content: "";
  width: min(200px, 40%);
  height: 1px;
  margin-bottom: 0.35rem;
  background: linear-gradient(90deg, rgba(255, 180, 84, 0.65), rgba(79, 215, 255, 0.18), transparent);
}

.hero__content::after {
  content: "";
  width: min(260px, 52%);
  height: 1px;
  margin-top: 1rem;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.62), rgba(63, 185, 80, 0.28), transparent);
}

.hero__visual {
  grid-area: visual;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  justify-items: center;
}

.hero__summary {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 36rem);
}

.hero__profile-stage {
  position: relative;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: stretch;
  gap: 1.15rem;
  min-height: 236px;
  width: min(100%, 36rem);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(63, 185, 80, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.04), transparent 40%),
    var(--panel-accent),
    var(--panel-overlay),
    var(--panel-surface);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.hero__profile-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 26%);
  pointer-events: none;
}

.hero__profile-frame {
  position: relative;
  justify-self: start;
  align-self: end;
  width: min(100%, 178px);
  aspect-ratio: 1 / 1.12;
  padding: 0.45rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(10, 12, 16, 0.88);
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateZ(10px);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.hero__profile-frame::before {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

.hero__profile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(244, 247, 251, 0.12), transparent 55%),
    linear-gradient(180deg, transparent 62%, rgba(8, 10, 14, 0.28));
  pointer-events: none;
  z-index: 1;
}

.hero__profile-frame img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.94) contrast(1.04) brightness(0.98);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.hero__signal {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  max-width: 15.5rem;
  padding: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__signal span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__signal span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 0.12rem;
  background: linear-gradient(180deg, rgba(79, 215, 255, 0.96), rgba(63, 185, 80, 0.85));
  box-shadow: 0 0 0 4px rgba(79, 215, 255, 0.08);
  transform: rotate(45deg);
}

.hero__signal strong {
  color: var(--silver-strong);
  font-size: clamp(1.1rem, 2.4vw, 1.72rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero__signal strong::after {
  content: "";
  display: block;
  width: 5.6rem;
  max-width: 100%;
  height: 0.4rem;
  margin-top: 0.75rem;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(63, 185, 80, 0.82) 0 24%,
      rgba(255, 255, 255, 0.08) 24% 30%,
      rgba(212, 175, 55, 0.78) 30% 54%,
      rgba(255, 255, 255, 0.08) 54% 60%,
      rgba(244, 247, 251, 0.3) 60% 100%
    );
}

.hero__terminal {
  padding: 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.03), transparent 30%),
    var(--card-surface);
  color: var(--text-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  width: 100%;
  justify-self: stretch;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 3px 0 0 rgba(63, 185, 80, 0.2);
  transform: translateZ(4px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.hero__terminal p {
  margin: 0 0 0.45rem;
}

.hero__terminal p:last-child {
  margin-bottom: 0;
}

.hero__terminal p::before {
  content: ">";
  margin-right: 0.55rem;
  color: rgba(79, 215, 255, 0.86);
}

.hero__pillars {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-pillar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(63, 185, 80, 0.035), transparent 32%),
    var(--control-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 22px rgba(0, 0, 0, 0.14);
  transform: translateZ(3px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.hero-pillar__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(11, 13, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--silver-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.hero__terminal:hover {
  transform: translateY(-2px) translateZ(8px);
  border-color: rgba(79, 215, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.04), transparent 30%),
    var(--card-surface-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 3px 0 0 rgba(63, 185, 80, 0.26),
    0 12px 26px rgba(0, 0, 0, 0.2);
}

.hero-pillar:hover {
  transform: translateY(-2px) translateZ(9px) perspective(900px) rotateX(2deg);
  border-color: rgba(79, 215, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(63, 185, 80, 0.055), transparent 32%),
    var(--control-surface-hover);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(79, 215, 255, 0.04);
}

.hero-pillar:hover .hero-pillar__icon {
  transform: translateY(-1px) rotate(-4deg);
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-pillar strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--silver-strong);
  font-size: 0.86rem;
}

.hero-pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.eyebrow {
  display: inline-grid;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  color: var(--silver);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.credentials-core__eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.68), rgba(63, 185, 80, 0.34), transparent);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

h1 {
  max-width: none;
  font-size: clamp(2.9rem, 8vw, 5.2rem);
  letter-spacing: -0.05em;
  text-wrap: nowrap;
  text-transform: uppercase;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.hero__title {
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__globe {
  position: absolute;
  top: -2rem;
  right: -0.5rem;
  width: min(640px, 90%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(79, 215, 255, 0.26);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 180, 84, 0.16), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(79, 215, 255, 0.18), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 32px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 55px rgba(79, 215, 255, 0.16);
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
  overflow: hidden;
  animation: hero-globe-spin 44s linear infinite;
}

.hero__globe::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    url("./assets/img/earth-map.svg") 0% 50% / 200% 100% repeat-x,
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 48%),
    radial-gradient(circle at 70% 70%, rgba(5, 12, 22, 0.7), transparent 62%);
  opacity: 0.65;
  mix-blend-mode: normal;
  animation: globe-drift 40s linear infinite;
}

.hero__globe::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-left-color: transparent;
  border-bottom-color: rgba(255, 180, 84, 0.55);
  transform: rotate(-12deg);
  opacity: 0.85;
}

.hero__ticker {
  position: relative;
  overflow: hidden;
  margin: 0.45rem 0 0.85rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 210, 221, 0.7);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.hero__ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
  animation: hero-ticker 18s linear infinite;
}

.hero__ticker-sep {
  color: rgba(255, 180, 84, 0.75);
}

@keyframes hero-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes hero-globe-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes globe-drift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}


.hero__actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__description,
.section__intro p:last-child,
.section-heading p:last-child {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__description {
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 185, 80, 0.4);
  background: rgba(16, 185, 129, 0.08);
  color: rgba(214, 247, 222, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(63, 185, 80, 0.85);
  box-shadow: 0 0 12px rgba(63, 185, 80, 0.5);
}

.hero__banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 210, 221, 0.7);
}

.hero__banner span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 20, 0.65);
}

.section__intro {
  position: relative;
  z-index: 1;
}

.section__intro--compact {
  margin-bottom: 0;
}

.section__intro h2 {
  margin-bottom: 0.9rem;
}

.section__intro h2,
.section-heading h2 {
  text-wrap: balance;
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.9rem;
  position: relative;
  z-index: 1;
}

.section-heading::after,
.section__intro::after,
.credentials-core__intro::after {
  content: "";
  display: block;
  width: min(220px, 46%);
  height: 1px;
  margin-top: 0.5rem;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.62),
    rgba(63, 185, 80, 0.28),
    transparent
  );
}

.metric-card h3::after {
  content: "";
  display: block;
  width: min(220px, 46%);
  height: 1px;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.62), rgba(63, 185, 80, 0.28), transparent);
}

.metric-card h3::after {
  width: min(180px, 100%);
}

.section--skills .section-shell {
  display: grid;
  gap: 1.8rem;
  padding: 1.9rem 2rem 2rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 42px 26px 34px 30px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--skills .section-shell::before {
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.03), transparent 22%),
    var(--panel-accent);
}

.section--skills .section__intro {
  max-width: 40rem;
  z-index: 1;
}

.section--skills .section__intro h2 {
  max-width: 9ch;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.section--credentials .section-shell {
  display: grid;
  gap: 1.7rem;
  padding: 2.2rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 26px 40px 28px 34px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--credentials .section-shell::before {
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.03), transparent 22%),
    var(--panel-accent);
}

.credentials-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  padding-top: 0.5rem;
}

.credentials-core {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 0;
  padding: 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 24px;
  background:
    var(--accent-wash),
    var(--control-surface);
}

.credentials-core__intro {
  display: grid;
  gap: 0.3rem;
  max-width: 40rem;
}

.credentials-core__eyebrow {
  display: inline-grid;
  gap: 0.45rem;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credentials-core__intro p {
  margin: 0;
  color: var(--muted);
}

.credentials-core__grid {
  display: grid;
  gap: 0.9rem;
}

.core-badge-card:first-child {
  background:
    linear-gradient(150deg, rgba(212, 175, 55, 0.12), transparent 50%),
    var(--card-surface);
}

.credentials-more {
  display: grid;
  gap: 1.1rem;
  padding: 0;
}

.credentials-more__prompt {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.credentials-more__content {
  display: grid;
  gap: 0.2rem;
}

.vault-more {
  display: grid;
  gap: 1rem;
}

.vault-more__prompt {
  margin-top: 0.2rem;
}

.vault-more__content {
  display: grid;
}

.section--vault .section-shell {
  display: grid;
  gap: 1.6rem;
  padding: 1.9rem 2rem 2rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 30px 40px 32px 24px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--vault .section-shell::before {
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.03), transparent 22%),
    var(--panel-accent);
}

.insight-shell,
.contact-shell {
  position: relative;
  z-index: 1;
}

.section--vault .section-heading {
  max-width: 44rem;
}

.vault-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  padding-top: 0.5rem;
}

.section--vault .vault-controls,
.section--vault .vault-featured,
.section--vault .vault-more,
.section--credentials .section-heading,
.section--vault .section-heading {
  position: relative;
  z-index: 1;
}

.section--projects .section-shell {
  display: grid;
  gap: 1.6rem;
  padding: 1.9rem 2rem 2rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 28px 42px 32px 26px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--community .section-shell {
  display: grid;
  gap: 1.6rem;
  padding: 1.9rem 2rem 2rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 28px 42px 32px 26px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--projects .section-shell::before {
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.03), transparent 22%),
    var(--panel-accent);
}

.section--community .section-shell::before {
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.03), transparent 22%),
    var(--panel-accent);
}

.section--projects .section-heading {
  max-width: 44rem;
}

.section--community .section-heading {
  max-width: 44rem;
}

.section--community .section-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}

.section--community .community-heading {
  max-width: none;
}

.section--projects .project-grid {
  position: relative;
  z-index: 1;
}

.section--metrics .insight-shell {
  display: grid;
  gap: 1.6rem;
  padding: 1.9rem 2rem 2rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 36px 26px 34px 22px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section--metrics .insight-shell::before {
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.03), transparent 22%),
    var(--panel-accent);
}

.section--metrics .section__intro {
  max-width: 36rem;
  z-index: 1;
}

.section--contact .contact-shell {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(197, 206, 216, 0.12);
  border-radius: 24px 38px 30px 26px;
  background:
    var(--panel-chrome),
    var(--panel-overlay),
    var(--panel-surface);
  box-shadow: var(--shadow);
}

.section--contact .contact-shell::before {
  background:
    linear-gradient(180deg, rgba(63, 185, 80, 0.03), transparent 22%),
    var(--panel-accent);
}

.hero__actions,
.project-links,
.badge-meta,
.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.88rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--control-surface);
  color: var(--text-soft);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button::before {
  content: ">";
  margin-right: 0.45rem;
  color: rgba(79, 215, 255, 0.82);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 215, 255, 0.24);
  background: var(--control-surface-hover);
  color: var(--silver-strong);
  box-shadow: 0 0 0 3px rgba(79, 215, 255, 0.05);
}

.button--icon {
  gap: 0.55rem;
  justify-content: flex-start;
  min-width: 148px;
}

.button--icon::before {
  content: "";
  margin-right: 0;
}

.button__icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  color: inherit;
}

.button__icon svg {
  width: 100%;
  height: 100%;
}

.filters button {
  position: relative;
  overflow: hidden;
}

.filters button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(79, 215, 255, 0.72), rgba(63, 185, 80, 0.52));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.filters button.is-active::before,
.filters button:hover::before {
  opacity: 1;
}

.button--primary {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(212, 175, 55, 0.22);
  color: var(--silver-strong);
}

.button--ghost {
  min-width: auto;
  color: var(--silver);
}

.skill-grid,
.badge-grid,
.project-grid,
.community-grid,
.contact-grid,
.metrics-grid {
  display: grid;
  gap: 1rem;
}

.community-grid {
  grid-template-columns: 1fr;
}

.community-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card-surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.community-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 215, 255, 0.2);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.community-card__tag {
  align-self: start;
  justify-self: start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.28);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(214, 247, 222, 0.85);
}

.community-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--silver-strong);
}

.community-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.skill-grid,
.project-grid,
.contact-grid,
.metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.skill-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bento-span-3,
.bento-span-5,
.bento-span-8 {
  grid-column: span 1;
}

.skill-card,
.project-card,
.contact-card,
.metric-card,
.vault-item {
  position: relative;
  border-radius: 24px;
  padding: 1.35rem;
  overflow: visible;
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.hero__shell,
.section-shell,
.vault-shell,
.insight-shell,
.contact-shell {
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.skill-card::before,
.project-card::before,
.contact-card::before,
.metric-card::before,
.vault-item::before,
.badge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.024), transparent 42%);
  pointer-events: none;
}

.skill-card__description {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.skill-card h3,
.project-card h3,
.metric-card h3,
.badge-card h3,
.core-badge-card__body h3 {
  line-height: 1.18;
}

.skill-card:hover,
.contact-card:hover,
.metric-card:hover,
.vault-item:hover,
.project-card:hover,
.badge-card:hover,
.core-badge-card:hover,
.vault-group:hover {
  transform: translateY(-4px) perspective(1200px) rotateX(2deg);
  border-color: rgba(79, 215, 255, 0.18);
  background: var(--card-surface-hover);
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(79, 215, 255, 0.04);
}

.skill-card {
  background: var(--card-surface);
}

.skill-card:nth-child(1) {
  background:
    linear-gradient(145deg, rgba(63, 185, 80, 0.08), transparent 42%),
    var(--card-surface);
}

.skill-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.08), transparent 42%),
    var(--card-surface);
}

.skill-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--control-surface);
  color: var(--text-soft);
  font: inherit;
  cursor: help;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.skill-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(63, 185, 80, 0.26);
  background: var(--control-surface-hover);
}

.skill-chip__icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.08);
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}

.skill-card h3,
.project-card h3,
.metric-card h3,
.badge-card h3 {
  color: var(--silver-strong);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.filters button {
  padding: 0.68rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--control-surface);
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.filters button.is-active,
.filters button:hover {
  color: var(--silver-strong);
  background: var(--control-surface-hover);
  border-color: rgba(244, 247, 251, 0.18);
}

.badge-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 212px), 1fr));
  justify-content: stretch;
}

.badge-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: visible;
  background: var(--card-surface);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
  width: 100%;
  max-width: none;
  transform-style: preserve-3d;
}

.badge-card--core {
  border-color: rgba(212, 175, 55, 0.22);
  background:
    var(--accent-wash),
    var(--card-surface);
}

.core-badge-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: var(--card-surface);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.core-badge-card__visual {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 62%),
    rgba(255, 255, 255, 0.01);
}

.core-badge-card__visual img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
}

.core-badge-card:hover .core-badge-card__visual img {
  filter: grayscale(0.08) brightness(1.08);
  transform: scale(1.04);
}

.core-badge-card__body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.32rem;
  min-width: 0;
  overflow: hidden;
}

.core-badge-card__category {
  margin: 0;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: end;
  margin-top: 0.18rem;
}

.core-badge-card__body h3 {
  margin: 0;
  color: var(--silver-strong);
  font-size: 0.94rem;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: pretty;
}

.core-badge-card__body a {
  color: var(--text-soft);
}

.core-badge-card:hover {
  transform: translateY(-4px) perspective(1200px) rotateX(2deg) rotate(-0.3deg);
  border-color: rgba(212, 175, 55, 0.24);
  background: var(--card-surface-hover);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(63, 185, 80, 0.05);
}

.core-badge-card::after,
.badge-card::after {
  content: "REG";
  position: absolute;
  top: 0.72rem;
  right: 0.8rem;
  color: rgba(201, 210, 221, 0.22);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}

.badge-card__priority {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 1;
  padding: 0.18rem 0.4rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-card:hover {
  transform: translateY(-5px) perspective(1200px) rotateX(2deg) rotate(-0.35deg);
  border-color: rgba(212, 175, 55, 0.24);
  background: var(--card-surface-hover);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(63, 185, 80, 0.05);
}

.badge-card__visual {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 62%),
    rgba(255, 255, 255, 0.01);
}

.badge-card__visual img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.badge-card:hover .badge-card__visual img {
  filter: grayscale(0.1) brightness(1.08);
  transform: scale(1.06) rotate(2deg);
}

.badge-card__visual.is-placeholder {
  position: relative;
}

.badge-card__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--control-surface-hover);
  color: var(--silver-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.badge-card__body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.4rem;
  min-width: 0;
  overflow: hidden;
}

.badge-card__body h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.28;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: pretty;
}

.badge-card__category {
  margin: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: end;
  margin-top: 0.22rem;
}

.core-badge-card__category {
  font-size: 0.66rem;
}

.credentials__actions {
  margin-top: 1.4rem;
}

.project-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.65rem;
  padding-top: 1.55rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  background: var(--card-surface);
}

.project-card:first-child {
  background:
    linear-gradient(145deg, rgba(63, 185, 80, 0.08), transparent 44%),
    var(--card-surface);
}

.project-card:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.08), transparent 44%),
    var(--card-surface);
}

.project-card:hover {
  transform: translateY(-4px) perspective(1200px) rotateX(2deg) scale(1.01);
  border-color: rgba(212, 175, 55, 0.22);
  background: var(--card-surface-hover);
}

.project-card:nth-child(2n) {
  transform: none;
}

.project-card:nth-child(2n):hover {
  transform: perspective(1200px) rotateX(2deg) scale(1.02);
}

.project-card__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-self: start;
}

.project-stack-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--control-surface);
  color: var(--text-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.badge-card p,
.badge-card a,
.project-card p,
.vault-item span,
.contact-card a {
  color: var(--muted);
}

.project-card p,
.vault-item__title,
.core-badge-card__body h3,
.metric-label span:first-child {
  text-wrap: pretty;
}

.project-card p,
.vault-item__title,
.contact-card a {
  line-height: 1.55;
}

.badge-meta,
.project-links {
  align-items: center;
}

.badge-meta {
  margin-top: auto;
  min-height: 1.5rem;
  grid-column: 2;
}

.badge-meta a,
.project-links a,
.vault-item a,
.contact-card a {
  color: var(--text-soft);
}

.project-links--footer {
  margin-top: auto;
  padding-top: 0.3rem;
}

.badge-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.vault-controls {
  display: flex;
  justify-content: flex-start;
}

.vault-search {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 360px);
}

.vault-search span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vault-search input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--control-surface);
  color: var(--text-soft);
  font: inherit;
}

.vault-search input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.vault-featured {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 0;
}

.vault-featured-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 18px;
  background:
    var(--accent-wash),
    var(--card-surface);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.vault-featured-card::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0.95rem;
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 185, 80, 0.58), rgba(212, 175, 55, 0.28), transparent);
}

.vault-featured-card:first-child {
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.1), transparent 45%),
    var(--accent-wash),
    var(--card-surface);
}

.vault-featured-card__body {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.vault-featured-card strong {
  color: var(--silver-strong);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.vault-featured-card a {
  color: var(--text-soft);
}

.vault-featured-card__category {
  padding-right: 0.18rem;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.vault-featured-card:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  border-color: rgba(212, 175, 55, 0.24);
  background: var(--card-surface-hover);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(63, 185, 80, 0.05);
}

.vault-featured-card:hover .vault-badge-thumb img {
  filter: grayscale(0.1) brightness(1.08);
  transform: scale(1.06) rotate(2deg);
}

.vault-groups {
  display: grid;
  gap: 1rem;
}

.vault-empty {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: var(--control-surface);
  color: var(--muted);
}

.vault-group {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  background: var(--control-surface);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.vault-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.vault-group__header h3 {
  margin: 0;
  color: var(--silver-strong);
  font-size: 1rem;
}

.vault-group__header span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.vault-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.vault-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: var(--card-surface);
  position: relative;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.vault-item::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 3.4rem;
  top: 0.55rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 180, 84, 0.45), rgba(79, 215, 255, 0.12), transparent 78%);
  opacity: 0.65;
  pointer-events: none;
}

.vault-item::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(63, 185, 80, 0.72);
  box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.06);
}

.vault-item__meta {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.vault-item__title {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.vault-item__category {
  padding-right: 0.18rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}


.vault-badge-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 62%),
    rgba(255, 255, 255, 0.01);
}

.vault-badge-thumb img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.vault-badge-thumb--small {
  width: 54px;
  border-radius: 14px;
}

.vault-badge-thumb--small img {
  width: 44px;
  height: 44px;
}

.vault-badge-thumb .badge-card__mark {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 0.86rem;
}

.vault-badge-thumb--small .badge-card__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.72rem;
}

.vault-item:hover {
  transform: translateY(-4px) rotate(-0.18deg);
  border-color: rgba(212, 175, 55, 0.22);
}

.vault-item:hover .vault-badge-thumb--small img {
  filter: grayscale(0.1) brightness(1.08);
  transform: scale(1.06) rotate(2deg);
}

.metric-chart {
  display: grid;
  gap: 0.85rem;
}

.metric-card {
  padding: 1.45rem;
  background: var(--card-surface);
}

.metric-card:first-child {
  background:
    linear-gradient(145deg, rgba(63, 185, 80, 0.07), transparent 42%),
    var(--card-surface);
}

.metric-row {
  display: grid;
  gap: 0.4rem;
}

.metric-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-bar {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 16px
    ),
    var(--control-surface);
}

.metric-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(255, 180, 84, 0.95),
    rgba(255, 90, 95, 0.78),
    rgba(79, 215, 255, 0.58)
  );
  width: 0;
  transition: width 2.35s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.metric-bar span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 3px rgba(79, 215, 255, 0.14),
    0 0 12px rgba(255, 90, 95, 0.35);
}

.metric-row--security .metric-label,
.metric-row--seguranca .metric-label {
  color: var(--silver-strong);
}

.metric-row--security .metric-bar span,
.metric-row--seguranca .metric-bar span {
  background: linear-gradient(
    90deg,
    rgba(255, 180, 84, 0.95),
    rgba(255, 90, 95, 0.78),
    rgba(79, 215, 255, 0.58)
  );
}

.metric-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.metric-card::after {
  content: "LIVE";
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  color: rgba(79, 215, 255, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.contact-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--card-surface);
}

.contact-card:first-child,
.contact-card:last-child {
  background:
    linear-gradient(145deg, rgba(244, 247, 251, 0.05), transparent 40%),
    var(--card-surface);
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem;
  background: var(--control-surface);
  color: var(--silver-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

.contact-card__icon svg {
  width: 3rem;
  height: 3rem;
  display: block;
}

.contact-card__label {
  color: var(--silver);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.footer {
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.75s ease forwards;
}

.fade-in:nth-child(2) {
  animation-delay: 0.08s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.16s;
}

.fade-in:nth-child(4) {
  animation-delay: 0.24s;
}

.fade-in:nth-child(5) {
  animation-delay: 0.32s;
}

.fade-in:nth-child(6) {
  animation-delay: 0.4s;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 180, 84, 0.08), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(255, 90, 95, 0.06), transparent 28%),
    radial-gradient(circle at 78% 72%, rgba(79, 215, 255, 0.08), transparent 36%),
    #050608;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.splash::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(79, 215, 255, 0.12), transparent 45%),
    radial-gradient(circle at 52% 58%, rgba(255, 180, 84, 0.1), transparent 42%);
  opacity: 0.45;
  filter: blur(6px);
  animation: splashGlow 2.2s ease-in-out infinite;
}

.splash::after {
  content: "";
  position: absolute;
  inset: -15%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 95, 0.28), transparent 60%);
  opacity: 0.2;
  filter: blur(10px);
  animation: splashPulse 3.2s ease-in-out infinite;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.splash__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 180, 84, 0.95), rgba(255, 90, 95, 0.82), rgba(79, 215, 255, 0.6));
  background-size: 180% 100%;
  transform-origin: left center;
  animation:
    splashLoad 2.1s ease forwards,
    splashShift 1.8s ease-in-out infinite;
}

.splash__terminal {
  width: min(92vw, 680px);
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 14, 18, 0.96);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  box-shadow: var(--shadow);
}

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

@keyframes splashLoad {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes splashGlow {
  0% {
    opacity: 0.18;
    transform: scale(0.96);
  }
  45% {
    opacity: 0.7;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.25;
    transform: scale(0.99);
  }
}

@keyframes splashPulse {
  0% {
    opacity: 0.05;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.08;
    transform: scale(0.96);
  }
}

@keyframes splashShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes navSignalPulse {
  0% {
    transform: translateX(-2px) scaleX(0.78);
    opacity: 0.5;
  }
  45% {
    transform: translateX(0) scaleX(1.08);
    opacity: 1;
  }
  100% {
    transform: translateX(0) scaleX(1);
    opacity: 1;
  }
}

@media (min-width: 920px) {
  body {
    padding-left: 16.75rem;
  }

  .telemetry-band {
    left: calc(50% + 8.375rem);
    width: min(calc(100% - 16.75rem - 2rem), calc(var(--max-width) - 2rem));
  }

  main {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 1.5rem 1.5rem 4rem;
  }

  .bento-main {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .section--hero,
  .section--skills,
  .section--credentials,
  .section--vault,
  .section--projects,
  .section--metrics,
  .section--contact {
    grid-column: auto;
  }

  .topbar {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    bottom: 1.25rem;
    width: calc(16.75rem - 2.5rem);
    margin: 0;
    border-radius: 30px;
    padding: 1.1rem 0.95rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    background:
      linear-gradient(180deg, rgba(17, 21, 28, 0.96), rgba(8, 10, 14, 0.98));
    box-shadow: var(--shadow);
  }

  .topbar::before {
    inset: 1px;
    border: 1px solid rgba(79, 215, 255, 0.06);
  }

  .topbar::after {
    inset: auto 0.95rem 0.95rem 0.95rem;
  }

  .topnav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin-top: 1rem;
    padding: 1.1rem 0 0 0.7rem;
    border-left: 1px solid rgba(79, 215, 255, 0.08);
  }

  .topnav::before {
    content: "NAV // ACCESS";
    position: absolute;
    top: 0;
    left: 0.7rem;
    color: rgba(201, 210, 221, 0.48);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .topnav::after {
    content: "";
    position: absolute;
    top: 1.45rem;
    left: 0;
    width: 0.5rem;
    height: calc(100% - 1.7rem);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(79, 215, 255, 0.24), rgba(63, 185, 80, 0.18), rgba(212, 175, 55, 0.1), transparent 88%);
    opacity: 0.9;
  }

  .topnav a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3rem;
    padding: 0.82rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
      rgba(255, 255, 255, 0.02);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 10px 20px rgba(0, 0, 0, 0.14);
  }

  .topnav a:hover {
    border-color: rgba(63, 185, 80, 0.14);
    background:
      linear-gradient(90deg, rgba(63, 185, 80, 0.08), rgba(255, 255, 255, 0.035)),
      rgba(255, 255, 255, 0.02);
  }

  .topnav a.is-current {
    border-color: rgba(63, 185, 80, 0.16);
    background:
      linear-gradient(90deg, rgba(79, 215, 255, 0.1), rgba(63, 185, 80, 0.08), rgba(255, 255, 255, 0.04)),
      rgba(255, 255, 255, 0.02);
    box-shadow:
      inset 3px 0 0 rgba(79, 215, 255, 0.3),
      0 0 0 1px rgba(79, 215, 255, 0.04),
      0 14px 28px rgba(0, 0, 0, 0.18);
  }

  .lang-switch {
    margin-top: auto;
    justify-content: center;
  }

  .sidebar-fill {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.55rem;
    padding: 0.2rem 0 0 0.7rem;
  }

  .sidebar-fill__panel {
    position: relative;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
      rgba(255, 255, 255, 0.02);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 10px 20px rgba(0, 0, 0, 0.14);
    overflow: hidden;
  }

  .sidebar-fill__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%),
      radial-gradient(circle at top right, rgba(79, 215, 255, 0.08), transparent 34%);
    pointer-events: none;
  }

  .sidebar-fill__caption,
  .sidebar-fill__cv span,
  .sidebar-fill__cv strong,
  .sidebar-fill__row span,
  .sidebar-fill__row strong {
    position: relative;
    z-index: 1;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .sidebar-fill__caption {
    display: block;
    margin-bottom: 0.78rem;
    color: var(--muted);
    font-size: 0.62rem;
  }

  .sidebar-fill__cv {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(79, 215, 255, 0.08), transparent 68%),
      rgba(255, 255, 255, 0.025);
    transition:
      border-color 0.22s ease,
      transform 0.22s ease,
      background 0.22s ease,
      box-shadow 0.22s ease;
  }

  .sidebar-fill__cv:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 215, 255, 0.3);
    background:
      linear-gradient(135deg, rgba(79, 215, 255, 0.12), transparent 68%),
      rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  }

  .sidebar-fill__cv span {
    color: rgba(79, 215, 255, 0.84);
    font-size: 0.62rem;
  }

  .sidebar-fill__cv strong {
    color: var(--silver-strong);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .sidebar-fill__rows {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.7rem;
  }

  .sidebar-fill__row {
    display: grid;
    gap: 0.18rem;
    padding-bottom: 0.62rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .sidebar-fill__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .sidebar-fill__row span {
    color: var(--muted);
    font-size: 0.62rem;
  }

  .sidebar-fill__row strong {
    color: var(--silver-strong);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .hero__shell {
    grid-template-areas: "visual content";
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.58fr);
    align-items: stretch;
    padding: 2.1rem;
  }

  .hero__content {
    justify-self: end;
    width: min(100%, 46rem);
    justify-items: end;
    padding: 2.3rem 0.65rem 1.9rem 2.4rem;
    text-align: right;
  }

  .hero__visual {
    padding-top: 0.6rem;
  }

  .hero__actions {
    margin-top: auto;
    align-self: end;
    justify-content: flex-end;
  }

  .credentials-core {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .credentials-core__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .section--skills .section-shell {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: stretch;
  }

  .section--skills .section__intro {
    position: relative;
    top: auto;
    padding-right: 2rem;
  }

  .section--credentials .section-shell,
  .section--vault .section-shell,
  .section--projects .section-shell {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
  }

  .section--credentials .section-heading,
  .section--vault .section-heading,
  .section--projects .section-heading {
    margin-bottom: 0;
    padding-right: 2rem;
    max-width: 18rem;
  }

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

  .section--vault .vault-controls {
    max-width: 340px;
    justify-self: start;
  }

  .vault-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

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

  .section--metrics .insight-shell {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: stretch;
  }

  .section--metrics .section__intro {
    position: relative;
    top: auto;
    padding-right: 0;
    max-width: 38rem;
  }

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

  .section--contact .contact-shell {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
  }

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

@media (min-width: 600px) and (max-width: 919px) {
  .bento-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .bento-span-8,
  .bento-span-5,
  .bento-span-3 {
    grid-column: span 2;
  }

  .section--skills .section-shell,
  .section--contact .contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 919px) {
  .sidebar-fill {
    display: none;
  }

  .topnav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 0.45rem;
    padding-top: 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .topnav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.78rem;
  }

  .telemetry-band {
    top: 0.2rem;
    width: min(calc(100% - 1rem), calc(var(--max-width) - 1rem));
    padding: 0.25rem 0.4rem 0.45rem;
    gap: 0.45rem;
    font-size: 0.54rem;
    letter-spacing: 0.12em;
    overflow: hidden;
  }

  .telemetry-band span:nth-of-type(n + 3) {
    display: none;
  }

  .topbar {
    flex-wrap: wrap;
    width: min(calc(100% - 1rem), calc(var(--max-width) - 1rem));
    margin-top: 0.7rem;
    padding: 0.62rem 0.75rem;
    border-radius: 20px;
  }

  .topbar::after {
    inset: auto 0.75rem 0.55rem 0.75rem;
  }

  .brand {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero__profile-stage {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    gap: 0.85rem;
    padding: 0.95rem;
    border-radius: 24px;
  }

  .hero__pillars {
    grid-template-columns: 1fr;
  }

  .hero__summary,
  .hero__profile-stage {
    width: 100%;
  }

  .hero__profile-frame {
    order: -1;
    width: 100%;
    max-width: 156px;
    justify-self: center;
    margin-top: 0;
  }

  .hero__terminal {
    width: 100%;
    justify-self: stretch;
    padding: 1rem;
    font-size: 0.86rem;
  }

  .hero__signal {
    max-width: none;
    gap: 0.3rem;
  }

  .credentials-core__grid {
    grid-template-columns: 1fr;
  }

  .vault-item {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
  }

  .vault-item::after {
    display: none;
  }

  .vault-item a {
    grid-column: 2;
  }

  .badge-grid {
    grid-template-columns: 1fr;
  }

  .badge-card {
    width: 100%;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .section--community .section-shell {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(2n),
  .project-card:nth-child(2n):hover {
    transform: none;
  }

  .skill-card:hover,
  .contact-card:hover,
  .metric-card:hover,
  .vault-item:hover,
  .project-card:hover,
  .badge-card:hover,
  .core-badge-card:hover,
  .vault-group:hover,
  .hero__profile-stage:hover,
  .hero__terminal:hover,
  .hero-pillar:hover {
    transform: translateY(-2px);
  }

  .section--credentials .section-shell,
  .section--vault .section-shell,
  .section--projects .section-shell,
  .section--community .section-shell,
  .section--contact .contact-shell {
    padding: 1.4rem;
    border-radius: 26px;
  }

  .hero__content {
    padding: 0.95rem 0.2rem 0.4rem;
  }

  .hero__ticker {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .hero__globe {
    width: min(360px, 88%);
    top: -0.2rem;
    right: -0.2rem;
    opacity: 0.32;
  }

  .hero__content::after {
    width: min(190px, 72%);
  }

  .hero__description {
    font-size: 0.96rem;
    line-height: 1.55;
    text-wrap: pretty;
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__badge {
    font-size: 0.7rem;
  }

  .hero__banner {
    gap: 0.4rem;
    font-size: 0.64rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
  }

  .hero__actions .button:first-child {
    grid-column: 1 / -1;
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .section {
    padding-top: 0;
  }

}
