/* ==========================================
   MAXWELL WILDLIFE
   Main Stylesheet
   ========================================== */


/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f3f1ec;
    color: #242421;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* ==========================================
   HERO
   ========================================== */

.hero {
    position: relative;

    min-height: 88vh;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .28) 0%,
            rgba(0, 0, 0, .04) 45%,
            rgba(0, 0, 0, .25) 100%
        ),
        url("/assets/images/pelican-hero.jpg");

    background-size: cover;

    /*
       This may need adjusting once the actual
       hero is on the server.
    */
    background-position: center 55%;

    color: white;

    display: flex;
    flex-direction: column;
}


/* ---------- NAVIGATION ---------- */

.main-nav {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 5%;

    position: relative;
    z-index: 10;
}


.brand {
    text-decoration: none;

    display: flex;
    flex-direction: column;

    line-height: 1.15;
}


.brand-main {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .18em;
}


.brand-sub {
    margin-top: 6px;

    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;

    opacity: .8;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}


.nav-links a {
    color: white;
    text-decoration: none;

    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;

    transition: opacity .2s ease;
}


.nav-links a:hover {
    opacity: .65;
}


/* ---------- MOBILE MENU BUTTON ---------- */

.menu-button {
    display: none;

    width: 34px;

    padding: 0;

    background: none;
    border: 0;

    cursor: pointer;
}


.menu-button span {
    display: block;

    height: 2px;
    width: 100%;

    margin: 6px 0;

    background: white;
}


/* ---------- HERO TEXT ---------- */

.hero-content {
    width: 90%;
    max-width: 1300px;

    margin: auto;

    padding-bottom: 5vh;
}


.eyebrow {
    margin: 0 0 14px;

    font-size: .78rem;

    text-transform: uppercase;
    letter-spacing: .28em;

    font-weight: 600;
}


.hero h1 {
    margin: 0;

    font-size: clamp(4rem, 9vw, 9rem);

    line-height: .83;

    letter-spacing: -.055em;

    font-weight: 700;
}


.hero-intro {
    margin: 28px 0 32px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-style: italic;
}


.hero-button {
    display: inline-block;

    padding: 13px 22px;

    border: 1px solid rgba(255, 255, 255, .8);

    color: white;
    text-decoration: none;

    font-size: .75rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .15em;

    transition:
        background .2s ease,
        color .2s ease;
}


.hero-button:hover {
    background: white;
    color: #222;
}


.hero-credit {
    position: absolute;

    right: 5%;
    bottom: 25px;

    font-size: .65rem;

    text-transform: uppercase;
    letter-spacing: .15em;

    opacity: .75;
}


/* ==========================================
   COMMON TYPOGRAPHY
   ========================================== */

.section-label {
    margin: 0 0 20px;

    font-size: .72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .22em;

    color: #6e6b64;
}


h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2.4rem, 5vw, 4.8rem);

    line-height: 1.05;

    font-weight: 400;

    letter-spacing: -.035em;
}


.text-link {
    display: inline-block;

    margin-top: 28px;

    text-decoration: none;

    font-size: .76rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .15em;

    border-bottom: 1px solid #aaa;

    padding-bottom: 4px;
}


.text-link span {
    margin-left: 7px;
}


/* ==========================================
   INTRODUCTION
   ========================================== */

.intro-section {
    padding: 120px 5%;
}


.intro-inner {
    max-width: 1050px;
    margin: auto;
}


.intro-copy {
    max-width: 680px;

    margin: 38px 0 0 auto;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.15rem, 2vw, 1.45rem);

    line-height: 1.75;

    color: #4e4c47;
}


/* ==========================================
   FEATURED WORK
   ========================================== */

.featured-section {
    padding: 80px 5% 120px;

    background: #e8e5de;
}


.section-heading {
    max-width: 1400px;

    margin: 0 auto 60px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


.featured-placeholder {
    max-width: 1400px;

    min-height: 500px;

    margin: auto;

    background: #d7d3ca;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;
}


.featured-placeholder p {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}


.featured-placeholder span {
    max-width: 500px;

    color: #77736b;

    font-size: .9rem;
}


/* ==========================================
   PRINTS
   ========================================== */

.prints-section {
    background: #20211f;

    color: #f4f2ed;

    padding: 120px 5%;
}


.prints-inner {
    max-width: 900px;
    margin: auto;

    text-align: center;
}


.prints-section .section-label {
    color: #aaa89f;
}


.prints-section p:not(.section-label) {
    max-width: 580px;

    margin: 30px auto;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.15rem;

    color: #c9c7c0;
}


.light-button {
    display: inline-block;

    margin-top: 10px;

    padding: 13px 24px;

    border: 1px solid #eee;

    color: white;
    text-decoration: none;

    text-transform: uppercase;

    font-size: .75rem;
    font-weight: 700;

    letter-spacing: .15em;

    transition:
        background .2s ease,
        color .2s ease;
}


.light-button:hover {
    background: #eee;
    color: #222;
}


/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: #171816;
    color: #aaa;

    padding: 60px 5% 35px;

    text-align: center;
}


.footer-brand {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 35px;
}


.footer-logo {
    color: white;

    font-weight: 700;

    letter-spacing: .2em;

    font-size: 1rem;
}


.footer-brand span:last-child {
    font-family: Georgia, "Times New Roman", serif;

    font-size: .9rem;
}


.footer-nav {
    display: flex;
    justify-content: center;

    gap: 30px;

    margin-bottom: 45px;
}


.footer-nav a {
    color: #bbb;

    text-decoration: none;

    text-transform: uppercase;

    font-size: .68rem;

    letter-spacing: .14em;
}


.footer-nav a:hover {
    color: white;
}


.copyright {
    border-top: 1px solid #333;

    padding-top: 25px;

    font-size: .65rem;

    letter-spacing: .08em;

    color: #777;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 800px) {

    .hero {
        min-height: 82vh;
    }


    .main-nav {
        padding: 22px 6%;
    }


    .brand-sub {
        display: none;
    }


    .menu-button {
        display: block;
    }


    .nav-links {
        display: none;

        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        padding: 30px;

        background: rgba(20, 20, 18, .96);

        flex-direction: column;

        gap: 22px;
    }


    .nav-links.open {
        display: flex;
    }


    .hero-content {
        width: 88%;
    }


    .hero h1 {
        font-size: clamp(3.8rem, 18vw, 6rem);
    }


    .hero-credit {
        display: none;
    }


    .intro-section {
        padding: 80px 7%;
    }


    .intro-copy {
        margin: 30px 0 0;
    }


    .featured-section {
        padding: 70px 7%;
    }


    .section-heading {
        display: block;
    }


    .section-heading .text-link {
        margin-top: 25px;
    }


    .featured-placeholder {
        min-height: 350px;
    }


    .prints-section {
        padding: 90px 7%;
    }


    .footer-nav {
        flex-wrap: wrap;
        gap: 18px 25px;
    }

}

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */


.portfolio-page {
    background: #f3f1ec;
}


/* ---------- HEADER ---------- */

.portfolio-header {
    background: #1d1e1c;
    color: white;
}


.portfolio-nav {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}


.portfolio-nav .nav-links a.active {
    opacity: .55;
}


.portfolio-title {
    max-width: 1400px;

    margin: auto;

    padding: 115px 5% 125px;
}


.portfolio-eyebrow {
    margin: 0 0 18px;

    font-size: .72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .25em;

    color: #aaa89f;
}


.portfolio-title h1 {
    margin: 0;

    font-size: clamp(4.5rem, 11vw, 10rem);

    line-height: .85;

    letter-spacing: -.06em;

    font-weight: 700;
}


.portfolio-title > p:last-child {
    margin: 30px 0 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.3rem, 2.5vw, 2rem);

    font-style: italic;

    color: #c9c7c0;
}


/* ==========================================
   GENERAL PORTFOLIO
   ========================================== */

.portfolio-main {
    overflow: hidden;
}


.portfolio-block {
    max-width: 1500px;

    margin: auto;

    padding-left: 5%;
    padding-right: 5%;
}


.photo {
    margin: 0;
}


.photo img {
    width: 100%;
    height: auto;

    display: block;
}


.photo figcaption {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-top: 12px;
}


.photo-title {
    font-family: Georgia, "Times New Roman", serif;

    font-size: .95rem;

    color: #35342f;
}


.photo-category {
    font-size: .65rem;

    text-transform: uppercase;
    letter-spacing: .16em;

    color: #8a877f;
}


/* ==========================================
   OPENING
   ========================================== */

.portfolio-opening {
    padding-top: 100px;
    padding-bottom: 150px;
}


.portfolio-opening .photo-wide {
    max-width: 1400px;

    margin: auto;
}


/* ==========================================
   TWO IMAGE LAYOUTS
   ========================================== */

.portfolio-duo {
    display: grid;

    grid-template-columns: 1.05fr .75fr;

    gap: clamp(50px, 8vw, 140px);

    align-items: start;

    padding-bottom: 165px;
}


.portrait-duo .offset-photo {
    margin-top: 130px;
}


.reverse-duo {
    grid-template-columns: .8fr 1.05fr;

    align-items: center;
}


.reverse-duo .rain-photo {
    margin-top: 90px;
}


.soft-duo {
    grid-template-columns: 1fr 1fr;

    gap: clamp(40px, 6vw, 100px);
}


/* ==========================================
   BIG STATEMENT IMAGE
   ========================================== */

.portfolio-statement {
    max-width: none;

    padding: 0 0 170px;
}


.portfolio-statement .photo {
    width: 100%;
}


.portfolio-statement img {
    width: 100%;

    max-height: 900px;

    object-fit: cover;
}


.portfolio-statement figcaption {
    max-width: 1400px;

    margin: auto;

    padding: 12px 5% 0;
}


/* ==========================================
   CENTERED IMAGE
   ========================================== */

.portfolio-centered {
    padding-top: 10px;
    padding-bottom: 170px;
}


.portfolio-centered .photo {
    width: 72%;

    margin: auto;
}


/* ==========================================
   LANDSCAPE BREAK
   ========================================== */

.landscape-break {
    max-width: none;

    padding: 20px 0 180px;

    background: #20211f;
}


.landscape-break .photo {
    max-width: 1450px;

    margin: auto;

    padding-top: 110px;
}


.landscape-break figcaption {
    color: white;
}


.landscape-break .photo-title {
    color: #e7e5df;
}


.landscape-break .photo-category {
    color: #908e88;
}


/* ==========================================
   TEXT + FEATURE
   ========================================== */

.portfolio-feature-right {
    display: grid;

    grid-template-columns: .7fr 1.2fr;

    gap: clamp(60px, 9vw, 150px);

    align-items: center;

    padding-top: 160px;
    padding-bottom: 180px;
}


.feature-intro h2 {
    font-size: clamp(2.2rem, 4.2vw, 4rem);
}


/* ==========================================
   CLOSING
   ========================================== */

.portfolio-closing {
    max-width: none;

    padding: 0;
}


.portfolio-closing .photo {
    width: 100%;
}


.portfolio-closing img {
    width: 100%;

    max-height: 900px;

    object-fit: cover;
}


.portfolio-closing figcaption {
    max-width: 1400px;

    margin: auto;

    padding: 12px 5% 0;
}


.portfolio-end {
    max-width: 900px;

    margin: auto;

    padding: 140px 5% 150px;

    text-align: center;
}


.portfolio-end h2 {
    margin-bottom: 28px;
}


.portfolio-end > p:not(.section-label) {
    margin: 0 auto 32px;

    max-width: 520px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.15rem;

    color: #66635d;
}


.dark-button {
    display: inline-block;

    padding: 13px 24px;

    background: #222320;

    border: 1px solid #222320;

    color: white;

    text-decoration: none;

    text-transform: uppercase;

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .15em;

    transition:
        background .2s ease,
        color .2s ease;
}


.dark-button:hover {
    background: transparent;

    color: #222320;
}


/* ==========================================
   PORTFOLIO MOBILE
   ========================================== */

@media (max-width: 800px) {

    .portfolio-title {
        padding: 80px 7% 90px;
    }


    .portfolio-title h1 {
        font-size: clamp(4rem, 19vw, 7rem);
    }


    .portfolio-opening {
        padding:
            70px 7%
            100px;
    }


    .portfolio-duo {
        display: block;

        padding:
            0 7%
            100px;
    }


    .portfolio-duo .photo {
        margin: 0 0 70px;
    }


    .portrait-duo .offset-photo,
    .reverse-duo .rain-photo {
        margin-top: 0;
    }


    .portfolio-statement {
        padding-bottom: 100px;
    }


    .portfolio-statement img,
    .portfolio-closing img {
        min-height: 360px;

        object-fit: cover;
    }


    .portfolio-centered {
        padding:
            0 7%
            110px;
    }


    .portfolio-centered .photo {
        width: 100%;
    }


    .landscape-break {
        padding-bottom: 100px;
    }


    .landscape-break .photo {
        padding-top: 70px;
    }


    .portfolio-feature-right {
        display: block;

        padding:
            100px 7%;
    }


    .feature-intro {
        margin-bottom: 55px;
    }


    .portfolio-end {
        padding:
            100px 7%
            110px;
    }

}

/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-page {
    background: #f3f1ec;
}


.about-header {
    background: #1d1e1c;
    color: white;
}


.about-nav {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}


.about-nav .nav-links a.active {
    opacity: .55;
}


.about-title {
    max-width: 1400px;
    margin: auto;

    padding: 115px 5% 125px;
}


.about-eyebrow {
    margin: 0 0 18px;

    font-size: .72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .25em;

    color: #aaa89f;
}


.about-title h1 {
    margin: 0;

    font-size: clamp(4.5rem, 11vw, 10rem);

    line-height: .85;

    letter-spacing: -.06em;

    font-weight: 700;
}


.about-title > p:last-child {
    margin: 30px 0 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(1.3rem, 2.5vw, 2rem);

    font-style: italic;

    color: #c9c7c0;
}


/* ---------- INTRO ---------- */

.about-intro {
    max-width: 1450px;

    margin: auto;

    padding: 120px 5% 150px;

    display: grid;

    grid-template-columns: .9fr 1fr;

    gap: clamp(60px, 8vw, 140px);

    align-items: center;
}


.about-image img {
    width: 100%;
    height: auto;
}


.about-copy h2 {
    margin-bottom: 35px;
}


.about-copy p:not(.section-label) {
    max-width: 680px;

    margin: 0 0 24px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.12rem;

    line-height: 1.8;

    color: #55524c;
}


/* ---------- DARK SECTION ---------- */

.about-dark {
    background: #20211f;

    color: #f3f1ec;

    padding: 130px 5%;
}


.about-dark-inner {
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: .85fr 1.1fr;

    gap: clamp(60px, 9vw, 150px);

    align-items: center;
}


.about-dark .section-label {
    color: #aaa89f;
}


.about-dark h2 {
    margin-bottom: 35px;
}


.about-dark-copy p:not(.section-label) {
    margin: 0 0 24px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.12rem;

    line-height: 1.8;

    color: #c9c7c0;
}


.about-dark-image img {
    width: 100%;
    height: auto;
}


/* ---------- LANDSCAPE ---------- */

.about-landscape {
    width: 100%;
}


.about-landscape img {
    width: 100%;

    max-height: 850px;

    object-fit: cover;
}


/* ---------- PURPOSE ---------- */

.about-purpose {
    padding: 130px 5% 150px;
}


.about-purpose-inner {
    max-width: 900px;

    margin: auto;

    text-align: center;
}


.about-purpose h2 {
    margin-bottom: 35px;
}


.about-purpose p:not(.section-label) {
    max-width: 700px;

    margin: 0 auto 35px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.15rem;

    line-height: 1.8;

    color: #5c5953;
}


.about-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 30px;

    flex-wrap: wrap;
}


.about-buttons .text-link {
    margin-top: 0;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .about-title {
        padding: 80px 7% 90px;
    }


    .about-title h1 {
        font-size: clamp(4rem, 19vw, 7rem);
    }


    .about-intro {
        display: block;

        padding: 80px 7% 100px;
    }


    .about-image {
        margin-bottom: 60px;
    }


    .about-dark {
        padding: 90px 7%;
    }


    .about-dark-inner {
        display: block;
    }


    .about-dark-copy {
        margin-bottom: 60px;
    }


    .about-purpose {
        padding: 90px 7% 110px;
    }

}