/* dm-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-mono-v16-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/dm-mono-v16-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* bebas-neue-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bebas-neue-v16-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/bebas-neue-v16-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* dm-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-mono-v16-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/dm-mono-v16-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


:root {
    --black: #000000;
    --white: #ffffff;
    --orange: #e9630a;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-400: #999999;
    --gray-600: #555555;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--black);
    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: 0 48px;
    height: 64px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-logo {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
  }

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

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

  .nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links-mobile-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        background: #000;
        width: 100%;
        padding: 0;
        margin: 0;
        top: 60px;
        left: 0;
        height: 100vh;
        height: 100dvh;
        opacity: 0;
        pointer-events: none;
        transition: opacity 200ms ease-in-out;
    }
    
    .nav-links-mobile-wrapper ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .nav-links-mobile-wrapper li a {
        font-family: "DM Sans";
        font-size: 28px;
        font-weight: 400;
        color: #fff;
        text-decoration: none;
        text-align: left;
        padding: 14px 0;
    
    }

    .nav-links-mobile-wrapper li  {
        padding: 14px 0;
        border-bottom: 1px solid #fff;
        width: calc(100% - 40px);
        margin-inline: auto;
    }
    .header-social-icons {
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: right;
        margin-right: 20px;
        margin-top: 12px;
    }
    .header-social-icons a {
        text-decoration: none;
        margin-bottom: 0;
        border-bottom: 0;
        padding: 0;
        gap: 1px;
    }
    .kmf_toggle_menu_icon {
        display: none;
        cursor: pointer;
    }

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

  .nav-icon {
    display: flex; align-items: center;
    color: var(--black);
    transition: color 0.2s;
  }

  .nav-icon:hover { color: var(--orange); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    padding-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-left {
    padding: 80px 48px 80px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--gray-200);
  }

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--orange);
  }

  .hero-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(64px, 7vw, 112px);
    line-height: 0.92;
    letter-spacing: 0.01em;
    color: var(--black);
    margin-bottom: 32px;
  }

  .hero-name em {
    font-style: normal;
    color: var(--orange);
  }

  .hero-bio {
    font-size: 15px;
    line-height: 1.75;
    color: var(--gray-600);
    max-width: 480px;
    margin-bottom: 48px;
    font-weight: 300;
  }

  .hero-actions {
    display: flex; align-items: center; gap: 24px;
  }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: var(--orange);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }

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

  .btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }

  .btn-ghost:hover { color: var(--orange); border-color: var(--orange); }

  .hero-right {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Decorative grid on right side */
  .hero-right::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--gray-200) 1px, transparent 1px),
      linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
    background-size: 48px 48px;
  }

  .hero-image-wrap {
    position: relative; z-index: 1;
    width: 300px; height: 380px;
  }

  .hero-image-placeholder {
    width: 100%; height: 100%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .hero-image-placeholder img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: top;
  }

  .hero-image-placeholder svg { color: var(--gray-400); }
  .hero-image-placeholder p {
    font-size: 12px;
    color: var(--gray-400);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.08em;
  }

  .hero-badge {
    position: absolute;
    bottom: -16px; right: -16px;
    width: 120px; height: 120px;
    background: var(--orange);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }

  .hero-badge strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    color: var(--white);
    line-height: 1;
  }

  .hero-badge span {
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'DM Mono', monospace;
    text-align: center;
    line-height: 1.3;
  }

  /* ── STATS BAR ── */
  .stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
  }

  .stat-item {
    padding: 36px 48px;
    border-right: 1px solid var(--gray-200);
  }

  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--black);
    line-height: 1;
    margin-bottom: 6px;
  }

  .stat-number span { color: var(--orange); }

  .stat-label {
    font-size: 12px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
  }

  /* ── SECTION ── */
  section { padding: 96px 48px; }

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

  .section-number {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--orange);
    letter-spacing: 0.1em;
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 0.02em;
    line-height: 1;
  }

  .section-line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
    margin-left: 20px;
  }

  /* ── SKILLS ── */
  .skills-section { background: var(--black); }

  .skills-section .section-title { color: var(--white); }
  .skills-section .section-number { color: var(--orange); }
  .skills-section .section-line { background: #333; }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #222;
  }

  .skill-card {
    background: var(--black);
    padding: 40px;
    transition: background 0.2s;
  }

  .skill-card:hover { background: #111; }

  .skill-icon {
    width: 44px; height: 44px;
    margin-bottom: 24px;
    color: var(--orange);
  }

  .skill-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    color: var(--white);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
  }

  .skill-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-400);
    font-weight: 300;
  }

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

  .skill-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid #333;
    padding: 4px 10px;
  }

  /* ── PROJECTS ── */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
  }

  .project-card {
    background: var(--white);
    padding: 48px;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
  }

  .project-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--orange);
    transition: width 0.3s ease;
  }

  .project-card:hover::before { width: 100%; }
  .project-card:hover { background: var(--gray-100); }

  .project-type {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
  }

  .project-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
  }

  .project-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 28px;
    font-weight: 300;
  }

  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s;
  }

  .project-link:hover { color: var(--orange); }

  /* ── EXPERIENCE ── */
  .experience-section { background: var(--gray-100); }

  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--gray-200);
    padding-left: 48px;
    margin-left: 24px;
  }

  .timeline-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -55px; top: 36px;
    width: 12px; height: 12px;
    background: var(--white);
    border: 2px solid var(--orange);
  }

  .timeline-year {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 10px;
  }

  .timeline-role {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
  }

  .timeline-org {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 14px;
    font-weight: 300;
  }

  .timeline-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 640px;
    font-weight: 300;
  }

  /* ── CONTACT ── */
  .contact-section {
    background: var(--black);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }

  .contact-left {
    padding: 96px 48px;
    border-right: 1px solid #222;
  }

  .contact-left .section-title { color: var(--white); }
  .contact-left .section-number { color: var(--orange); }

  .contact-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 48px;
    max-width: 400px;
    font-weight: 300;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    padding: 16px 0;
    border-bottom: 1px solid #1a1a1a;
    transition: color 0.2s;
  }

  .contact-link:hover { color: var(--orange); }

  .contact-link svg { color: var(--orange); flex-shrink: 0; }

  .contact-right {
    padding: 96px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .form-group { display: flex; flex-direction: column; gap: 8px; }

  .form-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-400);
  }

  .form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 12px 0;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s;
  }

  .form-input:focus { border-color: var(--orange); }

  .form-input::placeholder { color: #444; }

  textarea.form-input {
    resize: none;
    height: 100px;
  }

  .form-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--orange);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
    align-self: flex-start;
  }

  .form-submit:hover { background: #c95508; }

  /* ── FOOTER ── */
  footer {
    background: var(--black);
    border-top: 1px solid #111;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-copy {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #444;
  }

  .footer-copy span { color: var(--orange); }

  .footer-back {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-back:hover { color: var(--white); }

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

  .hero-eyebrow { animation: fadeUp 0.6s ease both; }
  .hero-name    { animation: fadeUp 0.6s 0.1s ease both; }
  .hero-bio     { animation: fadeUp 0.6s 0.2s ease both; }
  .hero-actions { animation: fadeUp 0.6s 0.3s ease both; }

  /* ── RESPONSIVE ── */
   @media (max-width: 767px) {
    .nav-links-mobile-wrapper {
        display: flex;
    }
    .nav-links {
        display: none;
    }
    .nav-icon {
        display: none;
    }
    .nav-links-mobile-wrapper.active {
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links-mobile-wrapper li {
        transform: translateY(-20px);
        filter: blur(6px);
        transition: 200ms ease-in-out;
        transition-delay: var(--td, 100ms);
    }
    .nav-links-mobile-wrapper.active li {
        transform: translateY(0);
        filter: blur(0);
    }
    
    .kmf_toggle_menu_icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 20px;
        height: 20px;
        position: relative;
    }
    .kmf_toggle_menu_icon span {
        width: 16px;
        height: 2px;
        background: #000;
        display: block;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .kmf_toggle_menu_icon.active span {
        transform: translateX(100px);
    }
    /* ACTIVE STATE */
.kmf_toggle_menu_icon.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.kmf_toggle_menu_icon.active span:nth-child(2) {
    opacity: 0;
}

.kmf_toggle_menu_icon.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
    }
  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .hero { grid-template-columns: 1fr; }
    .hero-right { min-height: 360px; }
    .hero-left { padding: 48px 24px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 28px 24px; }
    section { padding: 64px 24px; }
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-section { grid-template-columns: 1fr; }
    .contact-left { padding: 64px 24px; border-right: none; border-bottom: 1px solid #222; }
    .contact-right { padding: 64px 24px; }
    footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  }