@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* =========================================
   1. BASE STYLES & TYPOGRAPHY
   ========================================= */
body {
    padding: 0;
    border: 0;
    font-size: 16px;
    color: black;
    background-color: white;
    margin: 0;
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-style: normal;
}

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

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h1 { font-size: 5em; font-weight: bold; line-height: 1.5em; text-align: left; }
h2 { font-size: 2.5em; font-weight: normal; line-height: 1.2em; display: flex; justify-content: center; }
h3 { font-size: 1.5em; font-weight: normal; }
p  { font-size: 1em; font-weight: normal; line-height: 1.2em; }

.title {
    font-weight: bolder;
    margin: 0 auto;
    padding-bottom: 0.25em;
    border-bottom: 4px solid black;
    width: fit-content;
}

.company {
	font-weight:700;
}

/* =========================================
   2. NAVIGATION STYLES
   ========================================= */
.navigation {
    background-color: white;
    margin: 0;
    padding: 0 4.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 2em;
}

.TateRudisill {
    display: block;
    color: black;
    font-size: 1.25em;
    font-weight: 800;
    text-decoration: none;
    padding: 1.5em 0;
}
.TateRudisill:hover { color: royalblue; font-weight: 900; }

.navMenu {
    display: block;
}

.navLinks {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;
    padding: 0;
}

.navLinks li {
    float: none;
}

.navLinks li a {
    display: flex;
    align-items: center;
    color: black;
    padding: 1.75em 1em 1.25em 1em;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.navLinks li a:hover {
    color: royalblue;
    font-weight: 600;
}

/* Active page link indicator */
.currentPageSmall,
.currentPage {
    text-decoration: none !important;
    border-bottom-color: black !important;
}

.currentPageSmall:hover,
.currentPage:hover {
    border-bottom-color: royalblue !important;
}

/* =========================================
   3. TAB BUTTONS
   ========================================= */
.digitalTabs {
    display: flex;
    justify-content: center;
    column-gap: 1em;
    margin-top: 1.5em;
    margin-bottom: 2em;
}

.tabContent { 
    display: none !important; 
    width: 100%;
}

.tabContent.activeContent { 
    display: block !important; 
}

.tabLink {
    cursor: pointer;
    display: inline-block;
    padding: 0.4em 1.5em;
    border: 2px solid black;
    border-radius: 50px;
    background: transparent;
    color: black;
    font-family: inherit;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}
.tabLink:hover { background-color: royalblue; border-color: royalblue; color: white; }
.activeTab { background-color: black; color: white; }

/* =========================================
   4. MAIN GRID LAYOUT & BASE CARDS (6-COLUMNS)
   ========================================= */
.landingGrid {
    display: block;
    padding: 0 4.5em 5em 4.5em;
    width: 100%;
    box-sizing: border-box;
}

/* Base 6-Column Gallery Grid for Portfolio Pages */
.galleryGrid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    column-gap: 2em !important;
    row-gap: 3.5em !important;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* Standard Landscape Cards (2 per row -> 3 of 6 columns) */
.gridItem,
.galleryGrid > article {
    grid-column: span 3;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Portrait Cards (3 per row -> 2 of 6 columns) */
.gridItem.portrait {
    grid-column: span 2 !important;
}

.gridItem.portrait .sectionImage,
.sectionImage.ratio-4-5 {
    aspect-ratio: 4 / 5 !important;
    object-fit: cover;
}

/* Base Image Formatting */
.sectionImage {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
}

/* Captions */
.imageCaption {
    font-size: 1.1em;
    text-align: center;
    margin-top: 0.75em;
    color: black;
}
.imageCaption a { text-decoration: none; color: inherit; }
.imageCaption a:hover { color: royalblue; }

.imageCaptionPrint {
    font-size: 1.15em;
    font-weight: 700;
    text-align: center;
    margin: 0.5em 0 0 0;
    color: black;
}
.captionBold {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    margin: 0.5em 0 0 0;
    color: black;
}
.imageCaptionSecond {
    font-size: 0.95em;
    font-weight: 400;
    text-align: center;
    font-style: normal;
    margin: 0.2em 0 0 0;
    color: #444;
}
.imageCaptionAward {
    font-size: 0.95em;
    font-weight: bold;
    text-align: center;
    font-style: italic;
    margin-top: 0.4em;
    color: black;
}

/* =========================================
   5. PRINT & MAGAZINE PAGE RULES
   ========================================= */

/* Newspaper Front Pages (3 per row -> 2 of 6 columns, 11:15 broadsheet ratio) */
#newsGrid .gridItem,
#newsGrid article {
    grid-column: span 2 !important;
    width: 100% !important;
}

#newsGrid .sectionImage,
#newsGrid .gridItem .sectionImage,
.sectionImage.newspaper {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 11 / 15 !important;
    object-fit: cover !important;
    object-position: top !important;
    border: 1px solid black;
    box-sizing: border-box;
    display: block;
    margin-bottom: 0.75em;
}

/* Magazine Grid (12-column base grid) */
#magazinesGrid .galleryGrid {
    grid-template-columns: repeat(12, 1fr) !important;
    column-gap: 1.5em !important;
    row-gap: 3.5em !important;
}

/* Standard Magazine Spreads (6 of 12 columns -> 2 per row) */
#magazinesGrid .gridItem:not(.fullSpreadGroup):not(.singlePage):not(.centeredSpread):not(.tripleGroup):not(.dualSingleGroup) {
    grid-column: span 6 !important;
}

/* Centered Standalone Spread (Spans columns 4 to 10 -> centered on its own row) */
#magazinesGrid .gridItem.centeredSpread {
    grid-column: 4 / span 6 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Dual Single Page Row Container (Spans columns 4 to 9 -> centered on its own row) */
#magazinesGrid .gridItem.dualSingleGroup {
    grid-column: 4 / span 6 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Internal 2-Image Row */
#magazinesGrid .dualSingleRow {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5em !important;
    width: 100% !important;
    margin-bottom: 0.75em;
}

#magazinesGrid .dualSingleRow .sectionImage {
    border: 1px solid black;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

/* Single Magazine Pages (3 of 12 columns -> 4 per row) */
#magazinesGrid .gridItem.singlePage {
    grid-column: span 3 !important;
}

/* Full Double Spread Containers (12 of 12 columns -> 1 per row) */
#magazinesGrid .gridItem.fullSpreadGroup {
    grid-column: span 12 !important;
    width: 100% !important;
}

/* Triple Composite Row Container (Full 12 columns across) */
#magazinesGrid .gridItem.tripleGroup {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Internal 3-Image Row Layout (25% Single : 50% Spread : 25% Single) */
.tripleImageRow {
    display: grid !important;
    grid-template-columns: 3fr 6fr 3fr !important;
    gap: 1.5em !important;
    width: 100% !important;
    margin-bottom: 0.75em;
}

.tripleImageRow .sectionImage {
    border: 1px solid black;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

#magazinesGrid .sectionImage {
    border: 1px solid black;
    box-sizing: border-box;
    margin-bottom: 0.75em;
}

.spreadGroup {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5em !important;
    width: 100% !important;
}

.spreadGroup .sectionImage {
    border: 1px solid black;
    box-sizing: border-box;
    margin-bottom: 0.75em;
}

/* Aspect Ratios for Spreads (Landscape) */
#magazinesGrid .vim,
#magazinesGrid .sectionImage.vim,
.spreadGroup .sectionImage.vim,
.tripleImageRow .spreadImg.vim {
    aspect-ratio: 17 / 11 !important;
}

#magazinesGrid .envelope,
#magazinesGrid .sectionImage.envelope,
.spreadGroup .sectionImage.envelope,
.tripleImageRow .spreadImg.envelope {
    aspect-ratio: 75 / 46 !important;
}

/* Aspect Ratios for Single Pages (Portrait) - Explicit Specificity Overrides */
#magazinesGrid .singlePage .sectionImage.vim,
#magazinesGrid .dualSingleRow .sectionImage.vim,
#magazinesGrid .dualSingleRow .singleImg.vim,
#magazinesGrid .tripleImageRow .singleImg.vim {
    aspect-ratio: 17 / 22 !important;
}

#magazinesGrid .singlePage .sectionImage.envelope,
#magazinesGrid .singlePage .sectionImage,
#magazinesGrid .dualSingleRow .sectionImage.envelope,
#magazinesGrid .dualSingleRow .singleImg.envelope,
#magazinesGrid .dualSingleRow .singleImg,
#magazinesGrid .tripleImageRow .singleImg.envelope,
#magazinesGrid .tripleImageRow .singleImg {
    aspect-ratio: 75 / 92 !important;
    object-fit: cover !important;
}

/* =========================================
   6. SOCIAL MEDIA PAGE RULES (4:5 PORTRAIT)
   ========================================= */

#socialGrid .galleryGrid,
#socialGrid figure {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    column-gap: 2em !important;
    row-gap: 3.5em !important;
    align-items: start;
    width: 100%;
}

/* Gapless Carousel Rows */
#socialGrid .gaplessRow {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 1.5em !important;
    width: 100%;
}

/* Standalone Cards & Videos */
#socialGrid .gridItem,
#socialGrid article,
#socialGrid video.sectionImage {
    grid-column: span 2 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Force Social Media Images & Videos to 4:5 Vertical Portrait */
#socialGrid .sectionImage,
#socialGrid .gridItem .sectionImage,
#socialGrid .gaplessRow .sectionImage,
#socialGrid video.sectionImage {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    display: block;
}

/* =========================================
   7. HOMEPAGE SPECIFIC 4x3 GRID OVERRIDE
   ========================================= */

/* Forces 4 columns across on index.html */
#homepageGrid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    column-gap: 1.5em !important;
    row-gap: 2em !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Forces each card on homepage to take 1 column */
#homepageGrid .gridItem,
#homepageGrid article {
    grid-column: span 1 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Image aspect ratio for homepage cards */
#homepageGrid .sectionImage {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    display: block;
}

/* =========================================
   8. ART DIRECTION & FINE ART SINGLE-COLUMN CENTERED OVERRIDE
   ========================================= */

/* Constrains Art Direction and Fine Art grids to 1 centered column */
#artDirectionGrid .galleryGrid,
#fineArtGrid .galleryGrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    row-gap: 3.5em !important;
}

#artDirectionGrid .gridItem,
#fineArtGrid .gridItem {
    grid-column: span 1 !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
}

/* Forces images to lock to the exact horizontal center */
#artDirectionGrid .sectionImage,
#fineArtGrid .sectionImage {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================================
   9. ABOUT PAGE STYLES (CENTERED HORIZONTAL)
   ========================================= */

.aboutTitle {
    margin-bottom: 2em;
}

.aboutCenteredContainer {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Centered Scaled-Up Headshot */
/* Incorrect syntax causing parsing error: */
/* width: 250px; !important; */

/* Correct syntax: */
.aboutHeadshot {
    width: 250px !important;
    max-width: 100%;
    height: auto;
    border: none;
    margin-bottom: 2.5em;
    display: block;
}

.aboutCenteredContainer p {
    margin-top: 0;
    margin-bottom: 0.75em;
    line-height: 1.4em;
    text-align: center;
}

/* Centered Section Headers */
.aboutCenteredContainer .sectionTitle {
    font-size: 1.25em;
    font-weight: 800;
    margin-top: 2em;
    margin-bottom: 0.75em;
    border-bottom: 2px solid black;
    padding-bottom: 0.2em;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.emphasis {
    font-weight: 800;
}

.italic {
    font-style: italic;
    color: #555;
}

.contact {
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contact:hover {
    color: royalblue;
}

/* =========================================
   10. LIGHTBOX MODAL
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}
.closeBtn {
    position: absolute;
    top: 1em;
    right: 1.5em;
    color: white;
    font-size: 3em;
    cursor: pointer;
}

/* =========================================
   11. MOBILE RESPONSIVENESS
   ========================================= */
@media screen and (max-width: 850px) {
    
    .navigation {
        flex-direction: column;
        padding: 1em 1.5em;
        text-align: center;
        margin-bottom: 1.5em;
    }

    .TateRudisill {
        padding: 0.5em 0;
    }

    .navLinks {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25em 0.75em;
    }

    .navLinks li a {
        padding: 0.5em 0.75em;
    }

    .landingGrid { padding: 0 1.5em 3em 1.5em; }

    .galleryGrid { grid-template-columns: 1fr !important; }
    
    .gridItem,
    .gridItem.portrait,
    #newsGrid .gridItem,
    #magazinesGrid .gridItem:not(.fullSpreadGroup) { 
        grid-column: 1 / -1 !important; 
    }

    #magazinesGrid .gridItem.centeredSpread,
    #magazinesGrid .gridItem.singlePage,
    #magazinesGrid .gridItem.dualSingleGroup {
        grid-column: 1 / -1 !important;
    }

    .tripleImageRow,
    .dualSingleRow {
        grid-template-columns: 1fr !important;
    }

    .spreadGroup { 
        grid-template-columns: 1fr !important; 
        gap: 1.5em !important; 
    }

    #homepageGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Social Media Grid & Gapless Rows Centered on Mobile */
    #socialGrid .galleryGrid {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    #socialGrid .gaplessRow {
        grid-column: 1 / -1 !important;
        grid-template-columns: repeat(3, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    #socialGrid .gridItem,
    #socialGrid article {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    #socialGrid .sectionImage {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        object-fit: cover !important;
    }
}

@media screen and (max-width: 600px) {
    #homepageGrid {
        grid-template-columns: 1fr !important;
    }
}