/* ============================================
   Fitim Alickaj — Static Portfolio Styles
   ============================================ */

:root {
  --color-bg: #0a0a0b;
  --color-bg-elevated: #0f0f11;
  --color-surface: #141418;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-foreground: #f5f5f7;
  --color-muted: #9ea0a8;
  --color-subtle: #6b6d76;
  --color-accent: #7dd3fc;
  --color-accent-2: #a78bfa;
  --font-sans: "Geist Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--color-bg);
  color: var(--color-foreground);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

body {
  background: var(--color-bg);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: color-mix(in oklab, var(--color-accent) 30%, transparent);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.16); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* Film grain overlay */
.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Utilities */
.text-gradient {
  background: linear-gradient(
    110deg,
    #f5f5f7 0%,
    #f5f5f7 40%,
    color-mix(in oklab, var(--color-accent) 80%, #fff) 60%,
    color-mix(in oklab, var(--color-accent-2) 80%, #fff) 80%,
    #f5f5f7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-gradient {
  background-image: linear-gradient(110deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
}

.ring-gradient {
  position: relative;
  isolation: isolate;
}
.ring-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.02) 60%,
    rgba(255, 255, 255, 0.12)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.container-page {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-page {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.grid-backdrop {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.section-divider {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-soft), transform 0.8s var(--ease-out-soft);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: padding 0.5s;
  padding-block: 1.25rem;
}
.nav.is-scrolled { padding-block: 0.75rem; }

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.625rem 1rem;
  transition: all 0.5s;
}
.nav.is-scrolled .nav-inner {
  border-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-inline: 0.5rem;
}
.nav-logo-mark {
  position: relative;
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.nav-logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.3s;
}
.nav-logo:hover .nav-logo-mark::after {
  opacity: 0.4;
  background-image: linear-gradient(110deg, var(--color-accent), var(--color-accent-2));
}
.nav-logo-name {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .nav-logo-name { display: block; }
}

.nav-links {
  display: none;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  position: relative;
  border-radius: 9999px;
  padding: 0.5rem 0.875rem;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.nav-link:hover { color: rgba(255, 255, 255, 0.9); }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
}

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

.nav-resume {
  display: none;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
}
.nav-resume:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
@media (min-width: 768px) {
  .nav-resume { display: inline-flex; }
}

.nav-menu-btn {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-menu-btn:hover { color: #fff; }
@media (min-width: 768px) {
  .nav-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  margin-top: 0.75rem;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: color-mix(in srgb, var(--color-bg-elevated) 90%, transparent);
  padding: 0.75rem;
  backdrop-filter: blur(24px);
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}
.mobile-menu-link:hover,
.mobile-menu-link.is-active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.mobile-menu-divider {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.5rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 10px 40px -12px rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { background: rgba(255, 255, 255, 0.9); }
.btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.btn svg { flex-shrink: 0; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding-top: 8rem;
}
@media (min-width: 768px) {
  .hero { padding-top: 9rem; }
}

.hero-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-backdrop .grid-backdrop {
  position: absolute;
  inset: 0;
}
.hero-glow-top {
  position: absolute;
  left: 50%;
  top: -20%;
  height: 60vh;
  width: 90vw;
  transform: translateX(-50%);
  border-radius: 9999px;
  opacity: 0.35;
  filter: blur(64px);
  background: radial-gradient(ellipse at center, rgba(125, 211, 252, 0.35), rgba(167, 139, 250, 0.15) 40%, transparent 70%);
}
.hero-glow-bottom {
  position: absolute;
  bottom: -30%;
  right: -10%;
  height: 60vh;
  width: 50vw;
  border-radius: 9999px;
  filter: blur(64px);
  opacity: 0.35;
  animation: glowPulse 8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.30), transparent 70%);
}
.hero-backdrop-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, transparent, var(--color-bg));
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}

.hero-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-muted);
}
.hero-badge-dot {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}
.hero-badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.7);
}
.hero-badge-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.6);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 7.25rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .hero-meta {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}
.hero-meta-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}
.hero-meta-line::before {
  content: "";
  height: 1px;
  width: 2rem;
  background: rgba(255, 255, 255, 0.25);
}
.hero-meta-sep { color: var(--color-subtle); }
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero-tagline {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .hero-tagline { font-size: 1.125rem; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.hero-scroll:hover { color: rgba(255, 255, 255, 0.8); }
.hero-scroll svg { animation: floatArrow 1.8s ease-in-out infinite; }
@media (min-width: 768px) {
  .hero-scroll { display: flex; }
}
@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================
   Sections
   ============================================ */
.section {
  position: relative;
  padding-block: 8rem;
}
@media (min-width: 768px) {
  .section { padding-block: 12rem; }
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-muted);
}
.section-eyebrow-index { color: var(--color-subtle); }
.section-eyebrow-line {
  height: 1px;
  width: 2rem;
  background: rgba(255, 255, 255, 0.15);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.section-heading h2 {
  max-width: 48rem;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-heading p {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .section-heading p { font-size: 1.125rem; }
}
.section-heading.mb { margin-bottom: 5rem; }
.section-heading.mb-lg { margin-bottom: 4rem; }

.block { display: block; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-text p {
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.75);
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .about-text p { font-size: 1.25rem; }
}
.specialties-label {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-subtle);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.375rem 0.875rem;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
}
.tag:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.tag-mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

/* Experience */
.experience-list {
  position: relative;
}
.experience-line {
  position: absolute;
  left: 7px;
  top: 0.25rem;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), transparent);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s var(--ease-out-soft);
}
.experience-line.is-visible { transform: scaleY(1); }
@media (min-width: 768px) {
  .experience-line { left: calc(18% + 7px); }
}

.experience-item {
  position: relative;
}
.experience-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 2rem;
}
@media (min-width: 768px) {
  .experience-row {
    flex-direction: row;
    gap: 2rem;
  }
}
.experience-period {
  position: relative;
  flex-shrink: 0;
  margin-left: 2rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .experience-period {
    width: 18%;
    margin-left: 0;
  }
}
.experience-dot {
  position: absolute;
  left: -30px;
  top: 0.375rem;
  display: flex;
  height: 15px;
  width: 15px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .experience-dot { left: calc(100% + 2px); }
}
.experience-dot-inner {
  height: 7px;
  width: 7px;
  border-radius: 9999px;
  background: #fff;
}
.experience-dot-ring {
  position: absolute;
  height: 15px;
  width: 15px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge-now {
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.125rem 0.375rem;
  font-size: 9px;
  color: rgb(110, 231, 183);
}

.experience-body {
  flex: 1;
  margin-left: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .experience-body { margin-left: 4rem; }
}
.experience-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .experience-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.experience-header h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .experience-header h3 { font-size: 1.5rem; }
}
.experience-header .sep { margin-inline: 0.625rem; color: var(--color-subtle); }
.experience-header .company { color: rgba(255, 255, 255, 0.8); }
.experience-location {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-subtle);
}
.experience-highlights {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 15px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.65);
}
.experience-highlights li {
  display: flex;
  gap: 0.75rem;
}
.experience-highlights li::before {
  content: "";
  margin-top: 0.625rem;
  height: 1px;
  width: 0.75rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
}

/* Projects */
.projects-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}
.projects-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 60vh;
  width: 70vw;
  transform: translateX(-50%);
  opacity: 0.18;
  filter: blur(64px);
  background: radial-gradient(ellipse at center, rgba(125, 211, 252, 0.5), rgba(167, 139, 250, 0.25) 40%, transparent 70%);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: color-mix(in srgb, var(--color-bg-elevated) 60%, transparent);
  padding: 1.75rem;
  transition: transform 0.4s var(--ease-out-soft);
}
.project-card:hover { transform: translateY(-6px); }
.project-card-glow {
  pointer-events: none;
  position: absolute;
  right: -6rem;
  top: -6rem;
  height: 16rem;
  width: 16rem;
  border-radius: 9999px;
  opacity: 0;
  filter: blur(64px);
  transition: opacity 0.7s;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.4), transparent 70%);
}
.project-card:hover .project-card-glow { opacity: 0.6; }

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.project-card-index {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-subtle);
}
.project-card-icon {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}
.project-card:hover .project-card-icon {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.project-card h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .project-card h3 { font-size: 22px; }
}
.project-card-summary {
  margin-top: 0.75rem;
  font-size: 15px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.65);
}
.project-card-bullets {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 13.5px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.55);
}
.project-card-bullets li {
  display: flex;
  gap: 0.625rem;
}
.project-card-bullets li::before {
  content: "";
  margin-top: 0.5rem;
  height: 1px;
  width: 0.625rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
}
.project-card-footer {
  margin-top: auto;
  padding-top: 1.75rem;
}
.project-card-footer .hairline { margin-bottom: 1.25rem; }

/* Skills */
.skills-languages {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: color-mix(in srgb, var(--color-bg-elevated) 60%, transparent);
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .skills-languages { padding: 2.5rem; }
}
.skills-languages-glow {
  pointer-events: none;
  position: absolute;
  right: -8rem;
  top: -8rem;
  height: 16rem;
  width: 16rem;
  border-radius: 9999px;
  opacity: 0.4;
  filter: blur(64px);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.35), transparent 70%);
}
.skills-languages-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .skills-languages-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}
.skills-languages-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .skills-languages-title { font-size: 1.5rem; }
}

.skills-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
}
.skill-group {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.75rem;
}
.skill-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.skill-group-header h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.8);
}
.skill-group-index {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-subtle);
}
.skill-group .hairline { margin-block: 1.25rem; }

.certifications {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: color-mix(in srgb, var(--color-bg-elevated) 60%, transparent);
  padding: 1.75rem;
}
@media (min-width: 768px) {
  .certifications {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.875rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.cert-badge .issuer { color: rgba(255, 255, 255, 0.55); }
.cert-badge .sep { color: var(--color-subtle); }
.cert-badge svg { color: rgba(110, 231, 183, 0.9); }
.cert-desc {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Education */
.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .education-grid {
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
  }
}
.education-list,
.awards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.education-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .education-item { padding: 1.75rem; }
}
.education-icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.8);
}
.education-item h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .education-item h3 { font-size: 1.25rem; }
}
.education-item-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .education-item-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}
.education-period {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-subtle);
}
.education-school {
  margin-top: 0.25rem;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
}

.award-item {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: color-mix(in srgb, var(--color-bg-elevated) 60%, transparent);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .award-item { padding: 1.75rem; }
}
.award-icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(253, 230, 138, 0.9);
}
.award-item h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .award-item h3 { font-size: 1.25rem; }
}
.award-issuer {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-subtle);
}
.award-desc {
  margin-top: 0.75rem;
  font-size: 14.5px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.65);
}

/* Contact */
.contact-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 70vh;
  width: 90vw;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  opacity: 0.2;
  filter: blur(64px);
  background: radial-gradient(ellipse at center, rgba(125, 211, 252, 0.35), rgba(167, 139, 250, 0.25) 40%, transparent 70%);
}

.contact-inner {
  margin-inline: auto;
  max-width: 56rem;
}
.contact-eyebrow {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-muted);
}
.contact-title {
  text-align: center;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.contact-desc {
  margin: 2rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.65);
}
@media (min-width: 768px) {
  .contact-desc { font-size: 1.125rem; }
}
.contact-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.contact-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.25rem;
  transition: all 0.2s;
}
a:hover .contact-cell {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}
.contact-cell-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
a:hover .contact-cell-icon { color: #fff; }
.contact-cell-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-subtle);
}
.contact-cell-value {
  margin-top: 0.125rem;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}
.contact-cell-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
}
a:hover .contact-cell-arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

/* Footer */
.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand-mark {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
}
.footer-brand-text {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-muted);
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.footer-socials a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-socials a:hover { color: #fff; }

/* Icon sizing */
.icon { width: 1rem; height: 1rem; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-xs { width: 0.75rem; height: 0.75rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-glow-bottom { animation: none; }
  .hero-scroll svg { animation: none; }
  .hero-badge-dot::after { animation: none; }
}
