:root {
    --olis-bg: #050608;
    --olis-bg-soft: #0d1117;
    --olis-paper: #ece8df;
    --olis-text: #f1f0ec;
    --olis-muted: #b2b7bf;
    --olis-accent: #f4b942;
    --olis-accent-2: #49b2e8;
    --olis-card: #0b0f14;
    --olis-border: rgba(255, 255, 255, 0.13);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(1200px 500px at 80% -20%, rgba(73, 178, 232, 0.2), transparent 65%),
        radial-gradient(900px 420px at 20% 0%, rgba(244, 185, 66, 0.2), transparent 60%),
        var(--olis-bg);
    color: var(--olis-text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.45;
}

a {
    color: var(--olis-text);
    text-decoration: none;
}

a:hover {
    color: var(--olis-accent);
}

.olislander-body {
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
}

.olislander-navbar {
    background: rgba(5, 6, 8, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-logo {
    max-height: 52px;
    width: auto;
}

.brand-wordmark {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.06em;
    font-size: 2rem;
}

.nav-link {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.11em;
    color: var(--olis-text);
}

.homepage-main {
    padding-bottom: 2rem;
}

.hero-stage {
    min-height: 68vh;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--olis-muted);
    margin-bottom: 0.9rem;
}

.display-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.6rem, 6.4vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    max-width: 14ch;
    margin: 0;
}

.hero-copy {
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    color: #d5d9df;
    max-width: 44ch;
    margin-bottom: 1rem;
}

.olis-btn {
    border-radius: 2px;
    border-color: var(--olis-border);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 0.55rem 0.9rem;
}

.olis-btn:hover {
    background: var(--olis-accent);
    border-color: var(--olis-accent);
    color: #1b1302;
}

.hero-main-image {
    margin: 0;
    border: 1px solid var(--olis-border);
    overflow: hidden;
    background: #000;
}

.hero-main-image img {
    width: 100%;
    height: min(68vh, 840px);
    object-fit: cover;
    filter: contrast(1.03) saturate(0.96);
}

.intro-band {
    border-top: 1px solid var(--olis-border);
    border-bottom: 1px solid var(--olis-border);
    background: linear-gradient(90deg, rgba(73, 178, 232, 0.06) 0%, rgba(0, 0, 0, 0) 35%, rgba(244, 185, 66, 0.07) 100%);
}

.intro-text {
    font-size: clamp(1.2rem, 2.8vw, 2.05rem);
    line-height: 1.14;
    max-width: 28ch;
    margin: 0;
}

.service-list {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
    color: #d0d5db;
}

.service-list li {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.17);
    padding: 0.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.section-title {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.03em;
    font-size: clamp(2rem, 4.4vw, 4rem);
    margin: 0;
}

.mini-link {
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    color: var(--olis-muted);
}

.work-card {
    background: var(--olis-card);
    border: 1px solid var(--olis-border);
    transition: transform 220ms ease, border-color 220ms ease;
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 185, 66, 0.56);
}

.work-card img {
    width: 100%;
    height: clamp(260px, 38vw, 460px);
    object-fit: cover;
    display: block;
}

.work-placeholder {
    width: 100%;
    height: clamp(260px, 38vw, 460px);
    display: grid;
    place-items: center;
    color: var(--olis-muted);
    background: linear-gradient(135deg, #0f141b, #0a0d12);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
}

.work-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #c9ced6;
    padding: 0.8rem 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.work-submeta {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--olis-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 0.9rem 0.75rem;
}

.site-footer {
    margin-top: 4rem;
    background: var(--olis-paper);
    color: #1f1b16;
}

.footer-title {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.03em;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    margin: 0;
}

.footer-lead {
    max-width: 56ch;
    margin: 0.4rem 0 0;
    font-size: 1rem;
}

.footer-email {
    font-weight: 700;
    color: #1f1b16;
    font-size: 1.1rem;
}

.footer-meta {
    border-top: 1px solid rgba(31, 27, 22, 0.2);
    font-size: 0.86rem;
    color: #524a3e;
}

.post-card {
    background: var(--olis-card);
    border: 1px solid var(--olis-border);
}

.olis-gallery-index {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.olis-gallery-card {
    background: var(--olis-card);
    border: 1px solid var(--olis-border);
    padding: 1rem;
}

.olis-gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 0.75rem;
}

.olis-gallery {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.9rem;
}

.olis-gallery-item {
    margin: 0;
    background: var(--olis-card);
    border: 1px solid var(--olis-border);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

.olis-gallery-item .olis-gallery-open {
    width: 100%;
    min-height: clamp(220px, 28vw, 340px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.olis-gallery-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: clamp(210px, 26vw, 320px);
    display: block;
    object-fit: contain;
}

.olis-gallery-item figcaption {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: #d4d7dc;
}

.reveal-up {
    opacity: 0;
    transform: translateY(14px);
    animation: revealUp 0.68s ease forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .olis-gallery-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .olis-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .olis-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .custom-logo {
        max-height: 46px;
    }

    .hero-main-image img {
        height: min(58vh, 520px);
    }

    .work-card img {
        height: min(52vh, 390px);
    }
}

@media (max-width: 767.98px) {
    .display-title {
        max-width: 100%;
    }

    .hero-copy {
        max-width: 100%;
    }

    .work-meta {
        font-size: 0.68rem;
    }
}

@media (max-height: 480px) and (orientation: landscape) {
    .olislander-navbar {
        position: static;
    }

    .hero-stage {
        min-height: auto;
    }

    .hero-main-image img {
        height: 78vh;
    }

    .display-title {
        font-size: clamp(2rem, 7vh, 3.5rem);
    }

    .intro-text {
        font-size: clamp(1rem, 3vh, 1.5rem);
    }
}

.olis-gallery-item {
    position: relative;
}

.olis-gallery-open {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: zoom-in;
    background: transparent;
}

.modal.fade.olis-gallery-modal.show {
    position: fixed;
    inset: 0;
    overflow: hidden;
    padding: 0;
    z-index: 1200;
    background: rgba(6, 8, 10, 0.94);
}

.modal-backdrop {
    z-index: 1199;
    background: #000;
}

.modal-backdrop.show {
    opacity: 0.88;
}

.olis-gallery-modal .modal-dialog {
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
}

.olis-gallery-modal.modal .modal-dialog .modal-content {
    height: 100dvh;
    border: 0;
    border-radius: 0;
    color: #f7f7f7;
    overflow: hidden;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.olis-gallery-modal .modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.olis-gallery-modal .modal-header .btn-close {
    display: none;
}

.olis-gallery-modal .modal-body {
    height: 100%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(40, 44, 48, 0.62) 0%, rgba(7, 9, 12, 0.92) 70%);
}

.olis-gallery-modal .olis-gallery-close-floating {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1201;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 0.95;
    appearance: none;
    -webkit-appearance: none;
}

.olis-gallery-modal .olis-gallery-close-floating:hover {
    opacity: 1;
    transform: scale(1.04);
}

.olis-gallery-modal .carousel,
.olis-gallery-modal .carousel-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.olis-gallery-modal .carousel-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
}

.olis-gallery-modal .carousel-item.active,
.olis-gallery-modal .carousel-item-next,
.olis-gallery-modal .carousel-item-prev {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.olis-gallery-modal .carousel-item img {
    display: block;
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain;
    background: transparent;
    max-width: 100%;
    max-height: 100%;
}

.olis-gallery-modal .carousel-caption {
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.42);
}

.olis-gallery-modal .carousel-control-prev,
.olis-gallery-modal .carousel-control-next {
    width: 10%;
    opacity: 1;
}

.olis-gallery-modal .carousel-control-prev-icon,
.olis-gallery-modal .carousel-control-next-icon {
    width: 3.1rem;
    height: 3.1rem;
    filter: brightness(2.15) contrast(1.3) drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

body.modal-open {
    overflow: hidden;
    padding-right: 0;
}

.admin-bar .olis-gallery-modal .modal-dialog,
.admin-bar .olis-gallery-modal .modal-content {
    height: calc(100dvh - 32px);
    background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 782px) {
    .admin-bar .olis-gallery-modal .modal-dialog,
    .admin-bar .olis-gallery-modal .modal-content {
        height: calc(100dvh - 46px);
        background-color: rgba(0, 0, 0, 0.5);
    }
}