/* ==========================================================================
   Warren Harvey — Under Construction
   ========================================================================== */

:root {
    --bg: #0a0a0a;
    --paper: #f5f2ea;
    --ink: #ffffff;
    --ink-dim: rgba(255, 255, 255, 0.55);
    --ink-faint: rgba(255, 255, 255, 0.35);
    --line: rgba(255, 255, 255, 0.18);
    --ember: #e8542f;
    --font-display: "Anton", sans-serif;
    --font-body: "Work Sans", sans-serif;
    --font-script: "Caveat", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(
            55% 60% at 22% 45%,
            rgba(232, 84, 47, 0.16),
            transparent 70%
        ),
        radial-gradient(
            40% 50% at 85% 15%,
            rgba(255, 255, 255, 0.04),
            transparent 70%
        );
    pointer-events: none;
    z-index: 0;
}

:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
}

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.stage {
    display: flex;
    align-items: center;
    gap: clamp(48px, 8vw, 120px);
    width: 100%;
}

/* ---------------------------------------------------------------------- */
/* Polaroid                                                                */
/* ---------------------------------------------------------------------- */

.polaroid-wrap {
    flex: 0 0 auto;
}

.polaroid {
    background: var(--paper);
    padding: 18px 18px 28px;
    width: 380px;
    max-width: 100%;
    transform: rotate(-2.5deg);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

.polaroid-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #1a1a1a;
}

.polaroid-caption {
    font-family: var(--font-script);
    font-size: 2rem;
    color: #1a1a1a;
    text-align: center;
    margin-top: 18px;
    line-height: 1;
}

/* ---------------------------------------------------------------------- */
/* Details                                                                 */
/* ---------------------------------------------------------------------- */

.details {
    flex: 1 1 auto;
    min-width: 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink-dim);
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    font-weight: 600;
    margin-bottom: 20px;
}

.eyebrow .rule {
    width: 32px;
    height: 1px;
    background: var(--line);
    display: inline-block;
}

.name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    line-height: 0.95;
    margin: 0 0 8px;
    letter-spacing: 0.01em;
}

.status {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: var(--ink-dim);
    margin: 0 0 26px;
    font-weight: 400;
}

.blurb {
    color: var(--ink-dim);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 46ch;
    margin: 0 0 32px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    padding: 14px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.contact-btn i {
    color: var(--ink-faint);
    transition: color 0.25s ease;
}

.contact-btn:hover {
    border-color: var(--ember);
    background: rgba(232, 84, 47, 0.08);
    color: var(--ink);
}

.contact-btn:hover i {
    color: var(--ember);
}

.socials {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-dim);
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.socials a:hover {
    border-color: var(--ember);
    color: var(--ember);
    transform: translateY(-2px);
}

p.credit {
    font-size: 0.9rem;
}

a {
    color: var(--ember);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: #fff;
    text-decoration: none;
}

/* ---------------------------------------------------------------------- */
/* Responsive: tablet & mobile — polaroid on top, details underneath      */
/* ---------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .page {
        padding: 64px 0;
    }

    .stage {
        flex-direction: column;
        text-align: center;
        gap: 44px;
    }

    .polaroid {
        width: 320px;
        transform: rotate(-2deg);
    }

    .eyebrow {
        justify-content: center;
    }

    .blurb {
        margin-left: auto;
        margin-right: auto;
    }

    .socials {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .polaroid {
        width: 65vw;
        padding: 14px 14px 22px;
    }

    .polaroid-caption {
        font-size: 1.25rem;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    p.credit {
        font-size: 0.8rem;
        padding: 0 2em;
    }
}
