/* scottsheene.com — dark gothic artist showcase */

:root {
    --void: #0c0a0e;
    --void-2: #141017;
    --void-3: #1d1721;
    --bone: #e6ddd0;
    --dim: #9a8d84;
    --blood: #8e1b1f;
    --blood-bright: #c0272d;
    --line: rgba(230, 221, 208, 0.12);
    --font-gothic: "Grenze Gotisch", "Iowan Old Style", Georgia, serif;
    --font-caps: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    background: var(--void);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Film-grain overlay over everything */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--bone); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blood-bright); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-gothic); font-weight: 600; line-height: 1.02; }

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.4rem; }

.kicker {
    font-family: var(--font-caps);
    font-size: 1rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--blood-bright);
    display: block;
    margin-bottom: 0.4rem;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.7rem 1.4rem;
    background: linear-gradient(to bottom, rgba(12, 10, 14, 0.94), rgba(12, 10, 14, 0.82));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand {
    font-family: var(--font-gothic);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    color: var(--bone);
}
.brand em { font-style: normal; color: var(--blood-bright); }
.cat-nav {
    display: flex;
    gap: 0.45rem;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
    font-family: var(--font-caps);
    font-size: 0.98rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dim);
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.cat-nav a:hover { color: #fff; border-color: var(--blood-bright); }
.cat-nav a.active { background: var(--blood); border-color: var(--blood); color: #fff; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: min(100svh, 56rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 60% at 50% 110%, rgba(142, 27, 31, 0.22), transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(58, 44, 66, 0.5), transparent 65%),
        var(--void);
}
.hero-wings {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: min(120vw, 74rem);
    opacity: 0.16;
    pointer-events: none;
}
.hero-inner { position: relative; padding: 7rem 1.4rem 5rem; }
.hero h1 {
    font-size: clamp(4rem, 14vw, 9.5rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 0 60px rgba(142, 27, 31, 0.55);
}
.hero .sub {
    font-family: var(--font-caps);
    font-size: clamp(1.05rem, 2.6vw, 1.5rem);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 0.8rem;
}
.hero .place {
    color: var(--dim);
    font-size: 0.98rem;
    margin-top: 1.2rem;
}
.hero .place a { color: var(--bone); text-decoration-color: rgba(192, 39, 45, 0.6); }
.award-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 2rem;
    padding: 0.5rem 1.15rem;
    border: 1px solid rgba(192, 39, 45, 0.5);
    border-radius: 999px;
    font-family: var(--font-caps);
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bone);
    background: rgba(142, 27, 31, 0.14);
}
.award-chip svg { width: 1.3em; height: 1.3em; fill: var(--blood-bright); }
.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--dim);
    font-family: var(--font-caps);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
}
.scroll-cue::after {
    content: "";
    display: block;
    width: 1px;
    height: 2.6rem;
    margin: 0.6rem auto 0;
    background: linear-gradient(to bottom, var(--blood-bright), transparent);
}

/* ---------- Award marquee ---------- */

.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--void-2);
    overflow: hidden;
    padding: 0.75rem 0;
}
.marquee-track {
    display: flex;
    gap: 3.5rem;
    width: max-content;
    animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
    font-family: var(--font-caps);
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dim);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}
.marquee svg { width: 1.15em; height: 1.15em; fill: var(--blood); flex: none; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- About ---------- */

.about { padding: 6rem 0 4rem; }
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 60rem;
    margin: 0 auto;
}
.about-photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 18%;
    filter: grayscale(0.5) contrast(1.05);
    border: 1px solid var(--line);
    clip-path: polygon(0 2%, 7% 0, 100% 1%, 99% 96%, 93% 100%, 2% 99%);
}
.about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 55%, rgba(142, 27, 31, 0.25));
}
.about h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.1rem; }
.about p { color: var(--bone); margin-bottom: 1rem; }
.about .aside { color: var(--dim); font-size: 0.98rem; }
@media (max-width: 52rem) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { max-width: 20rem; }
}

/* ---------- Work sections ---------- */

.work { padding: 2rem 0 3rem; }
.work-section { padding: 3.5rem 0 1rem; }
.work-head { display: flex; align-items: baseline; gap: 1.1rem; margin-bottom: 1.8rem; }
.work-head h2 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    text-shadow: 0 0 34px rgba(142, 27, 31, 0.4);
}
.work-head .count {
    font-family: var(--font-caps);
    color: var(--dim);
    font-size: 1.1rem;
    letter-spacing: 0.18em;
}
.work-grid { columns: 4 15rem; column-gap: 0.9rem; }
.work-grid a {
    display: block;
    margin-bottom: 0.9rem;
    break-inside: avoid;
    overflow: hidden;
    background: var(--void-2);
    border: 1px solid rgba(230, 221, 208, 0.06);
}
.work-grid img {
    width: 100%;
    height: auto;
    filter: saturate(0.92);
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}
.work-grid a:hover img { transform: scale(1.035); filter: saturate(1.05); }
@media (max-width: 46rem) {
    .work-grid { columns: 2; column-gap: 0.6rem; }
    .work-grid a { margin-bottom: 0.6rem; }
}

/* Torn edge + interlude between sections */
.interlude {
    margin: 4.5rem 0 1rem;
    padding: 2.6rem 1.4rem;
    text-align: center;
    background: var(--void-2);
    clip-path: polygon(0 12%, 4% 4%, 13% 9%, 22% 2%, 34% 8%, 45% 1%, 57% 7%, 68% 2%, 79% 8%, 90% 3%, 100% 10%, 100% 88%, 95% 97%, 84% 91%, 72% 98%, 60% 92%, 48% 99%, 36% 93%, 24% 99%, 12% 94%, 4% 98%, 0 90%);
}
.interlude svg { width: 2.4rem; height: 2.4rem; fill: var(--blood-bright); margin-bottom: 0.5rem; }
.interlude .line-1 {
    font-family: var(--font-gothic);
    font-size: 1.65rem;
    color: var(--bone);
}
.interlude .line-2 {
    font-family: var(--font-caps);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dim);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.work-empty {
    text-align: center;
    color: var(--dim);
    padding: 4rem 1.4rem;
    font-style: italic;
}

/* ---------- Awards ---------- */

.awards {
    padding: 6rem 0;
    background:
        radial-gradient(ellipse 80% 70% at 50% 0%, rgba(58, 44, 66, 0.35), transparent 60%),
        var(--void-2);
    border-top: 1px solid var(--line);
}
.awards-head { text-align: center; margin-bottom: 3rem; }
.awards-head h2 { font-size: clamp(2.6rem, 7vw, 4.2rem); text-shadow: 0 0 40px rgba(142, 27, 31, 0.45); }
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.2rem;
    max-width: 62rem;
    margin: 0 auto;
}
.award-card {
    position: relative;
    border: 1px solid var(--line);
    background: rgba(12, 10, 14, 0.55);
    padding: 1.8rem 1.5rem 1.5rem;
    text-align: center;
    clip-path: polygon(0 4%, 3% 0, 100% 2%, 98% 97%, 95% 100%, 1% 98%);
}
.award-card svg { width: 3rem; height: 3rem; fill: var(--blood-bright); margin: 0 auto 0.8rem; display: block; }
.award-card .placement {
    font-family: var(--font-caps);
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bone);
}
.award-card .title { font-family: var(--font-gothic); font-size: 1.35rem; color: var(--bone); margin-top: 0.2rem; }
.award-card .meta { color: var(--dim); font-size: 0.95rem; margin-top: 0.5rem; }

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 6, 10, 0.95);
    padding: 2.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: min(92vw, 62rem);
    max-height: 86vh;
    border: 1px solid var(--line);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}
.lightbox button {
    position: absolute;
    background: rgba(230, 221, 208, 0.07);
    color: var(--bone);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lightbox button:hover { background: var(--blood); color: #fff; }
.lb-close { top: 1.1rem; right: 1.1rem; }
.lb-prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.1rem; top: 50%; transform: translateY(-50%); }
.lb-caption {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--dim);
    font-family: var(--font-caps);
    letter-spacing: 0.14em;
    font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.4rem 0;
    color: var(--dim);
    font-size: 0.95rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 2rem; }
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-social { margin-left: auto; display: flex; gap: 1rem; }
.footer-social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ---------- Motion (JS + motion-ok only; content never hidden otherwise) ---------- */

@media (prefers-reduced-motion: no-preference) {
    html.js .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.8s ease, transform 0.8s ease;
        transition-delay: var(--d, 0s);
    }
    html.js .reveal.in { opacity: 1; transform: none; }

    .hero-wings { animation: wings-in 2.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
    .hero-inner > * { animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
    .hero-inner > :nth-child(2) { animation-delay: 0.15s; }
    .hero-inner > :nth-child(3) { animation-delay: 0.3s; }
    .hero-inner > :nth-child(4) { animation-delay: 0.45s; }
    .hero-inner > :nth-child(5) { animation-delay: 0.6s; }

    @keyframes wings-in {
        from { opacity: 0; transform: translate(-50%, -46%) scale(0.94); }
        to   { opacity: 0.16; transform: translate(-50%, -50%) scale(1); }
    }
    @keyframes rise {
        from { opacity: 0; transform: translateY(26px); }
        to   { opacity: 1; transform: none; }
    }
}
