/*
Theme Name: Eric Ollenburg 2026
Author: Eric Ollenburg
Version: 1.0
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #000;
    color: #fff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

@font-face {
    font-family: "Athelas-Regular";
    src: url("fonts/Athelas/Athelas-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Athelas-Bold";
    src: url("fonts/Athelas/Athelas-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.type-serif {
    font-family: "Athelas-Regular", serif;
    font-weight: 100;
}

.type-serif-bold {
    font-family: "Athelas", serif;
    font-weight: 700;
}

@font-face {
    font-family: "DIN-alt-bold";
    src: url("fonts/DIN/DIN-Alternate-Bold.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN-cnd-bold";
    src: url("fonts/DIN/DIN-Condensed-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN-pro-bold";
    src: url("fonts/DIN/DINPro-Bold.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN-pro-med";
    src: url("fonts/DIN/DINPro-Medium.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN-pro-reg";
    src: url("fonts/DIN/DINPro-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.type-big-condensed {
    font-family: "DIN-cnd-bold", sans-serif;
    font-weight: 700;
}


/* HEADER
********************************************************* */

.site-header {
padding:45px 0 45px 60px ;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transform: translateY(0);
    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

/* Scrolling down */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Scrolling up */
.site-header.header-visible {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.5);
}

/* Back at very top */
.site-header.header-top {
    background: transparent;
}

a.site-logo img {
    width:auto;
    height:17px;
}

@media (max-width: 768px) {

.site-header {
padding:25px 0 25px 30px ;
}

}

/* PAGE - FRONT
********************************************************* */
.page-front {
    /*background: url(http://work.ericollenburg.com/wp-content/themes/Eric-Ollenburg/images/website_eric-ollenburg_2026-09-11.jpg) no-repeat;*/
    background-size:100% auto !important;
    background-position:top center !important;
    height:8400px;
}

.page-front-hero {
    position: relative;
    width: 100%;
    height: calc(100svh - 96px);
    overflow: hidden;
    background: url(http://work.ericollenburg.com/wp-content/uploads/Eric-Ollenburg-Front-Page-Hero-01.jpg) no-repeat;
    background-size:1920px 1080px !important;
    background-position:bottom center !important;
}

.page-front-hero {
    position: relative;
    width: 100%;
    height: clamp(520px, 52vw, calc(100svh - 96px));
    overflow: hidden;
}

#type-brand-leader {
    position: absolute;
    top: 12%;
    left: 9.4vw;
    font-size: clamp(100px, 14.2vw, 272px);
    line-height: .8;
}

/* POSITION + RESPONSIVE SIZE OF THE WHOLE THING */

.hero-type-position {
    position: absolute;
    top: 25%;
    left: 9.4%;
    width: min(62vw, 1190px);
}


/* FIXED INTERNAL COMPOSITION */

.hero-type-lockup {
    position: relative;

    width: 1190px;
    height: 350px;

    transform-origin: top left;

    /* 1190 design pixels become whatever width
       the outer container currently has */
    scale: calc(min(62vw, 1190px) / 1190px);
}


/* BRAND */

.brand-leader {
    position: absolute;
    top: 125px;
    left: 0;

    margin: 0;

    font-size: 272px;
    line-height: .8;

    opacity: 0;
    animation: brand-in 1.5s ease forwards;
}


/* DESIGN / SYSTEMS / STRATEGY */

.hero-disciplines {
    position: absolute;

    top: 85px;
    left: 615px;
}

.discipline-mask {
    overflow: hidden;
}

.hero-discipline {
    margin: 0;

    font-size: 70px;
    line-height: 1.05;

    transform: translateY(110%);
    animation: discipline-rise .75s cubic-bezier(.22, 1, .36, 1) forwards;
}

.discipline-mask:nth-child(1) .hero-discipline {
    animation-delay: .5s;
}

.discipline-mask:nth-child(2) .hero-discipline {
    animation-delay: 1s;
}

.discipline-mask:nth-child(3) .hero-discipline {
    animation-delay: 1.5s;
}

@keyframes discipline-rise {
    to {
        transform: translateY(0);
    }
}

@keyframes brand-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 768px) {

    .hero-type-position {
        top: 30%;
        left: 7%;
        width: 86%;
    }

    .hero-type-lockup {
        width: 100%;
        height: auto;
        scale: .5;
    }

    .brand-leader {
        top: auto;
        left: -10px !important;
        margin: 0;
        font-size: 270px !important;
        line-height: .78 !important;
         position: relative;
    }

    .hero-disciplines {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 25px !important;
    }

    .hero-discipline {
        font-size: 45px !important;
        line-height: 1.5 !important;
    }
}

/* Portfolio Grid
********************************************************* */

.project-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
}


/* Featured Image */

.project-card .wp-post-image {
    display: block;
    width: 100%;
    height: auto;
}


/* Dark Overlay */

.project-thumb-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.6s ease;
}

.project-card:hover .project-thumb-overlay {
    background: rgba(0, 0, 0, 0.7);
}


/* Project Title Image */

.project-title-img {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: 0.5s ease;
    transform: scale(0.8);
}

.project-card .wp-post-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

.project-card:hover .wp-post-image {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    left: 0;
    bottom: 18px;
    z-index: 4;

    width: 100%;

    color: #03a9f4;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.project-card:hover .project-category {
    opacity: 1;
    transform: translateY(0);
}




/* Responsive Grid */

@media (max-width: 2000px) {
    .project-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1600px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1080px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}