@charset "utf-8";
/* CSS Document */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #111418;
    --bg2: #161b22;
    --surface: #1c2330;
    --surface2: #212b38;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e2ddd6;
    --text-dim: rgba(226, 221, 214, 0.48);
    --text-mid: rgba(226, 221, 214, 0.75);
    --teal: #5ec4b0;
    --teal-dim: rgba(94, 196, 176, 0.12);
    --teal-glow: rgba(94, 196, 176, 0.06);
    --warm: #e8a87c;
    --warm-dim: rgba(232, 168, 124, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
    z-index: 0;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 56px;
    background: rgba(17, 20, 24, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 9px 22px !important;
    background: var(--teal) !important;
    color: #0e1c18 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    opacity: 0.88 !important;
    transform: translateY(-1px) !important;
}

/* WRAP */
.wrap-main {
    position: relative;
    margin: 0 auto;
    width: min(1600px, 100%);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 56px 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(94, 196, 176, 0.07) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 168, 124, 0.05) 0%, transparent 70%);
    bottom: -50px;
    left: 50px;
}

.hero-inner {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
}

.hero-photo img {
    max-height: 100vh;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-photo img.photo-visible {
    opacity: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-dim);
    border: 1px solid rgba(94, 196, 176, 0.25);
    border-radius: 100px;
    padding: 6px 18px 6px 10px;
    margin-bottom: 40px;
    opacity: 0;
    animation: slideIn 0.7s 0.2s forwards;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}

.hero-badge span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--teal);
    letter-spacing: 0.08em;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.4
    }
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(52px, 6.5vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    opacity: 0;
    animation: slideIn 0.8s 0.4s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--teal);
}

.hero-title .name-dim {
    color: var(--text-mid);
}

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 580px;
    margin-bottom: 48px;
    opacity: 0;
    animation: slideIn 0.8s 0.6s forwards;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideIn 0.8s 0.8s forwards;
}

.btn-main {
    padding: 14px 32px;
    background: var(--teal);
    color: #0d1e1b;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(94, 196, 176, 0.2);
}

.btn-main:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(94, 196, 176, 0.3);
}

.btn-outline {
    padding: 13px 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-mid);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.hero-tags {
    display: flex;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideIn 0.8s 1.0s forwards;
}

.tag {
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

/* STATS */
.stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
}

.stat {
    padding: 40px 48px;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}

.stat:last-child {
    border-right: none;
}

.stat:hover {
    background: var(--surface);
}

.stat-n {
    font-family: 'Fraunces', serif;
    font-size: 46px;
    font-weight: 400;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-l {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
}

/* SECTIONS */
section {
    position: relative;
    z-index: 1;
    padding: 96px 56px;
}

.section-label {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 52px;
}

.section-label-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--teal);
    letter-spacing: 0.15em;
}

.section-label-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-label-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* WORK */
#work {
    background: var(--bg);
}

.work-hero-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 56px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    transition: border-color 0.3s;
}

.work-hero-card:hover {
    border-color: rgba(94, 196, 176, 0.3);
}

.work-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 50%, rgba(94, 196, 176, 0.07) 0%, transparent 55%),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(94, 196, 176, 0.025) 60px, rgba(94, 196, 176, 0.025) 61px),
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(94, 196, 176, 0.025) 60px, rgba(94, 196, 176, 0.025) 61px);
    pointer-events: none;
}

.work-hero-content {
    position: relative;
    z-index: 1;
}

.work-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--teal);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    background: var(--teal-dim);
    border-radius: 4px;
    padding: 4px 10px;
}

.work-hero-name {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.05;
}

.work-hero-name span {
    font-style: italic;
    color: var(--teal);
}

.work-hero-desc {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 28px;
    font-weight: 300;
}

.work-hero-clients {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.client-chip {
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
}

.work-hero-visual {
    position: relative;
    z-index: 1;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 120px;
    color: rgba(94, 196, 176, 0.12);
    font-weight: 300;
    letter-spacing: -0.1em;
    flex-shrink: 0;
    user-select: none;
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.work-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.work-card:hover {
    border-color: rgba(94, 196, 176, 0.25);
    transform: translateY(-4px);
    background: var(--surface2);
}

.work-card-icon {
    font-size: 28px;
    margin-bottom: 18px;
}

.work-card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--teal);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.work-card-title {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.2;
}

.work-card-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    font-weight: 300;
}

/* SKILLS */
#skills {
    background: var(--bg2);
}

.skills-intro {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-mid);
    max-width: 620px;
    line-height: 1.65;
    margin-bottom: 52px;
}

.skills-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skills-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    transition: border-color 0.25s;
}

.skills-group:hover {
    border-color: rgba(94, 196, 176, 0.22);
}

.skills-group-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-group-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    opacity: 0.7;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-name {
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 400;
    min-width: 150px;
}

.skill-bar {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), rgba(94, 196, 176, 0.45));
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-fill.animated {
    width: var(--w);
}

/* EXPERIENCE */
#experience {
    background: var(--bg);
}

.exp-grid {
    display: grid;
    gap: 12px;
}

.exp-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 32px;
    align-items: start;
    transition: border-color 0.25s, background 0.25s;
}

.exp-item:hover {
    border-color: rgba(94, 196, 176, 0.2);
    background: var(--surface2);
}

.exp-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    padding-top: 3px;
}

.exp-company {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.exp-role {
    font-size: 13px;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 12px;
}

.exp-desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.65;
    font-weight: 300;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.exp-tag {
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
}

/* CONTACT */
#contact {
    background: var(--bg2);
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 72px;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(94, 196, 176, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.contact-card>* {
    position: relative;
    z-index: 1;
}

.contact-hi {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--teal);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}

.contact-heading em {
    font-style: italic;
    color: var(--teal);
}

.contact-body {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email {
    display: inline-block;
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 36px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--teal);
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.contact-email:hover {
    color: var(--teal);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-dim);
}

/* FOOTER */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 28px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-dim);
}

.footer-copy span {
    color: var(--teal);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal);
}

/* ANIMATIONS */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    nav {
        padding: 18px 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    section {
        padding: 72px 24px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 28px 24px;
    }

    .work-hero-card {
        grid-template-columns: 1fr;
        padding: 36px;
    }

    .work-hero-visual {
        display: none;
    }

    .work-cards {
        grid-template-columns: 1fr;
    }

    .skills-groups {
        grid-template-columns: 1fr;
    }

    .skill-name {
        min-width: 120px;
    }

    .exp-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .exp-tags {
        justify-content: flex-start;
    }

    .contact-card {
        padding: 40px 28px;
    }

    footer {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding: 24px;
    }
}