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

:root {
    --gold:       #C8A45D;
    --gold-lt:    #DFC08A;
    --cream:      #FAF7F2;
    --dark:       #0E0B08;
    --dark-mid:   #1A140E;
    --dark-panel: #150F09;
    --muted:      rgba(250,247,242,0.45);
    --border:     rgba(200,164,93,0.18);
}

html, body {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--dark);
    color: var(--cream);
}

/* ── NAV ── */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10,8,5,0.88), transparent);
}

nav {
    display: flex;
    justify-content: flex-end;
    padding: 22px 60px;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
}

nav ul li {
    display: inline-flex;
    align-items: center;
    position: relative;
}

nav ul li:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(200,164,93,0.4);
    margin: 0 24px;
    display: inline-block;
    flex-shrink: 0;
}

nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: rgba(250,247,242,0.7);
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.35s ease;
}

nav a:hover { color: var(--cream); }
nav a:hover::after { width: 100%; }

nav a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
    flex-shrink: 0;
}

/* ── PAGE WRAPPER ── */
#page-content {
    display: flex;
    flex-direction: column;
}

#about {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* ── ROW BASE ── */
.row,
.about-row-2 {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ════════════════════════════
   ROW 1 — HERO
   ════════════════════════════ */
.row1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

/* subtle texture lines */
.row1::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse at 50% 60%, rgba(200,164,93,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.about-content1 {
    position: relative;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* eyebrow above the title */
.about-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
}

h1.about {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(56px, 10vw, 130px);
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--cream);
    line-height: 1;
}

/* gold rule below title */
.about-content1::after {
    content: "";
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    display: block;
}

/* ════════════════════════════
   ROW 2 — ARBEN
   ════════════════════════════ */
.about-col-1 {
    width: 45%;
    min-height: 100vh;
    background: url("../images/portrait_a.png") center center / cover no-repeat;
    background-color: #1a1410;
    position: relative;
}

/* vignette on portrait */
.about-col-1::after,
.about-col-4::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,8,5,0.25), transparent);
    pointer-events: none;
}

.about-accent {
    width: 3px;
    min-height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    flex-shrink: 0;
}

.about-content {
    width: calc(55% - 3px);
    background: var(--dark-panel);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 3rem 3rem;
    text-align: center;
}

/* ════════════════════════════
   ROW 3 — KELVIN
   ════════════════════════════ */
.about-row-2 {
    border-top: 1px solid var(--border);
}

.about-col-3 {
    width: 55%;
    background: var(--dark-mid);
    padding: 80px 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-col-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.about-col-4 {
    width: 45%;
    min-height: 100vh;
    background: url("../images/portrait_b.jpeg") center center / cover no-repeat;
    background-color: #1a1410;
    position: relative;
}

.about-col-4::after {
    background: linear-gradient(to left, rgba(10,8,5,0.25), transparent);
}

/* ════════════════════════════
   PAGE CONTAINER & PANELS
   ════════════════════════════ */
.page-container {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 60vh;
}

.page-panel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    text-align: center;
    padding: 2rem;
}

.page-panel.active-page {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* ── Name heading ── */
.page-panel .name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--cream);
    margin-bottom: 1rem;
}

/* gold line under name */
.page-panel .name::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 16px auto 0;
}

/* ── Bio text ── */
.page-panel p {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.5px;
    color: rgba(250,247,242,0.65);
    max-width: 520px;
    margin: 1.5rem auto 2rem;
}

/* ── Toggle button ── */
.page-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(200,164,93,0.5);
    background: transparent;
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.page-btn:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* ════════════════════════════
   TABS
   ════════════════════════════ */
.skills-section {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-titles {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    justify-content: center;
}

.tab-links {
    background: none;
    border: none;
    padding: 6px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-links::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.35s ease;
}

.tab-links:hover { color: var(--cream); }

.tab-links.active-link {
    color: var(--cream);
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents {
    display: none;
    width: 100%;
    text-align: center;
}

.tab-contents.active-tab {
    display: block;
}

.tab-contents ul {
    padding: 0;
    list-style: none;
}

.tab-contents li {
    margin: 18px 0;
    line-height: 1.7;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 300;
    color: rgba(250,247,242,0.6);
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.tab-contents li:last-child {
    border-bottom: none;
}

.tab-contents li span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    color: var(--cream);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--dark-mid);
    border-top: 1px solid var(--border);
    width: 100%;
    padding: 20px 40px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(8px, 2.5vw, 10px);
    letter-spacing: clamp(1px, 0.5vw, 3px);
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(250,247,242,0.28);
}

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */

@media (max-width: 1024px) {
    nav { padding: 20px 36px; }

    .about-col-1 { width: 42%; }
    .about-content { width: calc(58% - 3px); padding: 90px 2rem 2rem; }
    .about-col-3 { width: 58%; padding: 70px 2rem; }
    .about-col-4 { width: 42%; }
}

@media (max-width: 768px) {
    nav {
        padding: 16px 24px;
        justify-content: center;
    }

    .site-footer {
        padding: 16px 12px; /* reduce side gaps */
    }

    nav ul li:not(:last-child)::after {
        margin: 0 14px;
    }

    .row,
    .about-row-2 {
        flex-direction: column;
    }

    .about-col-1,
    .about-col-4,
    .about-accent,
    .about-content,
    .about-col-3 {
        width: 100%;
    }

    .about-col-1,
    .about-col-4 {
        min-height: 50vh;
    }

    .about-accent {
        width: 100%;
        min-height: 2px;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
    }

    .about-col-3::before {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
    }

    .about-content {
        padding: 3rem 2rem;
        min-height: auto;
    }

    .about-col-3 {
        min-height: auto;
        padding: 3rem 2rem;
    }

    .page-container {
        min-height: auto;
    }

    .page-panel {
        position: relative;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        height: auto;
        min-height: 50vh;
    }

    .page-panel:not(.active-page) {
        display: none;
    }
}

@media (max-width: 480px) {
    nav { padding: 14px 16px; }

    nav ul li:not(:last-child)::after {
        margin: 0 10px;
        width: 3px;
        height: 3px;
    }

    .site-footer {
        padding: 16px 12px; /* reduce side gaps */
    }

    nav a {
        font-size: 9px;
        letter-spacing: 2px;
        gap: 5px;
    }

    nav a svg {
        width: 12px;
        height: 12px;
    }

    h1.about {
        letter-spacing: 4px;
    }

    .page-panel .name {
        letter-spacing: 3px;
    }

    .tab-titles {
        gap: 24px;
    }

    .tab-links {
        font-size: 10px;
        letter-spacing: 2px;
    }
}