@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300;0,700;1,300;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&display=swap');

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

:root {
    --bg: #fafaf8;
    --text: #1a1a1a;
    --muted: #000;
    --accent: #c5401e;
    --border: #e0e0e0;
    --max-width: 1200px;
    --header-text: #fff;
    --hire-bg: #fff;
    --hire-color: #000;
    --hire-hover-bg: #000;
    --hire-hover-color: #fff;
}

/* ---- PER-PAGE COLORS ---- */

body#stingers {
    --accent: #0069dc;
}

body#threebeatsin {
    --accent: #fece00;
    --header-text: #000;
    --hire-bg: #000;
    --hire-color: #fff;
    --hire-hover-bg: #fff;
    --hire-hover-color: #000;
}

body#bello {
    --accent: #357a2f;
}

body#garbageday {
    --accent: #f8ff00;
    --header-text: #000;
    --hire-bg: #000;
    --hire-color: #fff;
    --hire-hover-bg: #fff;
    --hire-hover-color: #000;
}

body#cutefight {
    --accent: #ff69b4;
    --header-text: #000;
    --hire-bg: #000;
    --hire-color: #fff;
    --hire-hover-bg: #fff;
    --hire-hover-color: #000;
}

body#drhoneybrew {
    --accent: #7b3f00;
}

body#artbomb {
    --accent: #222222;
}

body#avengers {
    --accent: #1565c0;
}

body#beatles {
    --accent: #6c6c6c;
}

body#destiny {
    --accent: #c8b900;
    --header-text: #000;
    --hire-bg: #000;
    --hire-color: #fff;
    --hire-hover-bg: #fff;
    --hire-hover-color: #000;
}

body#dungeon {
    --accent: #40434a;
}

body#knights {
    --accent: #7e735d;
}

body#wolvie {
    --accent: #f0a500;
    --header-text: #000;
    --hire-bg: #000;
    --hire-color: #fff;
    --hire-hover-bg: #fff;
    --hire-hover-color: #000;
}

body#crookedcrab {
    --accent: #d44000;
}

body {
    font-family: 'Mulish', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--text);
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent);
}

img {
    display: block;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    line-height: 1.15;
}

/* ---- LAYOUT ---- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- HEADER ---- */

header {
    padding: 1.5rem 0;
    background-color: var(--accent);
    margin-bottom: 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


header .wordmark {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--header-text);
}

a.wordmark:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

header nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 1rem;
}

header nav a {
    text-decoration: none;
    color: var(--header-text);
    font-weight: 700;
    text-transform: uppercase;
}

header nav a:hover {
    color: var(--header-text);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

header nav .hire {
    background-color: var(--hire-bg);
    color: var(--hire-color);
    padding: 0.5rem 1.1rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
}

header nav .hire:hover {
    background-color: var(--hire-hover-bg);
    color: var(--hire-hover-color);
    text-decoration: none;
}

/* ---- HERO ---- */

.hero {
    margin-bottom: 0;
}


.hero-text h1 {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.hero-text .role {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.7;
}

.hero-text .role strong {
    color: var(--text);
}

.hero-image img {
    width: 100%;
    border-radius: 0;
    display: block;
}

/* ---- INTRO ---- */

.intro {
    background-color: #fff;
    color: #000;
    padding: 2.5rem 0;
    margin-bottom: 0;
}

.intro .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.intro h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 0.5rem;
}

.intro p {
    font-size: 1rem;
    color: #000;
    line-height: 1.7;
}

.intro-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.intro-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #000;
    color: #000;
}

.intro-btn:hover {
    background-color: #000;
    color: #fff;
}

.intro-btn-primary {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.intro-btn-primary:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* ---- CREDENTIAL ---- */

.credential {
    background-color: var(--text);
    color: #fff;
    margin-bottom: 5rem;
    padding: 3rem 0 3rem;
}

.credential .container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.credential-image img {
    max-width: 240px;
}

.credential-text .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 0.75rem;
}

.credential-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.credential-text p {
    font-size: 1rem;
    color: #fff;
    line-height: 1.7;
}

/* ---- WORK GRID ---- */

.work-section {
    margin-bottom: 5rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.work-section .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.work-section .section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.work-section .section-header a {
    font-size: 1.25rem;
    color: var(--accent);
    text-decoration: none;
}

.work-section .section-header a:hover {
    text-decoration: underline;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.work-grid figure a {
    text-decoration: none;
    display: block;
}

.work-grid figure img {
    margin-bottom: 0.5rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.work-grid figcaption {
    font-size: 1rem;
    color: var(--muted);
}

/* ---- SECONDARY WORK (2-col) ---- */

.secondary-grid {
    grid-template-columns: repeat(3, 1fr);
}

.secondary-grid figure img {
    aspect-ratio: 2 / 1;
}

/* ---- PAGE INTRO ---- */

.page-intro {
    padding: 3rem 0 2rem;
}

.page-intro h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-intro p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ---- FILTER NAV ---- */


/* ---- PORTFOLIO GRID ---- */

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    padding-top: 1rem;
    border-top: 2px solid currentColor;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    padding-bottom: 4rem;
}

.portfolio-grid figure a {
    text-decoration: none;
    display: block;
}

.portfolio-grid figure img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 0.6rem;
}

.portfolio-grid--short figure img {
    aspect-ratio: 2 / 1;
}

.portfolio-grid figcaption {
    font-size: 1rem;
    line-height: 1.5;
}

.portfolio-grid figcaption strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.text-list {
    margin: 0 0 3rem;
    font-size: 1rem;
}

.text-list a {
    text-decoration: none;
    color: var(--text);
}

.text-list a:hover {
    color: var(--accent);
}

/* ---- PORTFOLIO DETAIL ---- */

.detail-splash {
    margin-bottom: 3rem;
}

.experiment-item {
    margin-bottom: 4rem;
}

.experiment-item .detail-splash {
    margin-bottom: 1rem;
}

.detail-splash img {
    width: 100%;
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.detail-grid figure img {
    width: 100%;
    display: block;
}

.detail-grid figcaption {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: var(--muted);
}

.detail-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.detail-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.detail-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.detail-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.detail-grid-8 {
    grid-template-columns: repeat(8, 1fr);
}

.detail-section-label {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.testimonial {
    background-color: var(--accent);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.testimonial blockquote p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-family: 'Syne', sans-serif;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* ---- LIGHTBOX ---- */

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

#lightbox.active {
    display: flex;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    object-fit: contain;
    cursor: default;
    border: 6px solid #fff;
}

#lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
}

#lightbox-close:hover {
    opacity: 1;
}

/* ---- FOOTER ---- */

footer {
    background-color: #000;
    padding: 2.5rem 0;
    margin-top: 2rem;
}

footer .footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

footer .footer-links a {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

footer .footer-links a:hover {
    text-decoration: underline;
    color: #fff;
}

footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .social {
    display: flex;
    gap: 1rem;
}

footer .social a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
}

footer .social a:hover {
    opacity: 0.6;
    color: #fff;
}

footer .copyright {
    font-size: 0.8rem;
    color: #fff;
}

/* ---- CROOKED CRAB SUBNAV ---- */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: underline;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--muted);
}

.crooked-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.crooked-subnav a {
    display: inline-block;
    background: none;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    border: 1px solid #000;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
}

.crooked-subnav a:hover {
    border-color: #000;
    color: #000;
}

/* ---- CROOKED CRAB FILTER ---- */

.crooked-filter {
    margin-bottom: 2rem;
}

.crooked-filter .filter-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.crooked-filter .filter-link {
    display: inline-block;
    background: none;
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}

.crooked-filter .filter-link:hover {
    border-color: #000;
    color: #000;
}

.crooked-filter .filter-link.is-active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.crooked-filter .filter-groups {
    display: none;
    padding: 0.5rem 0 0;
}

.crooked-filter .filter-groups.is-open {
    display: block;
}

.crooked-filter .filter-group .filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ---- CROOKED GRID ---- */

.crooked-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.crooked-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
    padding-bottom: 3rem;
}

.crooked-grid figure img {
    width: 100%;
    display: block;
    margin-bottom: 0.4rem;
}

.crooked-grid figcaption {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
    text-align: center;
}


/* ---- GLASS HIDDEN ---- */

.glass-hidden img,
.glass-hidden-preview img {
    opacity: 0.35;
    filter: blur(6px);
    cursor: default !important;
}

/* ---- CROOKED CTA BUTTON ---- */

.crooked-cta {
    display: block;
    width: fit-content;
    margin: 1rem auto 3rem;
    padding: 0.75rem 3rem;
    background-color: var(--accent);
    color: #fff;
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2rem;
}

.crooked-cta:hover {
    background-color: #000;
    color: #fff;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 680px) {
    header {
        padding: 1.5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }


    header .wordmark {
        font-size: 1rem;
        line-height: 1.1;
    }

    header nav {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    header nav .hire {
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }

    .hero .container,
    .credential .container {
        grid-template-columns: 1fr;
    }

    .credential-image img {
        width: 30%;
    }


    .hero-image {
        order: -1;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .intro .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .intro h2 {
        font-size: 1.4rem;
    }

    .work-section .section-header a {
        white-space: nowrap;
    }


    .detail-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .crooked-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.contact-options a {
    display: block;
    padding: 1rem 1.5rem;
    border: 2px solid currentColor;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-options a:hover {
    background: var(--text);
    color: var(--bg);
}

.contact-direct {
    margin-bottom: 3rem;
}

.contact-direct address {
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Contact modal */
.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal-inner {
    background: var(--bg);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: var(--text);
}

#contact-modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

#contact-modal-content form div {
    margin-bottom: 1rem;
}

#contact-modal-content label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

#contact-modal-content input,
#contact-modal-content textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

#contact-modal-content textarea {
    min-height: 100px;
}

#contact-modal-content button[type="submit"] {
    margin-top: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}
