/* =========================================================
   BUILT BY BOYCOTT
   ABOUT PAGE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --ink: #111111;
    --cream: #f4f1ea;
    --lime: #c8ff32;
    --grey: #d8d8d2;
    --muted: #74746f;

    --page-padding: clamp(24px, 5vw, 80px);
    --max-width: 1500px;

    --heading-font: Impact, "Arial Narrow", sans-serif;
    --body-font: "Courier New", Courier, monospace;

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--cream);
    color: var(--ink);

    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: min(100%, var(--max-width));
    margin: auto;

    padding: 26px var(--page-padding);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}


/* LOGO */

.logo {
    justify-self: start;

    display: flex;
    flex-direction: column;

    font-family: var(--heading-font);
    font-size: 25px;
    line-height: 0.82;

    text-transform: uppercase;
    letter-spacing: -0.5px;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(25px, 3vw, 55px);
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 0;
    height: 3px;

    background: var(--lime);

    transform: translateX(-50%);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* HEADER CTA */

.site-header > .button {
    justify-self: end;
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 28px;
    height: 2px;

    margin: 6px auto;

    background: var(--ink);
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    min-height: 54px;
    padding: 0 28px;

    background: var(--lime);
    border: 1px solid var(--lime);

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.button:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);

    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding: 0 20px;

    border-radius: 30px;

    font-size: 10px;
}


/* =========================================================
   SHARED LABELS
========================================================= */

.section-label {
    display: flex;
    align-items: center;
    gap: 18px;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-label-line {
    display: block;

    width: 45px;
    height: 1px;

    background: var(--ink);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 30px;
}

.heading-line {
    flex: 1;
    height: 1px;

    background: rgba(17, 17, 17, 0.35);
}

.accent-line {
    display: block;

    width: 50px;
    height: 3px;

    margin-bottom: 20px;

    background: var(--lime);
}


/* =========================================================
   HERO — REFINED
========================================================= */

.about-hero {
    width: min(100%, var(--max-width));
    min-height: 650px;

    margin: auto;
    padding: 0 var(--page-padding);

    display: grid;

    /* Give the text more room */
    grid-template-columns: 52% 48%;
}

.about-hero-content {
    padding: 70px 45px 70px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}

.about-hero-content .section-label {
    margin-bottom: 30px;
}

.about-hero h1 {
    width: 100%;
    max-width: none;

    margin: 0 0 24px;

    font-family: var(--heading-font);
    font-size: clamp(62px, 5.4vw, 92px);
    font-weight: 900;

    line-height: 0.9;
    letter-spacing: -2px;

    text-transform: uppercase;
}

/* Force the two-line composition from the design */

.about-hero h1 br {
    display: block;
}

.hero-intro {
    max-width: 540px;

    margin-bottom: 16px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.hero-description {
    max-width: 520px;

    margin-bottom: 34px;

    font-size: 15px;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}


/* IMAGE */

.about-hero-image {
    width: 100%;
    min-height: 650px;

    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: grayscale(100%);
}


/* =========================================================
   DIRECT SECTION
========================================================= */

.direct-section {
    width: min(100%, var(--max-width));
    min-height: 440px;

    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: var(--ink);
    color: var(--cream);
}

.direct-content {
    padding:
        clamp(55px, 7vw, 90px)
        var(--page-padding);
}

.direct-content h2 {
    margin-bottom: 25px;

    font-family: var(--heading-font);
    font-size: clamp(42px, 4vw, 68px);
    line-height: 0.95;

    text-transform: uppercase;
}

.direct-content h2 span {
    color: var(--lime);
}

.direct-content p {
    max-width: 530px;

    margin-bottom: 14px;

    font-size: 15px;
    line-height: 1.45;
}

.direct-image {
    min-height: 440px;
    overflow: hidden;
}

.direct-image img {
    filter: grayscale(100%);
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    width: min(100%, var(--max-width));

    margin: auto;
    padding:
        45px
        var(--page-padding)
        70px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.process-card {
    position: relative;

    min-height: 230px;
    padding: 10px 55px 20px 25px;

    border-right: 1px solid var(--grey);
}

.process-card:first-child {
    padding-left: 25px;
}

.process-card:last-child {
    border-right: 0;
}

.process-number {
    display: block;

    margin-bottom: 5px;

    color: var(--grey);

    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.process-card h2 {
    margin-bottom: 18px;

    font-family: var(--heading-font);
    font-size: clamp(46px, 4vw, 70px);
    line-height: 0.95;

    text-transform: uppercase;
}

.process-card p {
    max-width: 330px;

    margin: 0;

    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    width: min(100%, var(--max-width));

    margin: auto;
    padding:
        0
        var(--page-padding)
        70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--grey);
}

.service-card {
    min-height: 210px;

    padding: 35px 35px 20px 15px;

    border-right: 1px solid var(--grey);
}

.service-card:last-child {
    border-right: 0;
}

.service-icon {
    height: 45px;

    margin-bottom: 15px;

    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.service-icon-code {
    font-size: 28px;
}

.service-card h3 {
    margin-bottom: 10px;

    font-family: var(--heading-font);
    font-size: 26px;

    text-transform: uppercase;
}

.service-card p {
    max-width: 250px;

    margin: 0;

    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   STORY
========================================================= */

.story-section {
    width: min(100%, var(--max-width));
    min-height: 340px;

    margin: auto;

    display: grid;
    grid-template-columns: 1.15fr 1fr 0.55fr;
}

.story-image {
    min-height: 340px;
    overflow: hidden;
}

.story-image img {
    filter: grayscale(100%);
}

.story-content {
    padding: 40px 55px;
}

.story-content .section-label {
    margin-bottom: 35px;
}

.story-content p {
    max-width: 620px;

    margin-bottom: 15px;

    font-size: 13px;
    line-height: 1.45;
}


/* HANDWRITTEN NOTE */

.story-note {
    padding: 70px 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    font-family: "Comic Sans MS", cursive;
    font-size: clamp(24px, 2vw, 34px);
    font-style: italic;
    line-height: 0.95;

    transform: rotate(-5deg);
}


/* =========================================================
   FOOTER CTA
========================================================= */

.site-footer {
    width: min(100%, var(--max-width));

    margin: auto;
    padding:
        45px
        var(--page-padding)
        25px;

    display: grid;
    grid-template-columns: 1.5fr 0.75fr;
    gap: 70px;

    background: var(--ink);
    color: var(--cream);
}

.footer-heading h2 {
    margin: 0;

    font-family: var(--heading-font);
    font-size: clamp(48px, 5vw, 82px);
    line-height: 0.9;

    text-transform: uppercase;
}

.footer-heading h2 span {
    color: var(--lime);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.footer-button {
    width: 100%;
    max-width: 320px;

    color: var(--ink);
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 13px;

    transition: color var(--transition);
}

.footer-email:hover {
    color: var(--lime);
}


/* FOOTER BOTTOM */

.footer-bottom {
    grid-column: 1 / -1;

    padding-top: 25px;
    margin-top: 20px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    color: #aaa;

    font-family: Arial, sans-serif;
    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a:hover {
    color: var(--lime);
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    /* HEADER */

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav,
    .site-header > .button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-content {
        padding-right: 0;
    }

    .about-hero-image {
        min-height: 600px;
    }


    /* DIRECT */

    .direct-section {
        grid-template-columns: 1fr;
    }

    .direct-image {
        min-height: 500px;
    }


    /* PROCESS */

    .process-card {
        padding-right: 25px;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:nth-child(2) {
        border-right: 0;
    }

    .service-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--grey);
    }


    /* STORY */

    .story-section {
        grid-template-columns: 1fr 1fr;
    }

    .story-note {
        display: none;
    }


    /* FOOTER */

    .site-footer {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 650px) {

    :root {
        --page-padding: 22px;
    }


    /* HEADER */

    .site-header {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .logo {
        font-size: 21px;
    }


    /* HERO */

    .about-hero {
        padding: 0;
    }

    .about-hero-content {
        padding:
            60px
            var(--page-padding)
            45px;
    }

    .about-hero h1 {
        font-size: clamp(56px, 18vw, 82px);
        letter-spacing: -2px;
    }

    .hero-intro {
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .button-divider {
        display: none;
    }

    .about-hero-image {
        min-height: 480px;
    }


    /* DIRECT */

    .direct-content {
        padding:
            60px
            var(--page-padding);
    }

    .direct-image {
        min-height: 400px;
    }


    /* PROCESS */

    .process-section {
        padding-top: 40px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;

        padding:
            30px
            0
            40px;

        border-right: 0;
        border-bottom: 1px solid var(--grey);
    }

    .process-card:first-child {
        padding-left: 0;
    }

    .process-card:last-child {
        border-bottom: 0;
    }

    .process-card h2 {
        font-size: 54px;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;

        padding:
            30px
            0;

        border-right: 0;
        border-bottom: 1px solid var(--grey);
    }

    .service-card:nth-child(2) {
        border-right: 0;
    }

    .service-card:last-child {
        border-bottom: 0;
    }


    /* STORY */

    .story-section {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 400px;
    }

    .story-content {
        padding:
            50px
            var(--page-padding);
    }


    /* FOOTER */

    .site-footer {
        padding:
            50px
            var(--page-padding)
            25px;

        gap: 45px;
    }

    .footer-heading h2 {
        font-size: clamp(50px, 15vw, 72px);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

}