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

:root {
    --ink: #0e0d0b;
    --cream: #f4ede0;
    --sand: #c9a96e;
    --muted: #8a8278;
    --dim: #3a3530;
    --surface: #1a1814;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--ink);
    color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── grain overlay ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* ─── horizontal rule accent ─── */
.rule {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--sand);
    opacity: 0.6;
}

/* ─── layout shell ─── */
.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
}

/* ─── main section ─── */
.main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    padding: 80px 48px 60px;
    gap: 64px;
    align-items: center;
}

/* ─── portrait ─── */
.portrait-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 12px;
}

.portrait-frame {
    position: relative;
    width: 340px;
    max-width: 100%;
}

.portrait-frame::after {
    content: '';
    position: absolute;
    inset: -12px -12px auto auto;
    width: 60px;
    height: 60px;
    border-top: 1px solid var(--sand);
    border-right: 1px solid var(--sand);
    opacity: 0.5;
}

.portrait-frame::before {
    content: '';
    position: absolute;
    inset: auto auto -12px -12px;
    width: 60px;
    height: 60px;
    border-bottom: 1px solid var(--sand);
    border-left: 1px solid var(--sand);
    opacity: 0.5;
}

.portrait-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--surface);
    border: 1px solid var(--dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portrait-placeholder svg {
    opacity: 0.25;
}

.portrait-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

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

/* ─── eyebrow ─── */
.eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sand);
    font-weight: 400;
}

/* ─── name ─── */
.name {
    font-family: 'Cormorant Gaunt', serif;
    font-weight: 300;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.0;
    color: var(--cream);
    letter-spacing: -0.01em;
}

.name em {
    font-style: italic;
    color: var(--sand);
}

/* ─── tagline ─── */
.tagline {
    font-family: 'Cormorant Gaunt', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--cream);
    opacity: 0.75;
    line-height: 1.45;
}

/* ─── bio ─── */
.bio {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.85;
    color: var(--cream);
    opacity: 0.72;
    max-width: 460px;
}

/* ─── achievements ─── */
.achievements {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ach-dot {
    margin-top: 7px;
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sand);
    opacity: 0.7;
}

.ach-text {
    font-family: 'Jost', sans-serif;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--cream);
    opacity: 0.68;
}

.ach-text strong {
    font-weight: 500;
    color: var(--cream);
    opacity: 1;
}

/* ─── links ─── */
.links {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 8px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--cream);
    opacity: 0.5;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.link-item:hover {
    opacity: 1;
    color: var(--sand);
}

.link-item svg {
    flex-shrink: 0;
}

/* ─── footer strip ─── */
footer {
    border-top: 1px solid var(--dim);
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.footer-loc {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

.footer-mark {
    font-family: 'Cormorant Gaunt', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ─── fade-in animation ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portrait-wrap {
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.1s;
}

.eyebrow {
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.2s;
}

.name {
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.32s;
}

.tagline {
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.44s;
}

.bio {
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.54s;
}

.achievements {
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.64s;
}

.links {
    animation: fadeUp 0.7s ease both;
    animation-delay: 0.74s;
}

/* ─── responsive ─── */
@media (max-width: 780px) {
    .main {
        grid-template-columns: 1fr;
        padding: 56px 28px 40px;
        gap: 40px;
    }

    .portrait-wrap {
        justify-content: flex-start;
    }

    .portrait-frame {
        width: 220px;
    }

    footer {
        padding: 20px 28px;
    }
}

@media (max-width: 480px) {
    .portrait-frame {
        width: 180px;
    }

    .links {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}