@charset "utf-8";
/* Designed By Brendan: dark and gritty
   Fonts (Pirata One + Space Grotesk) are loaded by a <link> in each page's <head>. */

/* TOKENS ============================*/

:root {
    --bg: #0e0e0d;
    --panel: #161615;
    --line: #2a2a28;
    --cream: #e9e2d6;
    --muted: #a8a296;
    --orange: #f47721;
    --display: 'Pirata One', Georgia, serif;
    --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --pad: 56px;
}

/* BASE ============================*/

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--cream);
    font-family: var(--body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* film grain over everything */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--orange);
    color: var(--bg);
    padding: 12px 18px;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
    color: var(--bg);
}

.wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    margin: 0;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
}

/* scroll reveal (only when JS is on) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* BUTTONS ============================*/

.button {
    display: inline-block;
    background: var(--orange);
    color: var(--bg);
    padding: 16px 34px;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 2px solid var(--orange);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--bg);
}

.button-outline {
    background: transparent;
    color: var(--orange);
}

.button-outline:hover,
.button-outline:focus-visible {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--bg);
}

.text-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 4px;
}

.text-link:hover {
    color: var(--cream);
    border-color: var(--cream);
}

/* HEADER & NAV ============================*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 14, 13, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: block;
    line-height: 0;
}

.brand img {
    height: 50px;
    width: auto;
    display: block;
}

.site-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* FOOTER ============================*/

.site-footer {
    margin-top: 40px;
    background: #080808;
    border-top: 1px solid var(--line);
}

.site-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 34px var(--pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8d877b;
}

.site-footer ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.site-footer a:hover {
    color: var(--orange);
}

/* HOME: HERO ============================*/

.hero {
    position: relative;
    height: calc(100svh - 80px);
    min-height: 620px;
    max-height: 900px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(1) contrast(1.15) brightness(0.5);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 14, 13, 0.45) 0%, rgba(14, 14, 13, 0) 35%, rgba(14, 14, 13, 0.92) 100%);
}

.hero-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--pad) 56px;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.intro-playing .hero-inner {
    opacity: 0;
    transform: translateY(40px);
}

.hero-kicker {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
}

.hero h1 {
    font-size: clamp(88px, 17vw, 250px);
    line-height: 0.8;
    color: var(--cream);
    letter-spacing: 0.005em;
}

.hero-sticker {
    position: absolute;
    right: 72px;
    bottom: 96px;
    transform: rotate(-5deg);
    background: var(--orange);
    color: var(--bg);
    padding: 16px 26px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: opacity 0.9s ease 0.2s;
}

.intro-playing .hero-sticker {
    opacity: 0;
}

.hero-sticker:hover {
    background: var(--cream);
    color: var(--bg);
}

/* MARQUEE ============================*/

.marquee {
    background: var(--orange);
    color: var(--bg);
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
    font-family: var(--display);
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 32s linear infinite;
}

.marquee-track span {
    padding-right: 1.2em;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* HOME: WORK ============================*/

.work-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-top: 110px;
    padding-bottom: 56px;
}

.work-intro h2 {
    font-size: clamp(64px, 8.4vw, 120px);
    line-height: 0.9;
}

.work-intro p {
    margin: 0 0 10px;
    max-width: 340px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.work-row {
    display: flex;
    gap: 48px;
    align-items: center;
    min-height: 520px;
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.work-row:last-of-type {
    border-bottom: 1px solid var(--line);
}

.work-row.reverse {
    flex-direction: row-reverse;
}

.work-text {
    flex: 1 1 0;
    min-width: 0;
}

.work-number {
    font-family: var(--display);
    font-size: 110px;
    line-height: 0.9;
    color: var(--orange);
}

.work-text h3 {
    margin: 8px 0 14px;
    font-size: 64px;
    line-height: 1;
}

.work-text p {
    margin: 0 0 22px;
    max-width: 380px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--muted);
}

.work-media {
    flex: 1.3 1 0;
    min-width: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.work-media img {
    display: block;
    min-width: 0;
    object-fit: cover;
    border: 1px solid var(--line);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.work-media a {
    display: block;
    min-width: 0;
}

.work-media .tilt-l img { transform: rotate(-1.5deg); }
.work-media .tilt-r img { transform: rotate(1.5deg); }
.work-media a:hover img { transform: rotate(0) scale(1.02); border-color: var(--orange); }

.work-media .sq { flex: 1 1 0; }
.work-media .sq img { width: 100%; aspect-ratio: 1 / 1; height: auto; }
.work-media .wide { flex: 1.5 1 0; }
.work-media .wide img { width: 100%; aspect-ratio: 4 / 3; height: auto; }
.work-media .tall { flex: 1 1 0; }
.work-media .tall img { width: 100%; aspect-ratio: 4 / 5; height: auto; }
.work-media .offset { margin-top: 36px; }
.work-media .contain img { object-fit: contain; background: #262626; }

/* HOME: ABOUT ============================*/

.home-about {
    display: flex;
    gap: 72px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.home-about-photo {
    flex: 0 0 min(520px, 42%);
    position: relative;
}

.home-about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 30% 50%;
    filter: grayscale(1) contrast(1.15);
}

.home-about-photo::before {
    content: '';
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 2px solid var(--orange);
    z-index: -1;
}

.home-about-text {
    flex: 1 1 0;
    min-width: 0;
}

.home-about-text h2 {
    margin-bottom: 28px;
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1;
    max-width: 760px;
}

.home-about-text p {
    margin: 0 0 30px;
    max-width: 560px;
    font-size: 20px;
    line-height: 1.5;
    color: #cfc8ba;
}

/* HOME: CONTACT CTA ============================*/

.cta {
    border-top: 1px solid var(--line);
    padding-top: 110px;
    padding-bottom: 90px;
    text-align: center;
}

.cta h2 {
    margin-bottom: 40px;
    font-size: clamp(64px, 12.5vw, 180px);
    line-height: 0.85;
}

.cta h2 span {
    color: var(--orange);
}

/* PAGE INTRO (inner pages) ============================*/

.page-title {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: end;
    gap: 48px;
    padding-top: 70px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

.page-title h1 {
    font-size: clamp(64px, 9.5vw, 140px);
    line-height: 0.88;
}

.page-title-summary {
    max-width: 430px;
    margin: 0 0 6px;
    padding-left: 20px;
    border-left: 3px solid var(--orange);
    font-size: 18px;
    line-height: 1.55;
    color: #cfc8ba;
}

/* PORTFOLIO ============================*/

.portfolio-section {
    padding-top: 90px;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 14px;
}

.section-head .num {
    font-family: var(--display);
    font-size: 40px;
    line-height: 1;
    color: var(--orange);
}

.section-head h2 {
    font-size: clamp(52px, 6.4vw, 92px);
    line-height: 0.95;
}

.section-blurb {
    margin: 0 0 44px;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--muted);
}

.case-study {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 20px 0 48px;
}

.case-study.reverse {
    flex-direction: row-reverse;
}

.case-text {
    flex: 1 1 0;
    min-width: 0;
}

.case-text h3 {
    margin-bottom: 18px;
    font-size: 52px;
    line-height: 1;
    color: var(--orange);
}

.case-text p {
    margin: 0 0 16px;
    max-width: 560px;
    font-size: 16.5px;
    line-height: 1.65;
    color: #cfc8ba;
}

.case-image {
    flex: 1 1 0;
    min-width: 0;
}

.case-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 72px;
}

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

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

.apparel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.apparel-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #262626;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.vehicle-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.marketing-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.portfolio-section [data-lightbox] {
    cursor: zoom-in;
    border: 1px solid var(--line);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.portfolio-section [data-lightbox]:hover,
.portfolio-section [data-lightbox]:focus-visible {
    border-color: var(--orange);
    transform: translateY(-3px);
}

.case-image img[data-lightbox] {
    cursor: zoom-in;
}

.video-player {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--panel);
    border: 1px solid var(--line);
}

.video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ABOUT ============================*/

.about-bio {
    display: flex;
    gap: 72px;
    align-items: flex-start;
    padding-top: 70px;
    padding-bottom: 70px;
}

.about-photo {
    flex: 0 0 min(520px, 42%);
    position: relative;
}

.about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 30% 50%;
    filter: grayscale(1) contrast(1.15);
}

.about-photo::before {
    content: '';
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 2px solid var(--orange);
    z-index: -1;
}

.about-text {
    flex: 1 1 0;
    min-width: 0;
}

.about-text h1 {
    margin-bottom: 28px;
    font-size: clamp(44px, 5.4vw, 80px);
    line-height: 1;
}

.about-text p {
    margin: 0 0 20px;
    max-width: 660px;
    font-size: 18px;
    line-height: 1.7;
    color: #cfc8ba;
}

.skills {
    padding-bottom: 80px;
}

.skills h2 {
    margin-bottom: 28px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1;
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.skills li {
    padding: 12px 22px;
    border: 1px solid var(--line);
    background: var(--panel);
    font-size: 15px;
    letter-spacing: 0.04em;
}

/* CONTACT ============================*/

.contact-layout {
    display: flex;
    gap: 56px;
    align-items: stretch;
    padding-top: 70px;
    padding-bottom: 40px;
}

.contact-info {
    flex: 1 1 0;
    min-width: 0;
}

.contact-info h1 {
    margin-bottom: 28px;
    font-size: clamp(56px, 7vw, 104px);
    line-height: 0.92;
}

.contact-info p {
    margin: 0 0 18px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.65;
    color: #cfc8ba;
}

.contact-form-wrap {
    flex: 1 1 0;
    min-width: 0;
    background: var(--orange);
    color: var(--bg);
    padding: 40px;
}

.contact-form-wrap h2 {
    margin-bottom: 22px;
    font-size: 48px;
    line-height: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    margin-bottom: 18px;
    padding: 13px 14px;
    background: #f3ebde;
    color: var(--bg);
    border: 2px solid transparent;
    border-radius: 0;
    font: 500 16px var(--body);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--bg);
}

.contact-form .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form .hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-form .button {
    background: var(--bg);
    border-color: var(--bg);
    color: var(--cream);
    width: 100%;
}

.contact-form .button:hover,
.contact-form .button:focus-visible {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--bg);
}

.contact-form .button[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.form-status {
    margin: 16px 0 0;
    min-height: 1.5em;
    font-size: 15px;
    font-weight: 700;
}

/* LIGHTBOX + BACK TO TOP ============================*/

.image-viewer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    padding: 64px 24px 24px;
    background: rgba(0, 0, 0, 0.92);
}

.image-viewer.is-open {
    display: block;
}

.image-viewer img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 48px);
    max-height: calc(100vh - 110px);
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.image-viewer-close,
.back-to-top {
    border: 0;
    background: var(--orange);
    color: var(--bg);
    font: 700 13px var(--body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
}

.image-viewer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 12px 18px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    padding: 12px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.image-viewer-close:hover,
.back-to-top:hover {
    background: var(--cream);
}

/* TABLET ============================*/
@media screen and (max-width: 64em) {

    :root {
        --pad: 32px;
    }

    .work-row,
    .work-row.reverse,
    .home-about,
    .about-bio,
    .case-study,
    .case-study.reverse,
    .contact-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .work-row {
        min-height: 0;
    }

    .work-media {
        width: 100%;
    }

    .home-about-photo,
    .about-photo {
        flex: none;
        width: min(520px, 90%);
    }

    .work-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-sticker {
        right: 32px;
        bottom: 40px;
    }

    .page-title {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

/* PHONE ============================*/
@media screen and (max-width: 40em) {

    :root {
        --pad: 20px;
    }

    .site-header-inner {
        flex-direction: column;
        gap: 6px;
        padding: 10px var(--pad) 6px;
    }

    .brand img {
        height: 42px;
    }

    .site-nav ul {
        gap: 22px;
    }

    .site-nav a {
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .hero {
        height: auto;
        min-height: 560px;
    }

    .hero-inner {
        padding-bottom: 36px;
    }

    .hero-sticker {
        position: static;
        display: inline-block;
        margin: 22px 0 0 var(--pad);
        transform: rotate(-3deg);
    }

    .hero-inner {
        position: relative;
        padding-top: 280px;
    }

    .hero-photo,
    .hero-shade {
        position: absolute;
    }

    .marquee {
        font-size: 26px;
    }

    .work-number {
        font-size: 80px;
    }

    .work-text h3 {
        font-size: 52px;
    }

    .work-media {
        gap: 12px;
    }

    .work-media .offset {
        margin-top: 18px;
    }

    .detail-grid,
    .apparel-grid,
    .marketing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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

    .case-text h3 {
        font-size: 42px;
    }

    .contact-form-wrap {
        padding: 26px 20px;
    }

    .contact-form .row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .marquee-track {
        animation: none;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-inner,
    .hero-sticker {
        transition: none;
    }
}
