:root {
  color-scheme: dark;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --bg: #060708;
  --bg-secondary: #0d1014;
  --panel: rgba(19, 21, 24, 0.94);
  --panel-soft: rgba(24, 27, 31, 0.9);
  --panel-muted: rgba(15, 18, 21, 0.76);
  --border: rgba(168, 215, 231, 0.2);
  --border-strong: rgba(168, 215, 231, 0.38);
  --text: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.72);
  --muted-soft: rgba(245, 247, 250, 0.52);
  --accent: #9ed7ec;
  --accent-deep: #5ea8c4;
  --accent-glow: rgba(100, 198, 232, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(158, 215, 236, 0.1), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(94, 168, 196, 0.08), transparent 18%),
    linear-gradient(180deg, #050607, #090b0d 52%, #060708);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 100%);
}

body::after {
  background:
    radial-gradient(circle at 14% 72%, rgba(94, 168, 196, 0.14), transparent 14%),
    radial-gradient(circle at 72% 28%, rgba(158, 215, 236, 0.08), transparent 16%);
  filter: blur(42px);
}

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

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1240px);
  margin: 0 auto;
  padding: 0.45rem 0 5rem;
}

.panel,
.glass {
  background: linear-gradient(180deg, rgba(22, 24, 27, 0.88), rgba(14, 16, 19, 0.96));
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 24px 80px rgba(0, 0, 0, 0.22);
}

.glass-soft {
  background: var(--panel-muted);
  border: 1px solid rgba(168, 215, 231, 0.14);
  border-radius: var(--radius-md);
}

.hidden {
  display: none !important;
}

.section-label,
.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.topbar {
  position: sticky;
  top: 0.55rem;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.5rem;
  background: rgba(19, 21, 24, 0.54);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.12);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(168, 215, 231, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  position: absolute;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    top 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: calc(50% - 0.35rem);
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  top: calc(50% + 0.35rem);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  outline: none;
  border-color: rgba(168, 215, 231, 0.38);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 24px rgba(94, 168, 196, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-signature {
  width: auto;
  min-width: 5.5rem;
  padding: 0;
}

.brand-signature img {
  display: block;
  width: auto;
  height: 2rem;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav a {
  padding: 0.76rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--border-strong);
  color: var(--text);
  outline: none;
}

.nav a.is-selected {
  border-color: rgba(168, 215, 231, 0.46);
  color: var(--text);
  background: rgba(158, 215, 236, 0.08);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 18px rgba(94, 168, 196, 0.12);
  transform: translateY(-1px);
}

.nav-backdrop {
  display: none;
}

.hero-card {
  position: relative;
  padding: 2.1rem 2rem 1.8rem;
  min-height: calc(100vh - 5.5rem);
  display: grid;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 24, 27, 0.96), rgba(10, 12, 15, 0.98));
  background-size: 88px 88px, 88px 88px, auto;
  overflow: hidden;
}

.hero-card::after {
  content: "SHYKAT";
  position: absolute;
  left: 50%;
  bottom: 4.6rem;
  transform: translateX(-50%);
  color: rgba(245, 247, 250, 0.025);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy,
.hero-sidebar,
.timeline-card,
.stack-card,
.project-card,
.info-card,
.social-card,
.contact-shell,
.auth-screen,
.dashboard-header,
.section-nav,
.editor-pane {
  border-radius: var(--radius-lg);
}

.hero-copy {
  display: grid;
  gap: 0.95rem;
  justify-items: center;
  text-align: center;
  padding: 0.6rem 0.35rem 0.3rem;
  max-width: 680px;
  margin: 0 auto;
}

.hero-identity {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
  width: 100%;
}

.hero-avatar {
  width: 196px;
  aspect-ratio: 1;
  padding: 0.9rem 0.9rem 1.05rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 34%, rgba(158, 215, 236, 0.62), rgba(94, 168, 196, 0.2) 54%, rgba(7, 9, 12, 0.78) 100%);
  border: 1px solid rgba(158, 215, 236, 0.32);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(158, 215, 236, 0.1),
    0 0 28px rgba(158, 215, 236, 0.16);
}

.hero-avatar::before,
.hero-avatar::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  pointer-events: none;
}

.hero-avatar::before {
  inset: 8px;
  border: 1px solid rgba(158, 215, 236, 0.28);
  box-shadow:
    inset 0 0 28px rgba(158, 215, 236, 0.1),
    0 0 18px rgba(158, 215, 236, 0.08);
}

.hero-avatar::after {
  inset: -16%;
  border-radius: 999px;
  background:
    conic-gradient(
      from 0deg,
      rgba(158, 215, 236, 0),
      rgba(158, 215, 236, 0.68),
      rgba(94, 168, 196, 0),
      rgba(245, 247, 250, 0.34),
      rgba(158, 215, 236, 0)
    );
  filter: blur(18px);
  opacity: 0.74;
  z-index: -1;
  animation: heroHaloSpin 14s linear infinite;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.hero-meta-line {
  color: rgba(245, 247, 250, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
  max-width: 42rem;
}

.hero-meta-line:first-child {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero-copy h1,
.section-copy h2,
.info-card h2,
.contact-shell h2,
.auth-screen h1,
.dashboard-header h1,
.editor-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: 4.25rem;
  line-height: 1;
  max-width: 100%;
  text-wrap: pretty;
}

.hero-title-accent {
  background: linear-gradient(180deg, #d7edf5 0%, #8bc0d5 55%, #5ea8c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary,
.section-copy p:last-child,
.info-card p:last-child,
.project-desc,
.project-details,
.contact-shell p,
.admin-intro,
.helper-copy,
.contact-preview {
  color: var(--muted);
  line-height: 1.8;
}

.hero-summary {
  max-width: 42rem;
  font-size: 1rem;
  margin: 0;
}

.hero-roles,
.contact-meta,
.admin-actions,
.tech-list,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-roles {
  width: 100%;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.pill,
.tech-chip,
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.08);
  background: rgba(158, 215, 236, 0.04);
  color: var(--text);
}

.pill {
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero-role-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.82rem;
  border: 1px solid rgba(168, 215, 231, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 247, 250, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-proof::before {
  content: "7";
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(158, 215, 236, 0.92), rgba(94, 168, 196, 0.92));
  color: #071015;
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.hero-logo-marquee {
  position: relative;
  width: min(100%, 28rem);
  display: flex;
  overflow: hidden;
  padding: 0.45rem 0 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.hero-logo-track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: max-content;
  animation: heroLogoMarquee 18s linear infinite;
}

.hero-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-width: max-content;
  padding: 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-logo-image {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(158, 215, 236, 0.14));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.86rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.button-solid {
  background: linear-gradient(135deg, rgba(158, 215, 236, 0.96), rgba(94, 168, 196, 0.96));
  color: #071015;
}

.button-outline {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(168, 215, 231, 0.12);
  color: var(--text);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.button:hover,
.button:focus-visible {
  outline: none;
  border-color: var(--border-strong);
}

.hero-sidebar {
  display: grid;
  align-content: center;
  justify-items: center;
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.social-card {
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.social-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.82rem;
}

.social-link {
  width: 3rem;
  min-height: 3rem;
  display: grid;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  box-shadow:
    none;
}

.social-link svg {
  width: 1.12rem;
  height: 1.12rem;
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  display: block;
}

.social-text {
  display: none;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 247, 250, 0.78);
}

.social-link:hover,
.social-link:focus-visible {
  outline: none;
  border-color: rgba(168, 215, 231, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-4px) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 18px rgba(94, 168, 196, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.18);
}

.social-link.is-selected {
  border-color: rgba(168, 215, 231, 0.56);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-6px);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.16),
    0 0 26px rgba(94, 168, 196, 0.28),
    0 14px 28px rgba(0, 0, 0, 0.2);
}

.social-link[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
}


.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(100%, 620px);
  margin: 1.1rem auto 0;
}

.metric {
  position: relative;
  min-height: 112px;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(168, 215, 231, 0.1);
  background:
    linear-gradient(180deg, rgba(28, 33, 38, 0.9), rgba(16, 20, 24, 0.95)),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.metric-link {
  display: grid;
  gap: 0.65rem;
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.metric-link:hover,
.metric-link:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(168, 215, 231, 0.28);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.metric-top {
  display: grid;
  gap: 0.45rem;
}

.metric-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.metric-action {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 247, 250, 0.84);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.metric-icons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.9;
  margin-left: auto;
}

.metric-icon {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(158, 215, 236, 0.14));
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section {
  display: grid;
  gap: 1.2rem;
  padding: 3.2rem 0 0;
}

.section-split {
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 6.8rem;
  padding-right: 1rem;
}

.section-copy h2,
.section-heading-center h2,
.contact-shell h2 {
  margin-top: 0.6rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.section-heading-center {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.15rem;
  margin-bottom: 0.25rem;
}

.experience-section,
.stack-section,
.projects-section {
  justify-items: center;
}

.education-section {
  justify-items: center;
}

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

.education-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(168, 215, 231, 0.1);
  background:
    radial-gradient(circle at 0% 0%, rgba(94, 168, 196, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(24, 29, 34, 0.78), rgba(10, 12, 15, 0.9));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  animation: projectRowIn 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--education-index, 0) * 90ms);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.education-card:hover,
.education-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(168, 215, 231, 0.28);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(94, 168, 196, 0.12);
}

.education-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.education-card-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.education-card-duration {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.education-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.education-card-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
}

.education-card-logo {
  width: 4.75rem;
  height: 4.75rem;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background:
    radial-gradient(circle at 30% 25%, rgba(158, 215, 236, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.education-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.education-card-copy {
  display: grid;
  gap: 0.35rem;
}

.education-card-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.05;
}

.education-card-credential,
.education-card-location {
  margin: 0;
}

.education-card-credential {
  color: rgba(245, 247, 250, 0.9);
  font-size: 0.94rem;
  font-weight: 700;
}

.education-card-location {
  color: var(--muted);
  font-size: 0.84rem;
}

.education-card-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.education-result-pill {
  display: grid;
  gap: 0.12rem;
  min-width: 8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(120, 214, 245, 0.2);
  background:
    linear-gradient(135deg, rgba(60, 170, 209, 0.2), rgba(18, 23, 28, 0.94)),
    rgba(158, 215, 236, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 26px rgba(0, 0, 0, 0.16);
}

.education-result-pill strong {
  color: #f5fdff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
}

.education-result-pill span {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.education-card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.education-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-shell {
  position: relative;
  width: min(100%, 1040px);
  padding-top: 2rem;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 1.05rem;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  z-index: 0;
  width: 2px;
  transform: translateX(-50%);
  background:
    linear-gradient(
      180deg,
      rgba(158, 215, 236, 0.82) 0%,
      rgba(94, 168, 196, 0.95) var(--experience-progress, 0%),
      rgba(158, 215, 236, 0.14) var(--experience-progress, 0%),
      rgba(158, 215, 236, 0.04) 100%
    );
  box-shadow:
    0 0 18px rgba(94, 168, 196, 0.26),
    0 0 36px rgba(94, 168, 196, 0.12);
}

.timeline-list::after {
  content: "";
  position: absolute;
  top: var(--experience-progress, 0%);
  left: 50%;
  z-index: 3;
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.96), transparent 24%),
    linear-gradient(135deg, #bdf3ff 0%, var(--accent) 48%, #2b7f9a 100%);
  box-shadow:
    0 0 0 7px rgba(94, 168, 196, 0.12),
    0 0 28px rgba(94, 168, 196, 0.62),
    0 0 52px rgba(94, 168, 196, 0.18);
  transform: translate(-50%, -50%);
  transition: top 120ms linear;
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.84fr) 5rem minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: experienceCardIn 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--card-index, 0) * 120ms);
}

.experience-pointer {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  grid-column: 2;
  grid-row: 1;
}

.experience-pointer span {
  width: 0.64rem;
  height: 0.64rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.46);
  background: rgba(168, 215, 231, 0.16);
  color: transparent;
  transform: none;
  box-shadow:
    0 0 0 7px rgba(94, 168, 196, 0.08),
    0 0 22px rgba(94, 168, 196, 0.18);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.experience-timeplate {
  display: grid;
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  justify-items: end;
  align-items: center;
  gap: 0.42rem;
  text-align: right;
}

.timeline-card:nth-child(even) .experience-timeplate {
  grid-column: 3;
  justify-items: start;
  text-align: left;
  padding-left: 1.7rem;
  padding-right: 0.25rem;
  margin-left: 0.1rem;
}

.timeline-index {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 1.18rem;
  padding: 0 0.46rem;
  border: 1px solid rgba(168, 215, 231, 0.16);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: rgba(168, 215, 231, 0.06);
}

.experience-card-shell {
  display: grid;
  position: relative;
  z-index: 2;
  grid-column: 3;
  grid-row: 1;
  margin-left: 0.9rem;
  gap: 0.72rem;
  align-items: start;
  padding: 0.88rem 1rem;
  border: 1px solid rgba(168, 215, 231, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(168, 215, 231, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(22, 27, 32, 0.72), rgba(10, 12, 15, 0.82));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.timeline-card:nth-child(even) .experience-card-shell {
  grid-column: 1;
  margin-left: 0;
  margin-right: 0.9rem;
  padding-left: 1.3rem;
  padding-right: 0.95rem;
}

.timeline-card:hover .experience-card-shell,
.timeline-card:focus-within .experience-card-shell,
.timeline-card.is-active .experience-card-shell {
  border-color: rgba(168, 215, 231, 0.28);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(94, 168, 196, 0.1);
  transform: translateY(-2px);
}

.timeline-card.is-active .experience-card-shell {
  position: relative;
  border-color: rgba(191, 239, 252, 0.58);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(168, 215, 231, 0.1),
    0 0 44px rgba(94, 168, 196, 0.24),
    0 0 90px rgba(94, 168, 196, 0.08);
  transform: translateY(-3px);
}

.timeline-card.is-active .experience-card-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(158, 215, 236, 0.14), transparent 28%),
    radial-gradient(circle at 22% 20%, rgba(191, 239, 252, 0.18), transparent 36%);
  opacity: 0.95;
}

.timeline-card.is-active .experience-pointer span {
  border-color: rgba(214, 247, 255, 0.9);
  background: var(--accent);
  box-shadow:
    0 0 0 9px rgba(94, 168, 196, 0.16),
    0 0 34px rgba(94, 168, 196, 0.72),
    0 0 70px rgba(94, 168, 196, 0.18);
  transform: scale(1.3);
}

.timeline-card.is-active .timeline-index,
.timeline-card.is-active .experience-company-mark {
  border-color: rgba(168, 215, 231, 0.34);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(94, 168, 196, 0.14),
    0 0 44px rgba(94, 168, 196, 0.12);
}

.timeline-card.is-active .experience-bullets {
  color: rgba(244, 247, 248, 0.92);
}

.timeline-card.is-active .timeline-company,
.timeline-card.is-active .timeline-duration,
.timeline-card.is-active h3 {
  color: #f7fcff;
  text-shadow: 0 0 16px rgba(94, 168, 196, 0.14);
}

.experience-company-mark {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background:
    radial-gradient(circle at 35% 25%, rgba(168, 215, 231, 0.14), transparent 48%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(94, 168, 196, 0.08);
  overflow: hidden;
}

.experience-company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.26rem;
}

.experience-card-heading {
  display: grid;
  gap: 0.28rem;
}

.experience-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.work-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.22rem;
  padding: 0.13rem 0.48rem;
  border: 1px solid rgba(168, 215, 231, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(94, 168, 196, 0.18), rgba(168, 215, 231, 0.05)),
    rgba(168, 215, 231, 0.06);
  color: rgba(214, 247, 255, 0.94);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(94, 168, 196, 0.12);
}

.timeline-duration {
  margin: 0;
  color: rgba(244, 247, 248, 0.88);
  font-size: clamp(0.92rem, 1.8vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.timeline-card h3,
.project-card h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2.35vw, 1.55rem);
  line-height: 1.06;
}

.timeline-company {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.experience-bullets {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  list-style: none;
  max-width: 100%;
}

.experience-bullets li {
  position: relative;
  padding-left: 0.95rem;
}

.experience-bullets li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(94, 168, 196, 0.58);
  transform: translateY(-50%);
}

.stack-stage {
  position: relative;
  width: min(100%, 980px);
  min-height: 520px;
  display: grid;
  place-items: center;
  margin-top: 0.5rem;
  overflow: hidden;
}

.stack-orb {
  position: absolute;
  width: min(78vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 56%, rgba(158, 215, 236, 0.12) 57%, transparent 58%),
    linear-gradient(90deg, transparent 49%, rgba(158, 215, 236, 0.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(158, 215, 236, 0.1) 50%, transparent 51%);
  box-shadow:
    inset 0 0 0 1px rgba(158, 215, 236, 0.12),
    inset 0 0 72px rgba(94, 168, 196, 0.08),
    0 0 72px rgba(94, 168, 196, 0.12);
  opacity: 0.75;
  animation: stackGridPulse 8s ease-in-out infinite;
}

.stack-orb::before,
.stack-orb::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(158, 215, 236, 0.12);
  transform: rotateX(65deg);
}

.stack-orb::after {
  inset: 32%;
  border-color: rgba(158, 215, 236, 0.1);
  transform: rotateY(65deg);
}

.stack-grid {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  gap: 0.72rem;
  align-items: center;
}

.stack-row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(var(--stack-row-count), minmax(0, 1fr));
  gap: 0.72rem;
}

.stack-row:nth-child(2) {
  width: 86%;
}

.stack-row:nth-child(3) {
  width: 72%;
}

.stack-card {
  min-height: 88px;
  display: grid;
  gap: 0.4rem;
  place-items: center;
  padding: 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(158, 215, 236, 0.12);
  background: rgba(13, 19, 23, 0.72);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  animation: stackTileIn 580ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--stack-index, 0) * 45ms);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    filter 220ms ease;
}

.stack-card:hover,
.stack-card:focus-within {
  border-color: rgba(168, 215, 231, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(158, 215, 236, 0.18), transparent 54%),
    rgba(15, 24, 29, 0.86);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 34px rgba(94, 168, 196, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: saturate(1.12);
}

.stack-card:hover .stack-node-inner,
.stack-card:focus-within .stack-node-inner {
  border-color: rgba(168, 215, 231, 0.28);
  box-shadow:
    0 0 22px rgba(94, 168, 196, 0.34),
    inset 0 0 18px rgba(158, 215, 236, 0.08);
}

.stack-node-inner {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.stack-node-icon {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(158, 215, 236, 0.16));
}

.stack-node-text {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
}

.stack-card-name {
  color: rgba(245, 247, 250, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.stack-card small {
  color: var(--muted-soft);
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-grid {
  width: min(100%, 1180px);
}

.project-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}

.project-list {
  display: grid;
  gap: 1.15rem;
}

.tech-chip {
  padding: 0.42rem 0.66rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-row {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.35rem;
  align-items: stretch;
  min-height: 250px;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(168, 215, 231, 0.1);
  background:
    linear-gradient(180deg, rgba(22, 27, 32, 0.76), rgba(10, 12, 15, 0.84));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  animation: projectRowIn 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--project-index, 0) * 80ms);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 8% 50%, rgba(94, 168, 196, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(10, 14, 17, 0.2), rgba(10, 14, 17, 0.04));
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-row:hover::before,
.project-row:focus-within::before {
  opacity: 1;
}

.project-row:hover,
.project-row:focus-within {
  border-color: rgba(168, 215, 231, 0.28);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(94, 168, 196, 0.12);
  transform: translateY(-2px);
}

.project-detail-hitarea {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.project-row-media {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  cursor: pointer;
  appearance: none;
  padding: 0;
  z-index: 3;
}

.project-row-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-row-media span {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
}

.project-row-media,
.project-screen-frame {
  position: relative;
}

.project-screen-frame {
  width: 100%;
  min-width: 0;
  height: 100%;
  cursor: pointer;
  appearance: none;
  padding: 0;
  text-align: left;
  z-index: 3;
}

.project-screen-frame-action {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.55rem;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 12, 0.88));
  color: rgba(245, 247, 250, 0.92);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.project-row-media:hover,
.project-row-media:focus-visible,
.project-screen-frame:hover,
.project-screen-frame:focus-visible {
  outline: none;
  border-color: rgba(168, 215, 231, 0.38);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 24px rgba(94, 168, 196, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.project-row-media:hover .project-screen-frame-action,
.project-row-media:focus-visible .project-screen-frame-action,
.project-screen-frame:hover .project-screen-frame-action,
.project-screen-frame:focus-visible .project-screen-frame-action {
  opacity: 1;
  transform: translateY(0);
}

.project-row-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.project-row-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-row-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.project-row-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.project-build-points {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.34rem;
  list-style: none;
}

.project-build-points li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(245, 247, 250, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
}

.project-build-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(94, 168, 196, 0.5);
}

.project-row-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.6rem;
}

.project-media-mosaic {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  min-width: 0;
  height: clamp(15rem, 22vw, 18rem);
  overflow: hidden;
}

.project-media-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(7.9rem, 1fr);
  gap: 0.7rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.2rem;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  height: 100%;
  min-width: 0;
}

.project-media-scroller::-webkit-scrollbar {
  display: none;
}

.project-screen-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(168, 215, 231, 0.12), rgba(255, 255, 255, 0.035));
  color: rgba(245, 247, 250, 0.38);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  scroll-snap-align: start;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-screen-frame-3 {
  grid-column: auto;
  grid-row: auto;
}

.project-screen-frame-4,
.project-screen-frame-5 {
  opacity: 0.98;
}

.project-screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-row:hover .project-screen-frame,
.project-row:focus-within .project-screen-frame {
  border-color: rgba(168, 215, 231, 0.26);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2), 0 0 30px rgba(94, 168, 196, 0.12);
}

.project-row:hover .project-screen-frame-1,
.project-row:focus-within .project-screen-frame-1 {
  transform: translateY(-3px);
}

.project-row:hover .project-screen-frame-2,
.project-row:focus-within .project-screen-frame-2 {
  transform: translateY(3px);
}

.project-row:hover .project-screen-frame-3,
.project-row:focus-within .project-screen-frame-3 {
  transform: translateY(-2px);
}

.project-row:hover .project-screen-frame-4,
.project-row:focus-within .project-screen-frame-4 {
  transform: translateY(2px);
}

.project-row:hover .project-screen-frame-5,
.project-row:focus-within .project-screen-frame-5 {
  transform: translateY(-1px);
}

.project-view-details {
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  z-index: 3;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(168, 215, 231, 0.22);
  border-radius: 999px;
  background: rgba(8, 13, 16, 0.76);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.project-row:hover .project-view-details,
.project-row:focus-within .project-view-details {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 26px rgba(94, 168, 196, 0.18);
}

.project-link-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 2.95rem;
  height: 2.95rem;
  padding: 0 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.16);
  background:
    radial-gradient(circle at 30% 30%, rgba(158, 215, 236, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition:
    width 240ms ease,
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.project-link-pill:hover,
.project-link-pill:focus-visible {
  width: 11.2rem;
}

.project-link-pill img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(158, 215, 236, 0.16));
  flex: 0 0 auto;
}

.project-link-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  margin-left: 0;
  color: rgba(245, 247, 250, 0.92);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    max-width 240ms ease,
    opacity 180ms ease,
    margin-left 240ms ease;
}

.project-link-pill:hover,
.project-link-pill:focus-visible {
  outline: none;
  border-color: rgba(168, 215, 231, 0.38);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 24px rgba(94, 168, 196, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.project-link-pill:hover .project-link-label,
.project-link-pill:focus-visible .project-link-label {
  max-width: 8.8rem;
  opacity: 1;
  margin-left: 0.5rem;
}

.project-store-play:hover,
.project-store-play:focus-visible {
  background:
    radial-gradient(circle at 30% 30%, rgba(120, 255, 182, 0.24), transparent 45%),
    rgba(255, 255, 255, 0.04);
}

.project-store-app:hover,
.project-store-app:focus-visible {
  background:
    radial-gradient(circle at 30% 30%, rgba(158, 215, 236, 0.24), transparent 45%),
    rgba(255, 255, 255, 0.04);
}

.project-link-pill,
.project-row-actions a {
  position: relative;
  z-index: 4;
}

.project-detail-page {
  min-height: 100vh;
  padding-top: 2rem;
}

.project-back-link {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 1.2rem;
  align-items: start;
}

.project-detail-copy,
.project-detail-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border: 1px solid rgba(168, 215, 231, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24, 29, 34, 0.72), rgba(10, 12, 15, 0.88));
}

.project-detail-copy h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 4.4rem);
}

.project-detail-copy p,
.project-detail-panel li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-detail-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  min-width: 0;
  height: clamp(15rem, 24vw, 20rem);
}

.project-detail-media img,
.project-detail-media .project-screen-frame {
  min-height: 0;
  aspect-ratio: 9 / 16;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(168, 215, 231, 0.1);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.problem-solving-section {
  justify-items: center;
}

.problem-solving-grid {
  width: min(100%, 1160px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.problem-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 26px;
  border: 1px solid rgba(168, 215, 231, 0.1);
  background: linear-gradient(180deg, rgba(24, 29, 34, 0.78), rgba(10, 12, 15, 0.9));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.problem-card:hover,
.problem-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(168, 215, 231, 0.3);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(94, 168, 196, 0.12);
}

.problem-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.problem-card-logo {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background:
    radial-gradient(circle at 30% 25%, rgba(158, 215, 236, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.problem-card-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.problem-card-copy {
  display: grid;
  gap: 0.4rem;
}

.problem-card-count {
  display: inline-grid;
  gap: 0.08rem;
  width: fit-content;
  min-width: 7.5rem;
  padding: 0.68rem 0.86rem;
  border-radius: 18px;
  border: 1px solid rgba(120, 214, 245, 0.22);
  background:
    linear-gradient(135deg, rgba(60, 170, 209, 0.24), rgba(18, 23, 28, 0.92)),
    rgba(158, 215, 236, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(120, 214, 245, 0.08),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

.problem-card-count--featured {
  position: relative;
  overflow: hidden;
}

.problem-card-count--featured::after {
  content: "";
  position: absolute;
  inset: -35% auto auto -20%;
  width: 55%;
  height: 110%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 72%);
  transform: rotate(18deg);
  pointer-events: none;
}

.problem-card-count strong {
  position: relative;
  z-index: 1;
  color: #f5fdff;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 18px rgba(120, 214, 245, 0.32);
}

.problem-card-count span {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.problem-card-accent {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.problem-card-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
}

.problem-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.problem-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.problem-stat {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.problem-card-link {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 215, 231, 0.14);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
}

.project-gallery-modal.hidden {
  display: none !important;
}

.project-gallery-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 5, 7, 0.82);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.project-gallery-shell {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: min(88vh, 920px);
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(168, 215, 231, 0.14);
  background: linear-gradient(180deg, rgba(20, 24, 28, 0.98), rgba(10, 12, 15, 0.98));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(94, 168, 196, 0.12);
}

.project-gallery-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.project-gallery-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-gallery-title {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.project-gallery-close,
.project-gallery-nav {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(168, 215, 231, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.project-gallery-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.1rem;
}

.project-gallery-stage {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 0.75rem;
  align-items: center;
}

.project-gallery-frame {
  border-radius: 24px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.project-gallery-image {
  display: block;
  width: 100%;
  max-height: min(68vh, 760px);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
}

.project-gallery-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  font-size: 1.4rem;
}

.project-gallery-nav:hover,
.project-gallery-nav:focus-visible,
.project-gallery-close:hover,
.project-gallery-close:focus-visible {
  outline: none;
  border-color: rgba(168, 215, 231, 0.4);
  box-shadow:
    0 0 0 1px rgba(168, 215, 231, 0.12),
    0 0 24px rgba(94, 168, 196, 0.18);
}

.project-gallery-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.gallery-open {
  overflow: hidden;
}

.project-detail-media .project-media-scroller {
  grid-auto-columns: minmax(9.5rem, 1fr);
}

.project-detail-panel {
  margin-top: 1rem;
}

.project-detail-panel h2 {
  margin: 0;
}

.project-detail-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}


.contact-shell {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem;
}

.contact-shell p {
  max-width: 44rem;
}

.contact-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(168, 215, 231, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(168, 215, 231, 0.12);
  background: rgba(18, 22, 26, 0.78);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  line-height: 1.6;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(236, 240, 244, 0.42);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(158, 215, 236, 0.34);
  box-shadow: 0 0 0 3px rgba(94, 168, 196, 0.12);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-resume-link {
  display: inline-flex;
  width: fit-content;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-resume-link:hover,
.contact-resume-link:focus-visible {
  outline: none;
  color: var(--text);
}

.site-footer {
  margin-top: 1rem;
  padding: 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.7fr) minmax(260px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
  display: grid;
  gap: 0.8rem;
}

.footer-brand h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.footer-brand p:last-child {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links a,
.footer-contact-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(168, 215, 231, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact-item:hover,
.footer-contact-item:focus-visible {
  outline: none;
  border-color: rgba(168, 215, 231, 0.24);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.footer-contact-item strong {
  font-size: 1rem;
}

.footer-contact-label {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 215, 231, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.footer-button {
  min-width: 12rem;
}
.social-link-contact {
  width: 3.25rem;
  height: 3.25rem;
}

.admin-shell {
  padding-top: 1.2rem;
}

.auth-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: start;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.auth-screen h1,
.dashboard-header h1 {
  margin-top: 0.6rem;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 0.92;
}

.auth-form,
.admin-form {
  display: grid;
  gap: 1rem;
}

.auth-form {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(168, 215, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.auth-form label,
.form-grid label {
  display: grid;
  gap: 0.45rem;
}

.auth-form span,
.form-grid span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-soft);
}

.auth-form input,
.form-grid input,
.form-grid textarea,
.form-grid select,
.duty-row textarea {
  width: 100%;
  border: 1px solid rgba(168, 215, 231, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.92rem 1rem;
  font: inherit;
  outline: none;
}

.auth-form input:focus,
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
.duty-row textarea:focus {
  border-color: var(--border-strong);
}

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

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid textarea,
.duty-row textarea {
  resize: vertical;
  min-height: 92px;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.password-toggle {
  min-width: 5.5rem;
}

.auth-form input.password-visible {
  -webkit-text-security: none;
  text-security: none;
}

.admin-actions {
  align-items: center;
}

.admin-status,
.admin-hint {
  margin: 0;
  color: var(--muted);
}

.dashboard-shell {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 0.75rem;
  z-index: 12;
  background: rgba(18, 21, 24, 0.92);
  backdrop-filter: blur(16px);
}

.admin-badge {
  padding: 0.86rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
}

.section-nav,
.editor-pane {
  padding: 1.35rem;
}

.section-nav {
  position: sticky;
  top: 10rem;
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.tab-button,
.entry-card {
  width: 100%;
  border: 1px solid rgba(168, 215, 231, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.tab-button {
  padding: 0.95rem 1rem;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus-visible,
.entry-card.active,
.entry-card:hover {
  border-color: var(--border-strong);
  outline: none;
}

.editor-stack {
  display: grid;
  gap: 1rem;
}

.editor-pane {
  display: grid;
  gap: 1rem;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.editor-header h2 {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.editor-split {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
}

.entry-list {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1rem;
  max-height: 780px;
  overflow: auto;
}

.entry-list-stack,
.entry-item,
.duty-list {
  display: grid;
  gap: 0.6rem;
}

.entry-card {
  display: grid;
  gap: 0.32rem;
  padding: 0.95rem 1rem;
  text-align: left;
}

.entry-card strong {
  font-size: 0.94rem;
}

.entry-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.entry-actions,
.duty-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.entry-actions {
  justify-content: flex-end;
}

.duty-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.duty-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.upload-preview-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.upload-preview {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(168, 215, 231, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.upload-preview-sm {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
}

.contact-preview pre,
.admin-preview pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  line-height: 1.7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .hero-main,
  .section-split,
  .project-card-featured,
  .contact-shell,
  .footer-grid,
  .auth-screen,
  .dashboard-header,
  .admin-layout,
  .editor-split {
    grid-template-columns: 1fr;
  }

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

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

  .section-copy {
    position: static;
    padding-right: 0;
  }

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

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

  .hero-main {
    grid-template-columns: 1fr;
  }

  .hero-sidebar {
    right: 1rem;
  }

  .social-rail {
    grid-template-columns: 1fr;
  }

  .stack-stage {
    min-height: 500px;
  }

  .stack-orb {
    width: min(72vw, 360px);
  }

  .stack-grid {
    width: min(100%, 700px);
  }

  .problem-solving-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 0.8rem), 1240px);
    padding-top: 0.35rem;
  }

  .topbar,
  .hero-card,
  .auth-screen,
  .dashboard-header,
  .section-nav,
  .editor-pane,
  .contact-shell,
  .site-footer {
    border-radius: 26px;
  }

  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    flex: 0 0 auto;
    z-index: 42;
  }

  .nav {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    left: auto;
    width: min(50vw, 18rem);
    min-height: calc(100vh - 1rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 4.2rem 0.85rem 0.85rem;
    background:
      linear-gradient(180deg, rgba(18, 22, 27, 0.99), rgba(8, 10, 13, 0.99)),
      rgba(12, 14, 17, 0.96);
    border: 1px solid rgba(168, 215, 231, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(18px) saturate(1.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 80px rgba(0, 0, 0, 0.44);
    transform: translateX(102%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 240ms ease,
      opacity 240ms ease;
    z-index: 41;
    overflow-y: auto;
  }

  .nav-open .nav {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 2.8rem;
    padding: 0.84rem 0.95rem;
    font-size: 0.69rem;
    letter-spacing: 0.1em;
    border-radius: 16px;
    color: rgba(245, 247, 250, 0.94);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(168, 215, 231, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .nav a:first-child {
    margin-top: 0.2rem;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a.is-selected {
    background: rgba(158, 215, 236, 0.1);
    border-color: rgba(168, 215, 231, 0.3);
    box-shadow:
      0 0 0 1px rgba(168, 215, 231, 0.08),
      0 0 22px rgba(94, 168, 196, 0.18);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 6, 0.5);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
    z-index: 39;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  .nav::before {
    content: "Menu";
    position: absolute;
    top: 1rem;
    left: 0.85rem;
    color: rgba(245, 247, 250, 0.74);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .hero-card {
    min-height: auto;
    padding: 1.2rem 0.95rem 1.1rem;
  }

  .hero-card::after {
    bottom: 2.8rem;
    font-size: 4.6rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 3.4rem;
  }

  .hero-main {
    gap: 1rem;
  }

  .hero-copy {
    gap: 1rem;
  }

  .hero-identity {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-copy,
  .hero-meta {
    justify-items: center;
    text-align: center;
  }

  .hero-role-list {
    justify-content: center;
  }

  .hero-summary {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .hero-sidebar {
    position: static;
    transform: none;
    width: auto;
    justify-items: center;
    margin-top: 0.25rem;
  }

  .social-card {
    width: auto;
    padding: 0;
  }

  .social-rail {
    width: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
  }

  .social-link {
    width: 100%;
    min-height: 2.7rem;
    border-radius: 999px;
    border-color: rgba(168, 215, 231, 0.16);
  }

  .hero-metrics {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .metric {
    min-height: 106px;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
  }

  .metric strong {
    font-size: 1.8rem;
  }

  .metric span {
    font-size: 0.78rem;
  }

  .metric-icon {
    width: 1.95rem;
    height: 1.95rem;
  }

  .section {
    gap: 1rem;
    padding: 2.2rem 0 0;
  }

  .section-heading-center {
    gap: 0.05rem;
    margin-bottom: 0.15rem;
  }

  .section-heading-center h2 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .project-gallery-shell {
    width: min(96vw, 920px);
    padding: 0.9rem;
  }

  .project-gallery-stage {
    grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
    gap: 0.55rem;
  }

  .project-gallery-nav {
    width: 2.35rem;
    height: 2.35rem;
  }

  .problem-solving-grid {
    grid-template-columns: 1fr;
  }

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

  .education-card-body {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .education-card-profile {
    grid-template-columns: 1fr;
  }

  .education-card-logo {
    width: 4.4rem;
    height: 4.4rem;
  }

  .education-card-results {
    justify-content: flex-start;
  }

  .education-result-pill {
    min-width: 0;
  }

  .problem-card-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .problem-card-logo {
    width: 4.4rem;
    height: 4.4rem;
  }

  .timeline-shell {
    min-height: auto;
    width: 100%;
    padding-top: 0.7rem;
  }

  .form-grid,
  .duty-row {
    grid-template-columns: 1fr;
  }

  .timeline-list {
    gap: 0.95rem;
  }

  .project-card-featured {
    grid-column: auto;
  }

  .timeline-card {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
  }

  .timeline-list::before {
    left: 1.25rem;
  }

  .timeline-list::after {
    left: 1.25rem;
  }

  .experience-pointer span {
    width: 0.72rem;
    height: 0.72rem;
  }

  .experience-pointer {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .experience-timeplate,
  .timeline-card:nth-child(even) .experience-timeplate {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: auto auto minmax(0, 1fr);
    justify-items: start;
    justify-content: start;
    text-align: left;
  }

  .experience-card-shell {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    gap: 0.68rem;
    padding: 0.82rem;
  }

  .experience-card-meta {
    gap: 0.45rem;
  }

  .timeline-card:nth-child(even) .experience-card-shell {
    grid-column: 2;
  }

  .timeline-card h3 {
    font-size: 1.14rem;
  }

  .timeline-duration {
    font-size: 0.72rem;
  }

  .experience-company-mark {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 15px;
  }

  .experience-bullets {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .stack-stage {
    width: 100%;
    min-height: auto;
    padding-top: 0.7rem;
  }

  .stack-grid {
    display: grid;
    width: min(100%, 520px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stack-row {
    display: contents;
  }

  .stack-orb {
    width: min(82vw, 310px);
    opacity: 0.82;
  }

  .stack-card {
    min-height: 86px;
    border-radius: 16px;
  }

  .project-grid {
    width: 100%;
  }

  .project-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-row-actions {
    justify-content: flex-start;
  }

  .project-media-mosaic {
    min-height: 220px;
  }

  .project-media-scroller {
    grid-auto-columns: minmax(7.8rem, 1fr);
  }

  .project-view-details {
    opacity: 1;
    transform: none;
  }

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

  .project-gallery-shell {
    width: min(96vw, 920px);
  }

  .project-gallery-stage {
    grid-template-columns: 1fr;
  }

  .project-gallery-nav {
    display: none;
  }

  .project-gallery-image {
    max-height: 62vh;
  }

  .stack-node-icon {
    width: 2.55rem;
    height: 2.55rem;
  }

  .project-links {
    gap: 0.55rem;
    justify-content: flex-start;
  }

  .contact-shell {
    padding: 1.15rem 1rem;
    gap: 1rem;
  }

  .site-footer {
    padding: 1.15rem 1rem;
  }

  .contact-panel {
    padding: 0.9rem;
  }

  .footer-links a,
  .footer-contact-item {
    padding: 0.82rem 0.9rem;
  }

  .contact-shell h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .contact-shell p {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .contact-actions .button {
    width: 100%;
  }

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

@media (max-width: 560px) {
  .topbar {
    padding: 0.7rem;
  }

  .brand-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .nav a {
    padding: 0.62rem 0.82rem;
    font-size: 0.62rem;
  }

  .hero-identity {
    justify-items: start;
  }

  .hero-copy,
  .hero-meta {
    justify-items: center;
    text-align: center;
  }

  .hero-roles {
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-avatar {
    width: 172px;
    height: auto;
  }

  .hero-card {
    padding: 0.95rem 0.8rem;
  }

  .hero-copy h1 {
    font-size: 2.75rem;
    line-height: 1;
  }

  .hero-summary {
    font-size: 0.9rem;
  }

  .pill {
    padding: 0.46rem 0.66rem;
    font-size: 0.64rem;
    letter-spacing: 0;
  }

  .hero-logo-marquee {
    width: 100%;
  }

  .hero-logo-chip {
    padding: 0.42rem;
  }

  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .social-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

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

  .metric {
    min-height: 102px;
  }

  .stack-orb {
    width: min(86vw, 260px);
  }

  .stack-stage {
    min-height: auto;
  }

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

  .stack-card {
    min-height: 82px;
    border-radius: 16px;
  }

  .stack-node-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .timeline-shell {
    padding-top: 0.5rem;
  }

  .timeline-card h3 {
    font-size: 1.18rem;
  }

  .timeline-company,
  .timeline-duties {
    font-size: 0.88rem;
  }

  .work-mode-badge {
    min-height: 1.35rem;
    font-size: 0.62rem;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-list::before {
    display: none;
  }

  .timeline-list::after {
    display: none;
  }

  .experience-pointer {
    display: none;
  }

  .experience-timeplate,
  .timeline-card:nth-child(even) .experience-timeplate {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: auto auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .experience-card-shell {
    grid-column: auto;
    grid-row: auto;
    padding-bottom: 0.95rem;
  }

  .timeline-card:nth-child(even) .experience-card-shell {
    grid-column: auto;
  }

  .experience-company-mark {
    width: 4.25rem;
    height: 4.25rem;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .project-row-media {
    width: 3.2rem;
    height: 3.2rem;
  }

  .project-row-actions {
    grid-column: auto;
  }

  .project-build-points {
    grid-template-columns: 1fr;
  }

  .project-media-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .project-screen-frame,
  .project-screen-frame-3 {
    grid-column: auto;
    grid-row: auto;
    min-height: 135px;
  }

  .project-screen-frame-3 {
    min-height: 190px;
  }

  .project-view-details {
    position: static;
    justify-self: start;
  }

  .project-detail-media {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    padding: 1rem 0.85rem;
  }

  .site-footer {
    padding: 1rem 0.85rem;
  }

  .footer-bottom {
    align-items: stretch;
  }

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

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

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 780px) and (orientation: landscape) {
  .nav {
    width: min(68vw, 22rem);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes stackGridPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.02);
  }
}

@keyframes stackTileIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes projectRowIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes projectDrop {
  0%,
  100% {
    top: 14%;
  }

  50% {
    top: 76%;
  }
}

@keyframes heroHaloSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes heroLogoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes experienceCardIn {
  from {
    opacity: 0;
    transform: translate3d(24px, 0, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-orb,
  .stack-grid,
  .stack-card,
  .project-row,
  .hero-avatar::after,
  .hero-logo-track,
  .timeline-card {
    animation: none !important;
  }

  .social-link:hover,
  .social-link:focus-visible {
    transform: none;
  }
}

/* Certificates Section */
.certificates-container {
  width: 100%;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

.certificates-container::-webkit-scrollbar {
  height: 8px;
}
.certificates-container::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}
.certificates-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.certificates-grid {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.certificate-card {
  width: 320px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.certificate-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.certificate-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.certificate-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-details {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  transform: translateY(15px);
  transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-media img {
  transform: scale(1.05);
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.certificate-card:hover .certificate-details {
  transform: translateY(0);
}

.certificate-info {
  padding: 1.2rem;
}

.certificate-info h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}
