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

  :root {
    --bg: #0a0a0b;
    --bg2: #111113;
    --bg3: #1a1a1d;
    --border: rgba(255,255,255,0.07);
    --border2: rgba(255,255,255,0.13);
    --text: #f0ede8;
    --muted: #7a7775;
    --accent: #c8a96e;
    --accent2: #e8d5b0;
    --red: #c45e4a;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: linear-gradient(to bottom, var(--bg) 60%, transparent);
  }

  .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.12em;
    color: var(--text);
    text-decoration: none;
  }

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

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

  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    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: 80px 40px 60px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 70% 30%, rgba(200,169,110,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 70%, rgba(196,94,74,0.06) 0%, transparent 60%);
  }

  .hero-index {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(72px, 12vw, 140px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 32px;
  }

  .hero-title .line2 {
    color: transparent;
    -webkit-text-stroke: 1px rgba(200,169,110,0.5);
    display: block;
  }

  .hero-sub {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }

  .hero-desc {
    max-width: 380px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-desc strong { color: var(--accent); font-weight: 500; }

  .hero-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
  }

  .hero-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
  }

  .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
  }

  .scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--muted), transparent);
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
  }

  /* DIVIDER */
  .section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    margin: 60px 0 40px;
  }

  .divider-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }

  .divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  /* ABOUT */
  .about-section {
    padding: 20px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .about-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 120px;
    line-height: 1;
    color: var(--bg3);
    -webkit-text-stroke: 1px var(--border2);
    user-select: none;
  }

  .about-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .about-content h2 em { color: var(--accent); font-style: italic; }

  .about-content p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 16px;
  }

  .skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
  }

  .skill-pill {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid var(--border2);
    color: var(--muted);
    transition: all 0.2s;
  }

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

  /* PROJECTS */
  .projects-section {
    padding: 0 40px 80px;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
  }

  .project-card {
    background: var(--bg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

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

  .project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  }

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

  .project-card.featured {
    grid-column: span 2;
    min-height: 200px;
  }

  .project-num {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 20px;
  }

  .project-title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .project-card.featured .project-title { font-size: 42px; }

  .project-desc {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    flex: 1;
    margin: 12px 0 24px;
  }

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

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

  .tag {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 3px 8px;
  }

  .project-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.2s;
    font-size: 14px;
    flex-shrink: 0;
  }

  .project-card:hover .project-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
  }

  /* STATS */
  .stats-section {
    padding: 0 40px 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
  }

  .stat-card {
    background: var(--bg);
    padding: 32px 24px;
  }

  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* CONTACT */
  .contact-section {
    padding: 60px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .contact-bg-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 180px;
    color: transparent;
    -webkit-text-stroke: 1px var(--border2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
  }

  .contact-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }

  .contact-section h2 em { color: var(--accent); font-style: italic; }

  .contact-section p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: all 0.25s;
    background: transparent;
    font-family: 'DM Mono', monospace;
  }

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

  /* FOOTER */
  footer {
    border-top: 1px solid var(--border);
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .footer-links {
    display: flex;
    gap: 24px;
  }

  .footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

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

  /* CURSOR DOT */
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: screen;
  }