  :root {
    --bg: #080b0f;
    --surface: #0e1318;
    --surface2: #141b24;
    --accent: #00e5ff;
    --accent2: #ff6b35;
    --accent3: #7dff8a;
    --text: #e8edf2;
    --muted: #6b7d8c;
    --border: rgba(0,229,255,0.12);
    --glow: rgba(0,229,255,0.15);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    cursor: none;
  }

  /* ─── CUSTOM CURSOR ─── */
  .cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    box-shadow: 0 0 8px var(--accent);
    transition: transform 0.12s ease, opacity 0.3s ease;
    will-change: left, top;
  }
  .cursor-trail {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: transform 0.15s ease, opacity 0.3s ease;
    will-change: left, top;
  }

  /* ─── NOISE TEXTURE ─── */
  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: 1000;
    opacity: 0.4;
  }

  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

  /* ─── NAVIGATION ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 500;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 4rem;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
  }
  nav.scrolled {
    background: rgba(8,11,15,0.88);
    border-color: var(--border);
    backdrop-filter: blur(20px);
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-links a:hover::after { width: 100%; }

  /* ─── HAMBURGER ─── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    background: none;
    border: none;
    padding: 4px;
    z-index: 600;
  }
  .nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform-origin: center;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ─── MOBILE DRAWER ─── */
  .nav-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(8,11,15,0.97);
    backdrop-filter: blur(24px);
    z-index: 490;
    padding: 5rem 2.5rem 3rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-drawer.open { transform: translateY(0); }
  .nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
  .nav-drawer ul a {
    display: block;
    padding: 1rem 0;
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.02em;
    transition: color 0.25s;
  }
  .nav-drawer ul a:hover { color: var(--accent); }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
  }

  .hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
  }
  @keyframes gridShift {
    0% { transform: translate(0,0); }
    100% { transform: translate(60px,60px); }
  }

  .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .orb1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,229,255,0.12), transparent 70%); top: -100px; left: -100px; animation: float1 8s ease-in-out infinite; }
  .orb2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,107,53,0.1), transparent 70%); bottom: -100px; right: -50px; animation: float2 10s ease-in-out infinite; }
  .orb3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(125,255,138,0.08), transparent 70%); top: 50%; left: 50%; animation: float3 7s ease-in-out infinite; }

  @keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.1); } }
  @keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-40px) scale(1.08); } }
  @keyframes float3 { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.2); } }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(100%, 1100px);
    padding: 0 2rem;
  }

  .hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 2px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: fadeDown 0.8s ease both;
    position: relative;
    overflow: hidden;
  }
  .hero-tag::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.1), transparent);
    animation: shimmer 2.5s ease infinite;
  }
  @keyframes shimmer { to { left: 100%; } }

  .hero-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 6.5vw, 7rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    animation: fadeUp 0.9s 0.2s ease both;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero-name .line1 { display: block; color: var(--text); }
  .hero-name .line2 { display: block; color: var(--accent); }

  .hero-subtitle {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--muted);
    margin: 1.5rem 0 2.5rem;
    animation: fadeUp 0.9s 0.35s ease both;
  }
  .hero-subtitle span { color: var(--accent2); font-style: normal; }

  .hero-contact {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.9s 0.5s ease both;
    margin-bottom: 3rem;
  }
  .hero-contact a {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    transition: color 0.3s;
  }
  .hero-contact a:hover { color: var(--accent); }

  .hero-cta {
    display: flex; gap: 1rem; justify-content: center;
    animation: fadeUp 0.9s 0.6s ease both;
  }
  .btn {
    padding: 0.85rem 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: none;
    display: inline-block;
  }
  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    border: 1px solid var(--accent);
  }
  .btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 30px rgba(0,229,255,0.3);
  }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
  }
  .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .scroll-indicator {
    position: absolute; bottom: 0.00000000000001rem; left: 50%; transform: translateX(-20%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    animation: fadeIn 1s 1s ease both;
  }
  .scroll-text { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
  .scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
  }
  @keyframes scrollLine { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.3; } }

  /* ─── SECTIONS ─── */
  section { padding: 6rem 4rem; position: relative; }

  .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .section-label::before {
    content: '';
    display: inline-block;
    width: 40px; height: 1px;
    background: var(--accent);
  }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 3rem;
  }

  /* ─── ABOUT ─── */
  #about {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
  }
  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .stat-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
  }
  .stat-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
  }
  .stat-card:hover { border-color: var(--accent); transform: translateY(-4px); }
  .stat-card:hover::before { transform: scaleX(1); }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
  }
  .stat-label { font-size: 0.65rem; color: var(--muted); margin-top: 0.4rem; letter-spacing: 0.1em; }

  .about-text p {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.25rem;
    opacity: 0.9;
  }

  /* Photo Gallery */
  .photo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: end;
  }
  .photo-frame-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .photo-frame-wrap.frame-gold {
    padding: 14px;
    background: linear-gradient(145deg, #b8860b, #ffd700, #8b6914, #daa520, #b8860b);
    border-radius: 4px;
    margin-top: 1.5rem;
    box-shadow:
      inset 0 0 0 2px rgba(255,255,255,0.35),
      inset 0 0 0 5px rgba(0,0,0,0.2),
      0 8px 32px rgba(0,0,0,0.5);
  }
  .photo-frame-wrap.frame-gold::before {
    content: '';
    position: absolute; inset: 5px;
    border: 1px solid rgba(255,220,80,0.5);
    border-radius: 2px;
    pointer-events: none;
    z-index: 2;
  }
  .photo-frame-wrap.frame-gold::after {
    content: '';
    position: absolute; inset: 8px;
    border: 1px solid rgba(120,80,0,0.4);
    border-radius: 1px;
    pointer-events: none;
    z-index: 2;
  }
  .photo-frame-wrap.frame-comic {
    padding: 10px 10px 36px 10px;
    background: #1a1a1a;
    border-radius: 3px;
    box-shadow:
      inset 0 0 0 2px #333,
      inset 0 0 0 4px #111,
      6px 8px 0 rgba(0,229,255,0.25),
      0 8px 32px rgba(0,0,0,0.6);
    position: relative;
  }
  .photo-frame-wrap.frame-comic .frame-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #555;
  }
  .photo-frame-wrap.frame-gold .frame-caption {
    position: absolute; bottom: -1.4rem; left: 0; right: 0;
    text-align: center;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 0.68rem;
    color: rgba(184,134,11,0.8);
    letter-spacing: 0.08em;
  }
  .photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 3/4;
    display: block;
    background: var(--surface2);
  }
  .photo-frame-wrap.frame-gold .photo-frame { aspect-ratio: 2/3; }
  .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
  .photo-frame-wrap:hover .photo-frame img { transform: scale(1.03); }
  /* Placeholder when no real image */
  .photo-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    gap: 0.75rem;
  }
  .photo-placeholder svg { opacity: 0.3; }

  .edu-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .edu-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s;
  }
  .edu-card:hover { border-color: rgba(0,229,255,0.4); background: rgba(0,229,255,0.04); }
  .edu-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    flex-shrink: 0;
  }
  .edu-card:nth-child(2) .edu-dot { background: var(--accent2); box-shadow: 0 0 8px var(--accent2); }
  .edu-card:nth-child(3) .edu-dot { background: var(--accent3); box-shadow: 0 0 8px var(--accent3); }
  .edu-name { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem; }
  .edu-detail { font-size: 0.65rem; color: var(--muted); margin-top: 0.2rem; }
  .edu-score { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--accent); white-space: nowrap; }

  /* ─── EXPERIENCE ─── */
  #experience { max-width: 1200px; margin: 0 auto; }
  .exp-timeline { position: relative; }
  .exp-timeline::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
  }
  .exp-item {
    padding: 0 0 3.5rem 3rem;
    position: relative;
    transition: all 0.6s ease;
  }
  .exp-item.hidden { opacity: 0; transform: translateX(-20px); }
  .exp-item.visible { opacity: 1; transform: translateX(0); }
  .exp-item::before {
    content: '';
    position: absolute; left: -4px; top: 6px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
  }
  .exp-period { font-size: 0.65rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
  .exp-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 0.3rem; }
  .exp-company { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
  .exp-company span { color: var(--accent2); }
  .exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .exp-bullets li {
    font-size: 0.82rem; color: #a0aab4; line-height: 1.6;
    padding-left: 1.2rem; position: relative;
  }
  .exp-bullets li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-size: 1rem; }
  .badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(125,255,138,0.1);
    border: 1px solid rgba(125,255,138,0.3);
    border-radius: 2px;
    font-size: 0.6rem;
    color: var(--accent3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 0.5rem;
    vertical-align: middle;
  }

  /* ─── PROJECTS ─── */
  #projects {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .projects-wrapper { max-width: 1200px; margin: 0 auto; }
  .projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .project-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
  }
  .project-card.hidden { opacity: 0; transform: translateY(30px); }
  .project-card.visible { opacity: 1; transform: translateY(0); }
  .project-card:hover {
    border-color: rgba(0,229,255,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,229,255,0.08);
  }
  .project-card::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,229,255,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .project-card:hover::after { opacity: 1; }
  .project-num { font-family: 'Syne', sans-serif; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em; margin-bottom: 1rem; }
  .project-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.3; margin-bottom: 1rem; color: var(--text); }
  .project-desc { font-size: 0.78rem; line-height: 1.7; color: #8a9aa8; margin-bottom: 1.5rem; }
  .project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
  .tag {
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--accent);
  }
  .tag.orange { background: rgba(255,107,53,0.08); border-color: rgba(255,107,53,0.2); color: var(--accent2); }
  .tag.green { background: rgba(125,255,138,0.08); border-color: rgba(125,255,138,0.2); color: var(--accent3); }
  .project-link {
    position: absolute; top: 1.5rem; right: 1.5rem;
    color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.3s;
  }
  .project-link:hover { color: var(--accent); }

  /* ─── SKILLS ─── */
  #skills { max-width: 1200px; margin: 0 auto; }
  .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
  .skill-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.75rem;
    transition: all 0.3s;
  }
  .skill-group:hover { border-color: rgba(0,229,255,0.3); }
  .skill-group-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .skill-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .pill {
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface2);
    transition: all 0.3s;
    cursor: default;
  }
  .pill:hover {
    border-color: var(--accent); color: var(--accent);
    background: rgba(0,229,255,0.05); transform: translateY(-2px);
  }

  /* ─── ACTIVITIES ─── */
  #activities {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .activities-wrapper { max-width: 1200px; margin: 0 auto; }
  .activities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .activity-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem;
    display: flex; gap: 1.5rem; align-items: flex-start;
    transition: all 0.4s;
  }
  .activity-card:hover { border-color: rgba(0,229,255,0.35); transform: translateY(-4px); }
  .activity-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
  }
  .activity-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; }
  .activity-sub { font-size: 0.7rem; color: var(--muted); margin-bottom: 0.25rem; }
  .activity-period { font-size: 0.65rem; color: var(--accent); letter-spacing: 0.1em; }

  /* ─── FOOTER ─── */
  footer {
    padding: 4rem;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border);
  }
  footer::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 200px; height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
  }
  .footer-name {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,229,255,0.3);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
  }
  .footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 2rem; }
  .footer-links a {
    color: var(--muted); font-size: 0.65rem; letter-spacing: 0.15em;
    text-transform: uppercase; text-decoration: none; transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--accent); }
  .footer-copy { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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

  /* ─── GLITCH ─── */
  .glitch { position: relative; animation: glitch 5s infinite; }
  @keyframes glitch {
    0%,90%,100% { transform: none; }
    92% { transform: translate(-2px,1px) skew(-0.5deg); }
    94% { transform: translate(2px,-1px) skew(0.5deg); }
    96% { transform: translate(-1px,2px); }
    98% { transform: translate(1px,-2px); }
  }

  /* ─── TYPING CURSOR ─── */
  .typing-cursor::after { content: '_'; color: var(--accent); animation: blink 1s step-end infinite; }
  @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    nav { padding: 1.25rem 2.5rem; }
    section { padding: 5rem 2.5rem; }
    #hero { padding: 6rem 2.5rem 4rem; }
    .about-grid { gap: 3rem; }
    .projects-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .skills-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .exp-item { padding-left: 2.5rem; }
    footer { padding: 3.5rem 2.5rem; }
  }

  @media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-trail { display: none; }
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-drawer { display: block; }
    section { padding: 4rem 1.25rem; }
    #hero { padding: 5.5rem 1.25rem 3.5rem; }
    .hero-content { text-align: center; }
    .hero-name { font-size: clamp(1.6rem, 9.5vw, 3.5rem); }
    .hero-tag { font-size: 0.6rem; }
    .hero-contact { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 260px; text-align: center; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .photo-gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-num { font-size: 2rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { padding: 1.5rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .skill-group { padding: 1.25rem; }
    .activities-grid { grid-template-columns: 1fr; }
    .activity-card { padding: 1.5rem; gap: 1rem; }
    .exp-item { padding-left: 2rem; padding-bottom: 2.5rem; }
    .exp-title { font-size: 1.1rem; }
    footer { padding: 3rem 1.25rem; }
    .footer-name { font-size: clamp(1.5rem, 8vw, 2.5rem); -webkit-text-stroke-width: 0.5px; }
    .footer-links { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.5rem); margin-bottom: 2rem; }
    .edu-card { grid-template-columns: auto 1fr; gap: 0.75rem; }
    .edu-score { display: none; }
  }

  @media (max-width: 480px) {
    section { padding: 3.5rem 1rem; }
    #hero { padding: 5rem 1rem 3rem; }
    nav { padding: 0.85rem 1rem; }
    .hero-name { font-size: clamp(1.4rem, 10vw, 2.8rem); }
    .photo-gallery { grid-template-columns: 1fr; gap: 2rem; }
    .photo-frame-wrap.frame-gold { margin-top: 0; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .hero-contact a { font-size: 0.65rem; }
    .hero-contact { gap: 0.5rem; }
    .project-card { padding: 1.25rem; }
    .project-name { font-size: 1rem; }
    .activity-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .activity-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .exp-bullets li { font-size: 0.76rem; }
    .footer-links { flex-direction: column; align-items: center; gap: 0.75rem; }
  }
/* ─── CONTACT ─── */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-wrapper { max-width: 1200px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s;
}
.contact-links a:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.form-group input,
.form-group textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.form-status {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  min-height: 1.2rem;
  margin-top: 0.25rem;
}
.form-status.success { color: var(--accent3); }
.form-status.error   { color: var(--accent2); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* COIN ANIMATION */

* {
  box-sizing : border-box;
}

.animation-container {
  display: relative;
  width : 200px;
  height : 300px;
}

.container {
  position: relative;
  top : 30px;
  height : 300px;
  width : 190px;
  transform : scale(0.5) translateX(0) scaleY(0.7);
}

.y-axis-container {
  animation: bounce 2.6s infinite ease-in-out;
}

.shadow {
  animation: scaling 2.6s infinite ease-in-out;
}

.coin {
  position : absolute;
  height : 300px;
  left : 0;
  width: 170px;
  background : gold;
  border-radius : 100%;
  overflow : hidden;
}

.side-coin {
  position : absolute;
  left : 85px;
  height : 300px;
  width: 35px;
  background : #f5b642;
}

.side {
  position: absolute;
  background : #f5b642;
  left : 22px;
  width : 165px;
  height : 304px;
  top: -2px;
}

.shine {
  width : 400px;
  height : 20px;
  background : rgba(255,255,255,0.65);
  transform: rotate(25deg);
  animation : shine 5s infinite; 
}

.flash {
  z-index: 200;
  position : absolute;
  width : 15px;
  height : 15px;
  background : white;
  top: 30px;
  right : 20px;
  animation : flash 7s infinite;
}

.dai {
  position : absolute;
  width: 100px;
  height : 100px;
  background : #faf20a;
  border: 1px solid white;
  transform : rotate(53deg) skew(26deg);
  top: 94px;
  left : 35px;
  overflow : hidden;
}

.cutout {
  z-index : 20;
  width : 150%;
  height : 150%;
  background : #ffee38;
  transform : rotate(45deg);
  position : absolute;
  top : 29px;
  left : 29px;
}

.dai-shadow {
  z-index : 20;
  width : 150%;
  height : 150%;
  background : rgba(0,0,0,0.07);
  transform : rotate(45deg);
  position : absolute;
  top : 29px;
  right : 29px;
}

.inner-dai {
  position : relative;
  background : white;
  height : 70px;
  width: 70px;
  top : 15px;
  left : 15px;
}

.inner-inner-dai {
  position : relative;
  background : #ffee38;
  width: 20px;
  height : 20px;
  top : 25px;
  left : 25px;
}

.shadow { 
  position : relative;
  left : calc(50% - 60px);
  top : -40px;
  background : rgba(0,0,0,0.2);
  height : 30px;
  width : 100px;
  animation : scaling 2.6s infinite;
  border-radius: 100%;
}

@keyframes bounce {
  20% {
    animation-timing-function: ease-out;
    transform: translateY(-60px);
  }
  
  50% {
    animation-timing-function: ease-out;
    transform: translateY(-80px);
  }
}

@keyframes scaling {
  20% {
    transform: scale(0.6);
  }
  
  50% {
    transform: scale(0.5);
  }
}

@keyframes flash {
  0% {
    transform : rotate(0deg) scale(0);
  }
  8% {
    transform : rotate(0deg) scale(0);
  }
  10% {
    transform : rotate(150deg) scale(1.8);
  }
  15% {
    transform : rotate(45deg) scale(0);
  }
  100% {
    transform : rotate(45deg) scale(0);
  }
}


@keyframes shine {
  20% {
    transform : rotate(25deg) translateY(400px);
  }
  
  100% {
    transform : rotate(25deg) translateY(400px);
  }
}
.coin-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-53deg); 
  /* rotate opposite of .dai so text looks straight */

  font-size: 40px;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: #fff8dc;
  text-shadow:
    0 2px 2px rgba(0,0,0,0.4),
    0 0 10px rgba(255,255,255,0.3);
  z-index: 50;
}
.coin-text {
  color: #fff8dc;
  text-shadow:
    0 2px 2px rgba(0,0,0,0.4),
    0 0 10px rgba(255,255,255,0.3);
}
.activity-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.activity-icon img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  padding: 5px;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 10px rgba(0,229,255,0.3);
}
.activity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}