:root {
  --bg: #09090f;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8f8fc;
  --muted: #9aa3b5;
  --pink: #ff4d9d;
  --cyan: #00eaff;
  --violet: #9d6cff;
  --lime: #b8ff5c;
  --grad: linear-gradient(125deg, var(--pink) 0%, var(--violet) 45%, var(--cyan) 100%);
  --grad-btn: linear-gradient(125deg, #ff5cab 0%, #8f6bff 50%, #00d9f5 100%);
  --radius: 18px;
  --ease: cubic-bezier(0.34, 1.35, 0.64, 1);
  --glow-pink: 0 8px 32px rgba(255, 77, 157, 0.35);
  --glow-cyan: 0 8px 32px rgba(0, 234, 255, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  transition: color 0.2s;
}

a:hover {
  color: #8af7ff;
}

.cv-page {
  position: relative;
  min-height: 100vh;
}

/* Blobs */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.55;
  animation: blobFloat 16s var(--ease) infinite alternate;
}

.b1 {
  width: 55vmax;
  height: 55vmax;
  background: rgba(255, 77, 157, 0.4);
  top: -18%;
  left: -12%;
}

.b2 {
  width: 45vmax;
  height: 45vmax;
  background: rgba(157, 108, 255, 0.35);
  top: 35%;
  right: -18%;
  animation-delay: -6s;
}

.b3 {
  width: 38vmax;
  height: 38vmax;
  background: rgba(0, 234, 255, 0.22);
  bottom: -8%;
  left: 25%;
  animation-delay: -11s;
}

@keyframes blobFloat {
  to {
    transform: translate(35px, -45px) scale(1.08);
  }
}

/* ========== BUTTONS ========== */
.btn-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text) !important;
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s,
    color 0.2s;
}

.btn-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 234, 255, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(157, 108, 255, 0.2);
  color: var(--text) !important;
}

.btn-pill:hover::after {
  transform: translateX(120%);
}

.btn-pill:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-pill-fill {
  border: none;
  color: #0a0a10 !important;
  background: var(--grad-btn);
  background-size: 200% auto;
  box-shadow: var(--glow-pink);
  animation: gradMove 5s linear infinite;
}

.btn-pill-fill:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--glow-pink), var(--glow-cyan), 0 14px 36px rgba(255, 77, 157, 0.35);
  color: #0a0a10 !important;
  filter: brightness(1.06);
}

.btn-pill-ghost {
  background: transparent;
  color: var(--muted) !important;
}

.btn-pill-ghost:hover {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--cyan);
}

.btn-pill-block {
  width: 100%;
  margin-top: 8px;
}

.btn-pill-sm {
  padding: 8px 18px;
  font-size: 13px;
}

@keyframes gradMove {
  to {
    background-position: 200% center;
  }
}

/* Top bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: rgba(9, 9, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.top-bar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradMove 6s linear infinite;
  text-decoration: none !important;
  margin-right: auto;
}

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-pill {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  text-decoration: none !important;
  transition: color 0.2s, background 0.25s, box-shadow 0.25s;
}

.nav-pill:hover {
  color: var(--text);
  background: var(--card-hover);
}

.nav-pill.is-active {
  color: var(--text);
  background: rgba(255, 77, 157, 0.15);
  box-shadow: 0 0 0 1px rgba(255, 77, 157, 0.45);
}

/* Main */
.page-main {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 56px;
}

/* Profile */
.profile-section {
  margin-bottom: 32px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-chip,
.contact-email {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  transition:
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 60px;
  padding: 12px 14px;
  text-decoration: none;
}

a.contact-chip:hover,
a.contact-email:hover {
  border-color: rgba(157, 108, 255, 0.55);
  background: rgba(157, 108, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

a.contact-chip:hover .contact-chip-icon,
a.contact-email:hover .contact-chip-icon,
a.contact-email:hover .contact-email-arrow {
  color: var(--text);
  background: rgba(157, 108, 255, 0.22);
}

.contact-chip-static {
  cursor: default;
}

.contact-chip-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s ease;
}

.contact-chip-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-chip-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-chip-value {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  word-break: break-word;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
}

.contact-email-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-email-address {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.contact-email-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease, color 0.45s ease;
}

a.contact-email:hover .contact-email-arrow {
  transform: translateX(3px);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  background: rgba(184, 255, 92, 0.1);
  border: 1px solid rgba(184, 255, 92, 0.35);
  border-radius: 999px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(184, 255, 92, 0);
  }
}

.hero-name {
  margin: 0 0 6px;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradMove 5s linear infinite;
}

.hero-role {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--violet);
}

.hero-typing {
  min-height: 1.5em;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: var(--cyan);
}

#caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--pink);
  margin-left: 3px;
  vertical-align: -2px;
  animation: blink 0.65s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-intro {
  max-width: 100%;
  margin: 0 0 22px;
  text-align: left;
  color: #c8ceda;
  font-size: 1rem;
}

.hero-intro strong {
  color: var(--text);
}

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

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 52px;
}

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

.metric-card {
  padding: 20px 14px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.metric-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: rgba(157, 108, 255, 0.45);
  box-shadow: var(--glow-cyan);
}

.metric-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* Sections */
.section {
  margin-bottom: 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-desc {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

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

.job {
  display: block;
}

.job-card {
  position: relative;
  padding: 26px 26px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.job-card:hover {
  border-color: rgba(157, 108, 255, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.job-now .job-card {
  border-color: rgba(255, 77, 157, 0.35);
  background: linear-gradient(160deg, rgba(255, 77, 157, 0.08), rgba(157, 108, 255, 0.05));
}

.job-company {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px 20px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.job-company-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-company-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.job-company h3.job-company-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.job-company-name {
  color: var(--text);
}

.job-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffd6e8;
  background: linear-gradient(125deg, rgba(255, 77, 157, 0.18), rgba(157, 108, 255, 0.18));
  border: 1px solid rgba(255, 77, 157, 0.4);
  border-radius: 999px;
}

.job-company time {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  padding: 5px 12px;
  background: rgba(0, 234, 255, 0.08);
  border-radius: 8px;
  white-space: nowrap;
}

.job-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(184, 255, 92, 0.12);
  border: 1px solid rgba(184, 255, 92, 0.35);
  border-radius: 999px;
  animation: badgePulse 2.5s ease infinite alternate;
}

.job-status .live-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(184, 255, 92, 0.7);
}

.job-status-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 5px 12px;
  font-size: 10px;
  flex-shrink: 0;
  transform: none;
  vertical-align: middle;
}

@keyframes badgePulse {
  to {
    box-shadow: 0 0 18px rgba(184, 255, 92, 0.35);
  }
}

/* Project collapse */
.project-collapse {
  margin-top: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-collapse-first {
  margin-top: 10px;
}

.project-collapse-separated {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(157, 108, 255, 0.35);
}

.project-collapse.is-expanded,
.project-collapse.is-expanding {
  border-color: rgba(157, 108, 255, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.project-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.4s ease;
}

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

.project-summary-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.project-summary-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color 0.4s ease;
}

.project-summary-tagline {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.project-collapse.is-expanded .project-summary-title,
.project-collapse.is-expanding .project-summary-title {
  color: var(--violet);
}

.project-chevron {
  flex-shrink: 0;
  align-self: center;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.project-chevron::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition:
    transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
    border-color 0.4s ease;
}

.project-collapse.is-expanded .project-chevron,
.project-collapse.is-expanding .project-chevron {
  transform: rotate(180deg);
  background: rgba(157, 108, 255, 0.2);
}

.project-collapse.is-expanded .project-chevron::before,
.project-collapse.is-expanding .project-chevron::before {
  border-color: var(--text);
  transform: rotate(45deg) translateY(-2px);
}

.project-summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.project-summary:active .project-chevron {
  transform: scale(0.92);
}

.project-collapse.is-expanded .project-summary:active .project-chevron,
.project-collapse.is-expanding .project-summary:active .project-chevron {
  transform: rotate(180deg) scale(0.92);
}

.project-body {
  height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition:
    height 0.5s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.45s ease;
}

.project-collapse.is-expanded .project-body,
.project-collapse.is-expanding .project-body {
  border-top-color: var(--border);
}

.project-body-inner {
  padding: 14px 16px 16px;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.project-collapse.is-expanded .project-body-inner,
.project-collapse.is-expanding .project-body-inner {
  opacity: 1;
  transform: translateY(0);
}

.project-collapse.is-collapsing .project-body-inner {
  opacity: 0;
  transform: translateY(-4px);
  transition-duration: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .project-body,
  .project-body-inner,
  .project-chevron,
  .project-chevron::before,
  .contact-chip,
  .contact-email {
    transition: none !important;
  }
}

.project-part {
  margin-top: 4px;
}

.project-part + .project-part {
  margin-top: 16px;
}

.project-part-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.project-part ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #c5cbd8;
}

.project-part li {
  margin-bottom: 6px;
}

.project-part li::marker {
  color: var(--pink);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 8px;
  margin: 0;
  padding: 0;
}

.tech-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
  border-radius: 8px;
  color: #e8e0ff;
  background: rgba(157, 108, 255, 0.18);
  border: 1px solid rgba(157, 108, 255, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.tech-tags span:hover {
  transform: scale(1.05);
  background: rgba(0, 234, 255, 0.15);
  border-color: rgba(0, 234, 255, 0.4);
  color: #fff;
}

.tech-tags-lg span {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 10px;
}

.job-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Skills */
.skills-panel {
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.skill-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.skill-group {
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.skill-group:hover {
  transform: translateX(4px);
  border-color: rgba(255, 77, 157, 0.3);
}

.skill-group-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.skills-panel .skills-tags {
  max-width: 100%;
}

.skills-panel .skills-tags span {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  text-align: center;
}

/* Education */
.edu-card {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.edu-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.edu-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.edu-entry + .edu-entry {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.edu-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px 20px;
}

.edu-header-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edu-header-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.edu-degree {
  font-size: 14px;
  font-weight: 600;
  color: var(--text) !important;
}

.edu-location {
  font-size: 13px;
}

.edu-classification {
  font-size: 13px;
  color: #c5cbd8 !important;
}

.edu-header time {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  padding: 5px 12px;
  background: rgba(0, 234, 255, 0.08);
  border-radius: 8px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .edu-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .edu-header-meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

.page-footer {
  text-align: center;
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 300;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--grad-btn);
  background-size: 200% auto;
  color: #0a0a10;
  cursor: pointer;
  box-shadow: var(--glow-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease), box-shadow 0.3s;
  animation: gradMove 5s linear infinite;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--glow-pink), var(--glow-cyan);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Access gate */
.access-gate {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.access-gate-card {
  width: 100%;
  max-width: 380px;
  padding: 40px 32px;
  text-align: center;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 77, 157, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--glow-pink);
}

.access-gate-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.access-gate-hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.access-gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.access-gate-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.access-gate-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 77, 157, 0.2);
}

.access-gate-btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

.access-gate-error {
  color: #ff7a9d;
  font-size: 14px;
  margin: 14px 0 0;
}

/* Console warning */
.console-warning {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

.console-warning-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  text-align: center;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 77, 157, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--glow-pink);
}

.console-warning-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ff6b6b;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 999px;
}

.console-warning-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
  animation: consoleWarningPulse 2s ease infinite;
}

.console-warning-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(125deg, #ffb4b4 0%, #ff6b6b 25%, #ef4444 50%, #dc2626 75%, #ffb4b4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: consoleWarningGrad 4s ease-in-out infinite alternate;
}

.console-warning-text {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.console-warning-hint {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.console-warning-btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

@keyframes consoleWarningPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

@keyframes consoleWarningGrad {
  to {
    background-position: 200% center;
  }
}

/* Responsive */
@media (max-width: 720px) {
  .hero-actions {
    justify-content: center;
  }

  .hero-intro {
    text-align: center;
  }

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

  .contact-email {
    flex-wrap: wrap;
  }

  .contact-email-address {
    flex-basis: 100%;
    padding-left: 0;
  }

  .metrics,
  .metrics-duo {
    grid-template-columns: 1fr;
  }

  .job-card {
    padding: 22px 20px 20px;
  }

  .job-company {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .job-company-meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-pills {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-intro {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .blob,
  .hero-name,
  .contact-banner-title,
  .brand,
  .btn-pill-fill,
  .back-to-top,
  .live-dot,
  .job-status,
  .console-warning-dot,
  .console-warning-title {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
