.site-shell {
    font-family: Inter, sans-serif;
}

.lokta-texture {
    background-image:
        radial-gradient(circle at 20% 25%, rgba(3, 25, 46, 0.025) 0 1px, transparent 1.5px),
        radial-gradient(circle at 75% 65%, rgba(152, 72, 0, 0.02) 0 1px, transparent 1.5px);
    background-size: 24px 24px, 31px 31px;
}

.shell-nav {
    background: transparent;
    transform: translateY(0);
    transition: transform 280ms ease, background 280ms ease, box-shadow 280ms ease, backdrop-filter 280ms ease;
}

.shell-nav.scrolled {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(3, 25, 46, 0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(3, 25, 46, 0.06);
}

.shell-nav.nav-hidden {
    transform: translateY(-110%);
}

.shell-nav-inner {
    transition: padding 280ms ease;
}

.shell-nav.scrolled .shell-nav-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.shell-nav-inner > a {
    transition: height 280ms ease;
}

.shell-nav.scrolled .shell-nav-inner > a {
    height: 2rem;
}

.shell-nav.scrolled .shell-menu-button {
    gap: 0.55rem;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    box-shadow: 0 8px 18px rgba(3, 25, 46, 0.14);
}

.shell-nav.scrolled .shell-menu-icon {
    width: 2rem;
    height: 2rem;
}

.shell-nav-inner,
.shell-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

@media (min-width: 768px) {
    .shell-nav-inner,
    .shell-container {
        width: min(1280px, calc(100% - 160px));
    }
}

.shell-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: #03192e;
    color: #fff;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 18px 38px rgba(3, 25, 46, 0.22);
    cursor: pointer;
    transition: background 220ms ease, transform 220ms ease, padding 280ms ease, gap 280ms ease, box-shadow 280ms ease;
}

.shell-menu-button:hover {
    background: #fc7d0d;
    transform: translateY(-2px);
}

.shell-menu-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transition: width 280ms ease, height 280ms ease, transform 220ms ease;
}

.menu-overlay {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.prayer-flag-divider {
    height: 4px;
    background: linear-gradient(to right, #0056b3 20%, #f8f9fa 20% 40%, #dc3545 40% 60%, #28a745 60% 80%, #ffc107 80%);
}

.wood-pattern {
    background-image: repeating-linear-gradient(96deg, rgba(3, 25, 46, 0.4) 0 1px, transparent 1px 8px);
    opacity: 0.05;
}

.journal-stain {
    background: radial-gradient(circle, rgba(152, 72, 0, 0.06) 0%, transparent 68%);
}

.shell-footer {
    background-color: #03192e;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 46%);
    color: #fff;
}

.shell-footer-logo {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
}

.shell-footer-copy {
    max-width: 21rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.75;
}

.shell-footer-heading {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.shell-footer-link {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.shell-footer-link:hover {
    color: #fc7d0d;
}

.shell-social-link {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.shell-social-link:hover {
    border-color: #fc7d0d;
    background: #03192e;
    color: #fff;
    transform: translateY(-2px);
}

.shell-social-link svg {
    width: 1rem;
    height: 1rem;
}

.shell-footer-meta {
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shell-affiliation {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
    padding: 0.58rem 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.image-showcase {
    overflow: hidden;
    background: #03192e;
    color: #fff;
}

.showcase-rail {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.showcase-card {
    position: relative;
    width: min(76vw, 420px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    cursor: zoom-in;
    transition: border-color 220ms ease, transform 220ms ease;
}

.showcase-card:hover,
.showcase-card:focus-visible {
    border-color: rgba(252, 125, 13, 0.72);
    outline: none;
}

.showcase-card.wide {
    width: min(86vw, 560px);
    aspect-ratio: 5 / 4;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 25, 46, 0.78), transparent 55%);
}

.showcase-card span {
    position: absolute;
    left: 1.25rem;
    bottom: 1.15rem;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.showcase-card .gallery-zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(3, 25, 46, 0.42);
    color: #fff;
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.showcase-card:hover .gallery-zoom-icon,
.showcase-card:focus-visible .gallery-zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 12, 22, 0.84);
    color: #fff;
    backdrop-filter: blur(22px);
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox__panel {
    position: relative;
    width: min(1120px, 100%);
    max-height: min(82vh, 760px);
}

.gallery-lightbox__image-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox__image {
    display: block;
    width: 100%;
    max-height: min(76vh, 720px);
    object-fit: contain;
    background: #03192e;
}

.gallery-lightbox__caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gallery-lightbox__close {
    position: fixed;
    top: 24px;
    right: 24px;
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: background 180ms ease, transform 180ms ease;
}

.gallery-lightbox__close:hover {
    background: #fc7d0d;
    transform: rotate(90deg);
}
