:root {
  --bg: #050a0f;
  --panel: #070d14;
  --panel-strong: #0a111a;
  --text: #d1d5db;
  --text-strong: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --cyan: #00d4ff;
  --green: #00ff88;
  --container: min(1120px, calc(100vw - 32px));
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--cyan);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-sm {
  width: 0.95rem;
  height: 0.95rem;
}

.icon-xs {
  width: 0.78rem;
  height: 0.78rem;
}

.site-bg-grid,
.site-bg-glow,
.floating-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg-grid {
  z-index: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(to right, rgba(0, 212, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.site-bg-glow {
  z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
}

.floating-particles {
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: var(--left);
  bottom: -16px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: var(--color);
  opacity: var(--opacity);
  animation: float-particle var(--duration) linear infinite;
  animation-delay: var(--delay);
}

@keyframes float-particle {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  15% {
    opacity: var(--opacity);
  }
  100% {
    transform: translate3d(0, -800px, 0);
    opacity: 0;
  }
}

.status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(14px);
  background: rgba(5, 10, 15, 0.7);
  color: rgba(0, 212, 255, 0.6);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.status-left,
.status-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.status-right {
  flex: 1;
}

.status-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 700;
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
  animation: pulse-online 1.6s infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.3);
  }
}

.status-env,
.status-latency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status-env {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
  padding-left: 20px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  transition: color 220ms ease;
}

.nav-num {
  color: rgba(0, 212, 255, 0.5);
  font-size: 9px;
  transition: color 220ms ease;
}

.nav-label {
  color: #4b5563;
  font-size: 10px;
  transition: color 220ms ease;
}

.nav-link:hover .nav-num {
  color: var(--cyan);
}

.nav-link:hover .nav-label {
  color: var(--text-strong);
}

.status-latency {
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.latency-pips {
  display: inline-flex;
  gap: 4px;
  margin-right: 4px;
}

.latency-pips span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  display: inline-block;
  opacity: 0.3;
  animation: latency-pip 1.2s infinite;
}

.latency-pips span:nth-child(2) {
  animation-delay: 0.18s;
}

.latency-pips span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes latency-pip {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.status-time {
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.page-shell {
  position: relative;
  z-index: 10;
  width: var(--container);
  margin: 0 auto;
  padding: 90px 0 64px;
}

.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 96px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-avatar-mobile {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.avatar-ring-spin {
  animation: spin 18s linear infinite;
}

.avatar-frame {
  position: absolute;
  inset: 4px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.operator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(3.8rem, 13vw, 8.8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-main,
.glitch-layer {
  display: block;
}

.glitch-layer {
  position: absolute;
  top: 0;
  opacity: 0.55;
  z-index: -1;
  transition: opacity 220ms ease;
}

.glitch-blue {
  left: 2px;
  color: var(--cyan);
}

.glitch-green {
  left: -2px;
  color: var(--green);
  transition-delay: 90ms;
}

.glitch-blue {
  animation: glitch-pulse 1.4s infinite;
}

.glitch-green {
  animation: glitch-pulse 1.4s infinite 0.18s;
}

@keyframes glitch-pulse {
  0%,
  100% {
    opacity: 0.32;
    transform: translateX(0);
  }
  25% {
    opacity: 0.62;
    transform: translateX(1px);
  }
  50% {
    opacity: 0.72;
    transform: translateX(-1px);
  }
  75% {
    opacity: 0.5;
    transform: translateX(1px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 30px 48px;
  align-items: start;
  padding-top: 18px;
}

.hero-summary {
  margin: 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid rgba(0, 212, 255, 0.4);
  color: #9ca3af;
  font-size: clamp(1.125rem, 2.5vw, 1.65rem);
  font-weight: 300;
  line-height: 1.6;
}

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

.live-terminal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  grid-row: span 2;
  height: 188px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 136, 0.2);
  background: rgba(0, 255, 136, 0.05);
  box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.02);
  padding: 16px;
  color: var(--green);
  font: 0.6875rem/1.65 var(--mono);
}

.terminal-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 255, 136, 0.06) 3px,
    rgba(0, 255, 136, 0.06) 4px
  );
}

.terminal-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(0, 255, 136, 0.4);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.terminal-label-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  animation: blink 1s infinite;
}

.terminal-lines {
  position: relative;
  z-index: 0;
}

.terminal-lines {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.terminal-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-line {
  max-height: 1.65em;
  opacity: 0.85;
  transition:
    max-height 220ms ease,
    opacity 220ms ease;
}

.terminal-line.is-typing {
  opacity: 1;
}

.terminal-line.is-removing {
  max-height: 0;
  opacity: 0;
}

.terminal-cursor {
  display: inline-block;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}

.hero-social-row {
  padding-top: 0;
  margin-top: -4px;
  align-self: start;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #1f2937;
  background: var(--panel);
  color: #d1d5db;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.social-button .icon {
  width: 18px;
  height: 18px;
}

.social-image {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-image-linkedin {
  width: 19px;
  height: 19px;
}

.social-image-x {
  width: 17px;
  height: 17px;
}

.social-image-telegram {
  width: 18px;
  height: 18px;
}
.social-button:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.1);
}

.social-button:hover .icon {
  color: var(--cyan);
}

.hero-avatar-desktop {
  position: absolute;
  top: 40px;
  right: 0;
  pointer-events: none;
}

.desktop-avatar-shell {
  position: relative;
  width: 208px;
  height: 208px;
}

.desktop-ring,
.desktop-glow,
.desktop-image-frame,
.desktop-corner {
  position: absolute;
}

.desktop-ring {
  border-radius: 999px;
}

.desktop-ring-outer {
  inset: 0;
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: spin 20s linear infinite;
}

.desktop-ring-inner {
  inset: 12px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  animation: spin-reverse 14s linear infinite;
}

.desktop-glow {
  inset: 0;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.05);
  filter: blur(20px);
}

.desktop-image-frame {
  inset: 20px;
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.desktop-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-corner {
  width: 12px;
  height: 12px;
}

.desktop-corner-a {
  top: 20px;
  left: 8px;
  border-top: 2px solid rgba(0, 212, 255, 0.6);
  border-left: 2px solid rgba(0, 212, 255, 0.6);
}

.desktop-corner-b {
  right: 8px;
  bottom: 20px;
  border-right: 2px solid rgba(0, 212, 255, 0.6);
  border-bottom: 2px solid rgba(0, 212, 255, 0.6);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.divider-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 96px;
  opacity: 0.4;
}

.divider-line span {
  flex: 1;
  height: 1px;
  background: rgba(0, 212, 255, 0.4);
}

.divider-line i {
  width: 6px;
  height: 6px;
  display: block;
  background: var(--cyan);
  transform: rotate(45deg);
}

.content-section {
  margin-bottom: 96px;
}

.section-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.section-header-line {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(0, 212, 255, 0.2);
  z-index: -1;
}

.section-header-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px 0 12px;
  border-left: 2px solid var(--cyan);
  background: var(--bg);
}

.section-header-box span,
.label-text,
.panel-heading,
.category-tag,
.read-link,
.contact-kicker,
.contact-card-heading,
.field-group label,
.contact-note,
.operator-pill,
.experience-meta,
.project-role-tag,
.slider-count,
.slider-tab-label,
.project-mono,
.status-chip,
.project-link {
  font-family: var(--mono);
  text-transform: uppercase;
}

.section-header-box span {
  color: rgba(0, 212, 255, 0.6);
  font-size: 0.75rem;
}

.section-header-box h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.operating-card,
.skill-card,
.article-card {
  position: relative;
  overflow: hidden;
}

.card-hover-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 156px;
  height: 156px;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  border-right: 1px solid rgba(0, 212, 255, 0.3);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.operating-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to bottom, #070d14, #050a0f);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.operating-card:hover {
  transform: translateY(-5px);
}

.operating-card:hover .card-hover-corner {
  opacity: 1;
}

.operating-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 260ms ease;
}

.operating-card-icon-mark {
  position: absolute;
  top: -32px;
  right: -32px;
  width: 128px;
  height: 128px;
  color: rgba(255, 255, 255, 0.05);
  transition: color 320ms ease;
}

.operating-card:hover .operating-card-icon-mark {
  color: rgba(0, 212, 255, 0.05);
}

.operating-card-body {
  position: relative;
  z-index: 1;
}

.operating-card-body .icon {
  width: 28px;
  height: 28px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.operating-card h3,
.project-title,
.article-card h3,
.contact-copy h2 {
  margin: 0;
  color: var(--text-strong);
}

.operating-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.label-text {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  background: rgba(0, 212, 255, 0.05);
  color: rgba(0, 212, 255, 0.8);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.operating-card p,
.project-description,
.article-card p,
.contact-copy p,
.field-group input,
.field-group textarea,
.project-tagline,
.skill-card-sub,
.experience-description,
.success-title + p {
  color: var(--text-muted);
}

.operating-card p,
.project-description,
.article-card p,
.contact-copy p,
.experience-description {
  line-height: 1.75;
}

.operating-card-wide {
  grid-column: span 2;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.project-block {
  position: relative;
}

.project-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}

.project-title-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.project-title {
  font-size: clamp(2rem, 6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.project-role-tag {
  align-self: center;
  padding: 5px 10px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.project-tagline {
  margin: 0;
  color: #d1d5db;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 12px 16px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.05);
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.status-chip-dot,
.project-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  animation: status-pulse 1.5s infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.68fr) minmax(0, 0.72fr);
  gap: 20px;
  align-items: start;
}

.project-info {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 13, 20, 0.8);
  transition: transform 220ms ease;
}

.project-info:hover {
  transform: scale(1.01);
}

.project-info-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 156px;
  height: 156px;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  border-right: 1px solid rgba(0, 212, 255, 0.3);
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-info:hover .project-info-corner {
  opacity: 1;
}

.project-mono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.project-mono .icon {
  color: rgba(0, 212, 255, 0.5);
}

.project-info-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 12px;
}

.metric-label {
  margin-bottom: 4px;
  color: var(--text-dim);
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-value {
  color: var(--cyan);
  font: 500 0.75rem/1.5 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-value.is-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-top: 8px;
  color: var(--cyan);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.16em;
  transition: color 220ms ease;
}

.project-link:hover {
  color: var(--green);
}

.project-link .icon {
  transition: transform 220ms ease;
}

.project-link:hover .icon {
  transform: translate(2px, -2px);
}

.project-slider {
  position: relative;
  overflow: hidden;
  width: min(100%, 500px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #060d14;
  transition: transform 220ms ease;
}

.project-slider:hover {
  transform: scale(1.005);
}

.project-slider-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 17, 26, 0.95);
}

.slider-light {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.slider-light.red {
  background: rgba(239, 68, 68, 0.6);
}

.slider-light.yellow {
  background: rgba(234, 179, 8, 0.6);
}

.slider-light.green {
  background: rgba(34, 197, 94, 0.6);
}

.slider-tab-label {
  min-width: 0;
  margin-left: 8px;
  color: var(--text-dim);
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.slider-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition:
    background 220ms ease,
    box-shadow 220ms ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-dot.is-active {
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.8);
}

.slider-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
}

.slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 250ms ease-in-out, transform 300ms ease;
}

.slider-image.is-active {
  opacity: 0.92;
}

.project-slider:hover .slider-image.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.slider-ring {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 500ms ease;
  pointer-events: none;
}

.project-slider:hover .slider-ring {
  border-color: rgba(0, 212, 255, 0.3);
}

.slider-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.terminal-divider {
  margin: 80px 0 128px;
  color: #374151;
  text-align: center;
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.4em;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 80px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--cyan);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.skill-card {
  min-height: 90px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 13, 20, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  background: rgba(7, 13, 20, 1);
}

.skill-card:hover .card-hover-corner {
  opacity: 1;
}

.skill-card .card-hover-corner {
  width: 44px;
  height: 44px;
}

.skill-card-title {
  margin-bottom: 6px;
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 220ms ease;
}

.skill-card:hover .skill-card-title {
  color: var(--cyan);
}

.skill-card-sub {
  font-size: 10px;
  line-height: 1.6;
  color: var(--text-dim);
}

.skill-card-line {
  width: 0;
  height: 1px;
  margin-top: 10px;
  background: rgba(0, 212, 255, 0.2);
  transition: width 600ms var(--ease-out);
}

.skill-card.is-visible .skill-card-line {
  width: 100%;
}

.experience-timeline {
  position: relative;
  margin-left: 12px;
  padding: 12px 0;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 32px;
}

.timeline-item {
  position: relative;
  padding-left: 28px;
  transition: transform 220ms ease;
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-marker {
  position: absolute;
  top: 8px;
  left: -8px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: #374151;
  transition: background 220ms ease;
}

.timeline-marker.is-live {
  background: var(--green);
  animation: live-marker 2s infinite;
}

@keyframes live-marker {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 255, 136, 0.4);
  }
  50% {
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
  }
}

.timeline-item:hover .timeline-marker:not(.is-live) {
  background: rgba(0, 212, 255, 0.5);
}

.experience-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 6px;
}

.experience-role {
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 220ms ease;
}

.timeline-item:hover .experience-role {
  color: var(--cyan);
}

.experience-org {
  color: rgba(0, 212, 255, 0.7);
  font: 500 0.75rem/1.4 var(--mono);
}

.experience-org:hover {
  color: var(--cyan);
}

.experience-description {
  margin: 0 0 10px;
  font-size: 0.9375rem;
}

.experience-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.article-card {
  display: block;
  padding: 24px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    background 300ms ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.2);
  background: var(--panel-strong);
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--cyan);
  transition: height 500ms ease;
}

.article-card:hover::before {
  height: 100%;
}

.article-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

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

.category-tag {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  font-size: 10px;
  letter-spacing: 0.16em;
  transition:
    border-color 220ms ease,
    color 220ms ease;
}

.article-date {
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.article-card:hover .category-tag {
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--cyan);
}

.article-arrow {
  color: var(--text-dim);
  transition: transform 220ms ease, color 220ms ease;
}

.article-card:hover .article-arrow {
  transform: translateX(4px);
  color: var(--cyan);
}

.article-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 220ms ease;
}

.article-card:hover h3 {
  color: var(--cyan);
}

.article-card p {
  margin: 0 0 24px;
  font-size: 0.9375rem;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  transition: color 220ms ease;
}

.read-link span {
  width: 16px;
  height: 1px;
  background: #4b5563;
  transition: background 220ms ease;
}

.article-card:hover .read-link {
  color: var(--text-strong);
}

.article-card:hover .read-link span {
  background: var(--cyan);
}

.contact-section {
  position: relative;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 128px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
}

.contact-inner {
  max-width: 768px;
  margin: 0 auto;
}

.contact-copy {
  margin-bottom: 48px;
  text-align: center;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.contact-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-copy p {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.1vw, 1.125rem);
}

.contact-socials {
  justify-content: center;
  margin-bottom: 48px;
}

.contact-socials .social-button {
  background: rgba(255, 255, 255, 0.05);
}

.contact-socials .social-button:hover {
  box-shadow: none;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 24px 40px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 13, 20, 0.8);
}

.contact-card-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.4), transparent);
}

.contact-card-glow {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 192px;
  height: 192px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.05);
  filter: blur(48px);
}

.contact-card-heading {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field-group {
  display: grid;
  gap: 14px;
}

.contact-form > .field-group {
  margin-top: 18px;
}

.field-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.field-group label .icon {
  color: rgba(0, 212, 255, 0.6);
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  resize: none;
  padding: 12px 16px;
  background: var(--bg);
  color: var(--text-strong);
  font-size: 0.9375rem;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #6b7280;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.1);
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.form-status.hidden {
  display: none;
}

.form-status.is-error {
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.16);
}

.form-status.is-success {
  border-color: rgba(0, 255, 136, 0.28);
  color: var(--green);
  background: rgba(0, 255, 136, 0.06);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 0;
  background: var(--cyan);
  color: var(--bg);
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.submit-button:hover:not(:disabled) {
  transform: scale(1.02);
  background: #ffffff;
}

.submit-button:active:not(:disabled) {
  transform: scale(0.98);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-spinner {
  width: 14px;
  height: 14px;
  display: none;
  border: 1px solid rgba(5, 10, 15, 0.5);
  border-top-color: rgba(5, 10, 15, 1);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.submit-button.is-sending .button-spinner {
  display: inline-block;
}

.submit-button.is-sending .button-icon {
  display: none;
}

.contact-success {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 0;
  text-align: center;
}

.success-title {
  color: var(--green);
  font: 500 0.875rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-note {
  margin-top: 40px;
  color: var(--text-dim);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.pulse-underscore {
  animation: blink 1s infinite;
}

.reveal,
.hero-intro {
  opacity: 0;
  transform: translateY(30px);
}

.hero-intro {
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: calc(var(--hero-step, 0) * 140ms);
}

.hero-intro[data-hero-step="1"] { --hero-step: 1; }
.hero-intro[data-hero-step="2"] { --hero-step: 2; }
.hero-intro[data-hero-step="3"] { --hero-step: 3; }
.hero-intro[data-hero-step="4"] { --hero-step: 4; }

body.is-ready .hero-intro,
.reveal.is-visible,
.skill-card.is-visible,
.project-block.is-visible,
.article-card.is-visible,
.operating-card.is-visible,
.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal,
.operating-card,
.project-block,
.skill-card,
.timeline-item,
.article-card {
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.operating-card,
.skill-card,
.timeline-item,
.article-card,
.project-block {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

@media (max-width: 1199px) {
  .hero-avatar-desktop {
    display: none;
  }
}

@media (max-width: 1023px) {
  .page-shell {
    width: min(100vw - 32px, 960px);
    padding-top: 96px;
  }

  .hero-section,
  .content-section {
    margin-bottom: 88px;
  }

  .hero-avatar-mobile {
    display: block;
  }

  .hero-grid,
  .project-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 16px;
  }

  .project-slider {
    width: min(100%, 450px);
    justify-self: start;
  }

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

  .operating-card-wide {
    grid-column: span 1;
  }

  .skills-grid,
  .articles-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .status-env,
  .status-latency {
    display: none;
  }
}

@media (max-width: 767px) {
  .status-bar {
    padding: 0 12px;
    gap: 8px;
  }

  .status-left,
  .status-right {
    gap: 12px;
  }

  .section-nav {
    display: none;
  }

  .status-time {
    font-size: 9px;
    margin-left: auto;
  }

  .page-shell {
    width: min(100vw - 24px, 100%);
    padding: 88px 0 96px;
  }

  .hero-section {
    min-height: 86vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 72px;
  }

  .hero-copy {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 0;
    margin-top: -16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-topline {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
  }

  .hero-avatar-mobile {
    width: min(44vw, 168px);
    height: min(44vw, 168px);
  }

  .avatar-ring {
    border-width: 2px;
    border-color: rgba(0, 212, 255, 0.48);
    box-shadow: 0 0 34px rgba(0, 212, 255, 0.14);
  }

  .avatar-frame {
    inset: 8px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.18);
  }

  .hero-topline .operator-pill {
    display: inline-flex;
  }

  .hero-title {
    width: min(100%, 340px);
    margin-bottom: 14px;
    font-size: clamp(3rem, 15vw, 4rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-align: center;
  }

  .hero-grid {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 0;
  }

  .hero-grid.hero-intro,
  .hero-section .hero-social-row.hero-intro {
    opacity: 1;
    transform: none;
  }

  .hero-summary {
    width: min(100%, 340px);
    padding: 14px 4px 14px 22px;
    border-left: 2px solid rgba(0, 212, 255, 0.45);
    color: #cbd5e1;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.85;
    text-align: left;
  }

  .live-terminal {
    display: none;
  }

  .social-row {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .hero-section .hero-social-row {
    width: 100%;
    margin-top: 8px;
    padding-top: 0;
    gap: 12px;
  }

  .hero-section .hero-social-row .social-button {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    padding: 0;
    justify-content: center;
    border-width: 2px;
    background: rgba(7, 13, 20, 0.92);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }

  .hero-section .hero-social-row .social-button .icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
  }

  .hero-section .hero-social-row .social-image-linkedin {
    width: 24px;
    height: 24px;
  }

  .hero-section .hero-social-row .social-image-x {
    width: 20px;
    height: 20px;
  }

  .hero-section .hero-social-row .social-image-telegram {
    width: 21px;
    height: 21px;
  }

  .social-button {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
  }

  .content-section,
  .project-block,
  .operating-card,
  .skill-card,
  .article-card,
  .timeline-item,
  .project-info,
  .contact-card,
  .skills-panel,
  .experience-panel,
  .contact-inner,
  .contact-section {
    text-align: center;
  }

  .operating-grid,
  .articles-grid,
  .projects-list,
  .skills-panel,
  .experience-panel,
  .capabilities-grid,
  .project-grid,
  .skills-grid,
  .form-grid {
    justify-items: center;
  }

  .section-header {
    justify-content: flex-start;
  }

  .section-header-box {
    justify-content: flex-start;
    padding: 0 18px 0 10px;
    border-left: 2px solid var(--cyan);
    border-top: 0;
  }

  .operating-card-body .icon,
  .project-mono,
  .panel-heading,
  .experience-meta,
  .contact-card-heading,
  .contact-kicker {
    justify-content: center;
  }

  .project-header,
  .experience-head,
  .project-title-row {
    justify-content: center;
  }

  .article-head {
    justify-content: space-between;
  }

  .project-title-group,
  .article-meta,
  .project-grid,
  .capabilities-grid,
  .skills-grid,
  .form-grid {
    align-items: center;
  }

  .operating-card-body,
  .project-title-group,
  .project-info-section,
  .article-meta,
  .contact-copy,
  .contact-form,
  .field-group {
    align-items: center;
    justify-items: center;
  }

  .status-chip,
  .project-link,
  .experience-meta,
  .contact-kicker {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .project-slider {
    justify-self: center;
  }

  .contact-socials {
    justify-content: center;
    gap: 8px;
  }

  .contact-socials .social-button {
    width: 44px;
    height: 44px;
  }

  .contact-socials .social-button .icon {
    width: 14px;
    height: 14px;
  }

  .contact-socials .social-image-linkedin {
    width: 18px;
    height: 18px;
  }

  .contact-socials .social-image-x {
    width: 15px;
    height: 15px;
  }

  .contact-socials .social-image-telegram {
    width: 17px;
    height: 17px;
  }
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    width: 100%;
  }

  .skill-card {
    min-height: 82px;
    text-align: center;
  }

  .experience-timeline {
    margin-left: 8px;
    padding: 8px 0;
    border-left: 2px solid rgba(0, 212, 255, 0.18);
    justify-items: stretch;
  }

  .timeline-item {
    padding-left: 24px;
    text-align: left;
  }

  .timeline-marker {
    display: block;
    left: -7px;
  }

  .experience-panel,
  .experience-timeline,
  .experience-head,
  .experience-role,
  .experience-description,
  .experience-meta {
    text-align: left;
  }

  .experience-head {
    justify-content: flex-start;
  }

  .experience-meta {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    align-self: flex-start;
  }

  .divider-line,
  .section-header {
    margin-bottom: 40px;
  }

  .section-header-box {
    gap: 12px;
    padding-right: 16px;
  }

  .operating-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .project-header {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .project-title-group {
    width: 100%;
    gap: 6px;
  }

  .project-title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .project-block,
  .project-header,
  .project-title-group,
  .project-title-row,
  .project-tagline,
  .project-info {
    text-align: left;
  }

  .project-title-row {
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .project-role-tag {
    align-self: center;
    flex-shrink: 0;
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .project-tagline {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.95rem;
  }

  .status-chip {
    align-self: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  .project-header .status-chip {
    display: none;
  }

  .divider-line {
    margin: 28px 0 48px;
  }

  .section-header {
    margin: 0 0 48px;
  }

  .section-header-line {
    display: none;
  }

  .section-header-box {
    position: relative;
    top: 12px;
    gap: 12px;
    padding: 0 18px 0 10px;
    background: var(--bg);
  }

  .operating-card,
  .article-card,
  .project-info,
  .contact-card {
    padding: 18px;
  }

  .projects-list {
    gap: 72px;
  }

  .terminal-divider {
    margin: 72px 0 96px;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    overflow: hidden;
  }

  .contact-copy {
    margin-bottom: 40px;
  }

  .contact-socials {
    margin-bottom: 40px;
  }

  .contact-note {
    line-height: 1.7;
  }

  .contact-inner,
  .contact-card,
  .contact-form,
  .contact-form .field-group,
  .contact-form .form-grid {
    width: 100%;
  }

  .contact-card {
    padding: 16px;
    text-align: left;
  }

  .contact-card-heading,
  .contact-form,
  .contact-form .field-group,
  .contact-form .form-grid {
    justify-items: stretch;
    align-items: stretch;
    text-align: left;
  }

  .contact-card-heading,
  .field-group label,
  .form-actions {
    justify-content: flex-start;
  }

  .contact-form > .field-group {
    margin-top: 14px;
  }

  .form-grid {
    gap: 14px;
  }

  .field-group input,
  .field-group textarea,
  .submit-button {
    width: 100%;
  }

  .submit-button {
    justify-content: center;
  }

  .reveal,
  .hero-intro,
  .operating-card,
  .project-block,
  .skill-card,
  .timeline-item,
  .article-card {
    transform: translateY(18px);
    transition-duration: 520ms;
  }
}

@media (hover: none), (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  a,
  button,
  .nav-link,
  .social-button,
  .operating-card,
  .skill-card,
  .article-card,
  .project-info,
  .project-slider,
  .project-link,
  .timeline-item,
  .experience-org,
  .slider-dot,
  .status-online {
    transition: none !important;
  }

  .nav-link:hover,
  .nav-link:active,
  .social-button:hover,
  .social-button:active,
  .operating-card:hover,
  .operating-card:active,
  .skill-card:hover,
  .skill-card:active,
  .article-card:hover,
  .article-card:active,
  .project-info:hover,
  .project-info:active,
  .project-slider:hover,
  .project-slider:active,
  .project-link:hover,
  .project-link:active,
  .timeline-item:hover,
  .timeline-item:active,
  .experience-org:hover,
  .experience-org:active,
  .slider-dot:hover,
  .slider-dot:active,
  .status-online:hover,
  .status-online:active,
  .operator-pill:hover,
  .operator-pill:active {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .social-button:hover,
  .social-button:active,
  .operating-card:hover,
  .operating-card:active,
  .skill-card:hover,
  .skill-card:active,
  .article-card:hover,
  .article-card:active,
  .project-info:hover,
  .project-info:active,
  .project-slider:hover,
  .project-slider:active,
  .slider-dot:hover,
  .slider-dot:active,
  .category-tag:hover,
  .category-tag:active {
    background: inherit !important;
    border-color: inherit !important;
  }

  .nav-link:hover .nav-num,
  .nav-link:active .nav-num,
  .nav-link:hover .nav-label,
  .nav-link:active .nav-label,
  .social-button:hover .icon,
  .social-button:active .icon,
  .project-link:hover .icon,
  .project-link:active .icon,
  .article-card:hover h3,
  .article-card:active h3,
  .article-card:hover .category-tag,
  .article-card:active .category-tag,
  .article-card:hover .read-link,
  .article-card:active .read-link,
  .timeline-item:hover .experience-role,
  .timeline-item:active .experience-role,
  .experience-org:hover,
  .experience-org:active {
    color: inherit !important;
    transform: none !important;
  }

  .operating-card:hover .card-hover-corner,
  .operating-card:active .card-hover-corner,
  .operating-card .card-hover-corner,
  .skill-card:hover .card-hover-corner,
  .skill-card:active .card-hover-corner,
  .project-info:hover .project-info-corner,
  .project-info:active .project-info-corner,
  .project-info .project-info-corner,
  .article-card:hover::before,
  .article-card:active::before,
  .article-card::before,
  .project-slider:hover .slider-ring,
  .project-slider:active .slider-ring {
    opacity: 0 !important;
    height: 0 !important;
    border-color: transparent !important;
  }

  .operating-card,
  .project-info {
    transform: none !important;
  }

  .operating-card:hover,
  .operating-card:active,
  .project-info:hover,
  .project-info:active {
    transform: none !important;
    background: inherit !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }

  .operating-card::before,
  .operating-card:hover::before,
  .operating-card:active::before {
    opacity: 0 !important;
  }

  .operating-card-icon-mark,
  .operating-card:hover .operating-card-icon-mark,
  .operating-card:active .operating-card-icon-mark {
    color: rgba(255, 255, 255, 0.05) !important;
  }

  a:focus,
  a:active,
  button:focus,
  button:active {
    outline: none;
    box-shadow: none;
  }
}
