:root {
  --ink:        #0a0a0f;
  --paper:      #f4f2ee;
  --mid:        #e8e4dc;
  --accent:     #2a5cff;
  --accent2:    #ff3d5a;
  --gold:       #d4a940;
  --muted:      #7a7870;
  --card-bg:    #ffffff;
  --radius:     14px;
  --transition: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  cursor: none;
  overflow-x: hidden;
}

#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.3s;
}

#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  transform: translate(-50%, -50%);
  transition: width 0.35s, height 0.35s, border-color 0.35s;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--accent2);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: -0.02em;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(244, 242, 238, 0.75);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s !important;
}

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

.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes blobMove {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

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

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes stripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

.reveal.animate-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  max-width: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

/* Sfere di sfondo animate */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: blobMove 12s infinite alternate ease-in-out;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  animation-duration: 14s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent2);
  bottom: -100px;
  left: 100px;
  animation-duration: 10s;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  top: 40%;
  left: 40%;
  animation-duration: 16s;
  animation-delay: -3s;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 92, 255, 0.1);
  border: 1px solid rgba(42, 92, 255, 0.2);
  color: var(--accent);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--transition) both;
}

.hero-eyebrow::before {
  content: '●';
  font-size: 0.5em;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  font-weight: 800;
  animation: fadeUp 0.8s 0.1s var(--transition) both;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .accent-word {
  color: var(--accent);
}

.hero-title .stroke-word {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.hero-subtitle {
  margin-top: 28px;
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s var(--transition) both;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeUp 0.8s 0.3s var(--transition) both;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(42, 92, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(42, 92, 255, 0.4);
  background: #1a4ce8;
}

.btn-secondary {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}

.btn-secondary:hover {
  color: var(--accent);
  gap: 10px;
}

.btn-secondary .arrow {
  font-size: 1.2em;
}

.hero-stat-bar {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  animation: fadeUp 0.8s 0.4s var(--transition) both;
}

.hero-stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

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

.hero-photo-card {
  position: relative;
  animation: fadeUp 0.8s 0.2s var(--transition) both;
}

.hero-photo-card::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1.5px dashed rgba(42, 92, 255, 0.3);
  border-radius: 28px;
  animation: rotateBorder 20s linear infinite;
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  filter: grayscale(8%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.photo-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: floatBadge 4s ease-in-out infinite;
}

.photo-badge span {
  color: var(--gold);
}

.photo-tag {
  position: absolute;
  top: 20px;
  right: -16px;
  z-index: 2;
  background: var(--accent2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(255, 61, 90, 0.3);
}

section {
  padding: 100px 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 60px;
}

#skills {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  max-width: none;
  padding: 100px 60px;
}

#skills .section-label { color: var(--gold); }
#skills .section-title { color: var(--paper); }
#skills .section-sub   { color: rgba(244, 242, 238, 0.6); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 92, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
  border-color: rgba(42, 92, 255, 0.4);
}

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

.skill-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 10px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  font-size: 0.73rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(244, 242, 238, 0.8);
  font-weight: 500;
}

.skill-tag.highlight {
  background: rgba(42, 92, 255, 0.3);
  color: #8aabff;
}

.tech-strip {
  margin-top: 60px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-strip-inner {
  display: flex;
  gap: 16px;
  animation: stripScroll 20s linear infinite;
  width: max-content;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 242, 238, 0.75);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.exp-grid {
  display: grid;
  gap: 20px;
}

.exp-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 36px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--mid);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.exp-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--transition);
}

.exp-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(42, 92, 255, 0.2);
}

.exp-card:hover::after {
  transform: scaleY(1);
}

.exp-date {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  background: var(--mid);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}

.exp-company {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

.exp-type {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.exp-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.exp-content p,
.exp-content li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.exp-content ul {
  margin-top: 12px;
  padding-left: 18px;
}

.exp-content ul li {
  margin-bottom: 4px;
}

#education {
  background: linear-gradient(135deg, #f0eee8, #e8e3d8);
  border-radius: 28px;
  max-width: none;
}

.edu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.edu-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.edu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.edu-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}

.edu-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.edu-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.edu-school {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.edu-period {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.edu-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.edu-badge {
  display: inline-block;
  margin-top: 14px;
  background: rgba(42, 92, 255, 0.1);
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.lang-title {
  font-size: 1.6rem;
  margin-top: 60px;
  margin-bottom: 30px;
}

.lang-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.lang-card {
  flex: 1 1 160px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--mid);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.lang-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.lang-flag {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
}

.lang-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.lang-level {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.lang-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 12px;
}

.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mid);
}

.lang-dot.filled {
  background: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--mid);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.project-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.project-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.4s;
}

.project-card:hover .project-thumb-inner {
  transform: scale(1.1);
}

.project-body {
  padding: 24px;
}

.project-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech span {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--mid);
  color: var(--ink);
  font-weight: 500;
}

#softskills {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  max-width: none;
  padding: 100px 60px;
}

#softskills .section-label { color: var(--gold); }
#softskills .section-title { color: var(--paper); }

.soft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.soft-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s;
}

.soft-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(42, 92, 255, 0.3);
}

.soft-ico {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.soft-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 5px;
}

.soft-text p {
  font-size: 0.82rem;
  color: rgba(244, 242, 238, 0.55);
  line-height: 1.55;
}

#contact {
  text-align: center;
  padding-bottom: 140px;
}

.contact-card {
  background: linear-gradient(135deg, var(--accent), #1a3db8);
  border-radius: 28px;
  padding: 80px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-card p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.contact-link.white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.contact-link.white:hover {
  background: rgba(255, 255, 255, 0.9);
}
footer {
  text-align: center;
  padding: 30px 60px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--mid);
}

footer p + p {
  margin-top: 6px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

#scroll-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--accent);
}

@media (max-width: 900px) {
  nav {
    padding: 18px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
  }

  .hero-photo-card {
    display: none;
  }

  section {
    padding: 70px 24px;
  }

  #skills,
  #education,
  #softskills,
  #contact {
    padding: 60px 24px;
  }

  .exp-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 50px 24px;
  }
  body {
    cursor: auto;
  }

  #cursor-dot,
  #cursor-ring {
    display: none;
  }
}
h1, h2, h3, h4 {
  letter-spacing: -0.01em;
}

.hero-title {
  letter-spacing: -0.02em;
}

.project-sub-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 4px;
  color: var(--ink);
}

.project-sub-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.project-tech {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}