 :root {
   --bg: #080c12;
   --surface: #0e1420;
   --surface2: #141b28;
   --border: rgba(255, 255, 255, 0.07);
   --accent: #00e5ff;
   --accent2: #7c4dff;
   --text: #e8edf5;
   --muted: #6b7894;
   --tag-bg: rgba(0, 229, 255, 0.07);
   --tag-border: rgba(0, 229, 255, 0.2);
 }

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

 html {
   scroll-behavior: smooth;
 }

 body {
   background: var(--bg);
   color: var(--text);
   font-family: 'DM Sans', sans-serif;
   font-size: 16px;
   line-height: 1.7;
   overflow-x: hidden;
 }

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

 /* ─── SCROLLBAR ─── */
 ::-webkit-scrollbar {
   width: 4px;
 }

 ::-webkit-scrollbar-track {
   background: var(--bg);
 }

 ::-webkit-scrollbar-thumb {
   background: var(--accent);
   border-radius: 2px;
 }

 /* ─── NAV ─── */
 nav {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 100;
   padding: 20px 60px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   backdrop-filter: blur(20px);
   background: rgba(8, 12, 18, 0.8);
   border-bottom: 1px solid var(--border);
   transition: padding 0.3s;
 }

 .nav-logo {
   font-family: 'Syne', sans-serif;
   font-weight: 800;
   font-size: 1rem;
   letter-spacing: 0.05em;
   color: var(--text);
   text-decoration: none;
 }

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

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

 .nav-links a {
   font-size: 0.82rem;
   font-weight: 500;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: var(--muted);
   text-decoration: none;
   transition: color 0.2s;
 }

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

 .nav-cta {
   font-size: 0.8rem;
   font-weight: 500;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   color: var(--accent);
   border: 1px solid var(--accent);
   padding: 8px 20px;
   text-decoration: none;
   border-radius: 2px;
   transition: background 0.2s, color 0.2s;
 }

 .nav-cta:hover {
   background: var(--accent);
   color: var(--bg);
 }

 /* ─── HERO ─── */
 .hero {
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: 140px 60px 80px;
   position: relative;
   overflow: hidden;
 }

 .hero-bg-glow {
   position: absolute;
   top: -200px;
   right: -200px;
   width: 700px;
   height: 700px;
   background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
   pointer-events: none;
 }

 .hero-bg-glow2 {
   position: absolute;
   bottom: -300px;
   left: -100px;
   width: 600px;
   height: 600px;
   background: radial-gradient(circle, rgba(124, 77, 255, 0.05) 0%, transparent 70%);
   pointer-events: none;
 }

 .hero-eyebrow {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.78rem;
   letter-spacing: 0.15em;
   color: var(--accent);
   text-transform: uppercase;
   margin-bottom: 24px;
   opacity: 0;
   animation: fadeUp 0.6s ease forwards 0.2s;
 }

 .hero-eyebrow::before {
   content: '// ';
   opacity: 0.5;
 }

 .hero-name {
   /* font-family: 'Syne', sans-serif; */
   font-weight: 800;
   font-size: clamp(3rem, 7vw, 6.5rem);
   line-height: 1.0;
   letter-spacing: -0.02em;
   margin-bottom: 16px;
   opacity: 0;
   animation: fadeUp 0.7s ease forwards 0.35s;
 }

 .hero-name .line2 {
   color: var(--muted);
 }

 .hero-title {
   font-family: 'Syne', sans-serif;
   font-size: clamp(1rem, 2.5vw, 1.5rem);
   font-weight: 600;
   color: var(--muted);
   margin-bottom: 32px;
   opacity: 0;
   animation: fadeUp 0.7s ease forwards 0.5s;
 }

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

 .hero-desc {
   max-width: 600px;
   font-size: 1.05rem;
   font-weight: 300;
   color: #8a96b0;
   line-height: 1.8;
   margin-bottom: 48px;
   opacity: 0;
   animation: fadeUp 0.7s ease forwards 0.65s;
 }

 .hero-actions {
   display: flex;
   gap: 16px;
   flex-wrap: wrap;
   opacity: 0;
   animation: fadeUp 0.7s ease forwards 0.8s;
 }

 .btn-primary {
   background: var(--accent);
   color: var(--bg);
   padding: 14px 32px;
   font-weight: 600;
   font-size: 0.88rem;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   text-decoration: none;
   border-radius: 2px;
   transition: opacity 0.2s, transform 0.2s;
   display: inline-flex;
   align-items: center;
   gap: 8px;
 }

 .btn-primary:hover {
   opacity: 0.85;
   transform: translateY(-2px);
 }

 .btn-secondary {
   color: var(--text);
   padding: 14px 32px;
   font-weight: 500;
   font-size: 0.88rem;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   text-decoration: none;
   border: 1px solid var(--border);
   border-radius: 2px;
   transition: border-color 0.2s, color 0.2s, transform 0.2s;
   display: inline-flex;
   align-items: center;
   gap: 8px;
 }

 .btn-tertiary {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;

   width: 100%;
   padding: 8px 16px;

   font-size: 0.78rem;
   font-weight: 500;
   letter-spacing: 0.06em;
   text-transform: uppercase;

   color: var(--muted);
   text-decoration: none;

   border: 1px solid var(--border);
   border-radius: 4px;

   background: rgba(255, 255, 255, 0.02);

   transition: border-color .2s, color .2s, background .2s;
 }

 .btn-tertiary:hover {
   border-color: var(--accent);
   color: var(--accent);
   background: rgba(0, 229, 255, 0.05);
 }

 .btn-secondary:hover {
   border-color: var(--accent);
   color: var(--accent);
   transform: translateY(-2px);
 }

 .hero-stats {
   position: absolute;
   bottom: 60px;
   right: 60px;
   display: flex;
   gap: 48px;
   opacity: 0;
   animation: fadeUp 0.7s ease forwards 1s;
 }

 .stat {
   text-align: right;
 }

 .stat-num {
   font-family: 'Syne', sans-serif;
   font-size: 2.2rem;
   font-weight: 800;
   color: var(--text);
   line-height: 1;
 }

 .stat-num span {
   color: var(--accent);
 }

 .stat-label {
   font-size: 0.72rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--muted);
   margin-top: 4px;
 }

 .scroll-indicator {
   position: absolute;
   bottom: 40px;
   left: 60px;
   display: flex;
   align-items: center;
   gap: 12px;
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   color: var(--muted);
   letter-spacing: 0.1em;
   opacity: 0;
   animation: fadeUp 0.7s ease forwards 1.2s;
 }

 .scroll-line {
   width: 40px;
   height: 1px;
   background: linear-gradient(to right, var(--accent), transparent);
   position: relative;
   overflow: hidden;
 }

 .scroll-line::after {
   content: '';
   position: absolute;
   left: -100%;
   top: 0;
   width: 100%;
   height: 100%;
   background: var(--accent);
   animation: scrollLine 2s ease infinite;
 }

 @keyframes scrollLine {
   0% {
     left: -100%;
   }

   100% {
     left: 100%;
   }
 }

 /* ─── SECTIONS ─── */
 section {
   padding: 100px 60px;
 }

 .section-header {
   display: flex;
   align-items: baseline;
   gap: 20px;
   margin-bottom: 64px;
 }

 .section-num {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.75rem;
   color: var(--accent);
   letter-spacing: 0.1em;
 }

 .section-title {
   font-family: 'Syne', sans-serif;
   font-size: clamp(1.8rem, 4vw, 2.8rem);
   font-weight: 800;
   letter-spacing: -0.02em;
 }

 .section-line {
   flex: 1;
   height: 1px;
   background: var(--border);
   max-width: 200px;
 }

 /* ─── ABOUT ─── */
 .about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 80px;
   align-items: start;
 }

 .about-text p {
   font-size: 1.05rem;
   font-weight: 300;
   color: #8a96b0;
   margin-bottom: 20px;
   line-height: 1.85;
 }

 .about-text p strong {
   color: var(--text);
   font-weight: 500;
 }

 .about-info {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 16px;
   margin-top: 40px;
 }

 .info-item {
   padding: 16px 20px;
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: 4px;
   transition: border-color 0.2s;
 }

 .info-item:hover {
   border-color: rgba(0, 229, 255, 0.3);
 }

 .info-label {
   font-size: 0.65rem;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   color: var(--muted);
   margin-bottom: 4px;
   font-family: 'JetBrains Mono', monospace;
 }

 .info-value {
   font-size: 0.9rem;
   font-weight: 500;
   color: var(--text);
 }

 .info-value a {
   color: var(--accent);
   text-decoration: none;
 }

 .about-image-side {
   position: relative;
 }

 .about-img-wrapper {
   position: relative;
   display: inline-block;
 }

 .about-img-wrapper::before {
   content: '';
   position: absolute;
   inset: -1px;
   background: linear-gradient(135deg, var(--accent), var(--accent2));
   border-radius: 4px;
   z-index: 0;
   opacity: 0.5;
 }

 .about-img-wrapper img {
   position: relative;
   z-index: 1;
   width: 100%;
   max-width: 400px;
   display: block;
   border-radius: 4px;
   filter: grayscale(20%);
   transition: filter 0.3s;
 }

 .about-img-wrapper:hover img {
   filter: grayscale(0%);
 }

 .about-badges {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 32px;
 }

 .badge {
   padding: 6px 14px;
   background: var(--tag-bg);
   border: 1px solid var(--tag-border);
   border-radius: 2px;
   font-size: 0.75rem;
   font-weight: 500;
   color: var(--accent);
   font-family: 'JetBrains Mono', monospace;
   letter-spacing: 0.05em;
 }

 /* ─── SKILLS ─── */
 .skills-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 24px;
 }

 .skill-card {
   background: var(--surface);
   border: 1px solid var(--border);
   padding: 32px;
   border-radius: 4px;
   transition: border-color 0.3s, transform 0.3s;
   position: relative;
   overflow: hidden;
 }

 .skill-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   background: linear-gradient(to right, var(--accent), var(--accent2));
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.3s;
 }

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

 .skill-card:hover {
   border-color: rgba(0, 229, 255, 0.2);
   transform: translateY(-4px);
 }

 .skill-icon {
   font-size: 1.5rem;
   margin-bottom: 16px;
   display: block;
 }

 .skill-category {
   font-family: 'Syne', sans-serif;
   font-weight: 700;
   font-size: 0.95rem;
   letter-spacing: 0.05em;
   margin-bottom: 16px;
   color: var(--text);
 }

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

 .skill-tag {
   padding: 4px 10px;
   background: rgba(255, 255, 255, 0.04);
   border: 1px solid var(--border);
   border-radius: 2px;
   font-size: 0.75rem;
   color: #8a96b0;
   font-family: 'JetBrains Mono', monospace;
   transition: color 0.2s, border-color 0.2s;
 }

 .skill-tag:hover {
   color: var(--accent);
   border-color: var(--tag-border);
 }

 /* ─── EXPERIENCE ─── */
 .timeline {
   position: relative;
 }

 .timeline::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   bottom: 0;
   width: 1px;
   background: linear-gradient(to bottom, var(--accent), transparent);
 }

 .timeline-item {
   padding-left: 40px;
   padding-bottom: 56px;
   position: relative;
 }

 .timeline-item::before {
   content: '';
   position: absolute;
   left: -4px;
   top: 6px;
   width: 9px;
   height: 9px;
   background: var(--accent);
   border-radius: 50%;
   box-shadow: 0 0 12px var(--accent);
 }

 .timeline-period {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.72rem;
   color: var(--accent);
   letter-spacing: 0.1em;
   text-transform: uppercase;
   margin-bottom: 8px;
 }

 .timeline-role {
   font-family: 'Syne', sans-serif;
   font-weight: 700;
   font-size: 1.2rem;
   margin-bottom: 4px;
 }

 .timeline-company {
   font-size: 0.9rem;
   color: var(--muted);
   margin-bottom: 16px;
   display: flex;
   align-items: center;
   gap: 8px;
 }

 .timeline-company .dot {
   width: 4px;
   height: 4px;
   background: var(--muted);
   border-radius: 50%;
   display: inline-block;
 }

 .timeline-desc {
   font-size: 0.93rem;
   color: #8a96b0;
   line-height: 1.75;
   margin-bottom: 16px;
 }

 .timeline-list {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 8px;
   margin-bottom: 16px;
 }

 .timeline-list li {
   font-size: 0.88rem;
   color: #7a8494;
   padding-left: 16px;
   position: relative;
 }

 .timeline-list li::before {
   content: '→';
   position: absolute;
   left: 0;
   color: var(--accent);
   font-size: 0.8rem;
 }

 .timeline-stack {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
 }

 .stack-tag {
   padding: 3px 10px;
   background: var(--tag-bg);
   border: 1px solid var(--tag-border);
   border-radius: 2px;
   font-size: 0.7rem;
   color: var(--accent);
   font-family: 'JetBrains Mono', monospace;
 }

 /* ─── PROJECTS ─── */
 .projects-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
   gap: 24px;
 }

 .project-card {
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: 4px;
   padding: 36px;
   transition: border-color 0.3s, transform 0.3s;
   position: relative;
   overflow: hidden;
   display: flex;
   flex-direction: column;
 }

 .project-card::after {
   content: '';
   position: absolute;
   top: 0;
   right: 0;
   width: 150px;
   height: 150px;
   background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
   pointer-events: none;
   transition: opacity 0.3s;
   opacity: 0;
 }

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

 .project-card:hover {
   border-color: rgba(0, 229, 255, 0.25);
   transform: translateY(-4px);
 }

 .project-num {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.65rem;
   color: var(--muted);
   letter-spacing: 0.12em;
   margin-bottom: 16px;
 }

 .project-name {
   font-family: 'Syne', sans-serif;
   font-weight: 700;
   font-size: 1.3rem;
   margin-bottom: 8px;
   letter-spacing: -0.01em;
 }

 .project-tagline {
   font-size: 0.78rem;
   color: var(--accent);
   font-weight: 500;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   margin-bottom: 16px;
 }

 .project-desc {
   font-size: 0.9rem;
   color: #7a8494;
   line-height: 1.75;
   flex: 1;
   margin-bottom: 24px;
 }

 .project-highlights {
   display: flex;
   flex-direction: column;
   gap: 6px;
   margin-bottom: 24px;
 }

 .project-highlights li {
   font-size: 0.82rem;
   color: #6b7894;
   list-style: none;
   padding-left: 16px;
   position: relative;
 }

 .project-highlights li::before {
   content: '▸';
   position: absolute;
   left: 0;
   color: var(--accent);
   font-size: 0.7rem;
 }

 .project-footer {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: auto;
   padding-top: 20px;
   border-top: 1px solid var(--border);
 }

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

 .project-links {
   display: flex;
   align-items: center;
   justify-content: flex-end;
   flex-wrap: wrap;
   gap: 14px;
 }

 .project-link {
   font-size: 0.75rem;
   color: var(--accent);
   text-decoration: none;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   display: flex;
   align-items: center;
   gap: 4px;
   white-space: nowrap;
   transition: gap 0.2s;
 }

 .project-link:hover {
   gap: 8px;
 }

 .project-card.featured {
   background: linear-gradient(135deg, var(--surface2) 0%, var(--surface) 100%);
   border-color: rgba(0, 229, 255, 0.2);
   grid-column: span 2;
 }

 .live-badge {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   font-size: 0.65rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #00e5a0;
   font-family: 'JetBrains Mono', monospace;
   margin-bottom: 12px;
 }

 .live-dot {
   width: 6px;
   height: 6px;
   background: #00e5a0;
   border-radius: 50%;
   animation: pulse 2s ease infinite;
 }

 @keyframes pulse {

   0%,
   100% {
     opacity: 1;
     transform: scale(1);
   }

   50% {
     opacity: 0.5;
     transform: scale(0.8);
   }
 }

 /* ─── EDUCATION ─── */
 .edu-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 24px;
 }

 .edu-card {
   background: var(--surface);
   border: 1px solid var(--border);
   padding: 36px;
   border-radius: 4px;
   transition: border-color 0.3s;
   position: relative;
 }

 .edu-card:hover {
   border-color: rgba(0, 229, 255, 0.2);
 }

 .edu-year {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   color: var(--accent);
   letter-spacing: 0.12em;
   text-transform: uppercase;
   margin-bottom: 12px;
 }

 .edu-degree {
   font-family: 'Syne', sans-serif;
   font-weight: 700;
   font-size: 1.1rem;
   margin-bottom: 8px;
 }

 .edu-school {
   font-size: 0.88rem;
   color: var(--muted);
   margin-bottom: 16px;
 }

 .edu-desc {
   font-size: 0.85rem;
   color: #6b7894;
   line-height: 1.7;
 }

 /* ─── CONTACT ─── */
 .contact-section {
   background: var(--surface);
   border-top: 1px solid var(--border);
   text-align: center;
   padding: 100px 60px;
   position: relative;
   overflow: hidden;
 }

 .contact-section::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 600px;
   height: 600px;
   background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
   pointer-events: none;
 }

 .contact-label {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.75rem;
   letter-spacing: 0.15em;
   color: var(--accent);
   text-transform: uppercase;
   margin-bottom: 20px;
   opacity: 0.8;
 }

 .contact-heading {
   font-family: 'Syne', sans-serif;
   font-size: clamp(2rem, 5vw, 4rem);
   font-weight: 800;
   letter-spacing: -0.02em;
   margin-bottom: 20px;
   line-height: 1.1;
 }

 .contact-sub {
   font-size: 1rem;
   color: var(--muted);
   margin-bottom: 48px;
   max-width: 500px;
   margin-left: auto;
   margin-right: auto;
 }

 .contact-links {
   display: flex;
   justify-content: center;
   gap: 20px;
   flex-wrap: wrap;
   margin-bottom: 48px;
 }

 .contact-link {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 14px 24px;
   background: var(--surface2);
   border: 1px solid var(--border);
   border-radius: 4px;
   color: var(--text);
   text-decoration: none;
   font-size: 0.88rem;
   font-weight: 500;
   transition: border-color 0.2s, color 0.2s, transform 0.2s;
 }

 .contact-link:hover {
   border-color: var(--accent);
   color: var(--accent);
   transform: translateY(-2px);
 }

 .contact-email {
   font-family: 'JetBrains Mono', monospace;
   font-size: 1rem;
   color: var(--accent);
   text-decoration: none;
   letter-spacing: 0.05em;
   transition: opacity 0.2s;
 }

 .contact-email:hover {
   opacity: 0.7;
 }

 /* ─── FOOTER ─── */
 footer {
   padding: 24px 60px;
   border-top: 1px solid var(--border);
   display: flex;
   justify-content: space-between;
   align-items: center;
   font-size: 0.78rem;
   color: var(--muted);
 }

 footer span {
   font-family: 'JetBrains Mono', monospace;
 }

 /* ─── ANIMATIONS ─── */
 @keyframes fadeUp {
   from {
     opacity: 0;
     transform: translateY(24px);
   }

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

 .reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.7s ease, transform 0.7s ease;
 }

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

 /* ─── MOBILE ─── */
 @media (max-width: 900px) {
   nav {
     padding: 16px 24px;
   }

   .nav-links {
     display: none;
   }

   .hero {
     padding: 120px 24px 80px;
   }

   .hero-stats {
     position: static;
     flex-direction: row;
     flex-wrap: wrap;
     gap: 32px;
     margin-top: 48px;
   }

   .stat {
     text-align: left;
   }

   .scroll-indicator {
     display: none;
   }

   section {
     padding: 70px 24px;
   }

   .about-grid {
     grid-template-columns: 1fr;
     gap: 40px;
   }

   .about-image-side {
     display: none;
   }

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

   .project-card.featured {
     grid-column: span 1;
   }

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

   footer {
     flex-direction: column;
     gap: 12px;
     text-align: center;
   }
 }

 /* ─── MARQUEE ─── */
 .marquee-wrap {
   overflow: hidden;
   background: var(--surface);
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   padding: 16px 0;
 }

 .marquee-track {
   display: flex;
   gap: 48px;
   width: max-content;
   animation: marquee 30s linear infinite;
 }

 .marquee-item {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.75rem;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--muted);
   white-space: nowrap;
   display: flex;
   align-items: center;
   gap: 16px;
 }

 .marquee-item::after {
   content: '◆';
   color: var(--accent);
   font-size: 0.5rem;
 }

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

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

 /* ─── CV DOWNLOAD BUTTON in NAV ─── */
 .nav-cv {
   display: flex;
   align-items: center;
   gap: 6px;
   font-size: 0.78rem;
   font-weight: 500;
   letter-spacing: 0.06em;
   text-transform: uppercase;
   color: var(--muted, #6b7894);
   border: 1px solid rgba(255, 255, 255, 0.1);
   padding: 8px 16px;
   text-decoration: none;
   border-radius: 2px;
   transition: border-color 0.2s, color 0.2s;
 }

 .nav-cv:hover {
   border-color: var(--accent, #00e5ff);
   color: var(--accent, #00e5ff);
 }

 /* ─── MOBILE BREAKPOINT ─── */
 @media (max-width: 900px) {
   .nav-links {
     display: none !important;
   }

   .nav-cv {
     display: none;
   }

   .hamburger {
     display: flex;
   }
 }

 /* Body lock when sidebar open */
 body.sidebar-open {
   overflow: hidden;
 }

 /* ─── NAV RIGHT CLUSTER ─── */
 .nav-right {
   display: flex;
   align-items: center;
   gap: 12px;
 }

 /* ─── NAV SCROLLED STATE ─── */
 nav.scrolled {
   padding-top: 12px;
   padding-bottom: 12px;
 }

 @media (max-width: 900px) {
   .nav-cta {
     display: none;
   }

   nav.scrolled {
     padding: 12px 24px;
   }
 }

 /* ─── HAMBURGER ─── */

 .hamburger {
   display: none;
   flex-direction: column;
   gap: 5px;
   width: 34px;
   height: 34px;
   background: none;
   border: none;
   cursor: pointer;
 }

 .hamburger span {
   width: 100%;
   height: 2px;
   background: var(--text);
 }


 /* ─── SIDEBAR ─── */

 .sidebar {
   position: fixed;
   top: 0;
   right: -260px;
   width: 260px;
   height: 100vh;
   background: var(--surface2);
   border-left: 1px solid var(--border);
   display: flex;
   flex-direction: column;
   padding: 100px 30px;
   gap: 28px;
   transition: right .3s ease;
   z-index: 300;
 }

 .sidebar.open {
   right: 0;
 }

 .sidebar-link {
   text-decoration: none;
   color: var(--text);
   font-size: 1rem;
   letter-spacing: .05em;
 }


 /* ─── OVERLAY ─── */

 .sidebar-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .6);
   opacity: 0;
   pointer-events: none;
   transition: opacity .3s;
   z-index: 250;
 }

 .sidebar-overlay.visible {
   opacity: 1;
   pointer-events: auto;
 }


 /* ─── MOBILE NAV ─── */

 @media(max-width:900px) {

   .nav-links {
     display: none;
   }

   .nav-cta {
     display: none;
   }

   .hamburger {
     display: flex;
   }

 }

 /* ─── SIDEBAR ─── */

 .sidebar {
   position: fixed;
   top: 0;
   right: -260px;
   width: 260px;
   height: 100vh;
   background: var(--surface2);
   border-left: 1px solid var(--border);
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   /* key change */
   padding: 100px 30px 40px;
   transition: right .3s ease;
   z-index: 300;
 }

 .sidebar.open {
   right: 0;
 }

 .sidebar-link {
   text-decoration: none;
   color: var(--text);
   font-size: 1rem;
   letter-spacing: .05em;
 }

 .sidebar-link-a {
   text-decoration: none;
   color: var(--text);
   font-size: 0.8rem;
   letter-spacing: .05em;
   padding: 8px 16px;
 }

 .sidebar-links {
   display: flex;
   flex-direction: column;
   gap: 28px;
 }

 .sidebar-footer {
   display: flex;
   flex-direction: column;
   gap: 14px;
   align-items: center;
   margin-bottom: 40%;
 }

 .sidebar-footer .nav-cta {
   display: inline-block;
 }

 /* ─── OVERLAY ─── */

 .sidebar-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .6);
   opacity: 0;
   pointer-events: none;
   transition: opacity .3s;
   z-index: 250;
 }

 .sidebar-overlay.visible {
   opacity: 1;
   pointer-events: auto;
 }


 /* ─── MOBILE NAV ─── */

 @media(max-width:900px) {

   .nav-links {
     display: none;
   }

   .nav-cta {
     display: none;
   }

   .sidebar-link-a {
     display: none;
   }

   .hamburger {
     display: flex;
   }

 }
