@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap");

:root {
    --bg: #0b0b0b;
    --ink: #e9e9e9;
    --muted: #9a9a9a;
    --accent: #F5C400;
    --nav-height: 64px;
}

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

hr {
  border: none;
  border-top: 1px solid #cccccc36;
  margin: 24px 920px;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    background-color: var(--bg);
    color: var(--ink);
}

.site-nav {
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-title {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
}

.nav-right {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
    margin-left: auto;
}

.nav-right a {
    position: relative;
    text-decoration: none;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 2px;
    transition: color 0.2s ease;
}

.nav-right a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-right a:hover,
.nav-right a:focus-visible {
    color: var(--ink);
}

.nav-right a:hover::after,
.nav-right a:focus-visible::after {
    transform: scaleX(1);
}

.hero {
    padding: 72px 24px 96px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-kicker {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.hero-title {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: 1px;
}

.hero-desc {
    margin: 0;
    color: var(--muted);
    max-width: 42ch;
    font-size: 14px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-primary {
    text-decoration: none;
    background: var(--accent);
    color: #0b0b0b;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--ink);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-media {
    display: flex;
    justify-content: center;
}

.hero-photo-wrap {
    position: relative;
    width: min(100%, 400px);
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(245, 196, 0, 0.28);
    border: 1px solid rgba(58, 160, 255, 0.18);
}

.hero-photo-accent {
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    border: 1px solid rgba(58, 160, 255, 0.12);
    pointer-events: none;
}

/* ── Sections base ── */
.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.section-title {
    margin: 0 0 48px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

/* ── Skills ── */
.skills-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.skills-group-label {
    margin: 0 0 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(58, 160, 255, 0.25);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--ink);
    letter-spacing: 0.3px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.skill-tag:hover {
    border-color: var(--accent);
    background: rgba(58, 160, 255, 0.06);
}

.skill-tag i {
    color: var(--accent);
    font-size: 13px;
}

/* ── Experience ── */
.exp-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exp-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease;
}

.exp-card:hover {
    border-color: rgba(58, 160, 255, 0.2);
}

.exp-cover {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #111;
}

.exp-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
}

.exp-cover--logo {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.exp-cover-logo {
    max-height: 64px;
    max-width: 60%;
    object-fit: contain;
    opacity: 0.9;
}

.exp-cover-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(58, 160, 255, 0.25);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.exp-cover-placeholder i {
    font-size: 22px;
    color: rgba(58, 160, 255, 0.4);
}

.exp-card--horizontal {
    display: flex;
    flex-direction: row;
}

.exp-cover--side {
    width: 280px;
    min-width: 280px;
    height: auto;
}

.exp-body {
    padding: 28px 32px 32px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.exp-company {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.exp-company-desc {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.exp-link {
    color: var(--accent);
    text-decoration: none;
}

.exp-link:hover {
    text-decoration: underline;
}

.exp-badge {
    flex-shrink: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    border: 1px solid rgba(58, 160, 255, 0.35);
    border-radius: 999px;
    padding: 4px 12px;
}

.exp-badge-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.exp-badge-link:hover {
    background: rgba(58, 160, 255, 0.1);
}

.exp-roles {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exp-role {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 14px 0;
}

.exp-role-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.exp-role-desc {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 52ch;
}

.exp-role-period {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-top: 2px;
}

.exp-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.about-text {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 48ch;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-facts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.fact-icon {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.fact-img-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(58, 160, 255, 0.2);
}

.fact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fact-img-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(58, 160, 255, 0.06);
    border: 1px dashed rgba(58, 160, 255, 0.25);
    border-radius: 10px;
    color: rgba(58, 160, 255, 0.4);
    font-size: 16px;
}

.fact-title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
}

.fact-sub {
    margin: 0 0 2px;
    font-size: 13px;
    color: var(--ink);
}

.fact-detail {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

/* ── Contact ── */
.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .nav-inner {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 48px 20px 72px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-media {
        justify-content: flex-start;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .exp-card--horizontal {
        flex-direction: column;
    }

    .exp-cover--side {
        width: 100%;
        height: 200px;
    }

    .exp-header {
        flex-direction: column;
        gap: 12px;
    }

    .exp-role {
        flex-direction: column;
        gap: 4px;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 56px 20px;
    }
}
