/* Shared styles for the Services and Booking pages.
   Colour tokens (--navy, --accent, ...) come from _Layout.cshtml. */

body {
    font-family: 'DM Sans', sans-serif !important;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif !important;
    letter-spacing: 0.03em;
    font-weight: 400;
}

.ea-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ea-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ea-title {
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.ea-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

.ea-band {
    padding: 6rem 0;
}

.ea-band--alt {
    background: var(--navy-mid);
    border-top: 1px solid rgba(74,159,212,0.1);
    border-bottom: 1px solid rgba(74,159,212,0.1);
}

/* ── Scroll reveal (only hides content when JS is running) ── */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }

.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal-zoom { transform: scale(0.94); }

@media (prefers-reduced-motion: reduce) {
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Page hero ───────────────────────────────────────────── */
.page-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--navy);
    /* Pages pass a full-size and a phone-size image; each screen downloads only the one it needs */
    background-image: var(--hero-lg, none);
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .page-hero {
        background-image: var(--hero-sm, var(--hero-lg, none));
    }
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(13,27,46,0.55) 0%, rgba(13,27,46,0.35) 45%, rgba(13,27,46,0.95) 100%);
    }

.page-hero--short {
    min-height: 48vh;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    padding: 4rem 2rem;
}

.page-hero__crumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

    .page-hero__crumbs a {
        color: var(--offwhite);
        text-decoration: none;
    }

        .page-hero__crumbs a:hover {
            color: var(--accent);
        }

.page-hero__title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.page-hero__tagline {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--offwhite);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.page-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Benefits ────────────────────────────────────────────── */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.benefit {
    border-top: 2px solid var(--accent);
    background: var(--navy-mid);
    padding: 1.75rem 1.5rem;
    border-radius: 0 0 4px 4px;
}

.benefit__num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.benefit__text {
    color: var(--offwhite);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ── Overview split ──────────────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.media-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--navy-light);
    border: 1px solid rgba(74,159,212,0.12);
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

    .media-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.media-frame__empty {
    display: none;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

    .media-frame__empty span {
        font-size: 2.5rem;
    }

.media-frame.is-empty .media-frame__empty {
    display: flex;
}

.prose p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

/* Privacy notice: headings and lists inside the prose block */
.privacy h2 {
    font-size: 1.7rem;
    color: var(--white);
    margin: 2.25rem 0 0.75rem;
}

.privacy ul {
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 1.25rem;
    margin-bottom: 1.1rem;
}

.privacy li {
    margin-bottom: 0.35rem;
}

.privacy strong {
    color: var(--offwhite);
}

.privacy a,
.form-privacy a {
    color: var(--accent);
}

.form-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1rem 0 0;
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-top: 1.75rem;
}

    .check-list li {
        position: relative;
        padding-left: 1.6rem;
        color: var(--offwhite);
        font-size: 0.95rem;
        line-height: 1.5;
    }

        .check-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.45em;
            width: 0.7rem;
            height: 0.4rem;
            border-left: 2px solid var(--accent);
            border-bottom: 2px solid var(--accent);
            transform: rotate(-45deg);
        }

/* ── Process steps ───────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74,159,212,0.25);
}

    .step::before {
        counter-increment: step;
        content: "0" counter(step);
        position: absolute;
        top: -0.85rem;
        left: 0;
        background: var(--navy-mid);
        padding-right: 0.75rem;
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.4rem;
        color: var(--accent);
    }

.step__title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step__text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── Deliverables ────────────────────────────────────────── */
.deliverables {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.deliverables__list {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.08);
}

    .deliverables__list li {
        display: flex;
        align-items: baseline;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: var(--offwhite);
        font-size: 1.05rem;
    }

        .deliverables__list li span {
            font-family: 'Bebas Neue', sans-serif;
            color: var(--accent);
            font-size: 1.1rem;
            min-width: 1.75rem;
        }

.cta-card {
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    border: 1px solid rgba(74,159,212,0.2);
    border-radius: 6px;
    padding: 2.5rem;
}

    .cta-card h3 {
        font-size: 2rem;
        color: var(--white);
        margin-bottom: 0.75rem;
    }

    .cta-card p {
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 1.75rem;
    }

/* ── Service cards (overview + "other services") ─────────── */
.service-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.service-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 1.75rem;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    background-color: var(--navy-light);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(74,159,212,0.12);
    transition: transform 0.3s, border-color 0.3s;
}

    .service-tile::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(13,27,46,0.97) 10%, rgba(13,27,46,0.35) 100%);
        transition: background 0.3s;
    }

    .service-tile > * {
        position: relative;
    }

    .service-tile:hover {
        transform: translateY(-4px);
        border-color: var(--accent);
    }

.service-tile__name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--white);
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.service-tile__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.service-tile__more {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ── Closing CTA ─────────────────────────────────────────── */
.closing-cta {
    text-align: center;
    padding: 7rem 2rem;
}

    .closing-cta .ea-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }

    .closing-cta p {
        color: var(--text-muted);
        margin: 0 auto 2.5rem;
        max-width: 520px;
        line-height: 1.7;
    }

/* ── Booking form ────────────────────────────────────────── */
.booking {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.booking__info p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.booking__contact {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

    .booking__contact li {
        color: var(--offwhite);
        font-size: 0.95rem;
    }

        .booking__contact li strong {
            display: block;
            color: var(--accent);
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 600;
        }

.form-card {
    background: var(--navy-mid);
    border: 1px solid rgba(74,159,212,0.15);
    border-radius: 6px;
    padding: 2.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--offwhite);
    letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
    background: var(--navy);
    border: 1px solid rgba(122,150,180,0.35);
    border-radius: 4px;
    padding: 0.8rem 0.9rem;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    color-scheme: dark;
}

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(74,159,212,0.2);
    }

    .form-field input[aria-invalid="true"],
    .form-field select[aria-invalid="true"] {
        border-color: #e06c6c;
    }

.form-field__error {
    color: #f08b8b;
    font-size: 0.8rem;
    min-height: 1em;
}

.form-actions {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

    .form-actions .btn-ea-primary[disabled] {
        opacity: 0.6;
        cursor: wait;
    }

.form-status {
    font-size: 0.9rem;
    color: var(--text-muted);
}

    .form-status.is-error {
        color: #f08b8b;
    }

.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

    .form-success__icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 1.25rem;
        border-radius: 50%;
        border: 2px solid var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent);
        font-size: 1.75rem;
    }

    .form-success h3 {
        font-size: 2.25rem;
        color: var(--white);
        margin-bottom: 0.75rem;
    }

    .form-success p {
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 3rem;
    }

    .split,
    .deliverables,
    .booking {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .media-frame {
        position: static;
    }
}

@media (max-width: 600px) {
    .ea-container {
        padding: 0 1rem;
    }

    .ea-band {
        padding: 4rem 0;
    }

    .steps,
    .check-list,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card,
    .cta-card {
        padding: 1.5rem;
    }
}

/* ── Placeholder text (replace before going live) ─────────── */
.ph {
    background: rgba(240, 190, 80, 0.12);
    outline: 1px dashed rgba(240, 190, 80, 0.55);
    color: #f3cf7a;
    border-radius: 2px;
    padding: 0 0.2em;
}

/* ── Portfolio ───────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0 2.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(122,150,180,0.35);
    color: var(--offwhite);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

    .filter-btn:hover {
        border-color: var(--accent);
    }

    .filter-btn.is-active {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--navy);
        font-weight: 600;
    }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--navy-mid);
    border: 1px solid rgba(74,159,212,0.12);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

    .project-card:hover {
        transform: translateY(-4px);
        border-color: var(--accent);
    }

    .project-card[hidden] {
        display: none;
    }

    .project-card .media-frame {
        position: static;
        aspect-ratio: 16 / 10;
        border: none;
        border-radius: 0;
    }

.project-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.project-card__tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-card__title {
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1.1;
}

.project-card__meta {
    font-size: 0.85rem;
    color: var(--offwhite);
}

.project-card__summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.project-card__link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
}

    .project-card__link:hover {
        color: var(--offwhite);
    }

.empty-note {
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
}

/* ── About ───────────────────────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.75rem 1rem;
    border: 1px solid rgba(74,159,212,0.15);
    border-radius: 4px;
}

.stat__value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.75rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem 1.75rem;
    background: var(--navy);
    border: 1px solid rgba(74,159,212,0.12);
    border-radius: 4px;
}

    .value-card h3 {
        font-size: 1.6rem;
        color: var(--white);
        margin-bottom: 0.6rem;
    }

    .value-card p {
        color: var(--text-muted);
        font-size: 0.92rem;
        line-height: 1.65;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
}

    .team-card .media-frame {
        position: static;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        max-width: 180px;
        margin: 0 auto 1.25rem;
    }

    .team-card .media-frame__empty span {
        font-size: 2rem;
    }

    .team-card .media-frame__empty p {
        display: none;
    }

.team-card__name {
    font-size: 1.5rem;
    color: var(--white);
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.cred-list {
    list-style: none;
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

    .cred-list li {
        padding: 1.1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .cred-list strong {
        color: var(--white);
        font-weight: 600;
    }

    .cred-list span {
        color: var(--text-muted);
        font-size: 0.9rem;
    }

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.fleet-card {
    padding: 1.75rem;
    border-top: 2px solid var(--accent);
    background: var(--navy-mid);
    border-radius: 0 0 4px 4px;
}

    .fleet-card h3 {
        font-size: 1.4rem;
        color: var(--white);
        margin-bottom: 0.75rem;
    }

    .fleet-card ul {
        list-style: none;
        display: grid;
        gap: 0.5rem;
    }

    .fleet-card li {
        color: var(--offwhite);
        font-size: 0.92rem;
    }

@media (max-width: 900px) {
    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .values,
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Booking form: consent checkbox ──────────────────────── */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    cursor: pointer;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: var(--text-muted) !important;
    line-height: 1.55;
}

    .form-field .form-check input[type="checkbox"] {
        flex: none;
        width: 18px;
        height: 18px;
        margin-top: 0.15rem;
        padding: 0;
        accent-color: var(--accent);
        cursor: pointer;
    }

/* ── Project pages: YouTube video, photo grid, viewer ───── */
.project-card .media-frame { position: relative; top: 0; }

.project-card__play {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(220, 30, 30, 0.92);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(74,159,212,0.18);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

    .video-embed iframe,
    .video-embed__play {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.video-embed__play {
    padding: 0;
    background: #000;
    cursor: pointer;
}

    .video-embed__play img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.85;
        transition: opacity 0.3s;
    }

    .video-embed__play:hover img { opacity: 1; }

.video-embed__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 54px;
    margin: -27px 0 0 -38px;
    border-radius: 14px;
    background: rgba(220, 30, 30, 0.95);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s;
}

.video-embed__play:hover .video-embed__icon,
.video-embed__play:focus-visible .video-embed__icon { transform: scale(1.1); }

.video-embed__note {
    margin-top: 0.6rem;
    text-align: right;
    font-size: 0.85rem;
}

    .video-embed__note a { color: var(--text-muted); }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.photo-grid__item {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--navy-light);
}

    .photo-grid__item img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .photo-grid__item:hover img { transform: scale(1.05); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 12, 22, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox[hidden] { display: none; }

.lightbox__img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox__close:hover,
    .lightbox__nav:hover { background: rgba(255,255,255,0.18); }

.lightbox__close { top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.8rem; }
.lightbox__nav { top: 50%; width: 48px; height: 48px; margin-top: -24px; font-size: 2.2rem; line-height: 1; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav[hidden] { display: none; }
.lightbox__count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 600px) {
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
    .lightbox__nav { width: 40px; height: 40px; font-size: 1.8rem; }
    .lightbox__nav--prev { left: 0.4rem; }
    .lightbox__nav--next { right: 0.4rem; }
}

/* Slide-in animations start off to the side; never let them widen the page.
   clip (not hidden) keeps sticky/fixed elements working. */
html, body { overflow-x: clip; }

@media (max-width: 768px) {
    .js .reveal-left,
    .js .reveal-right { transform: translateY(28px); }
}
