/* =========================================
   SAVANNAH JOBMAN MEDIA
   MAIN STYLESHEET
========================================= */


/* =========================================
   VARIABLES
========================================= */

:root {

    --cream: #fcf8f6;

    --cream-dark: #f7efec;

    --pink-light: #f8e9e8;

    --pink: #d99aa2;

    --pink-dark: #bd737e;

    --rose: #c9868e;

    --text: #282424;

    --text-light: #706868;

    --white: #ffffff;

    --black: #191717;

    --border: #eadfdb;

    --serif: "Playfair Display", Georgia, serif;

    --sans: "DM Sans", Arial, sans-serif;

    --transition: 0.35s cubic-bezier(.4, 0, .2, 1);

    --ease-smooth: cubic-bezier(.4, 0, .2, 1);

    --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

    --shadow:
        0 20px 60px rgba(60, 35, 35, 0.08);

}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

}

body {

    font-family: var(--sans);

    color: var(--text);

    background: var(--cream);

    line-height: 1.6;

    overflow-x: hidden;
}

img {

    width: 100%;

    display: block;

    object-fit: cover;
}

a {

    color: inherit;

    text-decoration: none;
}

button {

    font-family: inherit;

    border: none;

    cursor: pointer;
}


/* =========================================
   LOADER
========================================= */

.loader {

    position: fixed;

    inset: 0;

    z-index: 9999;

    background: var(--cream);

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        opacity 0.7s var(--ease-out-expo),
        visibility 0.7s var(--ease-out-expo);
}

.loader.hidden {

    opacity: 0;

    visibility: hidden;
}

.loader-content {

    text-align: center;

    animation: loaderPulse 1.5s infinite alternate;

    transition:
        transform .7s var(--ease-out-expo),
        filter .7s var(--ease-out-expo);
}

.loader.hidden .loader-content {

    transform: scale(1.08);

    filter: blur(6px);
}

.loader-content span {

    display: block;

    font-family: var(--serif);

    font-size: 28px;
}

@keyframes loaderPulse {

    from {
        opacity: .4;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   HEADER
========================================= */

.site-header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(252, 248, 246, .94);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(210, 190, 185, .25);

    transition: var(--transition);
}

.site-header.scrolled {

    box-shadow:
        0 10px 40px rgba(50, 30, 30, .08);
}

.nav-container {

    max-width: 1400px;

    margin: auto;

    height: 92px;

    padding: 0 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    line-height: 1;
}

.logo span {

    font-family: var(--serif);

    font-size: 23px;

    white-space: nowrap;
}

/* NAV */

.desktop-nav {

    display: flex;

    align-items: center;

    gap: 27px;
}

.nav-link {

    position: relative;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #4c4545;

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {

    color: var(--pink-dark);
}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -9px;

    width: 0;

    height: 1px;

    background: var(--pink);

    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;
}


/* =========================================
   MOBILE NAV
========================================= */

.mobile-menu-button {

    display: none;

    width: 40px;

    height: 40px;

    background: transparent;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;
}

.mobile-menu-button span {

    width: 23px;

    height: 1px;

    background: var(--text);

    transition: .3s ease;
}

.mobile-nav {

    display: flex;

    flex-direction: column;

    max-height: 0;

    overflow: hidden;

    padding: 0 25px;

    opacity: 0;

    background: var(--cream);

    border-top: 1px solid transparent;

    transition:
        max-height .45s var(--ease-smooth),
        opacity .35s var(--ease-smooth),
        padding .45s var(--ease-smooth),
        border-color .45s var(--ease-smooth);
}

.mobile-nav.open {

    max-height: 600px;

    padding: 25px;

    opacity: 1;

    border-top-color: var(--border);
}

.mobile-nav a {

    padding: 15px 0;

    border-bottom: 1px solid var(--border);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    opacity: 0;

    transform: translateX(-12px);

    transition:
        opacity .3s var(--ease-smooth),
        transform .3s var(--ease-smooth);
}

.mobile-nav.open a {

    opacity: 1;

    transform: translateX(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: .05s; }
.mobile-nav.open a:nth-child(2) { transition-delay: .1s; }
.mobile-nav.open a:nth-child(3) { transition-delay: .15s; }
.mobile-nav.open a:nth-child(4) { transition-delay: .2s; }
.mobile-nav.open a:nth-child(5) { transition-delay: .25s; }
.mobile-nav.open a:nth-child(6) { transition-delay: .3s; }
.mobile-nav.open a:nth-child(7) { transition-delay: .35s; }
.mobile-nav.open a:nth-child(8) { transition-delay: .4s; }


/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    min-height: 100vh;

    min-height: 100svh;

    padding-top: 92px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--black);
}


/* HERO MEDIA */

.hero-media {

    position: absolute;

    inset: 0;

    transform: translateY(var(--parallax-y, 0px));

    will-change: transform;
}

.hero-media img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {

    from { transform: scale(1); }

    to { transform: scale(1.09); }

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(25, 23, 23, .82) 0%,
            rgba(25, 23, 23, .38) 48%,
            rgba(25, 23, 23, .28) 100%
        );
}


/* HERO CONTENT */

.hero-content-full {

    position: relative;

    z-index: 1;

    max-width: 760px;

    padding:
        60px
        clamp(30px, 8vw, 110px);
}

.hero-eyebrow {

    color: var(--pink);
}

.eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 10px;

    letter-spacing: 2.5px;

    font-weight: 600;

    color: var(--pink-dark);

    margin-bottom: 25px;
}

.eyebrow span {

    display: block;

    width: 28px;

    height: 1px;

    background: var(--pink);
}

.hero-headline {

    font-family: var(--serif);

    font-weight: 400;

    font-size:
        clamp(54px, 5.4vw, 88px);

    line-height: .98;

    letter-spacing: -3px;

    margin-bottom: 30px;

    color: white;
}

.hero-headline em {

    color: var(--pink);

    font-style: normal;
}

.hero-line {

    display: block;
}

.hero-sub {

    max-width: 470px;

    font-size: 15px;

    line-height: 1.9;

    color: rgba(255, 255, 255, .82);

    margin-bottom: 35px;
}


/* HERO ENTRANCE ANIMATION */

.hero-eyebrow,
.hero-line,
.hero-sub,
.hero-buttons {

    opacity: 0;

    transition:
        opacity .9s var(--ease-out-expo),
        transform .9s var(--ease-out-expo);
}

.hero-eyebrow {

    transform: translateY(-24px);
}

.hero-line-left {

    transform: translateX(-70px);
}

.hero-line-right {

    transform: translateX(70px);
}

.hero-line-rise {

    transform: translateY(50px) scale(.92);
}

.hero-sub {

    transform: translateY(24px);
}

.hero-buttons {

    transform: translateY(16px) scale(.97);
}

.hero-animate .hero-eyebrow {

    opacity: 1;
    transform: translateY(0);
    transition-delay: .1s;
}

.hero-animate .hero-line-left {

    opacity: 1;
    transform: translateX(0);
    transition-delay: .3s;
}

.hero-animate .hero-line-right {

    opacity: 1;
    transform: translateX(0);
    transition-delay: .44s;
}

.hero-animate .hero-line-rise {

    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: .6s;
}

.hero-animate .hero-sub {

    opacity: 1;
    transform: translateY(0);
    transition-delay: .8s;
}

.hero-animate .hero-buttons {

    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: .94s;
}

@media (prefers-reduced-motion: reduce) {

    .hero-eyebrow,
    .hero-line,
    .hero-sub,
    .hero-buttons {

        opacity: 1;
        transform: none;
    }

}

.image-label {

    position: absolute;

    bottom: 30px;

    right: 30px;

    color: white;

    background:
        rgba(30, 25, 25, .65);

    backdrop-filter: blur(8px);

    padding: 12px 18px;

    font-size: 9px;

    letter-spacing: 2px;
}

.image-label span {

    margin-right: 12px;

    color: var(--pink);
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.button {

    position: relative;

    overflow: hidden;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    padding: 16px 22px;

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: var(--transition);

    will-change: transform;
}

.button span {

    transition: transform .3s var(--ease-smooth);
}

.button:hover span {

    transform: translateX(6px);
}

.button-ripple {

    position: absolute;

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .55);

    transform: translate(-50%, -50%) scale(0);

    pointer-events: none;

    animation: rippleExpand .6s var(--ease-out-expo) forwards;
}

.button-outline .button-ripple {

    background: rgba(217, 154, 162, .35);
}

@keyframes rippleExpand {

    to {
        transform: translate(-50%, -50%) scale(22);
        opacity: 0;
    }

}

.button-primary {

    color: white;

    background: var(--pink);
}

.button-primary:hover {

    background: var(--pink-dark);

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(190, 115, 125, .25);
}

.button-outline {

    border: 1px solid var(--pink);

    color: var(--pink-dark);
}

.button-outline:hover {

    background: var(--pink);

    color: white;

    transform: translateY(-3px);
}

.button-outline-light {

    border: 1px solid rgba(255, 255, 255, .7);

    color: white;
}

.button-outline-light:hover {

    background: white;

    color: var(--text);

    transform: translateY(-3px);
}

.button-dark {

    background: var(--text);

    color: white;
}

.button-dark:hover {

    background: var(--pink-dark);

    transform: translateY(-3px);
}


/* =========================================
   SECTIONS
========================================= */

.section {

    padding:
        110px
        clamp(25px, 7vw, 110px);
}

.section-heading {

    text-align: center;

    max-width: 720px;

    margin:
        0 auto
        65px;
}

.eyebrow.centered {

    justify-content: center;
}

.section-heading h1,
.section-heading h2 {

    font-family: var(--serif);

    font-size:
        clamp(36px, 4vw, 58px);

    font-weight: 400;

    line-height: 1.15;

    margin-bottom: 18px;
}

.section-heading p {

    color: var(--text-light);

    font-size: 14px;

    max-width: 600px;

    margin: auto;
}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio-grid {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.portfolio-card {

    display: block;

    cursor: pointer;
}

.portfolio-grid-2 {

    grid-template-columns:
        repeat(2, 1fr);

    max-width: 1000px;
}

.portfolio-image {

    position: relative;

    aspect-ratio: .78;

    overflow: hidden;

    background: #eee;
}

.portfolio-image img {

    height: 100%;

    transition:
        transform .8s cubic-bezier(.2,.8,.2,1),
        filter .5s ease;
}

.portfolio-card:hover
.portfolio-image img {

    transform: scale(1.06);

    filter:
        brightness(.72);
}

.portfolio-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: white;

    font-size: 10px;

    letter-spacing: 2px;

    opacity: 0;

    transform: translateY(10px);

    transition: .4s ease;
}

.portfolio-card:hover
.portfolio-overlay {

    opacity: 1;

    transform: translateY(0);
}

.portfolio-overlay i {

    color: var(--pink);
}

.portfolio-info {

    padding:
        18px
        3px;
}

.portfolio-info h3 {

    font-family: var(--serif);

    font-weight: 400;

    font-size: 23px;

    margin:
        7px
        0
        4px;
}

.portfolio-info p {

    color: var(--text-light);

    font-size: 11px;
}

.portfolio-info a {

    display: inline-block;

    margin-top: 13px;

    color: var(--pink-dark);

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: .3s ease;
}

.portfolio-info a:hover {

    letter-spacing: 1.7px;
}

.portfolio-link-text {

    display: inline-block;

    margin-top: 13px;

    color: var(--pink-dark);

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: .3s ease;
}

.portfolio-card:hover .portfolio-link-text {

    letter-spacing: 1.7px;
}

.center-button {

    text-align: center;

    margin-top: 55px;
}

.text-button {

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--pink-dark);

    border-bottom:
        1px solid var(--pink);

    padding-bottom: 7px;
}

.text-button span {

    margin-left: 20px;

    transition: .3s ease;
}

.text-button:hover span {

    margin-left: 28px;
}


/* =========================================
   ABOUT
========================================= */

.about-section {

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--pink-light);
}

.about-image {

    min-height: 650px;

    overflow: hidden;
}

.about-image img {

    height: 100%;

    transition:
        transform 1s ease;
}

.about-image:hover img {

    transform: scale(1.025);
}

.about-content {

    padding:
        90px
        clamp(50px, 8vw, 130px);

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.about-content h2 {

    font-family: var(--serif);

    font-size:
        clamp(42px, 4.5vw, 70px);

    line-height: 1.05;

    font-weight: 400;

    margin-bottom: 28px;
}

.about-content h2 em {

    color: var(--pink-dark);

    font-style: normal;
}

.about-content p {

    color: var(--text-light);

    font-size: 14px;

    max-width: 550px;

    margin-bottom: 18px;
}

.about-content .button {

    align-self: flex-start;

    margin-top: 18px;
}


/* =========================================
   SERVICES
========================================= */

.services-section {

    background: white;
}

.services-grid {

    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.service-card {

    text-align: center;

    padding:
        35px;

    border-right:
        1px solid var(--border);

    transition: .4s ease;
}

.service-card:last-child {

    border-right: none;
}

.service-card:hover {

    transform: translateY(-8px);
}

.service-icon {

    width: 68px;

    height: 68px;

    margin:
        0 auto
        25px;

    border:
        1px solid var(--pink);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--pink-dark);

    font-size: 22px;

    transition:
        transform .5s ease,
        background .4s ease,
        color .4s ease;
}

.service-card:hover
.service-icon {

    transform:
        rotate(-8deg)
        scale(1.12);

    background: var(--pink);

    color: white;

    box-shadow:
        0 10px 25px rgba(190, 115, 125, .2);
}

.service-card h3 {

    text-transform: uppercase;

    font-size: 11px;

    letter-spacing: 1.3px;

    margin-bottom: 12px;
}

.service-card p {

    font-size: 12px;

    color: var(--text-light);

    line-height: 1.8;
}


/* =========================================
   VIDEO
========================================= */

.video-section {

    background: var(--cream);
}

.video-heading {

    max-width: 1250px;

    margin:
        0 auto
        45px;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 40px;
}

.video-heading h2 {

    font-family: var(--serif);

    font-size:
        clamp(40px, 4.5vw, 65px);

    line-height: 1.05;

    font-weight: 400;

    max-width: 700px;
}

.video-heading h2 em {

    color: var(--pink-dark);

    font-style: normal;
}

.video-heading > p {

    max-width: 330px;

    color: var(--text-light);

    font-size: 13px;
}

.video-placeholder {

    max-width: 1250px;

    margin: auto;

    height: 570px;

    position: relative;

    overflow: hidden;

    background: #222;
}

.video-placeholder img {

    height: 100%;

    filter: brightness(.7);

    transition:
        transform 1s ease,
        filter .5s ease;
}

.video-placeholder:hover img {

    transform: scale(1.03);

    filter: brightness(.55);
}

.play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 95px;

    height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.9);

    color: var(--pink-dark);

    font-size: 20px;

    transition: .4s ease;
}

.play-button i {

    margin-left: 3px;
}

.play-button:hover {

    transform:
        translate(-50%, -50%)
        scale(1.1);

    background: var(--pink);

    color: white;
}

.video-caption {

    position: absolute;

    bottom: 25px;

    left: 30px;

    color: white;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 9px;
}


/* =========================================
   TRUSTED BY
========================================= */

.trusted-section {

    background: var(--pink-light);

    padding:
        80px
        30px;
}

.trusted-inner {

    max-width: 1200px;

    margin: auto;

    text-align: center;
}

.trusted-heading span {

    font-size: 10px;

    letter-spacing: 4px;

    color: var(--pink-dark);

    font-weight: 600;
}

.trusted-heading p {

    font-size: 12px;

    color: var(--text-light);

    margin-top: 8px;
}

.logos {

    margin-top: 50px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    row-gap: 40px;

    column-gap:
        clamp(35px, 7vw, 100px);
}

.client-logo {

    min-width: 170px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    opacity: .7;

    transition:
        opacity .5s ease,
        transform .5s ease;
}

.client-logo:hover {

    opacity: 1;

    transform:
        translateY(-7px)
        scale(1.05);
}

.logo-img {

    width: auto;

    max-width: 140px;

    max-height: 68px;

    object-fit: contain;

    filter: grayscale(100%);

    transition: filter .5s ease;
}

.client-logo:hover .logo-img {

    filter: grayscale(0%);
}

.client-logo small {

    font-size: 8px;

    letter-spacing: 1px;

    line-height: 1.3;

    margin-top: 5px;
}


/* =========================================
   PROJECT MASONRY
========================================= */

.projects-section {

    background: white;
}

.project-masonry {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.2fr
        1fr
        1fr;

    gap: 20px;

    height: 580px;
}

.masonry-item {

    position: relative;

    overflow: hidden;

    height: 280px;
}

.masonry-item.tall {

    height: 580px;

    grid-row:
        span 2;
}

.masonry-item img {

    height: 100%;

    transition:
        transform .8s ease,
        filter .5s ease;
}

.masonry-item:hover img {

    transform: scale(1.06);

    filter: brightness(.75);
}

.masonry-label {

    position: absolute;

    left: 20px;

    bottom: 20px;

    color: white;

    font-family: var(--serif);

    font-size: 23px;

    text-shadow:
        0 2px 10px rgba(0,0,0,.3);
}


/* =========================================
   CONTACT
========================================= */

.contact-section {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    background: var(--pink-light);
}

.contact-content {

    padding:
        100px
        clamp(40px, 8vw, 120px);

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.contact-content h2 {

    font-family: var(--serif);

    font-weight: 400;

    font-size:
        clamp(50px, 5vw, 78px);

    line-height: 1;

    margin-bottom: 25px;
}

.contact-content h2 em {

    color: var(--pink-dark);

    font-style: normal;
}

.contact-content p {

    max-width: 500px;

    color: var(--text-light);

    font-size: 14px;

    margin-bottom: 30px;
}

.contact-content .button {

    align-self: flex-start;
}

.contact-image {

    min-height: 500px;

    overflow: hidden;
}

.contact-image img {

    height: 100%;

    transition:
        transform 1s ease;
}

.contact-image:hover img {

    transform: scale(1.04);
}


/* =========================================
   FOOTER
========================================= */

.footer {

    background: var(--black);

    color: white;

    padding:
        55px
        clamp(25px, 6vw, 90px)
        25px;
}

.footer-top {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;
}

.footer-logo span {

    color: white;
}

.footer-brand p {

    color: #999;

    font-size: 11px;

    margin-top: 12px;
}

.footer-social {

    display: flex;

    gap: 12px;
}

.social-icon {

    width: 43px;

    height: 43px;

    border:
        1px solid #555;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #bbb;

    transition:
        background .35s ease,
        color .35s ease,
        border .35s ease,
        transform .35s ease;
}

.social-icon:hover {

    background: var(--pink);

    color: white;

    border-color: var(--pink);

    transform:
        translateY(-5px)
        rotate(5deg);
}

.footer-email {

    text-align: right;

    color: #aaa;

    font-size: 11px;

    transition: color .3s ease;
}

.footer-email:hover {

    color: var(--pink);
}

/* SUNROOM MEDIA BADGE */

.footer-sunroom {

    max-width: 1400px;

    margin: 40px auto 0;

    padding-top: 32px;

    border-top: 1px solid #2a2626;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

    text-align: center;
}

.sunroom-badge {

    display: block;

    width: 84px;

    flex-shrink: 0;

    opacity: .92;

    transition: opacity .3s ease, transform .3s ease;
}

.sunroom-badge:hover {

    opacity: 1;

    transform: translateY(-2px);
}

.sunroom-mark {

    width: 100%;

    height: auto;

    overflow: visible;
}

.footer-sunroom-text {

    color: #8a8383;

    font-size: 11px;

    line-height: 1.7;

    max-width: 340px;
}

.footer-sunroom-text a {

    color: #b78d93;

    text-decoration: underline;

    text-underline-offset: 2px;

    transition: color .3s ease;
}

.footer-sunroom-text a:hover {

    color: var(--pink);
}


/* Sunroom mark animation — hidden until .play is added by IntersectionObserver */

.sunroom-mark .fly-tl,
.sunroom-mark .fly-tr,
.sunroom-mark .fly-t,
.sunroom-mark .fly-bl,
.sunroom-mark .fly-br,
.sunroom-mark .fly-b,
.sunroom-mark .fill-in,
.sunroom-mark .pop-in,
.sunroom-mark .word-in,
.sunroom-mark .sun-halo {

    opacity: 0;
}

.sunroom-mark .fill-in,
.sunroom-mark .pop-in,
.sunroom-mark .sun-halo {

    transform-box: fill-box;
    transform-origin: center;
}

.play .fly-tl { animation-name: sunroomFlyTL; }
.play .fly-tr { animation-name: sunroomFlyTR; }
.play .fly-t { animation-name: sunroomFlyT; }
.play .fly-bl { animation-name: sunroomFlyBL; }
.play .fly-br { animation-name: sunroomFlyBR; }
.play .fly-b { animation-name: sunroomFlyB; }

.play .fly-tl,
.play .fly-tr,
.play .fly-t,
.play .fly-bl,
.play .fly-br,
.play .fly-b {

    animation-duration: .85s;
    animation-timing-function: var(--ease-out-expo);
    animation-fill-mode: forwards;
}

.play .fill-in {

    animation-name: sunroomFillIn;
    animation-duration: .5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.play .pop-in {

    animation-name: sunroomPopIn;
    animation-duration: .55s;
    animation-timing-function: cubic-bezier(.34, 1.56, .64, 1);
    animation-fill-mode: forwards;
}

.play .word-in {

    animation-name: sunroomWordIn;
    animation-duration: .5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.play .sun-halo {

    animation:
        sunroomFillIn .5s ease-out .85s forwards,
        sunroomGlow 3s ease-in-out 1.4s infinite;
}

@keyframes sunroomFlyTL { from { transform: translate(-70px, -58px); opacity: 0; } to { transform: translate(0,0); opacity: 1; } }
@keyframes sunroomFlyTR { from { transform: translate(70px, -58px); opacity: 0; } to { transform: translate(0,0); opacity: 1; } }
@keyframes sunroomFlyT { from { transform: translate(0, -70px); opacity: 0; } to { transform: translate(0,0); opacity: 1; } }
@keyframes sunroomFlyBL { from { transform: translate(-70px, 58px); opacity: 0; } to { transform: translate(0,0); opacity: 1; } }
@keyframes sunroomFlyBR { from { transform: translate(70px, 58px); opacity: 0; } to { transform: translate(0,0); opacity: 1; } }
@keyframes sunroomFlyB { from { transform: translate(0, 58px); opacity: 0; } to { transform: translate(0,0); opacity: 1; } }
@keyframes sunroomFillIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes sunroomPopIn { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sunroomWordIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sunroomGlow { 0%, 100% { opacity: .16; transform: scale(1); } 50% { opacity: .3; transform: scale(1.08); } }

.footer-bottom {

    max-width: 1400px;

    margin:
        45px auto
        0;

    padding-top: 20px;

    border-top:
        1px solid #333;

    display: flex;

    justify-content: space-between;

    color: #777;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================
   SCROLL TOP
========================================= */

.scroll-top {

    position: fixed;

    bottom: 25px;

    right: 25px;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: var(--pink);

    color: white;

    z-index: 100;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: .4s ease;
}

.scroll-top.visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.scroll-top:hover {

    background: var(--pink-dark);

    transform:
        translateY(-4px);
}


/* =========================================
   REVEAL ANIMATIONS
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(calc(35px + var(--parallax-y, 0px)));

    transition:
        opacity .8s var(--ease-smooth),
        transform .8s var(--ease-smooth);
}

.reveal.visible {

    opacity: 1;

    transform: translateY(var(--parallax-y, 0px));
}

.reveal-delay {

    transition-delay: .15s;
}


/* Staggered entrance for grid rows */

.portfolio-grid-2 .portfolio-card:nth-child(2) { transition-delay: .12s; }

.services-grid .service-card:nth-child(2) { transition-delay: .08s; }
.services-grid .service-card:nth-child(3) { transition-delay: .16s; }
.services-grid .service-card:nth-child(4) { transition-delay: .24s; }

.project-masonry .masonry-item:nth-child(2) { transition-delay: .1s; }
.project-masonry .masonry-item:nth-child(3) { transition-delay: .18s; }
.project-masonry .masonry-item:nth-child(4) { transition-delay: .26s; }
.project-masonry .masonry-item:nth-child(5) { transition-delay: .34s; }

.gallery-grid .gallery-card:nth-child(4n+1) { transition-delay: 0s; }
.gallery-grid .gallery-card:nth-child(4n+2) { transition-delay: .08s; }
.gallery-grid .gallery-card:nth-child(4n+3) { transition-delay: .16s; }
.gallery-grid .gallery-card:nth-child(4n+4) { transition-delay: .24s; }

.gallery-grid-labeled .gallery-card:nth-child(2) { transition-delay: .1s; }
.gallery-grid-labeled .gallery-card:nth-child(3) { transition-delay: .2s; }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .desktop-nav {

        gap: 17px;
    }

    .nav-container {

        padding: 0 30px;
    }

    .portfolio-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-card:nth-child(2) {

        border-right: none;
    }

    .service-card {

        border-bottom:
            1px solid var(--border);
    }

}


@media (max-width: 850px) {

    .desktop-nav {

        display: none;
    }

    .mobile-menu-button {

        display: flex;
    }

    .hero-content-full {

        padding:
            50px 30px;
    }

    .about-section {

        grid-template-columns: 1fr;
    }

    .about-image {

        min-height: 550px;
    }

    .about-content {

        padding:
            80px 30px;
    }

    .contact-section {

        grid-template-columns: 1fr;
    }

    .contact-image {

        min-height: 400px;
    }

    .video-heading {

        flex-direction: column;

        align-items: flex-start;
    }

    .project-masonry {

        height: auto;

        grid-template-columns: 1fr 1fr;
    }

    .masonry-item.tall {

        height: 500px;

        grid-column:
            span 2;

        grid-row: auto;
    }

    .masonry-item {

        height: 300px;
    }

}


@media (max-width: 600px) {

    .nav-container {

        height: 75px;

        padding: 0 20px;
    }

    .gallery-hero {

        padding-top: 110px;
    }

    .gallery-grid,
    .gallery-grid-labeled {

        grid-template-columns: 1fr;
    }

    .hero {

        padding-top: 75px;
    }

    .hero-headline {

        font-size: 52px;

        letter-spacing: -2px;
    }

    .hero-content-full {

        padding:
            40px 20px;
    }

    .section {

        padding:
            75px 20px;
    }

    .portfolio-grid {

        grid-template-columns: 1fr;
    }

    .portfolio-image {

        aspect-ratio: 1 / 1.15;
    }

    .services-grid {

        grid-template-columns: 1fr;
    }

    .service-card {

        border-right: none;

        padding:
            35px 20px;
    }

    .client-logo {

        min-width: 110px;
    }

    .project-masonry {

        display: flex;

        flex-direction: column;

        height: auto;
    }

    .masonry-item,
    .masonry-item.tall {

        height: 400px;

        width: 100%;
    }

    .footer-top {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-brand {

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .footer-social {

        justify-content: center;
    }

    .footer-email {

        text-align: center;
    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================
   INQUIRE PAGE
========================================= */

.inquire-hero {

    max-width: 900px;

    margin: auto;

    padding:
        170px
        clamp(25px, 7vw, 40px)
        140px;
}

.inquire-form {

    display: flex;

    flex-direction: column;

    gap: 22px;

    margin-top: 20px;
}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;
}

.form-field {

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-field-full {

    width: 100%;
}

.form-field label {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--text-light);
}

.form-field input,
.form-field select,
.form-field textarea {

    font-family: var(--sans);

    font-size: 14px;

    padding: 14px 16px;

    background: var(--white);

    border: 1px solid var(--border);

    color: var(--text);

    transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {

    outline: none;

    border-color: var(--pink);
}

.form-field textarea {

    resize: vertical;
}

.inquire-form .button {

    align-self: flex-start;

    margin-top: 10px;
}

.form-note {

    font-size: 12px;

    color: var(--text-light);
}

.form-note a {

    color: var(--pink-dark);

    text-decoration: underline;
}


/* =========================================
   SHOP PAGE
========================================= */

.shop-hero {

    max-width: 900px;

    margin: auto;

    padding:
        170px
        clamp(25px, 7vw, 40px)
        60px;
}

.shop-buttons {

    margin-top: 35px;

    justify-content: center;
}

.shop-grid-preview {

    max-width: 1100px;

    margin: 90px auto 140px;

    padding: 0 clamp(25px, 7vw, 40px);

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.shop-placeholder-card {

    aspect-ratio: .8;

    background: var(--pink-light);

    border: 1px dashed var(--pink);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--pink-dark);

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================
   PORTFOLIO GALLERY
========================================= */

.gallery-hero {

    max-width: 1300px;

    margin: auto;

    padding:
        170px
        clamp(25px, 7vw, 40px)
        140px;
}

.gallery-tabs {

    display: flex;

    justify-content: center;

    margin: 45px 0 55px;

    border: 1px solid var(--border);
}

.gallery-tab {

    flex: 1;

    padding: 16px 22px;

    background: transparent;

    color: var(--text-light);

    font-family: inherit;

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    border-right: 1px solid var(--border);

    transition: var(--transition);
}

.gallery-tab:last-child {

    border-right: none;
}

.gallery-tab:hover {

    color: var(--pink-dark);
}

.gallery-tab.active {

    background: var(--pink);

    color: white;
}

.gallery-panel {

    display: none;

    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity .35s var(--ease-smooth),
        transform .35s var(--ease-smooth);
}

.gallery-panel.active {

    display: block;
}

.gallery-panel.active.panel-in {

    opacity: 1;

    transform: translateY(0);
}

.gallery-panel-note {

    text-align: center;

    max-width: 560px;

    margin: 0 auto 40px;

    color: var(--text-light);

    font-size: 13px;
}

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.gallery-card {

    position: relative;

    aspect-ratio: .78;

    overflow: hidden;

    background: #eee;
}

.gallery-card img {

    height: 100%;

    filter: contrast(1.05) saturate(1.1);

    transform: scale(1.08);

    transition:
        transform 1.1s var(--ease-out-expo),
        filter .5s ease;
}

.gallery-card.visible img {

    transform: scale(1);
}

.gallery-card:hover img {

    transform: scale(1.06);

    filter: contrast(1.05) saturate(1.1) brightness(.72);
}

.gallery-grid-labeled {

    grid-template-columns:
        repeat(3, 1fr);
}

.gallery-grid-labeled .gallery-card {

    aspect-ratio: 1.1;
}

.gallery-card-play {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 56px;

    height: 56px;

    transform: translate(-50%, -50%) scale(1);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .92);

    color: var(--text);

    font-size: 18px;

    transition:
        transform .4s var(--ease-out-expo),
        background .3s ease;
}

.gallery-card-play span {

    margin-left: 3px;
}

.gallery-card:hover .gallery-card-play {

    transform: translate(-50%, -50%) scale(1.1);

    background: var(--pink);

    color: white;
}

.gallery-card-label {

    position: absolute;

    left: 0;

    bottom: 0;

    right: 0;

    padding: 16px 18px;

    background:
        linear-gradient(
            to top,
            rgba(30, 25, 25, .75),
            transparent
        );

    color: white;

    font-size: 12px;

    letter-spacing: .5px;
}

.gallery-grid-social {

    grid-template-columns:
        repeat(4, 1fr);
}

.social-card {

    position: relative;

    aspect-ratio: .5625;

    overflow: hidden;

    background: #111;

    cursor: pointer;
}

.social-card video {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 1.1s var(--ease-out-expo);
}

.social-card:hover video {

    transform: scale(1.05);
}

.social-card-caption {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 14px 16px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .8),
            transparent
        );

    color: white;

    font-size: 12px;

    letter-spacing: .3px;

    pointer-events: none;
}

.social-card-mute {

    position: absolute;

    top: 12px;

    right: 12px;

    z-index: 2;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(20, 18, 18, .5);

    backdrop-filter: blur(4px);

    color: white;

    font-size: 12px;

    transition:
        background .3s ease,
        transform .3s ease;
}

.social-card-mute:hover {

    background: rgba(20, 18, 18, .8);

    transform: scale(1.08);
}

.social-card-pause-icon {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 52px;

    height: 52px;

    transform: translate(-50%, -50%) scale(.75);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .92);

    color: var(--text);

    font-size: 16px;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.social-card-pause-icon i {

    margin-left: 2px;
}

.social-card.is-paused .social-card-pause-icon {

    opacity: 1;

    transform: translate(-50%, -50%) scale(1);
}

.social-card.is-playing .social-card-caption {

    opacity: 0;

    transition: opacity .3s ease;
}

.social-card:focus-visible,
.social-card-mute:focus-visible {

    outline: 2px solid var(--pink);

    outline-offset: 2px;
}


@media (max-width: 850px) {

    .inquire-hero,
    .shop-hero,
    .gallery-hero {

        padding-top: 130px;
    }

    .form-row {

        grid-template-columns: 1fr;
    }

    .shop-grid-preview {

        grid-template-columns: 1fr;

        margin-bottom: 100px;
    }

    .gallery-tabs {

        flex-direction: column;
    }

    .gallery-tab {

        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .gallery-tab:last-child {

        border-bottom: none;
    }

    .gallery-grid,
    .gallery-grid-labeled {

        grid-template-columns:
            repeat(2, 1fr);
    }

}