:root {
  --bg:          #050507;
  --bg2:         #0a0a0e;
  --bg3:         #0f0f16;
  --card:        #0d0d14;
  --card-hover:  #111119;
  --border:      #1c1c28;
  --border-glow: rgba(0, 245, 212, 0.35);
  --cyan:        #00f5d4;
  --cyan-dim:    rgba(0, 245, 212, 0.08);
  --purple:      #a855f7;
  --purple-dim:  rgba(168, 85, 247, 0.08);
  --amber:       #fbbf24;
  --orange:      #f97316;
  --white:       #f0f0f8;
  --white-dim:   rgba(240, 240, 248, 0.55);
  --muted:       #5a5a72;
  --muted-mid:   rgba(240, 240, 248, 0.35);
  --glow-cyan:   0 0 30px rgba(0, 245, 212, 0.2), 0 0 60px rgba(0, 245, 212, 0.08);
  --glow-purple: 0 0 30px rgba(168, 85, 247, 0.2);
  --font-head:   'Syne', sans-serif;
  --font-mono:   'DM Mono', monospace;
  --font-body:   'Outfit', sans-serif;
  --accent-orange-1: #ff8a00;
  --accent-orange-2: #ff4d00;
  --accent-orange-soft: rgba(255, 138, 0, 0.1);
  --accent-orange-mid: rgba(255, 138, 0, 0.28);
  --accent-orange-strong: rgba(255, 138, 0, 0.55);
  --accent-orange-glow: 0 0 24px rgba(255, 138, 0, 0.2), 0 0 50px rgba(255, 77, 0, 0.12);
  --home-accent-gradient: linear-gradient(90deg, #ffb347 0%, #ff8a00 46%, #ff4d00 100%);
  --panel-surface: rgba(8, 8, 10, 0.95);
  --panel-texture-line: rgba(255, 255, 255, 0.028);
  --panel-texture:
    linear-gradient(var(--panel-surface), var(--panel-surface)),
    repeating-linear-gradient(30deg, var(--panel-texture-line) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(150deg, var(--panel-texture-line) 0 1px, transparent 1px 34px);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  cursor: auto;
  overflow-x: hidden;
  background-color: #050507;
  position: relative;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 800;
}

code,
.mono,
.project-id,
.stat-label,
.meta-tag,
.chip,
.repo-badge,
.readme-username,
.readme-subheading,
.nav a,
.contact-cta,
.about-btn,
.copyright {
  font-family: var(--font-mono);
}

button,
a,
.btn,
.chip,
.about-btn,
.tech-icon,
.project-card,
.mobile-links a {
  cursor: pointer !important;
}

body::before {
  content: '';
  position: fixed;
  inset: -24px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.56;
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.78) 0%, rgba(5, 7, 12, 0.86) 100%),
    url('../images/netw.jpg') center center / cover no-repeat;
  filter: blur(12px) saturate(0.9);
  transform: scale(1.06);
  transform-origin: center;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 6, 12, 0.62) 0%, rgba(3, 5, 10, 0.7) 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 32px 32px;
  opacity: 0.72;
}

main,
main > section,
.site-footer,
.mobile-nav {
  position: relative;
  z-index: 2;
}

main {
  padding-top: 88px;
  background: transparent !important;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.2;
  background:
    radial-gradient(48% 38% at 50% 6%, rgba(0, 245, 212, 0.16), transparent 70%),
    radial-gradient(36% 26% at 82% 18%, rgba(71, 95, 255, 0.13), transparent 74%),
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 36px);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 12%, #000 100%);
}

main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.26;
  background:
    radial-gradient(560px 300px at 12% 10%, rgba(0, 245, 212, 0.12), transparent 66%),
    radial-gradient(620px 340px at 92% 6%, rgba(110, 78, 255, 0.12), transparent 70%);
}

main > section {
  min-height: auto !important;
  background: transparent !important;
  padding: 3.5rem 0 !important;
}

.container {
  width: min(100% - 2.2rem, 1180px);
  margin: 0 auto;
  padding: 0;
}

.nav-dots {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 0 rgba(0, 245, 212, 0.04);
}

.nav-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.2rem;
  min-height: 74px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0, 245, 212, 0.4);
  animation: brandPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes brandPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.5;
  }
}

.brand .accent {
  color: var(--cyan);
  -webkit-text-fill-color: currentcolor;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  position: relative;
  transition: color 0.25s ease;
  border-radius: 0;
  background: transparent !important;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.active {
  color: var(--white);
}

.nav a.active::after {
  transform: scaleX(1);
}

.contact-cta {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 9px 20px !important;
  border: 1px solid var(--cyan) !important;
  border-radius: 2px !important;
  color: var(--cyan) !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.contact-cta:hover {
  background: var(--cyan) !important;
  color: var(--bg) !important;
  box-shadow: var(--glow-cyan) !important;
  transform: translateY(-1px) !important;
}

.contact-cta::after {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg2);
  color: var(--white-dim);
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.icon-btn:hover {
  color: var(--cyan);
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.12), var(--glow-cyan);
  transform: none;
}

.menu-btn {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  padding: 2rem;
  z-index: 650;
  background: rgba(5, 5, 7, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  transform: translateY(0);
}

.close-nav {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 2px;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.mobile-links {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-links a {
  display: inline-flex;
  width: 100%;
  padding: 0.85rem 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--white-dim);
  background: var(--card);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mobile-links a:hover,
.mobile-links a.active {
  border-color: rgba(0, 245, 212, 0.5);
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.08);
}

#hero.hero {
  padding: 1.35rem 0 3rem !important;
  display: block;
  min-height: auto !important;
  background: transparent !important;
}

#hero .readme-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

#hero .readme-sidebar,
#hero .readme-main {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(13, 13, 20, 0.98), rgba(9, 9, 14, 0.98));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

#hero .readme-sidebar {
  position: sticky;
  top: 104px;
  padding: 1.25rem;
}

#hero .readme-avatar-wrap {
  width: 188px;
  height: 188px;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(154, 168, 189, 0.85);
  box-shadow: none !important;
}

#hero .readme-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #090910;
}

#hero .readme-username {
  margin: 0 0 0.35rem;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.09em;
}

#hero .readme-role {
  margin: 0 0 1rem;
  color: var(--white-dim);
  font-size: 0.81rem;
  line-height: 1.65;
}

#hero .profile-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

#hero .like-btn,
#hero .message-btn {
  flex: 1 1 0;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.5rem;
  transition: all 0.25s ease;
}

#hero .like-btn {
  color: var(--cyan);
  border-color: rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.08);
}

#hero .like-btn:hover,
#hero .message-btn:hover {
  border-color: rgba(0, 245, 212, 0.6);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.12), 0 0 24px rgba(0, 245, 212, 0.1);
}

#hero .like-btn.liked {
  color: #041210;
  background: var(--cyan);
  border-color: var(--cyan);
}

#hero .like-btn .like-count {
  padding: 0.13rem 0.38rem;
  border-radius: 2px;
  background: rgba(0, 245, 212, 0.18);
  font-size: 0.6rem;
}

#hero .message-btn {
  color: var(--white-dim);
}

#hero .readme-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

#hero .readme-socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 98px;
  max-width: 132px;
  text-decoration: none;
  min-width: 96px;
  border: 1px solid rgba(255, 138, 0, 0.3);
  color: rgba(255, 210, 165, 0.95);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  background: linear-gradient(180deg, rgba(255, 138, 0, 0.12), rgba(255, 77, 0, 0.05));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

#hero .readme-socials a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 6px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

#hero .readme-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange-1);
  color: #0b0b0b;
  background: var(--home-accent-gradient);
  box-shadow:
    0 0 0 1px rgba(255, 138, 0, 0.24),
    0 14px 30px rgba(255, 138, 0, 0.22);
}

#hero .readme-socials a:hover::before {
  opacity: 1;
}

#hero .readme-socials a:focus-visible {
  outline: none;
  border-color: var(--accent-orange-1);
  box-shadow:
    0 0 0 2px rgba(255, 138, 0, 0.22),
    0 10px 24px rgba(255, 138, 0, 0.18);
}

#hero .readme-main {
  padding: 1.55rem;
}

#hero .contribution-section {
  margin-bottom: 1.45rem;
  padding: 0.9rem;
  background: linear-gradient(170deg, rgba(7, 10, 18, 0.22), rgba(7, 10, 18, 0.08));
  border-radius: 3px;
  border: none;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

#hero .contrib-header,
#hero .month-labels,
#hero .day-labels,
#hero .contrib-legend,
#hero .progress-label {
  display: none;
}

#hero .contribution-graph-wrapper {
  border: none;
  background: var(--bg);
  border-radius: 3px;
  padding: 0.6rem;
}

#hero .contrib-grid {
  display: grid;
  grid-template-rows: repeat(7, 11px);
  grid-auto-flow: column;
  grid-auto-columns: 11px;
  gap: 2px;
  width: fit-content;
  margin: 0 auto;
}

#hero .contrib-cell {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: #161824;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

#hero .contrib-cell[data-level="0"] {
  background: #161824;
}

#hero .contrib-cell[data-level="1"] {
  background: rgba(255, 138, 0, 0.2);
}

#hero .contrib-cell[data-level="2"] {
  background: rgba(255, 138, 0, 0.36);
}

#hero .contrib-cell[data-level="3"] {
  background: rgba(255, 138, 0, 0.56);
}

#hero .contrib-cell[data-level="4"] {
  background: var(--accent-orange-1);
}

#hero .contrib-cell.snake {
  background: var(--accent-orange-2) !important;
  box-shadow: 0 0 12px rgba(255, 77, 0, 0.45), 0 0 26px rgba(255, 138, 0, 0.2);
  transform: scale(1.12);
}

#hero .contrib-cell.eaten {
  background: #11131c !important;
  box-shadow: none !important;
}

#hero .activity-progress {
  margin-top: 0.7rem;
}

#hero .progress-bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #12131d;
  border: 1px solid var(--border);
  overflow: hidden;
}

#hero .progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 179, 71, 0.45), rgba(255, 138, 0, 0.82), rgba(255, 77, 0, 0.92));
}

#hero .readme-greeting {
  margin: 0 0 0.95rem;
  color: var(--white);
  font-size: clamp(2rem, 3.9vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-align: center;
}

#hero .readme-greeting .wave-emoji {
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45));
}

#hero .readme-subheading {
  margin: 0 0 1.2rem;
  color: var(--cyan);
  font-size: clamp(0.94rem, 2.2vw, 1.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

#hero .readme-subheading .typing-text {
  border-right: 2px solid var(--cyan);
  padding-right: 0.2rem;
}

#hero .readme-subheading .typing-text.is-paused {
  border-right-color: transparent;
}

#hero .readme-bio {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}

#hero .profile-views-badge {
  margin: 1.25rem auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg3);
  padding: 0.46rem 0.78rem;
}

#hero .profile-views-badge span {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

#hero .profile-views-badge strong {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.96rem;
}

.section-container,
.section-container:hover {
  width: min(100% - 2.2rem, 1180px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.about-interactive {
  padding: 3.4rem 0 !important;
}

.about-interactive .about-container {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.15rem;
}

.about-interactive .about-controls {
  position: sticky;
  top: 104px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #050505 !important;
  background-color: #050505 !important;
  padding: 0.9rem;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
}

.about-interactive .about-controls::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #050505;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.about-interactive .about-controls::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.about-interactive .about-controls > * {
  position: relative;
  z-index: 1;
}

.about-interactive .about-btn {
  position: relative;
  width: 100%;
  border: 1px solid transparent;
  border-left: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  padding: 0.7rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.about-interactive .about-btn .btn-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.about-interactive .about-btn:hover {
  color: var(--cyan);
  border-color: rgba(0, 245, 212, 0.2);
  background: var(--cyan-dim);
  transform: none;
}

.about-interactive .about-btn.active {
  color: var(--white);
  border-color: rgba(0, 245, 212, 0.5);
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(168, 85, 247, 0.12));
  box-shadow: inset 0 0 0 1px rgba(0, 245, 212, 0.08);
}

.about-interactive .about-btn.active .btn-indicator {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.45);
}

.about-interactive .about-content-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent !important;
  padding: 1.35rem;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  isolation: isolate;
}

.about-interactive .about-content-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #050505;
  pointer-events: none;
  z-index: 0;
}

.about-interactive .about-content-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 84% 10%, rgba(0, 245, 212, 0.08), transparent 44%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.about-interactive .about-content-panel > * {
  position: relative;
  z-index: 1;
}

.about-interactive .content-header {
  margin-bottom: 1.1rem;
}

.about-interactive .avatar-inline {
  display: none;
}

.about-interactive .content-header h1,
.about-interactive .content-section h2,
.about-interactive .content-section h3 {
  margin-top: 0;
  color: var(--white);
  letter-spacing: -0.01em;
}

.about-interactive .content-header h1 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  text-align: center;
}

.about-interactive .content-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.95rem;
  text-align: center;
}

.about-interactive .content-section h3 {
  font-size: 1.02rem;
  margin: 1.1rem 0 0.7rem;
}

.about-interactive .highlight-list,
.about-interactive .content-section p,
.about-interactive .timeline-list li p,
.about-interactive #certifications .cert-intro {
  color: var(--white-dim);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 0.95rem;
}

.about-interactive .timeline-list li {
  padding-left: 1.9rem;
  margin-bottom: 1.1rem;
  transform: none;
  opacity: 1;
}

.about-interactive .timeline-list li::before {
  width: 9px;
  height: 9px;
  top: 0.45rem;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.4);
}

.about-interactive .timeline-list li strong {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.about-interactive .timeline-list li span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-interactive .philosophy-quote {
  margin: 1rem 0;
  border-left: 1px solid rgba(0, 245, 212, 0.5);
  background: rgba(0, 245, 212, 0.05);
  border-radius: 2px;
  padding: 0.9rem 1rem;
  color: var(--white);
  font-size: 0.93rem;
}

.about-actions {
  margin-top: 1rem;
}

.about-actions .btn.ghost {
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.66rem;
  padding: 0.62rem 0.86rem;
}

.about-actions .btn.ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: none;
}

#certifications .cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.7rem;
}

#certifications .cert-card {
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--card);
  box-shadow: none;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform: none !important;
  opacity: 1 !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#certifications .cert-card:hover,
#certifications .cert-card:focus-within {
  transform: translateY(-3px) !important;
  border-color: rgba(0, 245, 212, 0.35);
  box-shadow: var(--glow-cyan);
}

#certifications .cert-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

#certifications .cert-issuer {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#certifications .cert-label {
  border: 1px solid rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.08);
  color: var(--white);
  border-radius: 2px;
  padding: 0.15rem 0.38rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

#certifications .cert-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.93rem;
  line-height: 1.4;
}

#certifications .cert-card p {
  margin: 0;
  color: var(--white-dim);
  font-size: 0.82rem;
  line-height: 1.65;
}

#certifications .cert-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#certifications .cert-btn {
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.6rem;
  padding: 0.3rem 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#certifications .cert-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

#certifications .cert-btn-primary {
  border-color: rgba(0, 245, 212, 0.45);
  color: var(--cyan);
  background: rgba(0, 245, 212, 0.12);
}

#certifications .cert-btn-primary:hover {
  color: var(--bg);
  border-color: var(--cyan);
  background: var(--cyan);
}

.tech-stack {
  position: relative;
  background: #050505 !important;
  isolation: isolate;
  overflow: hidden;
}

.tech-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050505;
}

.tech-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px);
  opacity: 0.9;
}

.tech-crosshair {
  position: absolute;
  z-index: 3;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tech-crosshair-tl { top: 1.2rem; left: 1.2rem; }
.tech-crosshair-tr { top: 1.2rem; right: 1.2rem; }
.tech-crosshair-bl { bottom: 1.2rem; left: 1.2rem; }
.tech-crosshair-br { bottom: 1.2rem; right: 1.2rem; }
.tech-crosshair-ml { top: 50%; left: 1.2rem; transform: translateY(-50%); }
.tech-crosshair-mr { top: 50%; right: 1.2rem; transform: translateY(-50%); }

.tech-stack > .container {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.intro {
  position: relative;
  background: transparent !important;
  isolation: isolate;
  overflow: hidden;
}

.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(5, 5, 5, 0.2);
}

.intro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(150deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  opacity: 0.32;
}

.tech-stack-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  justify-items: center;
  margin-bottom: 1.35rem;
}

.tech-stack-kicker {
  margin: 0 0 0.56rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.56);
}

.tech-stack-header h2,
.intro .intro-head h2,
.projects-preview .section-header h2,
.cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.tech-stack-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.9vw, 2.9rem);
  text-align: center;
  max-width: 13.5ch;
  margin-left: auto;
  margin-right: auto;
}

.tech-stack-header h2 span {
  display: block;
}

.tech-stack-description {
  margin: 0;
  max-width: 62ch;
  color: rgba(219, 219, 219, 0.64);
  font-size: 0.92rem;
  line-height: 1.72;
  text-align: center;
}

.tech-stack-note {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(13, 13, 13, 0.9);
  padding: 0.88rem 0.92rem 0.98rem;
}

.tech-stack-note::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #ff8a00 0%, #ff3b5f 25%, #8f59ff 50%, #2e75ff 75%, #34d27b 100%);
}

.tech-stack-step {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tech-stack-note p {
  margin: 0;
  color: rgba(191, 191, 191, 0.6);
  font-size: 0.84rem;
  line-height: 1.56;
}

.tech-board {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 0;
}

.tech-stack-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.2vw, 1rem);
  max-width: 1080px;
  margin: 0 auto;
}

.tech-stack-grid .tech-icon {
  grid-column: span 2;
}

.tech-stack-grid .tech-icon:nth-child(7) { grid-column: 2 / span 2; }
.tech-stack-grid .tech-icon:nth-child(8) { grid-column: 4 / span 2; }
.tech-stack-grid .tech-icon:nth-child(9) { grid-column: 6 / span 2; }
.tech-stack-grid .tech-icon:nth-child(10) { grid-column: 8 / span 2; }
.tech-stack-grid .tech-icon:nth-child(11) { grid-column: 10 / span 2; }

.tech-icon {
  --brand: #6b6b6b;
  --brand-glow: rgba(255, 255, 255, 0.22);
  position: relative;
  width: 100%;
  min-height: 108px;
  padding: 0.95rem 0.5rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #0a0a0a;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.tech-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
}

.tech-icon::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: 0.52rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.tech-icon img {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1;
  transition: transform 0.26s ease;
}

.tech-icon:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.48), 0 0 18px var(--brand-glow);
}

.tech-icon:hover img {
  transform: scale(1.06);
}

.tech-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.32);
  outline-offset: 2px;
}

.tech-icon:nth-child(1) { --brand: #ffd43b; --brand-glow: rgba(255, 212, 59, 0.3); }
.tech-icon:nth-child(2) { --brand: #44b78b; --brand-glow: rgba(68, 183, 139, 0.3); }
.tech-icon:nth-child(3) { --brand: #61dafb; --brand-glow: rgba(97, 218, 251, 0.3); }
.tech-icon:nth-child(4) { --brand: #f7df1e; --brand-glow: rgba(247, 223, 30, 0.3); }
.tech-icon:nth-child(5) { --brand: #2496ed; --brand-glow: rgba(36, 150, 237, 0.3); }
.tech-icon:nth-child(6) { --brand: #326ce5; --brand-glow: rgba(50, 108, 229, 0.3); }
.tech-icon:nth-child(7) { --brand: #fcc624; --brand-glow: rgba(252, 198, 36, 0.3); }
.tech-icon:nth-child(8) { --brand: #4169e1; --brand-glow: rgba(65, 105, 225, 0.3); }
.tech-icon:nth-child(9) { --brand: #f05032; --brand-glow: rgba(240, 80, 50, 0.3); }
.tech-icon:nth-child(10) { --brand: #ff6f00; --brand-glow: rgba(255, 111, 0, 0.3); }
.tech-icon:nth-child(11) { --brand: #ee4c2c; --brand-glow: rgba(238, 76, 44, 0.3); }

.tech-stack-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.4rem;
  margin-top: 1.25rem;
}

.tech-meta-spacer {
  min-height: 1px;
}

.tech-stack-note-secondary {
  justify-self: end;
}

main > section.intro > .container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  padding: clamp(0.85rem, 1.9vw, 1.3rem) !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1), rgba(8, 12, 20, 0.05)) !important;
  box-shadow: 0 14px 30px rgba(2, 8, 22, 0.12) !important;
  backdrop-filter: blur(1.5px) !important;
  -webkit-backdrop-filter: blur(1.5px) !important;
}

.intro .intro-head {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.intro .intro-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.intro .intro-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4.1vw, 3.15rem);
  text-transform: none;
}

.intro .intro-headline-accent {
  width: 108px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a00 0%, #ff3b5f 28%, #8f59ff 54%, #2e75ff 78%, #34d27b 100%);
}

.intro .features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.35rem;
  max-width: 980px;
  margin: 0 auto;
}

.intro .service-tag {
  --service-offset: 0px;
  position: relative;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  align-items: stretch;
  width: min(100%, 900px);
  min-height: 186px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(10, 10, 10, 0.9);
  padding: 0;
  overflow: hidden;
  transform: translate3d(var(--service-offset), 0, 0);
  opacity: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.intro .features > .service-tag:nth-child(odd) {
  --service-offset: clamp(-66px, -4.8vw, -28px);
}

.intro .features > .service-tag:nth-child(even) {
  --service-offset: clamp(66px, 4.8vw, 28px);
}

.intro .service-tag::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, #ff8a00 0%, #ff3b5f 28%, #8f59ff 54%, #2e75ff 78%, #34d27b 100%);
}

.intro .service-tag:hover,
.intro .service-tag:focus-within,
.intro .service-tag.active {
  transform: translate3d(var(--service-offset), -8px, 0);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.36);
}

.intro .service-media {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #060606;
}

.intro .service-tag:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 214px;
}

.intro .service-tag:nth-child(even) .service-media {
  order: 2;
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.intro .service-tag:nth-child(even) .service-content {
  order: 1;
}

.intro .service-media img {
  width: 100%;
  height: 100%;
  min-height: 186px;
  object-fit: cover;
  display: block;
}

/* Keep the portrait AI image from stretching this single card taller than others */
.intro .service-ai .service-media img {
  height: 186px;
  min-height: 186px;
}

.intro .service-content {
  padding: 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.72rem;
}

.intro .service-number {
  display: inline-block;
  margin-bottom: 0.02rem;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.intro .service-tag h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.08rem, 1.75vw, 1.34rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.intro .service-tag p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0.005em;
  color: rgba(219, 219, 219, 0.66);
  max-width: 54ch;
}

main > section.projects-preview {
  background: transparent !important;
  padding: 2.8rem 0 !important;
}

main > section.projects-preview::before,
main > section.projects-preview::after {
  display: none !important;
}

main > section.projects-preview > .container {
  max-width: 1060px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.projects-preview .section-header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.projects-preview .section-header h2 {
  margin: 0;
  font-size: clamp(1.62rem, 2.9vw, 2.35rem);
}

.projects-preview .section-header a {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.45rem 0.65rem;
  border-radius: 2px;
  transition: all 0.25s ease;
  align-self: center;
}

.projects-preview .section-header a:hover {
  color: var(--cyan);
  border-color: rgba(0, 245, 212, 0.4);
  background: var(--cyan-dim);
}

.projects-preview .project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.1rem;
  margin-top: 1.2rem;
  padding: 0;
}

.project-card {
  position: relative;
  flex: 0 1 318px;
  max-width: 318px;
  background: rgba(10, 10, 14, 0.94);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
  padding: 0;
}

.project-card::before {
  display: none;
}

.project-card::after {
  display: none;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 212, 0.3);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.42);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-thumb {
  height: 172px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 0;
}

.project-thumb::before {
  display: none;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), filter 0.45s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.045);
  filter: saturate(1.12);
}

.project-content {
  padding: 0.82rem 0.84rem 0.9rem;
}

.project-content h4 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.project-content p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(219, 219, 219, 0.64);
  margin: 0;
}

.project-type {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 245, 212, 0.25);
  background: rgba(0, 245, 212, 0.06);
  padding: 3px 10px;
  border-radius: 2px;
}

.project-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3px 10px;
  background: var(--bg);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.project-card:hover .meta-tag {
  border-color: rgba(0, 245, 212, 0.2);
  color: var(--white);
}

.project-links .btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.25s ease;
}

.project-links .btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.1);
}

.cta > .container {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(13, 13, 20, 0.98), rgba(9, 9, 14, 0.96));
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  padding: 1.2rem;
}

#hero .readme-sidebar,
#hero .readme-main,
.about-interactive .about-controls,
.about-interactive .about-content-panel,
#certifications .cert-card,
.tech-icon,
.intro .service-tag,
.project-card,
.cta > .container {
  background: var(--panel-texture);
  background-color: #0a0a0a;
}

/* Keep hero containers transparent so the star background remains visible */
#hero .readme-sidebar,
#hero .readme-main {
  background: transparent !important;
  background-color: transparent !important;
}

.cta .cta-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.cta .cta-illustration {
  height: 230px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(0, 245, 212, 0.06), rgba(168, 85, 247, 0.06));
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.cta .cta-illustration-strip {
  display: none;
}

.cta .cta-illustration img {
  width: 88%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.cta .cta-content {
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.72rem, 3.1vw, 2.45rem);
}

.cta p {
  color: rgba(219, 219, 219, 0.66);
  line-height: 1.72;
  font-size: 0.92rem;
}

/* Home Accent Overrides: black/white with orange gradient */
.site-header {
  border-bottom-color: rgba(255, 138, 0, 0.16);
  box-shadow: 0 1px 0 rgba(255, 138, 0, 0.1);
}

.brand::before {
  background: var(--accent-orange-1);
  box-shadow: 0 0 10px rgba(255, 138, 0, 0.85), 0 0 20px rgba(255, 77, 0, 0.5);
}

.brand .accent {
  color: var(--accent-orange-1);
}

.nav a::after {
  background: var(--home-accent-gradient);
  box-shadow: 0 0 8px rgba(255, 138, 0, 0.5);
}

.nav a:hover {
  color: var(--accent-orange-1);
}

.contact-cta {
  border-color: var(--accent-orange-1) !important;
  color: var(--accent-orange-1) !important;
}

.contact-cta:hover {
  background: var(--home-accent-gradient) !important;
  color: #0b0b0b !important;
  box-shadow: var(--accent-orange-glow) !important;
}

.icon-btn:hover {
  color: var(--accent-orange-1);
  border-color: var(--accent-orange-mid);
  box-shadow: 0 0 0 1px rgba(255, 138, 0, 0.15), var(--accent-orange-glow);
}

.mobile-links a:hover,
.mobile-links a.active {
  border-color: rgba(255, 138, 0, 0.45);
  color: var(--accent-orange-1);
  background: var(--accent-orange-soft);
}

#hero .like-btn {
  color: var(--accent-orange-1);
  border-color: var(--accent-orange-mid);
  background: var(--accent-orange-soft);
}

#hero .like-btn:hover,
#hero .message-btn:hover {
  border-color: var(--accent-orange-strong);
  box-shadow: 0 0 0 1px rgba(255, 138, 0, 0.14), 0 0 22px rgba(255, 138, 0, 0.16);
}

#hero .like-btn.liked {
  color: #0b0b0b;
  background: var(--home-accent-gradient);
  border-color: var(--accent-orange-1);
}

#hero .like-btn .like-count {
  background: rgba(255, 138, 0, 0.2);
}

#hero .readme-socials a:hover {
  border-color: var(--accent-orange-1);
  color: #0b0b0b;
  background: var(--home-accent-gradient);
}

#hero .readme-subheading {
  color: var(--accent-orange-1);
}

#hero .readme-subheading .typing-text {
  border-right-color: var(--accent-orange-1);
}

#hero .profile-views-badge strong {
  color: var(--accent-orange-1);
}

.about-interactive .about-btn:hover {
  color: var(--accent-orange-1);
  border-color: rgba(255, 138, 0, 0.26);
  background: var(--accent-orange-soft);
}

.about-interactive .about-btn.active {
  border-color: rgba(255, 138, 0, 0.48);
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.18), rgba(255, 77, 0, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 138, 0, 0.12);
}

.about-interactive .about-btn.active .btn-indicator {
  background: var(--accent-orange-1);
  box-shadow: 0 0 10px rgba(255, 138, 0, 0.45);
}

#certifications .cert-btn:hover {
  border-color: var(--accent-orange-1);
  color: var(--accent-orange-1);
  background: var(--accent-orange-soft);
}

#certifications .cert-btn-primary {
  border-color: rgba(255, 138, 0, 0.45);
  color: var(--accent-orange-1);
  background: rgba(255, 138, 0, 0.12);
}

#certifications .cert-btn-primary:hover {
  color: #0b0b0b;
  border-color: var(--accent-orange-1);
  background: var(--home-accent-gradient);
}

.projects-preview .section-header a:hover {
  color: #ffffff;
  border-color: rgba(255, 138, 0, 0.58);
  background: rgba(255, 138, 0, 0.14);
}

.project-card:hover {
  border-color: rgba(255, 138, 0, 0.42);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.42), 0 0 18px rgba(255, 138, 0, 0.14);
}

.project-type {
  color: var(--accent-orange-1);
  border-color: rgba(255, 138, 0, 0.36);
  background: rgba(255, 138, 0, 0.1);
}

.project-card:hover .meta-tag {
  border-color: rgba(255, 138, 0, 0.28);
  color: #ffffff;
}

.project-links .btn:hover {
  border-color: var(--accent-orange-1);
  color: var(--accent-orange-1);
  background: var(--accent-orange-soft);
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.13);
}

.btn.primary,
.cta .btn.primary {
  border-color: var(--accent-orange-1);
  color: #0b0b0b;
  background: var(--home-accent-gradient);
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.18);
}

.btn.primary:hover,
.cta .btn.primary:hover {
  background: transparent;
  color: var(--accent-orange-1);
  box-shadow: var(--accent-orange-glow);
}

.btn.primary,
.cta .btn.primary {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--accent-orange-1);
  border-radius: 2px;
  color: #0b0b0b;
  background: var(--home-accent-gradient);
  padding: 0.7rem 1rem;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.18);
  transition: all 0.25s ease;
}

.btn.primary:hover,
.cta .btn.primary:hover {
  background: transparent;
  color: var(--accent-orange-1);
  box-shadow: var(--accent-orange-glow);
}

.site-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7, 10, 17, 0.42), rgba(6, 9, 15, 0.5));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 3rem 0 2rem;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 84% 10%, rgba(168, 85, 247, 0.09), transparent 45%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  background: rgba(10, 14, 24, 0.62);
  backdrop-filter: blur(2px);
  padding: 1.2rem;
  overflow: hidden;
  isolation: isolate;
}

.footer-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 50%, rgba(0, 245, 212, 0.16), transparent 52%),
    url("../images/background water mark.jpg") 88% center / 300px auto no-repeat;
  filter: blur(1px) grayscale(0.05) contrast(1.12);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.footer-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 12, 0.9), rgba(8, 8, 12, 0.72) 56%, rgba(8, 8, 12, 0.46));
  pointer-events: none;
  z-index: 0;
}

.footer-grid > * {
  position: relative;
  z-index: 1;
}

.site-footer strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  margin-top: 0;
}

.socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.socials a,
.site-footer .footer-grid > div:last-child a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.site-footer .footer-grid > div:last-child a {
  color: #dbe8ff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.18);
}

.site-footer .footer-grid > div:last-child a:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.85);
  outline-offset: 3px;
  border-radius: 4px;
}

.socials a::before,
.site-footer .footer-grid > div:last-child a::before {
  content: '\2192';
  opacity: 0;
  transition: opacity 0.25s ease;
  color: var(--cyan);
  font-size: 0.65rem;
}

.socials a:hover,
.site-footer .footer-grid > div:last-child a:hover {
  color: var(--cyan);
  padding-left: 6px;
}

.socials a:hover::before,
.site-footer .footer-grid > div:last-child a:hover::before {
  opacity: 1;
}

.site-footer .footer-grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1180px) {
  .container,
  .section-container {
    width: min(100% - 1.6rem, 1180px);
  }

  #hero .readme-hero {
    grid-template-columns: 292px minmax(0, 1fr);
  }
}

@media (max-width: 1030px) {
  #hero .readme-hero {
    grid-template-columns: 1fr;
  }

  #hero .readme-sidebar {
    position: static;
    max-width: 560px;
    margin: 0 auto;
  }

  .about-interactive .about-container {
    grid-template-columns: 1fr;
  }

  .about-interactive .about-controls {
    position: static;
  }

  .projects-preview .project-grid {
    justify-content: center;
  }

  .projects-preview .project-grid > .project-card {
    flex: 0 1 300px;
    max-width: 300px;
  }

  .tech-stack-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .tech-stack-meta-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.95rem;
  }

  .tech-meta-spacer {
    display: none;
  }

  .tech-stack-note {
    justify-self: center;
    max-width: 460px;
  }

  .tech-stack-note-secondary {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  main {
    padding-top: 82px;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 760px;
  }

  .tech-stack-grid .tech-icon,
  .tech-stack-grid .tech-icon:nth-child(7),
  .tech-stack-grid .tech-icon:nth-child(8),
  .tech-stack-grid .tech-icon:nth-child(9),
  .tech-stack-grid .tech-icon:nth-child(10),
  .tech-stack-grid .tech-icon:nth-child(11) {
    grid-column: auto;
  }

  .tech-stack-header h2 {
    font-size: clamp(1.6rem, 6.2vw, 2.35rem);
    line-height: 1.05;
  }

  .tech-crosshair {
    font-size: 0.95rem;
  }

  .intro .service-tag {
    --service-offset: 0px;
    grid-template-columns: clamp(120px, 28vw, 182px) minmax(0, 1fr);
    min-height: 166px;
    width: 100%;
    transform: translate3d(0, 0, 0);
  }

  .intro .service-tag:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) clamp(120px, 28vw, 182px);
  }

  .intro .service-media img {
    min-height: 166px;
  }

  .intro .service-ai .service-media img {
    height: 166px;
    min-height: 166px;
  }

  .intro .intro-head {
    margin-bottom: 1.9rem;
  }

  .cta .cta-layout {
    grid-template-columns: 1fr;
  }

  .cta .cta-illustration {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    height: 195px;
  }

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

  .footer-grid::before {
    background-size: 220px auto;
    background-position: 96% center;
    opacity: 0.3;
  }

  #certifications .cert-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    cursor: auto;
  }

  .projects-preview {
    padding: 2.2rem 0 !important;
  }

  main > section {
    padding: 2.2rem 0 !important;
  }

  .container,
  .section-container {
    width: calc(100% - 1rem);
  }

  #hero .readme-main,
  #hero .readme-sidebar,
  .projects-preview > .container,
  .intro > .container,
  .cta > .container,
  .tech-stack > .container,
  .about-interactive .about-content-panel {
    padding: 1rem;
  }

  #hero .readme-greeting {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  #hero .readme-subheading {
    font-size: 0.82rem;
  }

  #hero .readme-subheading .typing-text {
    white-space: normal;
    border-right: 0;
    padding-right: 0;
  }

  #hero .readme-bio {
    text-align: left;
  }

  #hero .contrib-grid {
    grid-template-rows: repeat(7, 8px);
    grid-auto-columns: 8px;
  }

  #hero .contrib-cell {
    width: 8px;
    height: 8px;
  }

  #hero .profile-actions {
    flex-direction: column;
  }

  #hero .like-btn,
  #hero .message-btn {
    width: 100%;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .tech-icon {
    min-height: 92px;
  }

  .tech-icon img {
    width: 36px;
    height: 36px;
  }

  .tech-stack-header h2 {
    font-size: clamp(1.45rem, 8.5vw, 2rem);
  }

  .tech-stack-header h2 span {
    display: block;
  }

  .tech-stack-description {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .intro .service-tag {
    --service-offset: 0px;
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 132px;
    width: 100%;
    transform: translate3d(0, 0, 0);
  }

  .intro .intro-head {
    gap: 0.62rem;
    margin-bottom: 1.45rem;
  }

  .intro .intro-kicker {
    font-size: 0.56rem;
    letter-spacing: 0.3em;
  }

  .intro .intro-head h2 {
    font-size: clamp(1.62rem, 12vw, 2.5rem);
    letter-spacing: -0.02em;
    line-height: 1.04;
  }

  .intro .intro-headline-accent {
    width: 84px;
    height: 2px;
  }

  .intro .service-tag:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .intro .service-media img {
    min-height: 132px;
  }

  .intro .service-ai .service-media img {
    height: 132px;
    min-height: 132px;
  }

  .intro .service-content {
    padding: 0.9rem 0.92rem 0.95rem;
    gap: 0.38rem;
  }

  .intro .service-number {
    font-size: 1.08rem;
  }

  .intro .service-tag h3 {
    font-size: 0.95rem;
    letter-spacing: -0.015em;
  }

  .intro .service-tag p {
    font-size: 0.8rem;
    line-height: 1.52;
  }

  .tech-stack-note,
  .tech-stack-note-secondary {
    max-width: 100%;
  }

  .tech-crosshair-ml,
  .tech-crosshair-mr {
    display: none;
  }

  .intro .features,
  .projects-preview .project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid::before {
    background-position: right center;
    background-size: 190px auto;
    opacity: 0.26;
  }

  .projects-preview .project-grid {
    gap: 0.9rem;
  }

  .projects-preview .project-grid > .project-card {
    flex: 1 1 100%;
    max-width: 520px;
  }

  .project-thumb {
    height: 166px;
  }

  .projects-preview .section-header {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .about-interactive .about-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.55rem;
  }

  .about-interactive .about-btn {
    min-height: 38px;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    padding: 0.9rem;
  }

  .mobile-nav {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
