@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-300.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/lato-900.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --navy: #09004d;
    --charcoal: #222222;
    --white: #fefefe;
    --orange: #ff9800;
    --purple: #8341d3;
    --footer-purple: #8d3fd8;
    --cyan: #40c7d1;
    --green: #81d742;
    --drawer-width: 253px;
    --topbar-height: 54px;
    --container: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--topbar-height);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--navy);
    color: var(--white);
    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
}

body.menu-open,
body.info-open {
    overflow-x: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    background: #fff;
    color: #222;
}

/* Original loading screen. */
.page-preloader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    opacity: 1;
    visibility: visible;
    background: #f5f5f5;
    transition: opacity 600ms ease, visibility 600ms ease;
}

.page-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-status {
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 400ms ease;
}

.preloader-status.is-hidden {
    opacity: 0;
}

.moving-ball-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 256px;
    height: 20px;
    margin: -10px 0 0 -128px;
}

.preloader-logo {
    position: absolute;
    top: calc(50% - 135px);
    left: 50%;
    width: 159px;
    height: 98px;
    max-width: none;
    transform: translateX(-50%);
}

.moving-ball-line {
    position: absolute;
    top: 8px;
    left: 0;
    width: 256px;
    height: 4px;
    background: #222;
}

.moving-ball {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #222;
    animation: moving-ball 1.3s linear infinite;
}

@keyframes moving-ball {
    0%, 100% { left: 0; }
    50% { left: 236px; }
}

/* Fixed navigation and drawers. */
.topbar {
    position: fixed;
    z-index: 90;
    inset: 0 0 auto;
    height: var(--topbar-height);
    display: grid;
    grid-template-columns: 45px 1fr 45px;
    align-items: center;
    padding: 0 13px;
    background: var(--charcoal);
    border-top: 1px solid #4d5156;
}

.topbar-logo {
    width: 139px;
    justify-self: start;
}

.topbar-logo img {
    width: 139px;
    height: 42px;
    object-fit: contain;
}

.menu-toggle {
    width: 32px;
    height: 32px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 6px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.menu-toggle-right {
    justify-self: end;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-drawer,
.info-drawer {
    position: fixed;
    z-index: 80;
    top: var(--topbar-height);
    bottom: 0;
    width: var(--drawer-width);
    overflow-y: auto;
    background: var(--charcoal);
    transition: transform 400ms ease;
}

.site-drawer {
    left: 0;
    padding-top: 28px;
    transform: translateX(-100%);
}

.info-drawer {
    right: 0;
    padding: 48px 38px;
    transform: translateX(100%);
}

.menu-open .site-drawer,
.info-open .info-drawer {
    transform: translateX(0);
}

.site-drawer nav {
    display: grid;
}

.site-drawer nav a {
    padding: 17px 38px;
    border-bottom: 1px solid #393939;
    color: #fff;
    text-decoration: none;
}

.site-drawer nav a:hover,
.site-drawer nav a:focus-visible {
    color: var(--orange);
}

.drawer-credit {
    display: grid;
    gap: 4px;
    margin: 52px 38px 0;
    color: #747474;
    font-size: 13px;
}

.credit-purple {
    color: #7d29c7;
}

.info-drawer h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 26px;
}

.info-drawer p {
    color: #bbb;
    font-size: 13px;
}

.site-canvas {
    min-height: 100vh;
    padding-top: var(--topbar-height);
    transition: transform 400ms ease;
}

.menu-open .site-canvas {
    transform: translateX(var(--drawer-width));
}

/* Hero. */
.hero {
    position: relative;
    width: min(var(--container), calc(100% - 30px));
    min-height: calc(100vh - var(--topbar-height));
    display: grid;
    place-items: center;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.hero-inner {
    width: 100%;
    transform: translateY(88px);
}

.hero-logo {
    width: 621px;
    margin: 0 auto 10px;
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-size: 48.75px;
    font-weight: 800;
    line-height: 1.5;
}

.hero-subtitle {
    margin: 0;
    color: #fff;
    font-size: 26.25px;
    font-weight: 400;
    line-height: 1.6;
}

.scroll-prompt {
    position: absolute;
    bottom: 24px;
    left: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transform: translateX(-50%);
    animation: arrow-bounce 1.5s ease-in-out 3s infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Shared page rhythm. */
.section-spacer {
    width: min(var(--container), calc(100% - 30px));
    margin: 0 auto;
}

.section-spacer-35 { height: 35px; }
.section-spacer-40 { height: 40px; }
.section-spacer-55 { height: 55px; }

.intro-section,
.our-work-intro,
.gallery-section,
.powder-section,
.services-section,
.contact-section,
.find-section {
    width: min(var(--container), calc(100% - 30px));
    margin: 0 auto;
}

.intro-section {
    min-height: 460px;
    display: grid;
    place-items: center;
    padding: 70px 120px;
    background:
        linear-gradient(rgb(0 0 0 / 48%), rgb(0 0 0 / 48%)),
        url("../images/powder-splash.jpg") center / cover no-repeat;
    text-align: center;
}

.intro-content {
    max-width: 900px;
}

.intro-section h2 {
    margin: 0 0 18px;
    color: var(--orange);
    font-size: 50px;
    font-weight: 500;
    line-height: 55px;
}

.intro-section p {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    font-size: 28px;
    line-height: 40px;
}

/* Statement block shown above the primary portfolio. */
.our-work-intro {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    padding: 28px 120px 82px;
    color: #fff;
    text-align: center;
}

.our-work-copy h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 100px;
    font-weight: 900;
    line-height: 1.1;
}

.our-work-copy p {
    margin: 0;
    color: #fff;
    font-size: 38px;
    font-weight: 300;
    line-height: 1.38;
}

.our-work-copy strong {
    color: #fff;
    font-weight: 900;
}

.our-work-copy .trusting-accent {
    color: var(--purple);
}

/* Portfolio galleries. */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0 0 22px;
}

.filter-button {
    min-width: 76px;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.filter-button span {
    margin-left: 5px;
    color: #aaa;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
    background: var(--purple);
}

.portfolio-grid {
    display: grid;
    gap: 10px;
}

.portfolio-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-item {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #111;
    cursor: zoom-in;
}

.portfolio-item[hidden] {
    display: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.portfolio-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    background: rgb(131 65 211 / 82%);
    color: #fff;
    font-size: 18px;
    transform: scale(0.86);
    transition: opacity 300ms ease, transform 300ms ease;
}

.portfolio-item:hover img,
.portfolio-item:focus-visible img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-caption,
.portfolio-item:focus-visible .portfolio-caption {
    opacity: 1;
    transform: scale(1);
}

.camera-icon,
.expand-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 50%;
}

.benefit-banner {
    width: min(var(--container), calc(100% - 30px));
    min-height: 175px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    padding: 35px;
    background: var(--cyan);
    color: #444;
    text-align: center;
}

.benefit-banner h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.35;
}

.rotating-benefit {
    display: inline-block;
    transition: opacity 220ms ease, transform 220ms ease;
}

.rotating-benefit.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

/* Powder copy and services. */
.powder-section {
    min-height: 945px;
    display: grid;
    place-items: center;
    padding: 100px 120px;
    text-align: center;
}

.copy-column {
    max-width: 900px;
}

.copy-column h2 {
    margin: 0 0 24px;
    color: var(--purple);
    font-size: 50px;
    font-weight: 500;
    line-height: 55px;
}

.copy-column h3 {
    margin: 40px 0 18px;
    color: var(--green);
    font-size: 50px;
    font-weight: 500;
    line-height: 55px;
}

.copy-column p {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 40px;
}

.services-section {
    min-height: 497px;
    display: grid;
    align-items: center;
}

.service-grid {
    display: grid;
    grid-template-columns: 360px 263px 360px;
    gap: 30px;
    padding: 0 15px;
}

.service-card {
    padding: 30px 20px;
    text-align: center;
}

.service-icon {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--purple);
}

.service-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.service-card p {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.55;
}

.gallery-section-three {
    padding-bottom: 80px;
}

/* Contact and location. */
.contact-section {
    min-height: 1478px;
    padding: 110px 0 100px;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 100px;
    font-weight: 900;
    line-height: 100px;
}

.contact-copy {
    margin-top: 32px;
    color: #fff;
    font-size: 28px;
    line-height: 40px;
    text-align: left;
}

.contact-copy a {
    color: var(--purple);
    text-decoration: none;
}

.contact-copy p {
    margin: 0;
}

.contact-form,
.contact-form .wpcf7-form {
    display: grid;
    gap: 17px;
}

.contact-form .wpcf7-form > p {
    margin: 0;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #fff;
}

.contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #222;
}

.contact-form input {
    height: 51px;
}

.contact-form textarea {
    height: 189px;
    min-height: 189px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 2px var(--purple);
}

.captcha-placeholder {
    width: 304px;
    height: 78px;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #d4d4d4;
    background: #fafafa;
    color: #222;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.captcha-placeholder small {
    align-self: end;
    color: #777;
    font-size: 9px;
}

.captcha-box {
    width: 28px;
    height: 28px;
    border: 2px solid #555;
    background: #fff;
}

.contact-form button,
.contact-form input[type="submit"] {
    width: 100%;
    min-height: 51px;
    padding: 10px 15px;
    border: 0;
    background: #292929;
    color: #fff;
    cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible,
.contact-form input[type="submit"]:hover,
.contact-form input[type="submit"]:focus-visible {
    background: var(--purple);
}

.form-note {
    min-height: 24px;
    margin: 0;
    color: #fff;
}

.contact-form .wpcf7-response-output {
    margin: 0;
    color: #fff;
}

.contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #ffcbdf;
}

.find-section {
    padding: 100px 0 80px;
}

.find-section .section-heading {
    margin-bottom: 35px;
}

.find-section .section-heading h2 {
    font-size: 50px;
    font-weight: 500;
    line-height: 55px;
}

.map-frame {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #e5e3df;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.site-footer {
    min-height: 432px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    padding: 60px 20px;
    background: var(--footer-purple);
    color: #bbb;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

.site-footer p:first-child {
    color: #000;
}

.site-footer .footer-credit {
    color: #f00;
}

.footer-links {
    display: grid;
    gap: 3px;
}

.footer-links a {
    color: #d3d3d3;
    text-decoration: none;
}

/* Lightbox. */
.lightbox {
    width: min(1040px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}

.lightbox::backdrop {
    background: rgb(0 0 0 / 90%);
}

.lightbox figure {
    display: grid;
    justify-items: center;
    margin: 0;
}

.lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 70px);
    object-fit: contain;
}

.lightbox figcaption {
    padding: 8px;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    background: rgb(0 0 0 / 55%);
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.lightbox-close {
    top: 16px;
    right: 16px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Scroll-triggered legacy-style motion. */
.motion {
    opacity: 0;
    visibility: hidden;
    transform: translateY(28px);
}

.motion.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 2s ease, transform 2s ease;
}

.motion-sequence.is-visible {
    transition-delay: calc(var(--sequence, 0) * 100ms);
}

.motion-bounce-down {
    transform: translateY(-70px);
}

.motion-bounce-down.is-visible {
    animation: bounce-in-down 3s ease both;
}

.motion-delay-one.is-visible {
    animation-delay: 1s;
}

@keyframes bounce-in-down {
    0% { opacity: 0; visibility: visible; transform: translateY(-100px); }
    55% { opacity: 1; transform: translateY(12px); }
    72% { transform: translateY(-6px); }
    88% { transform: translateY(3px); }
    100% { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 900px) {
    :root {
        --drawer-width: min(82vw, 300px);
    }

    .hero h1 {
        font-size: clamp(30px, 6vw, 48.75px);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(18px, 4vw, 26.25px);
    }

    .intro-section,
    .our-work-intro,
    .powder-section {
        padding-right: 50px;
        padding-left: 50px;
    }

    .portfolio-grid-4,
    .portfolio-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .services-section {
        padding: 60px 0;
    }
}

@media (max-width: 560px) {
    .topbar {
        padding-right: 8px;
        padding-left: 8px;
    }

    .topbar-logo,
    .topbar-logo img {
        width: 127px;
    }

    .hero {
        min-height: calc(100svh - var(--topbar-height));
    }

    .hero-logo {
        width: min(92vw, 621px);
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-inner {
        transform: translateY(42px);
    }

    .intro-section,
    .our-work-intro,
    .powder-section {
        min-height: 0;
        padding: 80px 22px;
    }

    .intro-section h2 {
        font-size: 25px;
        line-height: 1.3;
    }

    .our-work-copy h2 {
        font-size: 48px;
    }

    .our-work-copy p {
        font-size: 22px;
        line-height: 1.5;
    }

    .desktop-break {
        display: none;
    }

    .copy-column h2,
    .benefit-banner h2 {
        font-size: 30px;
        line-height: 1.3;
    }

    .copy-column h3 {
        font-size: 25px;
        line-height: 1.3;
    }

    .intro-section p,
    .copy-column p,
    .contact-copy {
        font-size: 15px;
        line-height: 1.6;
    }

    .portfolio-grid-4,
    .portfolio-grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-section {
        min-height: 0;
        padding: 80px 0;
    }

    .section-heading h2 {
        font-size: 40px;
        line-height: 1.2;
    }

    .captcha-placeholder {
        max-width: 100%;
    }

    .site-footer {
        min-height: 360px;
        font-size: 11px;
    }
}

@media (max-height: 800px) and (min-width: 561px) {
    .scroll-prompt {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .motion {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}
