/* =========================================================
   cesarGmelo.com
   Main Stylesheet
   ========================================================= */


/* =========================================================
   1. RESET / GLOBAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --site-width: 90%;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.site-header {
    width: 95%;
    margin: 0 auto;

    min-height: 80px;

    display: grid;

    grid-template-columns:
        minmax(150px, 1fr)
        auto
        minmax(150px, 1fr);

    align-items: center;

    padding: 0 30px;

    background: #ffffff;

    border-bottom: 1px solid #eaeaea;

    position: sticky;
    top: 0;

    z-index: 1000;
}


/* -------------------------
   Logo
   ------------------------- */

.header-logo {
    justify-self: start;
}

.header-logo img {
    width: 150px;
    height: auto;
}


/* -------------------------
   Navigation
   ------------------------- */

.main-navigation {
    justify-self: center;
}

.main-navigation ul {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 28px;
}

.main-navigation a {
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.5px;

    position: relative;

    transition: opacity 0.25s ease;
}

.main-navigation a:hover {
    opacity: 0.5;
}


/* -------------------------
   Social links
   ------------------------- */

.header-socials {
    justify-self: end;

    display: flex;
    align-items: center;

    gap: 18px;
}

.header-socials a {
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1px;

    transition: opacity 0.25s ease;
}

.header-socials a:hover {
    opacity: 0.5;
}

.header-socials img {
    filter: grayscale(100%);

    width: 18px;
    height: 18px;

    display: block;
}


/* =========================================================
   3. HERO
   ========================================================= */

.hero {
    width: 95%;

    margin: 0 auto;

    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;

    display: block;

    margin-bottom: 70px;
}


/* =========================================================
   4. PHOTO GRIDS
   ========================================================= */

.photo-grid {
    width: 75%;

    margin: 0 auto 70px;

    overflow: hidden;

    display: grid;

    gap: 32px;

    background: #ffffff;
}


/* -------------------------
   2 × 2 Grid
   ------------------------- */

.grid-four {
    grid-template-columns: repeat(2, 1fr);
}


/* -------------------------
   3 × 3 Grid
   ------------------------- */

.grid-twelve {
    grid-template-columns: repeat(3, 1fr);
}


/* =========================================================
   5. PHOTO ITEMS
   ========================================================= */

.photo-item {
    display: block;

    width: 100%;

    overflow: hidden;

    background: #eeeeee;
}

.photo-item img {
    width: 100%;
    height: auto;

    display: block;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    transition: opacity 0.3s ease;
}


/* -------------------------
   Hover effect
   ------------------------- */

.photo-item:hover img {
    opacity: 0.88;
}


/* =========================================================
   6. PHOTOS PAGE
   ========================================================= */


/* =========================================================
   Page Intro
   ========================================================= */

.page-intro {
    width: 75%;

    margin: 90px auto 70px;

    text-align: center;
}

.page-intro h1 {
    margin: 0;

    font-size: 18px;
    font-weight: 500;

    letter-spacing: 5px;
}

.page-intro p {
    max-width: 650px;

    margin: 18px auto 0;

    font-size: 13px;

    line-height: 1.8;

    color: #777777;
}


/* =========================================================
   Photo Category Grid
   ========================================================= */

.photo-categories {
    width: 75%;

    margin: 0 auto 120px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* =========================================================
   Category Card
   ========================================================= */

.photo-category-card {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    background: #eeeeee;
}


/* =========================================================
   Category Image
   ========================================================= */

.photo-category-image {
    width: 100%;

    overflow: hidden;
}

.photo-category-image img {
    width: 100%;
    height: auto;

    display: block;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}


/* =========================================================
   Category Overlay
   ========================================================= */

.photo-category-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 25px;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.32),
            rgba(0, 0, 0, 0.10)
        );

    color: #ffffff;

    transition:
        background 0.35s ease;
}


/* =========================================================
   Category Title
   ========================================================= */

.photo-category-overlay h2 {
    margin: 0;

    padding: 8px 14px;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 3px;

    background: rgba(0, 0, 0, 0.35);

    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   Explore Link
   ========================================================= */

.photo-category-overlay span {
    margin-top: 12px;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: 0;

    transform: translateY(5px);

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   Category Hover
   ========================================================= */

.photo-category-card:hover .photo-category-image img {
    transform: scale(1.05);

    opacity: 0.82;
}

.photo-category-card:hover .photo-category-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.15)
        );
}

.photo-category-card:hover .photo-category-overlay span {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   DESTINATIONS
   ========================================================= */


/* -------------------------
   Destination Grid
   ------------------------- */

.destinations {
    width: 70%;

    margin: 0 auto 120px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.destinations-japan {
    width: 23%;

    margin: 0 auto 120px;

    display: grid;

    grid-template-columns: repeat(1, 1fr);

    gap: 30px;
}

/* -------------------------
   Destination Card
   ------------------------- */

.destination-card {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    background: #eeeeee;

    aspect-ratio: 3 / 2;
}


/* -------------------------
   Destination Image
   ------------------------- */

.destination-image {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}


/* -------------------------
   Destination Overlay
   ------------------------- */

.destination-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 25px;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.05)
        );

    color: #ffffff;

    transition:
        background 0.35s ease;
}


/* -------------------------
   Destination Information
   ------------------------- */

.destination-info {
    display: flex;

    flex-direction: column;

    align-items: center;
}


/* -------------------------
   Destination Number
   ------------------------- */

.destination-number {
    margin-bottom: 10px;

    font-size: 9px;

    letter-spacing: 3px;

    opacity: 0.8;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);
}


/* -------------------------
   Destination Country
   ------------------------- */

.destination-info h2 {
    margin: 0;

    padding: 8px 14px;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: 4px;

    background: rgba(0, 0, 0, 0.35);

    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.55);

    transition:
        letter-spacing 0.35s ease;
}


/* -------------------------
   Destination Locations
   ------------------------- */

.destination-locations {
    margin-top: 10px;

    font-size: 8px;

    letter-spacing: 1.5px;

    color: rgba(255, 255, 255, 0.9);

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);
}


/* -------------------------
   Destination Explore
   ------------------------- */

.destination-explore {
    margin-top: 16px;

    font-size: 8px;

    letter-spacing: 2px;

    opacity: 0;

    transform: translateY(5px);

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* -------------------------
   Destination Hover
   ------------------------- */

.destination-card:hover .destination-image img {
    transform: scale(1.05);

    opacity: 0.88;
}

.destination-card:hover .destination-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.34),
            rgba(0, 0, 0, 0.08)
        );
}

.destination-card:hover .destination-info h2 {
    letter-spacing: 5px;
}

.destination-card:hover .destination-explore {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   Featured Photography
   ========================================================= */

.featured-photography {
    width: 100%;

    margin: 0 auto;

    padding: 90px 0 20px;

    background: #f7f7f5;
}


/* -------------------------
   Featured Header
   ------------------------- */

.featured-header {
    width: 75%;

    margin: 0 auto 50px;

    text-align: center;
}

.featured-header h2 {
    margin: 0;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: 4px;
}

.featured-header p {
    margin: 14px 0 0;

    font-size: 12px;

    color: #777777;
}


/* -------------------------
   Featured Grid
   ------------------------- */

.featured-photography .photo-grid {
    margin-bottom: 0;
}


/* =========================================================
   7. ELSEWHERE / OTHER PROJECTS
   ========================================================= */

.elsewhere {
    width: 100%;

    margin: 100px auto 120px;

    padding: 90px 5%;

    background: #f7f7f5;

    text-align: center;
}


/* -------------------------
   Section heading
   ------------------------- */

.elsewhere-header {
    margin-bottom: 50px;
}

.elsewhere-header h2 {
    margin: 0;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: 4px;
}

.elsewhere-header p {
    margin: 14px 0 0;

    font-size: 12px;

    letter-spacing: 0.7px;

    color: #666666;
}


/* -------------------------
   Project cards
   ------------------------- */

.project-cards {
    width: 80%;
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


/* -------------------------
   Individual card
   ------------------------- */

.project-card {
    background: #ffffff;

    border: 1px solid #e2e2df;

    padding: 55px 45px 45px;

    color: #111111;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* -------------------------
   Card hover
   ------------------------- */

.project-card:hover {
    transform: translateY(-5px);

    border-color: #cccccc;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}


/* -------------------------
   Project logo
   ------------------------- */

.project-logo {
    height: 130px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
}

.project-logo img {
    max-width: 220px;
    max-height: 110px;

    width: auto;
    height: auto;

    display: block;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


/* -------------------------
   Logo hover
   ------------------------- */

.project-card:hover .project-logo img {
    transform: scale(1.04);
}


/* -------------------------
   Project information
   ------------------------- */

.project-info h3 {
    margin: 0;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 2px;
}

.project-info p {
    max-width: 320px;

    margin: 12px auto 25px;

    font-size: 14px;

    line-height: 1.7;

    color: #777777;
}


/* -------------------------
   Explore link
   ------------------------- */

.project-link {
    display: inline-block;

    font-size: 10px;

    letter-spacing: 2px;

    color: #111111;

    transition: opacity 0.25s ease;
}

.project-card:hover .project-link {
    opacity: 0.5;
}


/* =========================================================
   6B. INDIVIDUAL DESTINATION PAGE
   ========================================================= */


/* =========================================================
   Destination Intro
   ========================================================= */

.destination-intro {
    width: 75%;

    margin: 90px auto 65px;

    text-align: center;
}


/* -------------------------
   Breadcrumb
   ------------------------- */

.destination-breadcrumb {
    display: block;

    margin-bottom: 18px;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 3px;

    color: #999999;
}


/* -------------------------
   Destination Title
   ------------------------- */

.destination-intro h1 {
    margin: 0;

    font-size: 20px;
    font-weight: 500;

    letter-spacing: 6px;
}


/* -------------------------
   Destination Description
   ------------------------- */

.destination-intro p {
    max-width: 650px;

    margin: 18px auto 0;

    font-size: 13px;

    line-height: 1.8;

    color: #777777;
}


/* =========================================================
   Featured Photograph
   ========================================================= */

.destination-featured {
    width: 85%;

    max-width: 1400px;

    margin: 0 auto 80px;

    overflow: hidden;

    background: #eeeeee;
}


.destination-featured-image {
    width: 100%;

    overflow: hidden;
}


.destination-featured-image img {
    width: 100%;
    height: auto;

    display: block;

    transition:
        transform 0.6s ease,
        opacity 0.45s ease;
}


/* -------------------------
   Featured hover
   ------------------------- */

.destination-featured:hover img {
    transform: scale(1.015);

    opacity: 0.96;
}


/* =========================================================
   Destination Gallery
   ========================================================= */

.destination-gallery {
    width: 75%;

    max-width: 1200px;

    margin: 0 auto 100px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 55px 32px;
}

.destination-gallery-single-vert{
    width: 75%;

    max-width: 1200px;

    margin: 0 auto 100px;

    display: grid;

    grid-template-columns: repeat(1, 1fr);

    gap: 55px 32px;
}


/* =========================================================
   Destination Photograph
   ========================================================= */

.destination-photo {
    margin: 0;

    width: 100%;
}

.destination-photo-single-vert {
    margin: 0 auto;

    width: 50%;
}

.destination-photo-portrait {
    width: 65%;

    justify-self: center;
}


/* -------------------------
   Image container
   ------------------------- */

.destination-photo a {
    display: block;

    width: 100%;

    overflow: hidden;

    background: #eeeeee;
}


/* -------------------------
   Photograph
   ------------------------- */

.destination-photo img {
    width: 100%;
    height: auto;

    display: block;

    transition:
        transform 0.45s ease,
        opacity 0.35s ease;
}


/* -------------------------
   Photograph hover
   ------------------------- */

.destination-photo a:hover img {
    transform: scale(1.025);

    opacity: 0.88;
}


/* =========================================================
   Photograph Caption
   ========================================================= */

.destination-photo figcaption {
    padding-top: 14px;

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.destination-photo-single-vert figcaption {
    padding-top: 14px;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


/* -------------------------
   Photograph title
   ------------------------- */

.destination-photo figcaption strong {
    font-size: 12px;

    font-weight: 500;

    letter-spacing: 1.5px;

    color: #333333;
}

.destination-photo-single-vert figcaption strong {
    font-size: 12px;

    font-weight: 500;

    letter-spacing: 1.5px;

    color: #333333;
}


/* -------------------------
   Photograph location
   ------------------------- */

.destination-photo figcaption span {
    font-size: 10px;

    letter-spacing: 1px;

    color: #999999;
}

.destination-photo-single-vert figcaption span {
    font-size: 10px;

    letter-spacing: 1px;

    color: #999999;
}


/* =========================================================
   Destination Navigation
   ========================================================= */

.destination-navigation {
    width: 75%;

    margin: 0 auto 120px;

    padding-top: 10px;

    text-align: center;

    border-top: 1px solid #eeeeee;
}


/* -------------------------
   Back link
   ------------------------- */

.destination-back {
    display: inline-block;

    margin-top: 35px;

    font-size: 9px;

    letter-spacing: 2.5px;

    color: #555555;

    transition:
        opacity 0.25s ease,
        letter-spacing 0.25s ease;
}


/* -------------------------
   Back link hover
   ------------------------- */

.destination-back:hover {
    opacity: 0.55;

    letter-spacing: 3px;
}


/* =========================================================
   8. FOOTER
   ========================================================= */

.site-footer {
    width: 100%;

    padding: 55px 20px 35px;

    background: #ffffff;

    text-align: center;
}


/* -------------------------
   Socials
   ------------------------- */

.footer-socials {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 22px;

    margin-bottom: 30px;
}

.footer-socials a {
    display: flex;

    align-items: center;
    justify-content: center;

    transition: opacity 0.25s ease;
}

.footer-socials a:hover {
    opacity: 0.55;
}

.footer-socials img {
    width: 18px;
    height: 18px;

    display: block;
}


/* -------------------------
   Copyright
   ------------------------- */

.copyright {
    margin: 0;

    font-size: 11px;

    letter-spacing: 0.5px;

    color: #777777;
}


/* =========================================================
   6C. VISUAL STORIES
   ========================================================= */


/* =========================================================
   Visual Stories Section
   ========================================================= */

.visual-stories {
    width: 100%;

    margin: 0 auto 120px;

    padding: 90px 0 100px;

    background: #f7f7f5;
}


/* =========================================================
   Section Header
   ========================================================= */

.visual-stories-header {
    width: 75%;

    margin: 0 auto 50px;

    text-align: center;
}


/* -------------------------
   Title
   ------------------------- */

.visual-stories-header h2 {
    margin: 0;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 4px;
}


/* -------------------------
   Description
   ------------------------- */

.visual-stories-header p {
    max-width: 600px;

    margin: 14px auto 0;

    font-size: 12px;

    line-height: 1.8;

    color: #777777;
}


/* =========================================================
   Stories Grid
   ========================================================= */

.visual-stories-grid {
    width: 75%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.visual-stories-grid-one {
    width: 23%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(1, 1fr);

    gap: 25px;
}

.visual-stories-grid-three {
    width: 80%;

    max-width: 1600px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

/* =========================================================
   Story Card
   ========================================================= */

.visual-story-card {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    background: #eeeeee;
}


/* =========================================================
   Story Image
   ========================================================= */

.visual-story-image {
    width: 100%;

    overflow: hidden;
}


.visual-story-image img {
    width: 100%;
    height: auto;

    display: block;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    transition:
        transform 0.55s ease,
        opacity 0.45s ease;
}


/* =========================================================
   Story Overlay
   ========================================================= */

.visual-story-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.10)
        );

    color: #ffffff;

    transition:
        background 0.35s ease;
}


/* =========================================================
   Story Information
   ========================================================= */

.visual-story-info {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


/* -------------------------
   Label
   ------------------------- */

.visual-story-label {
    margin-bottom: 10px;

    font-size: 8px;

    letter-spacing: 3px;

    opacity: 0.85;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);
}


/* -------------------------
   Story title
   ------------------------- */

.visual-story-info h3 {
    margin: 0;

    padding: 8px 14px;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 3px;

    background: rgba(0, 0, 0, 0.38);

    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.4);

    transition:
        letter-spacing 0.35s ease;
}


/* -------------------------
   Location
   ------------------------- */

.visual-story-location {
    margin-top: 11px;

    font-size: 9px;

    letter-spacing: 1.5px;

    color: rgba(255, 255, 255, 0.9);

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);
}


/* -------------------------
   Explore
   ------------------------- */

.visual-story-explore {
    margin-top: 14px;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: 0;

    transform: translateY(5px);

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.55);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   Story Hover
   ========================================================= */

.visual-story-card:hover .visual-story-image img {
    transform: scale(1.05);

    opacity: 0.82;
}


.visual-story-card:hover .visual-story-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.14),
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.14)
        );
}


.visual-story-card:hover .visual-story-info h3 {
    letter-spacing: 4px;
}


.visual-story-card:hover .visual-story-explore {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   9. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-header {
        padding: 0 25px;
    }

    .main-navigation ul {
        gap: 18px;
    }

    .main-navigation a {
        font-size: 11px;
    }


    /* -------------------------
       Photo categories
       ------------------------- */

    .photo-categories {
        width: 85%;

        gap: 20px;
    }


    /* -------------------------
       Destinations
       ------------------------- */

    .destinations {
        width: 80%;

        gap: 25px;
    }



    .destination-intro {
        width: 85%;
    }

    .destination-featured {
        width: 90%;

        margin-bottom: 65px;
    }

    .destination-gallery {
        width: 85%;

        gap: 45px 25px;
    }

    .destination-navigation {
        width: 85%;
    }

        .visual-stories {
        padding: 75px 0 85px;

        margin-bottom: 100px;
    }

    .visual-stories-header {
        width: 85%;

        margin-bottom: 40px;
    }

    .visual-stories-grid {
        width: 85%;

        gap: 20px;
    }


}


/* =========================================================
   10. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* -------------------------
       Header
       ------------------------- */

    .site-header {
        height: auto;

        min-height: 70px;

        display: flex;

        justify-content: space-between;

        padding: 15px 20px;

        gap: 20px;
    }

    .header-logo img {
        width: 125px;
    }


    /* -------------------------
       Navigation
       ------------------------- */

    .main-navigation {
        display: none;
    }


    /* -------------------------
       Header socials
       ------------------------- */

    .header-socials {
        gap: 14px;
    }


    /* -------------------------
       Hero
       ------------------------- */

    .hero {
        width: 100%;
    }

    .hero img {
        margin-bottom: 45px;
    }


    /* -------------------------
       Photo grids
       ------------------------- */

    .photo-grid {
        width: 90%;

        gap: 10px;
    }

    .grid-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-twelve {
        grid-template-columns: repeat(2, 1fr);
    }


    /* -------------------------
       Page intro
       ------------------------- */

    .page-intro {
        width: 85%;

        margin: 65px auto 55px;
    }

    .page-intro h1 {
        font-size: 16px;

        letter-spacing: 4px;
    }

    .page-intro p {
        font-size: 12px;
    }


    /* -------------------------
       Category grid
       ------------------------- */

    .photo-categories {
        width: 90%;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

        margin-bottom: 80px;
    }

    .photo-category-overlay {
        padding: 15px;
    }

    .photo-category-overlay h2 {
        max-width: 95%;

        font-size: 10px;
        line-height: 1.4;

        letter-spacing: 2px;
    }

    .photo-category-overlay span {
        display: none;
    }


    /* -------------------------
       Destinations
       ------------------------- */

    .destinations {
        width: 90%;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

        margin-bottom: 80px;
    }

    .destination-overlay {
        padding: 15px;
    }

    .destination-info h2 {
        max-width: 95%;

        font-size: 11px;
        line-height: 1.4;

        letter-spacing: 2px;
    }

    .destination-number {
        margin-bottom: 7px;

        font-size: 7px;

        letter-spacing: 2px;
    }

    .destination-locations {
        margin-top: 7px;

        font-size: 7px;

        line-height: 1.5;

        letter-spacing: 1px;
    }

    .destination-explore {
        display: none;
    }


    /* -------------------------
       Featured photography
       ------------------------- */

    .featured-photography {
        padding: 65px 0 10px;
    }

    .featured-header {
        width: 85%;

        margin-bottom: 35px;
    }

    .featured-header h2 {
        font-size: 13px;

        letter-spacing: 3px;
    }


    /* -------------------------
       Elsewhere
       ------------------------- */

    .elsewhere {
        margin: 70px auto 80px;

        padding: 70px 5%;
    }

    .project-cards {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .project-card {
        padding: 45px 30px 40px;
    }

    .project-logo {
        height: 110px;
    }

    .project-logo img {
        max-width: 190px;
    }


    /* -------------------------
       Footer
       ------------------------- */

    .site-footer {
        padding: 50px 20px 30px;
    }

    .footer-projects {
        gap: 35px;

        margin-bottom: 35px;
    }

    .footer-projects img {
        width: 120px;
    }


    .destination-intro {
        width: 85%;

        margin: 65px auto 50px;
    }

    .destination-breadcrumb {
        margin-bottom: 14px;

        font-size: 8px;

        letter-spacing: 2.5px;
    }

    .destination-intro h1 {
        font-size: 16px;

        letter-spacing: 4px;
    }

    .destination-intro p {
        margin-top: 15px;

        font-size: 12px;
    }


    /* -------------------------
       Featured photograph
       ------------------------- */

    .destination-featured {
        width: 100%;

        margin-bottom: 55px;
    }


    /* -------------------------
       Gallery
       ------------------------- */

    .destination-gallery {
        width: 90%;

        grid-template-columns: repeat(2, 1fr);

        gap: 35px 10px;

        margin-bottom: 75px;
    }


    /* -------------------------
       Captions
       ------------------------- */

    .destination-photo figcaption {
        padding-top: 10px;

        gap: 2px;
    }

    .destination-photo figcaption strong {
        font-size: 9px;

        letter-spacing: 1.2px;
    }

    .destination-photo figcaption span {
        font-size: 7px;

        letter-spacing: 0.7px;
    }


    /* -------------------------
       Navigation
       ------------------------- */

    .destination-navigation {
        width: 90%;

        margin-bottom: 80px;
    }

    .destination-back {
        margin-top: 28px;

        font-size: 8px;

        letter-spacing: 2px;
    }

    .visual-stories {
        padding: 65px 0 75px;

        margin-bottom: 80px;
    }


    /* -------------------------
       Header
       ------------------------- */

    .visual-stories-header {
        width: 85%;

        margin-bottom: 35px;
    }

    .visual-stories-header h2 {
        font-size: 13px;

        letter-spacing: 3px;
    }

    .visual-stories-header p {
        font-size: 11px;
    }


    /* -------------------------
       Grid
       ------------------------- */

    .visual-stories-grid {
        width: 90%;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }


    /* -------------------------
       Overlay
       ------------------------- */

    .visual-story-overlay {
        padding: 15px;
    }


    /* -------------------------
       Story information
       ------------------------- */

    .visual-story-label {
        margin-bottom: 7px;

        font-size: 6px;

        letter-spacing: 2px;
    }

    .visual-story-info h3 {
        max-width: 95%;

        font-size: 10px;

        line-height: 1.4;

        letter-spacing: 2px;
    }

    .visual-story-location {
        margin-top: 7px;

        font-size: 7px;

        letter-spacing: 1px;
    }


    /* -------------------------
       Explore
       ------------------------- */

    .visual-story-explore {
        display: none;
    }

}



/* =========================================================
   11. SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    /* -------------------------
       Header
       ------------------------- */

    .site-header {
        padding: 14px 15px;
    }

    .header-logo img {
        width: 110px;
    }

    .header-socials {
        gap: 10px;
    }

    .header-socials a {
        font-size: 10px;
    }


    /* -------------------------
       Hero
       ------------------------- */

    .hero img {
        margin-bottom: 35px;
    }


    /* -------------------------
       Photo grids
       ------------------------- */

    .photo-grid {
        width: 92%;

        gap: 6px;
    }


    /* -------------------------
       Page intro
       ------------------------- */

    .page-intro {
        width: 90%;

        margin: 55px auto 50px;
    }


    /* -------------------------
       Photo categories
       ------------------------- */

    .photo-categories {
        width: 92%;

        gap: 6px;
    }

    .photo-category-overlay h2 {
        font-size: 9px;

        letter-spacing: 1.5px;
    }


    /* -------------------------
       Destinations
       ------------------------- */

    .destinations {
        width: 92%;

        gap: 6px;
    }

    .destination-overlay {
        padding: 10px;
    }

    .destination-info h2 {
        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .destination-number {
        font-size: 6px;

        letter-spacing: 1.5px;
    }

    .destination-locations {
        font-size: 6px;

        letter-spacing: 0.8px;
    }


    /* -------------------------
       Featured photography
       ------------------------- */

    .featured-header {
        width: 90%;
    }


    /* -------------------------
       Elsewhere
       ------------------------- */

    .elsewhere {
        margin: 60px auto 70px;

        padding: 60px 5%;
    }

    .elsewhere-header {
        margin-bottom: 35px;
    }

    .project-card {
        padding: 40px 25px 35px;
    }


    /* -------------------------
       Footer
       ------------------------- */

    .site-footer {
        padding: 45px 15px 25px;
    }

    .footer-socials {
        gap: 10px;

        margin-bottom: 25px;
    }

    .footer-socials img {
        width: 17px;
        height: 17px;
    }

    .copyright {
        font-size: 10px;
    }

        .destination-intro {
        width: 90%;

        margin: 55px auto 45px;
    }

    .destination-breadcrumb {
        font-size: 7px;

        letter-spacing: 2px;
    }

    .destination-intro h1 {
        font-size: 14px;

        letter-spacing: 3px;
    }

    .destination-intro p {
        font-size: 11px;

        line-height: 1.7;
    }


    /* -------------------------
       Featured photograph
       ------------------------- */

    .destination-featured {
        margin-bottom: 45px;
    }


    /* -------------------------
       Gallery
       ------------------------- */

    .destination-gallery {
        width: 92%;

        gap: 28px 6px;

        margin-bottom: 60px;
    }


    /* -------------------------
       Captions
       ------------------------- */

    .destination-photo figcaption strong {
        font-size: 9px;

        letter-spacing: 1px;
    }

    .destination-photo figcaption span {
        font-size: 8px;

        letter-spacing: 0.5px;
    }


    /* -------------------------
       Navigation
       ------------------------- */

    .destination-navigation {
        width: 92%;

        margin-bottom: 65px;
    }

    .destination-back {
        font-size: 7px;

        letter-spacing: 1.5px;
    }

}


/* =========================================================
   VISUAL STORIES
========================================================= */


/* =========================================================
   VISUAL STORY HEADER
========================================================= */

.visual-story-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    text-align: center;
}

.visual-story-label {
    margin: 0 0 15px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    opacity: 0.55;
}

.visual-story-header h1 {
    margin: 0;

    font-size: 26px;
    font-weight: 500;

    letter-spacing: 7px;
    
}

.visual-story-location {
    margin: 20px 0 0;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 2px;
    color: #999999;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.visual-story-hero {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    overflow: hidden;
}

.visual-story-hero img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* =========================================================
   VISUAL STORY — PORTRAIT IMAGES
========================================================= */


/* -------------------------
   Portrait Hero
   ------------------------- */

.visual-story-portrait-hero {
    display: flex;

    justify-content: center;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    overflow: hidden;
}

.visual-story-portrait-hero img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    max-height: 75vh;

    object-fit: contain;
}


/* -------------------------
   Portrait Story Image
   ------------------------- */

.visual-story-portrait {
    display: flex;

    justify-content: center;

    width: 100%;
    max-width: 1200px;

    margin: 100px auto;

    padding: 0 20px;

    overflow: hidden;
}

.visual-story-portrait img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    max-height: 80vh;

    object-fit: contain;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.visual-story-intro {
    max-width: 760px;

    margin: 80px auto;

    padding: 0 20px;

    text-align: center;
}

.visual-story-intro p {
    margin: 0;

    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;

    opacity: 0.8;
}


/* =========================================================
   STORY BLOCK — IMAGE + TEXT
========================================================= */

.visual-story-block {
    display: grid;

    grid-template-columns: 1.35fr 0.65fr;

    align-items: center;

    max-width: 1200px;

    margin: 100px auto;

    gap: 70px;

    padding: 0 20px;
}


/* =========================================================
   STORY IMAGE
========================================================= */

.visual-story-image {
    overflow: hidden;
}

.visual-story-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   STORY TEXT
========================================================= */

.visual-story-text {
    padding: 20px 0;
}

.visual-story-number {
    display: block;

    margin-bottom: 18px;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;

    opacity: 0.45;
}

.visual-story-text h2 {
    margin: 0 0 20px;

    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
}

.visual-story-text p {
    margin: 0;

    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;

    opacity: 0.75;
}


/* =========================================================
   CLOSING IMAGE
========================================================= */

.visual-story-image-full {
    width: 100%;
    max-width: 1200px;

    margin: 100px auto 60px;

    overflow: hidden;
}

.visual-story-image-full img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   CLOSING TEXT
========================================================= */

.visual-story-closing {
    max-width: 700px;

    margin: 0 auto 100px;

    padding: 0 20px;

    text-align: center;
}

.visual-story-closing p {
    margin: 0;

    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.8;

    opacity: 0.75;
}


/* =========================================================
   STORY NAVIGATION
========================================================= */

.visual-story-navigation {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    max-width: 1200px;

    margin: 0 auto;

    padding: 45px 20px 0;

    gap: 30px;

    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.story-navigation-item {
    display: flex;
    flex-direction: column;

    gap: 7px;

    color: inherit;

    text-decoration: none;
}

.story-navigation-item span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;

    opacity: 0.45;
}

.story-navigation-item strong {
    font-size: 0.9rem;
    font-weight: 500;

    transition: opacity 0.25s ease;
}

.story-navigation-item:hover strong {
    opacity: 0.55;
}

.story-navigation-item:first-child {
    text-align: left;
}

.story-navigation-back {
    text-align: center;
}

.story-navigation-item:last-child {
    text-align: right;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .visual-story-header {
        padding: 70px 20px 40px;
    }


    .visual-story-label {
        font-size: 0.65rem;
    }


    .visual-story-hero img,
    .visual-story-image-full img {
        aspect-ratio: 3 / 2;
    }


    .visual-story-intro {
        margin: 60px auto;
    }


    .visual-story-block {
        grid-template-columns: 1fr;

        margin: 70px auto;

        gap: 40px;
    }


    .visual-story-text {
        padding: 0 10px;
    }


    .visual-story-image-full {
        margin: 70px auto 45px;
    }


    .visual-story-closing {
        margin-bottom: 70px;
    }


    .visual-story-navigation {
        grid-template-columns: 1fr;

        gap: 25px;

        padding-top: 35px;
    }


    .story-navigation-item:first-child,
    .story-navigation-back,
    .story-navigation-item:last-child {
        text-align: center;
    }

}

/* =========================================
   STREET PHOTOGRAPHY
   ========================================= */

.street-page {
  width: 100%;
}


/* -----------------------------------------
   INTRO
   ----------------------------------------- */

.street-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px 70px;
  text-align: center;
}

.street-intro .section-kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.street-intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.street-description {
  max-width: 650px;
  margin: 28px auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.72;
}


/* -----------------------------------------
   GALLERY
   ----------------------------------------- */

.street-gallery {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 120px;

  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}


/* -----------------------------------------
   PHOTO
   ----------------------------------------- */

.street-photo {
  margin: 0;
}

.street-photo-large {
  grid-column: 2 / span 10;
}

.street-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;

  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.street-photo-large img {
  max-height: 800px;
}


/* -----------------------------------------
   CAPTION
   ----------------------------------------- */

.street-photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 14px;

  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0.55;
}


/* -----------------------------------------
   HOVER
   ----------------------------------------- */

.street-photo:hover img {
  transform: scale(1.01);
  opacity: 0.94;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

  .street-intro {
    padding: 70px 20px 50px;
  }

  .street-intro h1 {
    font-size: 1.5rem;
  }

  .street-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .street-gallery {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 80px;
  }

  .street-photo-large {
    grid-column: 1;
  }

  .street-photo-large img {
    max-height: none;
  }

  .street-photo figcaption {
    font-size: 0.68rem;
  }

}


/* -----------------------------------------
   SMALL MOBILE
   ----------------------------------------- */

@media (max-width: 480px) {

  .street-intro {
    padding: 55px 18px 40px;
  }

  .street-intro h1 {
    font-size: 2.15rem;
  }

  .street-gallery {
    width: calc(100% - 24px);
  }

}

/* =========================================================
   VISUAL STORY PHOTO PAIR
========================================================= */

.visual-story-photo-pair {
    width: 75%;

    margin: 70px auto;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 30px;
}


/* -------------------------
   Portrait
------------------------- */

.visual-story-photo-pair-portrait {
    width: 35%;
}

.visual-story-photo-pair-portrait img {
    width: 100%;
    height: auto;

    display: block;
}


/* -------------------------
   Landscape
------------------------- */

.visual-story-photo-pair-landscape {
    width: 65%;
}

.visual-story-photo-pair-landscape img {
    width: 100%;
    height: auto;

    display: block;
}

/* =========================================================
   VISUAL STORY TRIPTYCH
========================================================= */

.visual-story-triptych {
    width: 90%;

    max-width: 1500px;

    margin: 110px auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(280px, 0.9fr)
        minmax(0, 0.7fr);

    align-items: center;

    gap: 55px;
}


/* =========================================================
   LANDSCAPE
========================================================= */

.visual-story-triptych-landscape img {
    width: 100%;
    height: auto;

    display: block;
}


/* =========================================================
   TEXT
========================================================= */

.visual-story-triptych-text {
    padding: 15px 0;

    text-align: center;
}

.visual-story-triptych-text .visual-story-number {
    display: block;

    margin-bottom: 15px;

    font-size: 10px;

    letter-spacing: 3px;

    color: #999999;
}

.visual-story-triptych-text h2 {
    margin: 0 0 20px;

    font-size: 20px;

    font-weight: 400;

    letter-spacing: 2px;

    line-height: 1.4;
}

.visual-story-triptych-text p {
    margin: 0 auto;

    max-width: 330px;

    font-size: 13px;

    line-height: 1.9;

    color: #777777;
}


/* =========================================================
   PORTRAIT
========================================================= */

.visual-story-triptych-portrait {
    width: 100%;

    max-width: 330px;

    justify-self: center;
}

.visual-story-triptych-portrait img {
    width: 100%;
    height: auto;

    display: block;
}

@media (max-width: 768px) {

    .visual-story-triptych {
        width: 90%;

        margin: 70px auto;

        display: flex;

        flex-direction: column;

        gap: 35px;
    }

    .visual-story-triptych-landscape {
        width: 100%;
    }

    .visual-story-triptych-text {
        width: 90%;

        margin: 0 auto;
    }

    .visual-story-triptych-portrait {
        width: 60%;

        max-width: none;
    }

}

/* =========================================================
   VISUAL STORY PHOTO SEQUENCE
========================================================= */

.visual-story-sequence {
    width: 85%;

    max-width: 1400px;

    margin: 100px auto;
}


/* =========================================================
   Main Image
========================================================= */

.visual-story-sequence-main {
    width: 100%;
}

.visual-story-sequence-main img {
    width: 100%;
    height: auto;

    display: block;
}


/* =========================================================
   Detail Images
========================================================= */

.visual-story-sequence-details {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    margin-top: 30px;
}

.visual-story-sequence-detail img {
    width: 100%;
    height: auto;

    display: block;
}

/* =========================================================
   VISUAL STORY — TWO-IMAGE SPREAD
========================================================= */

.visual-story-block-double {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    max-width: 1200px;

    margin: 100px auto;

    gap: 25px;

    padding: 0 20px;
}


.visual-story-block-double img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 3 / 2;

    object-fit: cover;
}


@media (max-width: 768px) {

    .visual-story-sequence {
        width: 90%;

        margin: 70px auto;
    }

    .visual-story-sequence-details {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 20px;
    }

}

    /* Two-image spread */

    .visual-story-block-double {
        grid-template-columns: 1fr;

        margin: 70px auto;

        gap: 20px;
    }


    /* =========================================================
   ANIMALS PAGE
   ========================================================= */


/* =========================================================
   INTRO
   ========================================================= */

.category-intro {
    padding: 120px 6vw 90px;
    text-align: center;
}

.category-intro-inner {
    max-width: 850px;
    margin: 0 auto;
}

.category-intro .category-label {
    display: block;
    margin-bottom: 18px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.6;
}

.category-intro h1 {
    margin: 0 0 25px;

    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 300;
}

.category-intro p {
    max-width: 700px;
    margin: 0 auto;

    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.75;
}


/* =========================================================
   ANIMAL CATEGORY
   ========================================================= */

.animal-category {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 6vw;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.animal-category-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.animal-category-header .category-label {
    display: block;
    margin-bottom: 12px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.6;
}

.animal-category-header h2 {
    margin: 0 0 18px;

    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 300;
}

.animal-category-header p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.7;
}


/* =========================================================
   FEATURED CATEGORY
   ========================================================= */

.animal-category-featured {
    padding-top: 110px;
}

.animal-category-featured .animal-category-header {
    max-width: 850px;
}


/* =========================================================
   CATEGORY GALLERIES
   ========================================================= */

.animal-category-gallery {
    display: grid;
    gap: 18px;
    margin-bottom: 35px;
}

.animal-photo,
.animal-photo-large {
    overflow: hidden;
}

.animal-photo img,
.animal-photo-large img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.animal-photo:hover img,
.animal-photo-large:hover img {
    transform: scale(1.025);
}


/* =========================================================
   BIRD WATCHING
   ========================================================= */

.bird-gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(260px, 360px));
}

.bird-gallery .animal-photo-large {
    grid-row: span 2;
}


/* =========================================================
   SEA LIFE
   ========================================================= */

.sea-life-gallery {
    grid-template-columns: repeat(3, 1fr);
}

.sea-life-gallery .animal-photo {
    aspect-ratio: 4 / 3;
}


/* =========================================================
   COUNTRY LIFE
   ========================================================= */

.country-life-gallery {
    display: block;
    max-width: 850px;
}

.country-life-gallery .animal-photo-large {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.country-life-gallery .animal-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   PETS
   ========================================================= */

.pets-gallery {
    grid-template-columns: repeat(3, 1fr);
}

.pets-gallery .animal-photo,
.pets-gallery .animal-photo-large {
    aspect-ratio: 4 / 5;
}


/* =========================================================
   CATEGORY LINK
   ========================================================= */

.animal-category-link {
    margin-top: 10px;
}

.animal-category-link a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    text-decoration: none;

    transition: gap 0.3s ease;
}

.animal-category-link a:hover {
    gap: 18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .category-intro {
        padding: 90px 6vw 70px;
    }

    .animal-category {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .bird-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 400px 250px;
    }

    .bird-gallery .animal-photo-large {
        grid-column: span 2;
        grid-row: auto;
    }

    .sea-life-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .country-life-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 400px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .category-intro {
        padding: 70px 7vw 60px;
    }

    .category-intro h1 {
        font-size: 3rem;
    }

    .category-intro p {
        font-size: 0.95rem;
        line-height: 1.7;
    }


    .animal-category {
        padding: 70px 7vw;
    }

    .animal-category-header {
        margin-bottom: 35px;
    }

    .animal-category-header h2 {
        font-size: 2.4rem;
    }


    /* All galleries become vertical */

    .bird-gallery,
    .sea-life-gallery,
    .country-life-gallery,
    .pets-gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .bird-gallery .animal-photo-large,
    .bird-gallery .animal-photo,
    .country-life-gallery .animal-photo-large,
    .country-life-gallery .animal-photo,
    .pets-gallery .animal-photo,
    .pets-gallery .animal-photo-large {
        grid-column: auto;
        grid-row: auto;

        aspect-ratio: 4 / 3;
    }

    .sea-life-gallery .animal-photo {
        aspect-ratio: 4 / 3;
    }


    .animal-category-link {
        margin-top: 25px;
    }

}


/* =========================================================
   BIRD WATCHING PAGE
   ========================================================= */


/* =========================================================
   HERO / INTRO
   ========================================================= */

.bird-watching-intro {
    padding: 120px 6vw 90px;
    text-align: center;
}

.bird-watching-intro-inner {
    max-width: 850px;
    margin: 0 auto;
}

.bird-watching-intro .category-label {
    display: block;
    margin-bottom: 18px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.6;
}

.bird-watching-intro h1 {
    margin: 0 0 25px;

    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 300;
}

.bird-watching-intro p {
    max-width: 700px;
    margin: 0 auto;

    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.75;
}


/* =========================================================
   ARCHIVE NAVIGATION
   ========================================================= */

.bird-watching-navigation {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-watching-navigation-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6vw;
}


/* =========================================================
   FILTER
   ========================================================= */

.bird-filter {
    position: relative;
    min-width: 220px;
}

.bird-filter + .bird-filter {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-filter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    min-height: 70px;
    padding: 18px 30px;

    border: 0;
    background: transparent;

    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        opacity 0.3s ease;
}

.bird-filter-button:hover {
    background: rgba(0, 0, 0, 0.04);
}


/* =========================================================
   DROPDOWN ARROW
   ========================================================= */

.bird-filter-arrow {
    display: inline-block;

    font-size: 0.8rem;

    transition: transform 0.3s ease;
}

.bird-filter.is-open .bird-filter-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.bird-filter-dropdown {
    position: absolute;
    z-index: 50;

    top: 100%;
    left: 0;

    width: 360px;
    max-height: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid transparent;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.bird-filter.is-open .bird-filter-dropdown {
    max-height: 700px;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    border-color: rgba(0, 0, 0, 0.12);

    overflow-y: auto;
}


/* =========================================================
   DROPDOWN LINKS
   ========================================================= */

.bird-filter-dropdown a {
    display: block;

    padding: 16px 22px;

    color: inherit;
    text-decoration: none;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    font-size: 0.9rem;
    line-height: 1.35;

    transition:
        background 0.25s ease,
        padding-left 0.25s ease;
}

.bird-filter-dropdown a:last-child {
    border-bottom: 0;
}

.bird-filter-dropdown a:hover {
    background: rgba(0, 0, 0, 0.04);
    padding-left: 28px;
}


/* Scientific name */

.bird-filter-dropdown a em {
    display: block;

    margin-bottom: 4px;

    font-size: 0.9rem;
    font-style: italic;
}


/* Common / Portuguese name */

.bird-filter-dropdown a span {
    display: block;

    font-size: 0.72rem;
    line-height: 1.4;

    opacity: 0.55;
}


/* =========================================================
   COLLECTION
   ========================================================= */

.bird-watching-collection {
    max-width: 1400px;
    margin: 0 auto;

    padding: 110px 6vw;
}

.bird-watching-collection-header {
    max-width: 750px;
    margin-bottom: 55px;
}

.bird-watching-collection-header .category-label {
    display: block;
    margin-bottom: 14px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.6;
}

.bird-watching-collection-header h2 {
    margin: 0 0 18px;

    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 300;
}

.bird-watching-collection-header p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.8;

    opacity: 0.7;
}


/* =========================================================
   PHOTOGRAPH GALLERY
   ========================================================= */

.bird-watching-gallery {
    display: grid;

    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(260px, 360px));

    gap: 18px;
}

.bird-photo {
    overflow: hidden;
}

.bird-photo-large {
    grid-row: span 2;
}

.bird-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.bird-photo:hover img {
    transform: scale(1.025);
}


/* =========================================================
   ARCHIVE STATISTICS
   ========================================================= */

.bird-watching-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 1200px;
    margin: 0 auto;

    padding: 65px 6vw;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-watching-stat {
    text-align: center;
    padding: 10px 30px;
}

.bird-watching-stat + .bird-watching-stat {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-watching-stat strong {
    display: block;

    margin-bottom: 10px;

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1;
}

.bird-watching-stat span {
    display: block;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.55;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .bird-watching-intro {
        padding: 90px 6vw 70px;
    }

    .bird-watching-navigation-inner {
        padding: 0 4vw;
    }

    .bird-filter {
        min-width: 190px;
    }

    .bird-filter-dropdown {
        width: 320px;
    }

    .bird-watching-collection {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .bird-watching-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 400px 250px;
    }

    .bird-photo-large {
        grid-column: span 2;
        grid-row: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .bird-watching-intro {
        padding: 70px 7vw 60px;
    }

    .bird-watching-intro h1 {
        font-size: 3rem;
    }

    .bird-watching-intro p {
        font-size: 0.95rem;
        line-height: 1.7;
    }


    /* Navigation */

    .bird-watching-navigation-inner {
        display: flex;
        padding: 0;
    }

    .bird-filter {
        flex: 1;
        min-width: 0;
    }

    .bird-filter-button {
        min-height: 62px;
        padding: 16px 12px;

        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .bird-filter-dropdown {
        position: fixed;

        top: auto;
        left: 5vw;

        width: 90vw;
        max-height: 0;
    }

    .bird-filter.is-open .bird-filter-dropdown {
        max-height: 70vh;
    }


    /* Collection */

    .bird-watching-collection {
        padding: 70px 7vw;
    }

    .bird-watching-collection-header {
        margin-bottom: 35px;
    }

    .bird-watching-collection-header h2 {
        font-size: 2.4rem;
    }


    /* Gallery */

    .bird-watching-gallery {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows: auto;

        gap: 12px;
    }

    .bird-photo-large {
        grid-column: auto;
        grid-row: auto;
    }

    .bird-photo,
    .bird-photo-large {
        aspect-ratio: 4 / 3;
    }


    /* Statistics */

    .bird-watching-stats {
        grid-template-columns: 1fr;

        padding: 45px 7vw;
    }

    .bird-watching-stat {
        padding: 25px 10px;
    }

    .bird-watching-stat + .bird-watching-stat {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

}

/* =========================================================
   BIRD SPECIES PAGE
   ========================================================= */


/* =========================================================
   SPECIES INTRO
   ========================================================= */

.bird-species-intro {
    padding: 120px 6vw 90px;
    text-align: center;
}

.bird-species-intro-inner {
    max-width: 900px;
    margin: 0 auto;
}

.bird-species-intro .category-label {
    display: block;
    margin-bottom: 22px;

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.55;
}

.bird-species-intro h1 {
    margin: 0;

    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1;
    font-weight: 300;
}

.bird-species-intro h1 em {
    font-style: italic;
}

.bird-species-intro h2 {
    margin: 20px 0 4px;

    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 400;
}

.bird-species-portuguese {
    margin: 0;

    font-size: 1rem;
    opacity: 0.55;
}

.bird-species-description {
    max-width: 650px;
    margin: 35px auto 0;

    font-size: 1rem;
    line-height: 1.8;

    opacity: 0.7;
}


/* =========================================================
   SPECIES INFORMATION
   ========================================================= */

.bird-species-information {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-species-information-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 90px;

    max-width: 1250px;
    margin: 0 auto;
    padding: 90px 6vw;
}

.bird-species-information-text {
    max-width: 700px;
}

.bird-species-information-text .category-label {
    display: block;
    margin-bottom: 16px;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.55;
}

.bird-species-information-text h2 {
    margin: 0 0 25px;

    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1;
    font-weight: 300;
}

.bird-species-information-text p {
    margin: 0 0 18px;

    font-size: 0.98rem;
    line-height: 1.85;

    opacity: 0.72;
}


/* =========================================================
   SPECIES FACTS
   ========================================================= */

.bird-species-facts {
    align-self: center;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-species-fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 25px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-species-fact-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.5;
}

.bird-species-fact strong {
    font-size: 0.9rem;
    font-weight: 400;

    text-align: right;
}

.bird-species-fact strong em {
    font-style: italic;
}


/* =========================================================
   ENCOUNTERS SECTION
   ========================================================= */

.bird-species-encounters {
    max-width: 1400px;
    margin: 0 auto;

    padding: 110px 6vw;
}

.bird-species-encounters-header {
    max-width: 750px;
    margin-bottom: 65px;
}

.bird-species-encounters-header .category-label {
    display: block;
    margin-bottom: 16px;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.55;
}

.bird-species-encounters-header h2 {
    margin: 0 0 18px;

    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 300;
}

.bird-species-encounters-header p {
    margin: 0;

    font-size: 1rem;
    line-height: 1.8;

    opacity: 0.7;
}


/* =========================================================
   ENCOUNTER CARD
   ========================================================= */

.bird-encounter-card {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    min-height: 420px;

    margin-bottom: 28px;

    color: inherit;
    text-decoration: none;

    background: rgba(0, 0, 0, 0.025);

    overflow: hidden;
}

.bird-encounter-card:nth-of-type(even) {
    grid-template-columns: 1fr 1.45fr;
}

.bird-encounter-card:nth-of-type(even) .bird-encounter-image {
    order: 2;
}

.bird-encounter-card:nth-of-type(even) .bird-encounter-content {
    order: 1;
}


/* =========================================================
   ENCOUNTER IMAGE
   ========================================================= */

.bird-encounter-image {
    overflow: hidden;
}

.bird-encounter-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.bird-encounter-card:hover .bird-encounter-image img {
    transform: scale(1.035);
}


/* =========================================================
   ENCOUNTER CONTENT
   ========================================================= */

.bird-encounter-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 60px;
}

.bird-encounter-number {
    margin-bottom: 18px;

    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.45;
}

.bird-encounter-content h3 {
    margin: 0 0 6px;

    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 300;
}

.bird-encounter-location {
    margin: 0 0 18px;

    font-size: 0.9rem;

    opacity: 0.55;
}

.bird-encounter-content time {
    display: block;

    margin-bottom: 35px;

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.65;
}

.bird-encounter-link {
    display: inline-block;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.7;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.bird-encounter-card:hover .bird-encounter-link {
    opacity: 1;
    transform: translateX(5px);
}


/* =========================================================
   SPECIES NAVIGATION
   ========================================================= */

.bird-species-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;

    max-width: 1200px;
    margin: 0 auto;

    padding: 70px 6vw 110px;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-species-navigation-link {
    display: flex;
    flex-direction: column;
    gap: 10px;

    color: inherit;
    text-decoration: none;

    padding: 15px 30px;
}

.bird-species-navigation-link + .bird-species-navigation-link {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-species-navigation-link span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    opacity: 0.45;
}

.bird-species-navigation-link strong {
    font-size: 1rem;
    font-weight: 400;

    transition: transform 0.25s ease;
}

.bird-species-navigation-link:hover strong {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .bird-species-intro {
        padding: 90px 6vw 70px;
    }

    .bird-species-information-inner {
        grid-template-columns: 1fr;
        gap: 55px;

        padding-top: 75px;
        padding-bottom: 75px;
    }

    .bird-species-facts {
        max-width: 650px;
    }

    .bird-species-encounters {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .bird-encounter-card,
    .bird-encounter-card:nth-of-type(even) {
        grid-template-columns: 1fr 1fr;
        min-height: 360px;
    }

    .bird-encounter-content {
        padding: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .bird-species-intro {
        padding: 70px 7vw 60px;
    }

    .bird-species-intro h1 {
        font-size: 2.8rem;
    }

    .bird-species-intro h2 {
        font-size: 1.25rem;
    }

    .bird-species-description {
        margin-top: 28px;

        font-size: 0.92rem;
    }


    /* Information */

    .bird-species-information-inner {
        padding: 65px 7vw;
        gap: 45px;
    }

    .bird-species-information-text h2 {
        font-size: 2.3rem;
    }

    .bird-species-information-text p {
        font-size: 0.92rem;
    }

    .bird-species-fact {
        flex-direction: column;
        gap: 6px;

        padding: 15px 0;
    }

    .bird-species-fact strong {
        text-align: left;
    }


    /* Encounters */

    .bird-species-encounters {
        padding: 70px 7vw;
    }

    .bird-species-encounters-header {
        margin-bottom: 40px;
    }

    .bird-species-encounters-header h2 {
        font-size: 2.4rem;
    }

    .bird-encounter-card,
    .bird-encounter-card:nth-of-type(even) {
        display: block;

        min-height: 0;

        margin-bottom: 20px;
    }

    .bird-encounter-card:nth-of-type(even) .bird-encounter-image,
    .bird-encounter-card:nth-of-type(even) .bird-encounter-content {
        order: initial;
    }

    .bird-encounter-image {
        aspect-ratio: 4 / 3;
    }

    .bird-encounter-content {
        padding: 30px 25px 35px;
    }

    .bird-encounter-content h3 {
        font-size: 2rem;
    }

    .bird-encounter-content time {
        margin-bottom: 25px;
    }


    /* Navigation */

    .bird-species-navigation {
        grid-template-columns: 1fr;

        padding: 50px 7vw 80px;
    }

    .bird-species-navigation-link {
        padding: 20px 0;
    }

    .bird-species-navigation-link + .bird-species-navigation-link {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

}

/* =========================================================
   BIRD ENCOUNTER PAGE
   ========================================================= */


/* =========================================================
   ENCOUNTER INTRO
   ========================================================= */

.bird-encounter-intro {
    padding: 120px 6vw 80px;
    text-align: center;
}

.bird-encounter-intro-inner {
    max-width: 950px;
    margin: 0 auto;
}

.bird-encounter-intro .category-label {
    display: block;
    margin-bottom: 22px;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.5;
}

.bird-encounter-intro h1 {
    margin: 0;

    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: 1;
    font-weight: 300;
}

.bird-encounter-intro h1 em {
    font-style: italic;
}

.bird-encounter-intro h2 {
    margin: 18px 0 4px;

    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 400;
}

.bird-encounter-portuguese {
    margin: 0;

    font-size: 1rem;
    opacity: 0.5;
}


/* =========================================================
   ENCOUNTER META
   ========================================================= */

.bird-encounter-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;

    margin-top: 35px;
}

.bird-encounter-meta span,
.bird-encounter-meta time {
    padding: 0 18px;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.55;
}

.bird-encounter-meta span + span,
.bird-encounter-meta time {
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}


/* =========================================================
   FEATURE PHOTOGRAPH
   ========================================================= */

.bird-encounter-feature {
    width: 100%;
    margin: 0;
}

.bird-encounter-feature-image {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.bird-encounter-feature-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ENCOUNTER STORY
   ========================================================= */

.bird-encounter-story {
    padding: 110px 6vw;
}

.bird-encounter-story-inner {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;

    max-width: 1100px;
    margin: 0 auto;
}

.bird-encounter-story-label .category-label {
    display: block;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.5;
}

.bird-encounter-story-text {
    max-width: 750px;
}

.bird-encounter-story-text p {
    margin: 0 0 22px;

    font-size: 1rem;
    line-height: 1.9;

    opacity: 0.72;
}

.bird-encounter-story-text .bird-encounter-lead {
    margin-bottom: 28px;

    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.5;

    font-weight: 300;

    opacity: 1;
}


/* =========================================================
   FACTS
   ========================================================= */

.bird-encounter-facts {
    padding: 90px 6vw;

    background: rgba(0, 0, 0, 0.025);
}

.bird-encounter-facts-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.bird-encounter-facts-header {
    max-width: 700px;
    margin-bottom: 55px;
}

.bird-encounter-facts-header .category-label {
    display: block;
    margin-bottom: 16px;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.5;
}

.bird-encounter-facts-header h2 {
    margin: 0;

    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 1;
    font-weight: 300;
}


/* =========================================================
   FACTS GRID
   ========================================================= */

.bird-encounter-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-fact {
    padding: 30px 35px 20px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-fact + .bird-encounter-fact {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-fact-number {
    display: block;
    margin-bottom: 25px;

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;

    opacity: 0.4;
}

.bird-encounter-fact p {
    margin: 0;

    font-size: 0.9rem;
    line-height: 1.75;

    opacity: 0.7;
}


/* =========================================================
   PHOTOGRAPH GALLERY
   ========================================================= */

.bird-encounter-gallery {
    padding: 110px 6vw;
}

.bird-encounter-gallery-inner {
    display: grid;

    grid-template-columns: repeat(12, 1fr);

    gap: 18px;

    max-width: 1500px;
    margin: 0 auto;
}

.bird-encounter-gallery-item {
    position: relative;

    margin: 0;

    overflow: hidden;

    grid-column: span 6;
}


/* Images */

.bird-encounter-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.bird-encounter-gallery-item:hover img {
    transform: scale(1.025);
}


/* =========================================================
   AUTOMATIC GALLERY LAYOUTS
   ========================================================= */


/* One photograph */

.bird-encounter-gallery-item:only-child {
    grid-column: 2 / span 10;
}

.bird-encounter-gallery-item:only-child img {
    aspect-ratio: 16 / 9;
}


/* Two photographs */

.bird-encounter-gallery-item:first-child:nth-last-child(2),
.bird-encounter-gallery-item:first-child:nth-last-child(2) ~ .bird-encounter-gallery-item {
    grid-column: span 6;
}


/* Three photographs */

.bird-encounter-gallery-item:first-child:nth-last-child(3),
.bird-encounter-gallery-item:first-child:nth-last-child(3) ~ .bird-encounter-gallery-item:nth-child(2) {

    grid-column: span 6;

}

.bird-encounter-gallery-item:first-child:nth-last-child(3) ~ .bird-encounter-gallery-item:nth-child(3) {

    grid-column: 1 / -1;

}


/* Four photographs */

.bird-encounter-gallery-item:first-child:nth-last-child(4),
.bird-encounter-gallery-item:first-child:nth-last-child(4) ~ .bird-encounter-gallery-item {
    grid-column: span 6;
}


/* Five or more */

.bird-encounter-gallery-item:nth-child(n + 5) {
    grid-column: span 4;
}


/* =========================================================
   LOCATION
   ========================================================= */

.bird-encounter-location {
    padding: 100px 6vw;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-location-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 90px;

    max-width: 1100px;
    margin: 0 auto;
}

.bird-encounter-location-text .category-label {
    display: block;
    margin-bottom: 16px;

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.5;
}

.bird-encounter-location-text h2 {
    margin: 0 0 5px;

    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 300;
}

.bird-encounter-location-region {
    margin: 0 0 25px;

    font-size: 0.9rem;

    opacity: 0.5;
}

.bird-encounter-location-text > p:last-child {
    max-width: 650px;

    margin: 0;

    font-size: 0.95rem;
    line-height: 1.85;

    opacity: 0.7;
}


/* =========================================================
   LOCATION DETAILS
   ========================================================= */

.bird-encounter-location-details {
    align-self: center;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-location-details div {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-location-details span {
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.45;
}

.bird-encounter-location-details strong {
    font-size: 0.85rem;
    font-weight: 400;

    text-align: right;
}


/* =========================================================
   ENCOUNTER RECORD
   ========================================================= */

.bird-encounter-record {
    padding: 80px 6vw;

    background: rgba(0, 0, 0, 0.025);
}

.bird-encounter-record-inner {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;

    max-width: 1100px;
    margin: 0 auto;
}

.bird-encounter-record .category-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.5;
}

.bird-encounter-record dl {
    margin: 0;
}

.bird-encounter-record dl > div {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 15px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-record dt {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.45;
}

.bird-encounter-record dd {
    margin: 0;

    font-size: 0.85rem;

    text-align: right;
}

.bird-encounter-record dd em {
    font-style: italic;
}


/* =========================================================
   ENCOUNTER NAVIGATION
   ========================================================= */

.bird-encounter-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;

    max-width: 1200px;
    margin: 0 auto;

    padding: 70px 6vw 110px;
}

.bird-encounter-navigation-link {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 15px 30px;

    color: inherit;
    text-decoration: none;
}

.bird-encounter-navigation-link + .bird-encounter-navigation-link {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.bird-encounter-navigation-link span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    opacity: 0.45;
}

.bird-encounter-navigation-link strong {
    font-size: 1rem;
    font-weight: 400;

    transition: transform 0.25s ease;
}

.bird-encounter-navigation-link:hover strong {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .bird-encounter-intro {
        padding: 90px 6vw 70px;
    }

    .bird-encounter-story-inner,
    .bird-encounter-location-inner,
    .bird-encounter-record-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .bird-encounter-story {
        padding: 80px 6vw;
    }

    .bird-encounter-facts {
        padding: 75px 6vw;
    }

    .bird-encounter-facts-grid {
        grid-template-columns: 1fr;
    }

    .bird-encounter-fact + .bird-encounter-fact {
        border-left: 0;
    }

    .bird-encounter-gallery {
        padding: 80px 6vw;
    }

    .bird-encounter-gallery-item:only-child {
        grid-column: 1 / -1;
    }

    .bird-encounter-location {
        padding: 80px 6vw;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .bird-encounter-intro {
        padding: 70px 7vw 55px;
    }

    .bird-encounter-intro h1 {
        font-size: 2.7rem;
    }

    .bird-encounter-intro h2 {
        font-size: 1.2rem;
    }

    .bird-encounter-meta {
        flex-direction: column;
        gap: 8px;
    }

    .bird-encounter-meta span,
    .bird-encounter-meta time {
        padding: 0;

        font-size: 0.65rem;
    }

    .bird-encounter-meta span + span,
    .bird-encounter-meta time {
        border-left: 0;
    }


    /* Story */

    .bird-encounter-story {
        padding: 65px 7vw;
    }

    .bird-encounter-story-text .bird-encounter-lead {
        font-size: 1.3rem;
    }


    /* Facts */

    .bird-encounter-facts {
        padding: 65px 7vw;
    }

    .bird-encounter-facts-header {
        margin-bottom: 40px;
    }

    .bird-encounter-facts-header h2 {
        font-size: 2.3rem;
    }

    .bird-encounter-fact {
        padding: 25px 0;
    }


/* =========================================================
   ENCOUNTER GALLERY
   ========================================================= */

.bird-encounter-gallery {
    padding: 65px 7vw;
}

.bird-encounter-gallery-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bird-encounter-gallery-item {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    overflow: visible;
}

.bird-encounter-gallery-item img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;
    max-height: none;

    aspect-ratio: auto;

    object-fit: initial;
}


    /* Location */

    .bird-encounter-location {
        padding: 65px 7vw;
    }

    .bird-encounter-location-text h2 {
        font-size: 2.5rem;
    }

    .bird-encounter-location-details div {
        flex-direction: column;
        gap: 5px;
    }

    .bird-encounter-location-details strong {
        text-align: left;
    }


    /* Record */

    .bird-encounter-record {
        padding: 60px 7vw;
    }

    .bird-encounter-record-inner {
        gap: 35px;
    }

    .bird-encounter-record dl > div {
        flex-direction: column;
        gap: 5px;
    }

    .bird-encounter-record dd {
        text-align: left;
    }


    /* Navigation */

    .bird-encounter-navigation {
        grid-template-columns: 1fr;

        padding: 50px 7vw 80px;
    }

    .bird-encounter-navigation-link {
        padding: 20px 0;
    }

    .bird-encounter-navigation-link + .bird-encounter-navigation-link {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

}