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

  .orb{
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
  }

  .orb1{
    width:400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    left: -100px;
  }

  .orb2{
    width: 350px;
    height: 350px;
    background: var(--accent2);
    bottom: -100px;
    right: -100px;
  }

  :root {
    --bg: #0a0a0a;
    --surface: #111111;
    --surface2: #181818;
    --border: #242424;
    --text: #f0ede8;
    --muted: #6b6760;
    --accent: #c8f060;
    --accent2: #60c8f0;
    --accent3: #f06090;

    --container-padding: clamp(1rem, 4vw, 3rem);
  }

  html { scroll-behavior: smooth; }
  html { 
    font-size: clamp(14px, 1vw, 16px);
  }

  img{
    max-width: 100%;
    height: auto;
  }

  *{
    min-width: 0;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    line-height: 1.6;
    overflow-x: clip;
  }

  /* Noise texture overlay */
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' 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: 9999;
    opacity: 0.4;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-size: 0.8rem;
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.8rem;
    font-family: 'DM Mono', monospace;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s;
  }

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

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6rem var(--container-padding) 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero-bg-number {
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
    font-size: clamp(8rem, 28vw, 32rem);
    opacity: 0.3;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px #1f1f1f;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
  }

  .hero-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
  }

  .hero-name {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
  }

  @media (max-width: 480px) {
    .hero-name {
      font-size: clamp(1.8rem, 9vw, 3rem);
      letter-spacing: -0.02em;
      line-height: 1.05;
    }
  }

  .hero-name em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px var(--text);
  }

  .hero-desc {
    margin-top: 2rem;
    max-width: 480px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
  }

  .hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--accent);
    color: #0a0a0a;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform 0.2s, background 0.2s;
  }

  .btn-primary:hover { transform: translateY(-2px); background: #d4f570; }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: border-color 0.2s, color 0.2s;
  }

  .btn-secondary:hover { border-color: var(--text); color: var(--text); }

  .hero-scroll {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.2s forwards;
  }

  .hero-scroll span {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
  }

  .scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  /* ─── SECTIONS ─── */
  section {
    padding: 7rem var(--container-padding);
    border-top: 1px solid var(--border);
  }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 80px;
  }

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

  .about-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .about-headline span { color: var(--accent); }

  .about-body { color: var(--muted); line-height: 1.8; font-size: 0.95rem; }
  .about-body p + p { margin-top: 1rem; }

  .stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }

  .stat-item {
    min-width: 100px;
  }
  .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
  }

  .stat-num span { color: var(--accent); }
  .stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
  }

  /* ─── SKILLS ─── */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .skill-card {
    background: var(--bg);
    padding: 2rem;
    transition: background 0.2s;
  }

  .skill-card:hover { background: var(--surface); }

  .skill-card-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: border-color 0.2s, background 0.2s;
  }

  .skill-card:hover .skill-card-icon {
    border-color: var(--accent);
    background: rgba(200,240,96,0.07);
  }

  .skill-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-size: 0.75rem;
  }

  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .skill-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    color: var(--muted);
    letter-spacing: 0.05em;
  }

  /* ─── PROJECTS ─── */
  .projects-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }

  .project-card {
    text-decoration: none;
    color: inherit;
    background: var(--bg);
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
    transition: background 0.2s;
    cursor: default;
  }

  .project-card:hover { background: var(--surface); }

  .project-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    padding-top: 0.2rem;
    min-width: 2rem;
  }

  .project-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
  }

  .project-content p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
  }

  .project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
  }

  .stack-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    padding: 0.2rem 0.55rem;
    background: var(--surface2);
    color: var(--accent2);
    border: 1px solid rgba(96,200,240,0.15);
    letter-spacing: 0.05em;
  }

  .project-arrow {
    font-size: 1.2rem;
    color: var(--border);
    transition: color 0.2s, transform 0.2s;
    padding-top: 0.2rem;
  }

  .project-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-preview {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface2);
}

.project-preview img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.03);
}

.project-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s ease;
}

.project-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(200,240,96,0.05);
}

.project-btn.primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  font-weight: 700;
}

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

  .project-card:hover .project-arrow { color: var(--accent); transform: translate(3px, -3px); }

.preview-toggle {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.55rem 0.9rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preview-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.project-preview-wrapper {
  position: relative;

  width: 100%;
  max-width: 900px;

  margin-top: 1.5rem;
  margin-inline: auto;

  overflow: hidden;

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

  background: #111;
}

.project-preview-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 220px;
  max-height: 500px;
  background: #0a0a0a;
}

.preview-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  opacity: 0;

  transition: opacity 0.35s ease;
}

.preview-image.active {
  opacity: 1;
}

.preview-arrow {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 50%;

  background: rgba(0,0,0,0.7);
  color: white;

  cursor: pointer;

  z-index: 100;
}

.preview-arrow.prev {
  left: 14px;
}

.preview-arrow.next {
  right: 14px;
}

.preview-arrow:hover {
  background: var(--accent);
  color: black;
}

.project-arrow-link{
  text-decoration: none;
}

.project-preview-wrapper{
  display: none;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}
.project-preview-wrapper.active{
  display:block;
}
  /* ─── EXPERIENCE ─── */
  .exp-list { display: flex; flex-direction: column; gap: 0; }

  .exp-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
  }

  .exp-date {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    padding-top: 0.25rem;
  }

  .exp-company {
    font-size: 0.65rem;
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
  }

  .exp-role {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
  }

  .exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .exp-bullets li {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
  }

  .exp-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--border);
  }

  /* ─── EDUCATION ─── */
  .edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .edu-card {
    background: var(--bg);
    padding: 2rem;
  }

  .edu-degree {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
  }

  .edu-school {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
  }

  .edu-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .edu-year {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.08em;
  }

  .edu-score {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.06em;
  }

  /* ─── CERTS ─── */
  .certs-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .cert-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--muted);
    transition: border-color 0.2s, color 0.2s;
  }

  .cert-pill:hover { border-color: var(--accent); color: var(--text); }

  .cert-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ─── CONTACT ─── */
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .contact-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .contact-headline span { color: var(--accent); }

  .contact-links { display: flex; flex-direction: column; gap: 1rem; }

  .contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
  }

  .contact-link:hover { border-color: var(--accent); background: rgba(200,240,96,0.04); }

  .contact-link-left { display: flex; flex-direction: column; gap: 0.15rem; }

  .contact-link-type {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .contact-link-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
  }

  .contact-link-arrow {
    color: var(--muted);
    font-size: 1rem;
    transition: transform 0.2s, color 0.2s;
  }

  .contact-link:hover .contact-link-arrow { transform: translate(3px,-3px); color: var(--accent); }

  /* ─── FOOTER ─── */
  footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer span {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.08em;
  }

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

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

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

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

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {

  nav{
    padding: 1rem var(--container-padding);
  }

  .nav-links{
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero{
    padding: 6rem var(--container-padding) 4rem;
  }

  section{
    padding: 4.5rem var(--container-padding);
  }

  .about-grid,
  .contact-inner{
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-card{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-arrow-link{
  display: flex;
  align-items: center;
  justify-content: center;
}

  .project-arrow-link{
    width: fit-content;
    margin-top: 0.5rem;
  }

  .project-arrow{
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    font-size: 1rem;

    color: var(--text);
    background: var(--surface);
  }

  .project-num{
    margin-bottom: -0.5rem;
  }

  .exp-item{
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  footer{
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding-block: 1.5rem;
  }

  .hero-bg-number{
    font-size: 32vw;
    right: -0.5rem;
    top: 42%;
  }

  .stats-row{
    gap: 1.5rem;
  }

  .contact-headline{
    font-size: clamp(2.5rem, 12vw, 4rem);
    line-height: 0.95;
  }

  .orb{
    filter: blur(60px);
    opacity: 0.05;
  }

}

@media (max-width: 520px){

  .hero-cta{
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary{
    width: 100%;
    justify-content: center;
  }

  .preview-arrow{
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .nav-links a{
    font-size: 0.7rem;
  }

}
