:root {
    --cms-primary: #2457ff;
    --cms-secondary: #0f172a;
    --cms-accent: #14b8a6;
    --cms-radius: 8px;
    --cms-font: "Inter", system-ui, sans-serif;
    --cms-bg: #ffffff;
    --cms-soft: #f5f7fb;
    --cms-text: #0f172a;
    --cms-muted: #61708a;
    --cms-border: rgba(15, 23, 42, .1);
    --cms-shadow: 0 18px 50px rgba(15, 23, 42, .09);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--cms-font);
    color: var(--cms-text);
    background: var(--cms-bg);
    line-height: 1.65;
}

body.theme-dark {
    --cms-bg: #07111f;
    --cms-soft: #0d1b2f;
    --cms-text: #f8fafc;
    --cms-muted: #b7c2d4;
    --cms-border: rgba(255, 255, 255, .12);
    --cms-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn {
    border-radius: var(--cms-radius);
    border-width: 0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
}

.button-pill .btn {
    border-radius: 999px;
}

.button-square .btn {
    border-radius: 0;
}

.btn-primary {
    background: var(--cms-primary);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--cms-primary), transparent 70%);
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--cms-primary), #000 14%);
}

.btn-light {
    color: var(--cms-secondary);
}

.btn-ghost {
    background: rgba(255, 255, 255, .76);
    color: var(--cms-secondary);
    border: 1px solid rgba(15, 23, 42, .08);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .2s ease, background .2s ease;
}

.header-glass .site-header {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.header-solid .site-header,
.header-minimal .site-header.scrolled {
    background: var(--cms-bg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.theme-dark.header-glass .site-header {
    background: rgba(7, 17, 31, .86);
    border-color: rgba(255, 255, 255, .1);
}

.navbar {
    min-height: 78px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-weight: 800;
    color: var(--cms-text);
}

.navbar-brand img,
.footer-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: var(--cms-text);
    font-weight: 700;
    font-size: .95rem;
}

.nav-link:hover {
    color: var(--cms-primary);
}

.header-actions {
    display: flex;
    gap: .65rem;
    align-items: center;
}

.hero-section {
    min-height: 720px;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #081124, #21345f);
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video::after,
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 15, 34, .78), rgba(8, 15, 34, .26));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 150px 0 110px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--cms-accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: 0;
    margin-bottom: .9rem;
}

.hero-content h1 {
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: .96;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: 0;
}

.hero-content p {
    color: rgba(255, 255, 255, .86);
    font-size: 1.2rem;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.shape {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .28);
    width: 90px;
    height: 90px;
    transform: rotate(20deg);
    animation: floatShape 9s ease-in-out infinite;
}

.shape-one {
    top: 18%;
    right: 11%;
}

.shape-two {
    width: 56px;
    height: 56px;
    bottom: 18%;
    right: 28%;
    animation-delay: 1.5s;
}

.shape-three {
    width: 38px;
    height: 110px;
    top: 36%;
    left: 5%;
    animation-delay: 3s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(20deg);
    }
    50% {
        transform: translateY(-24px) rotate(31deg);
    }
}

.cms-section {
    padding: 110px 0;
    background: var(--cms-bg);
}

.section-soft {
    background: var(--cms-soft);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-section .section-heading,
.why-section .section-heading,
.contact-section .section-heading {
    text-align: left;
    margin-left: 0;
}

.section-heading h2,
.contact-section h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--cms-text);
    margin-bottom: 1rem;
}

.section-heading p,
.contact-section p {
    color: var(--cms-muted);
    margin-bottom: 0;
}

.section-image {
    border-radius: var(--cms-radius);
    box-shadow: var(--cms-shadow);
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.feature-line {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    background: var(--cms-bg);
}

.feature-line > span,
.card-icon,
.feature-card > span,
.mini-card > span,
.stat-card > i {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--cms-radius);
    background: color-mix(in srgb, var(--cms-primary), transparent 88%);
    color: var(--cms-primary);
    font-size: 1.35rem;
}

.feature-line p,
.mini-card p,
.feature-card p,
.service-card p,
.process-step p,
.portfolio-card p {
    color: var(--cms-muted);
    margin-bottom: 0;
}

.service-card,
.feature-card,
.mini-card,
.process-step,
.team-card,
.testimonial-card,
.pricing-card,
.stat-card {
    background: var(--cms-bg);
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    box-shadow: var(--cms-shadow);
}

.service-card {
    height: 100%;
    padding: 1.35rem;
    transition: transform .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--cms-primary), transparent 45%);
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--cms-radius);
    margin-bottom: 1.25rem;
}

.service-card h3,
.feature-card h3,
.mini-card h3,
.process-step h3,
.team-card h3,
.pricing-card h3 {
    font-size: 1.22rem;
    font-weight: 800;
    margin: 1rem 0 .65rem;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--cms-primary);
    font-weight: 800;
    margin-top: 1rem;
}

.mini-card,
.feature-card {
    height: 100%;
    padding: 1.35rem;
}

.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: -48px;
    position: relative;
    z-index: 3;
    padding: 0 1.25rem;
}

.stats-ribbon div {
    background: var(--cms-bg);
    border-radius: var(--cms-radius);
    padding: 1rem;
    box-shadow: var(--cms-shadow);
    border: 1px solid var(--cms-border);
}

.stats-ribbon strong,
.stat-card strong {
    display: block;
    color: var(--cms-primary);
    font-size: 1.65rem;
    font-weight: 800;
}

.stats-ribbon span,
.stat-card span {
    color: var(--cms-muted);
    font-size: .92rem;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-bar button {
    border: 1px solid var(--cms-border);
    background: var(--cms-bg);
    color: var(--cms-text);
    border-radius: 999px;
    padding: .7rem 1.1rem;
    font-weight: 800;
}

.filter-bar button.active,
.filter-bar button:hover {
    background: var(--cms-primary);
    color: #fff;
    border-color: var(--cms-primary);
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--cms-radius);
    background: #000;
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card > div {
    position: absolute;
    inset: auto 0 0;
    padding: 1.2rem;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
}

.portfolio-card span {
    color: var(--cms-accent);
    font-weight: 800;
    font-size: .82rem;
}

.portfolio-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin: .2rem 0;
}

.portfolio-card p {
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
}

.lightbox-trigger {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--cms-secondary);
}

.portfolio-card .lightbox-trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.process-step {
    position: relative;
    padding: 1.4rem;
    min-height: 230px;
}

.process-step > span {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: color-mix(in srgb, var(--cms-primary), transparent 72%);
}

.process-step > div {
    color: var(--cms-primary);
    font-size: 2rem;
}

.team-card {
    padding: 1rem;
    text-align: center;
}

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--cms-radius);
}

.team-card p {
    color: var(--cms-muted);
    margin-bottom: .7rem;
}

.socials {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.team-card .socials {
    justify-content: center;
}

.socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--cms-border);
    border-radius: 50%;
    color: var(--cms-primary);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    padding: 2rem;
}

.testimonial-card.active {
    display: block;
}

.testimonial-card > p {
    font-size: 1.18rem;
    color: var(--cms-text);
}

.rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.client {
    display: flex;
    gap: .9rem;
    align-items: center;
    margin-top: 1.5rem;
}

.client img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.client span {
    display: block;
    color: var(--cms-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: .7rem;
    margin-top: 1.25rem;
}

.slider-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--cms-border);
    background: var(--cms-bg);
    color: var(--cms-text);
    border-radius: 50%;
}

.pricing-card {
    height: 100%;
    padding: 1.6rem;
}

.pricing-card.featured {
    border-color: var(--cms-primary);
    transform: translateY(-8px);
}

.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--cms-primary);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--cms-muted);
    margin-left: .25rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .7rem;
    color: var(--cms-muted);
}

.pricing-card li {
    display: flex;
    gap: .6rem;
}

.pricing-card li i {
    color: var(--cms-accent);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-color: var(--cms-border);
    background: var(--cms-bg);
    color: var(--cms-text);
}

.accordion-button {
    background: var(--cms-bg);
    color: var(--cms-text);
    font-weight: 800;
}

.accordion-button:not(.collapsed) {
    color: var(--cms-primary);
    background: color-mix(in srgb, var(--cms-primary), transparent 92%);
}

.video-frame,
.map-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--cms-radius);
    box-shadow: var(--cms-shadow);
}

.video-frame::before,
.map-frame::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.video-frame iframe,
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.stats-section {
    padding: 70px 0;
    background: var(--cms-secondary);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
    text-align: center;
    padding: 1.4rem;
}

.stat-card span {
    color: rgba(255, 255, 255, .74);
}

.clients-section {
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: logoSlide 28s linear infinite;
}

.logo-track a {
    width: 180px;
    height: 86px;
    display: grid;
    place-items: center;
    background: var(--cms-bg);
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    padding: 1rem;
}

.logo-track img {
    max-height: 54px;
    object-fit: contain;
}

@keyframes logoSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.gallery-section {
    padding-top: 92px;
    padding-bottom: 96px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--cms-primary), transparent 96%), transparent 34%),
        var(--cms-bg);
    overflow: hidden;
}

.gallery-heading {
    max-width: 780px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.gallery-heading .section-kicker {
    margin-bottom: .75rem;
}

.gallery-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--cms-text);
    margin-bottom: 1rem;
}

.gallery-heading p {
    color: var(--cms-muted);
    margin: 0 auto;
    max-width: 680px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}

.gallery-card {
    min-width: 0;
}

.gallery-tile {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--cms-border);
    border-radius: 18px;
    background: var(--cms-bg);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .1);
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    text-align: left;
    appearance: none;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .17);
    border-color: color-mix(in srgb, var(--cms-primary), transparent 58%);
    outline: none;
}

.gallery-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cms-soft);
}

.gallery-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .45s ease, filter .45s ease;
}

.gallery-tile:hover .gallery-media img,
.gallery-tile:focus-visible .gallery-media img {
    transform: scale(1.09);
    filter: saturate(1.05) contrast(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: .65rem;
    padding: 1rem;
    color: #fff;
    text-align: left;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0) 28%, rgba(3, 7, 18, .84) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.gallery-tile:hover .gallery-overlay,
.gallery-tile:focus-visible .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay strong {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    overflow-wrap: anywhere;
}

.gallery-overlay small {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--cms-secondary);
    box-shadow: 0 8px 20px rgba(3, 7, 18, .18);
}

.gallery-badge {
    display: inline-flex;
    max-width: 100%;
    padding: .34rem .65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cms-accent), transparent 10%);
    color: #04111f;
    font-size: .76rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 2.4rem;
}

.contact-section {
    background: linear-gradient(135deg, color-mix(in srgb, var(--cms-primary), transparent 92%), var(--cms-bg));
}

.contact-details {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-details div {
    display: flex;
    gap: .8rem;
    color: var(--cms-muted);
}

.contact-details i {
    color: var(--cms-primary);
}

.contact-form {
    padding: 1.4rem;
    background: var(--cms-bg);
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    box-shadow: var(--cms-shadow);
}

.form-control {
    min-height: 52px;
    border-radius: var(--cms-radius);
    border-color: var(--cms-border);
}

textarea.form-control {
    min-height: 150px;
}

.form-response {
    margin-top: 1rem;
    font-weight: 800;
}

.map-frame {
    margin-top: 3rem;
}

.site-footer {
    background: var(--cms-secondary);
    color: rgba(255, 255, 255, .76);
    padding: 70px 0 24px;
}

.footer-light .site-footer {
    background: var(--cms-soft);
    color: var(--cms-muted);
}

.footer-brand {
    display: inline-flex;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-light .footer-brand,
.footer-light .site-footer h3,
.footer-light .footer-links a {
    color: var(--cms-text);
}

.site-footer h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links {
    padding: 0;
    list-style: none;
    columns: 2;
}

.footer-links li {
    margin-bottom: .45rem;
}

.footer-links a:hover {
    color: var(--cms-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2.5rem;
    padding-top: 1.3rem;
    text-align: center;
}

.footer-light .footer-bottom {
    border-color: var(--cms-border);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    grid-template-columns: minmax(48px, 96px) minmax(0, 1fr) minmax(48px, 96px);
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 4vw, 2.5rem);
    background: rgba(3, 7, 18, .92);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: grid;
    animation: lightboxFade .18s ease;
}

.lightbox-frame {
    margin: 0;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 1rem;
    transform: scale(.98);
    animation: lightboxScale .2s ease forwards;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
    background: #0f172a;
}

.lightbox figcaption {
    display: grid;
    justify-items: center;
    gap: .4rem;
    color: #fff;
    text-align: center;
}

.lightbox figcaption span {
    min-height: 1rem;
    color: var(--cms-accent);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lightbox strong {
    max-width: min(760px, 84vw);
    font-size: 1.12rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--cms-secondary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.lightbox-nav {
    width: 56px;
    height: 56px;
    justify-self: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--cms-secondary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
    transition: transform .18s ease, background .18s ease;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    transform: translateY(-2px);
    background: #fff;
}

@keyframes lightboxFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes lightboxScale {
    to {
        transform: scale(1);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--cms-bg);
        border: 1px solid var(--cms-border);
        border-radius: var(--cms-radius);
        padding: 1rem;
        margin-top: .75rem;
    }

    .header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-section {
        min-height: 640px;
    }

    .process-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 767.98px) {
    .cms-section {
        padding: 76px 0;
    }

    .hero-content {
        padding: 110px 0 80px;
    }

    .hero-content h1 {
        font-size: 2.65rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-heading,
    .about-section .section-heading,
    .why-section .section-heading {
        text-align: left;
        margin-bottom: 2rem;
    }

    .stats-ribbon,
    .process-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-section {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .gallery-heading {
        text-align: left;
        margin-bottom: 1.7rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-overlay {
        opacity: 1;
        transform: none;
        padding: .95rem;
    }

    .lightbox {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        gap: .75rem;
        padding: 1rem;
    }

    .lightbox-frame {
        grid-row: 1;
    }

    .lightbox img {
        max-height: 72vh;
        border-radius: 14px;
    }

    .lightbox-nav {
        position: fixed;
        bottom: 1rem;
        width: 48px;
        height: 48px;
    }

    .lightbox-prev {
        left: calc(50% - 58px);
    }

    .lightbox-next {
        right: calc(50% - 58px);
    }

    .stats-ribbon {
        margin-top: 1rem;
        padding: 0;
    }

    .footer-links {
        columns: 1;
    }
}
