/* ---------- Fonts (self-hosted) ---------- */
@font-face {
    font-family: 'Fraunces';
    src: url('fonts/fraunces.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fraunces';
    src: url('fonts/fraunces-italic.woff2') format('woff2');
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('fonts/nunito.woff2') format('woff2');
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: 'Caveat';
    src: url('fonts/caveat.woff2') format('woff2');
    font-weight: 500 700;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --cream: #fff8f3;
    --blush: #fbe9e4;
    --blush-deep: #f4cfc7;
    --rose: #e58fa5;
    --plum: #5e2a77;
    --plum-bright: #7d3fa3;
    --plum-soft: #efe2f5;
    --ink: #2c1a33;
    --muted: #76627c;
    --white: #ffffff;
    --radius: 22px;
    --radius-lg: 32px;
    --shadow: 0 10px 30px -12px rgba(94, 42, 119, .28);
    --shadow-lg: 0 24px 60px -20px rgba(94, 42, 119, .38);
    --display: 'Fraunces', Georgia, serif;
    --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hand: 'Caveat', 'Comic Sans MS', cursive;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--plum-bright);
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-optical-sizing: auto;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -.01em;
}

.wrap {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.hand {
    font-family: var(--hand);
    font-weight: 600;
}

.section {
    padding: clamp(4rem, 9vw, 7.5rem) 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-head .hand {
    display: block;
    color: var(--rose);
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: .4rem;
    transform: rotate(-2deg);
}

.section-head h2 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 600;
}

.section-head h2 em {
    color: var(--plum-bright);
    font-weight: 500;
}

.section-head p {
    color: var(--muted);
    margin: 1rem 0 0;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: .75rem;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    pointer-events: none;
}

.nav-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: .25rem;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(94, 42, 119, .1);
    border-radius: 999px;
    padding: .35rem;
    box-shadow: var(--shadow);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: .92rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.nav a:hover,
.nav a:focus-visible {
    background: var(--plum-soft);
    color: var(--plum);
}

.nav .logo {
    font-family: var(--hand);
    font-size: 1.45rem;
    line-height: 1;
    color: var(--plum);
    padding: .3rem .9rem .35rem;
}

.nav .logo span {
    color: var(--rose);
}

/* ---------- Hero ---------- */
.hero {
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto auto;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, var(--blush) 0%, rgba(251, 233, 228, 0) 68%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.date-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--plum-soft);
    color: var(--plum);
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .45rem 1rem;
    border-radius: 999px;
}

.hero h1 {
    font-size: clamp(3.6rem, 10vw, 7.5rem);
    font-weight: 700;
    margin: 1.25rem 0 .5rem;
    line-height: .95;
}

.hero h1 .amp {
    display: inline-block;
    color: var(--rose);
    font-style: italic;
    font-weight: 400;
    transform: translateY(.04em);
}

.hero h1 .heart {
    display: inline-block;
    width: .62em;
    height: .62em;
    vertical-align: .02em;
    color: var(--rose);
    animation: beat 1.6s ease-in-out infinite;
}

.hero .did-it {
    font-family: var(--hand);
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--plum-bright);
    line-height: 1;
    transform: rotate(-3deg);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.counter {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 30rem;
    margin: 0 0 2rem;
}

.counter strong {
    font-family: var(--display);
    font-size: 1.6em;
    color: var(--plum);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-weight: 800;
    padding: .9rem 1.5rem;
    border-radius: 999px;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
    background: var(--plum);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--plum-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: var(--white);
    color: var(--plum);
    border: 2px solid var(--plum-soft);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--rose);
    transform: translateY(-2px);
}

.hero-photos {
    position: relative;
    aspect-ratio: 4 / 4.4;
}

.photo-main {
    position: absolute;
    inset: 0 8% 10% 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2.5deg);
    border: 8px solid var(--white);
}

.photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid {
    background: var(--white);
    padding: .6rem .6rem 0;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.polaroid img {
    border-radius: 3px;
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.polaroid figcaption {
    font-family: var(--hand);
    font-size: 1.35rem;
    text-align: center;
    padding: .25rem 0 .45rem;
    color: var(--ink);
}

.hero-photos .polaroid {
    position: absolute;
    width: 42%;
    right: 0;
    bottom: 0;
    transform: rotate(6deg);
}

.tape {
    position: absolute;
    width: 90px;
    height: 26px;
    background: rgba(229, 143, 165, .55);
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    border-radius: 3px;
}

.float-heart {
    position: absolute;
    color: var(--rose);
    opacity: .7;
    animation: drift 6s ease-in-out infinite;
}

.float-heart svg {
    width: 100%;
    height: 100%;
}

/* ---------- Marquee ---------- */
.marquee {
    background: var(--plum);
    color: var(--white);
    overflow: hidden;
    padding: 1rem 0;
    transform: rotate(-1.2deg);
    margin: 0 -2rem;
    box-shadow: var(--shadow);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 38s linear infinite;
}

.marquee span {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    white-space: nowrap;
    padding: 0 1.25rem;
}

.marquee span::after {
    content: '\2665';
    color: var(--rose);
    font-style: normal;
    margin-left: 2.5rem;
}

/* ---------- The pair ---------- */
.pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.person {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(130px, 42%) 1fr;
    gap: 1.5rem;
    align-items: start;
    transition: transform .3s;
}

.person:hover {
    transform: translateY(-4px) rotate(-.5deg);
}

.person:nth-child(2):hover {
    transform: translateY(-4px) rotate(.5deg);
}

.person .polaroid {
    transform: rotate(-4deg);
    position: relative;
}

.person:nth-child(2) .polaroid {
    transform: rotate(4deg);
}

.person h3 {
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.badge {
    font-size: 1.4rem;
    width: 2.6rem;
    height: 2.6rem;
    display: inline-grid;
    place-items: center;
    background: var(--blush);
    border-radius: 50%;
}

.person p {
    margin: .9rem 0 1.1rem;
    color: var(--muted);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.chips li {
    background: var(--plum-soft);
    color: var(--plum);
    font-weight: 700;
    font-size: .8rem;
    padding: .3rem .75rem;
    border-radius: 999px;
}

.chips li:nth-child(2n) {
    background: var(--blush);
    color: #a5435c;
}

/* ---------- The day ---------- */
.day-bg {
    background: var(--blush);
    border-radius: clamp(2rem, 6vw, 4rem);
    margin-inline: clamp(.5rem, 2vw, 1.5rem);
}

.venue {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.venue-photos {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    align-items: end;
}

.venue-photos img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3.4;
}

.venue-photos img:nth-child(2) {
    aspect-ratio: 3 / 4;
    transform: translateY(1.5rem);
}

.venue-card h3 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: .75rem;
}

.venue-card p {
    color: var(--muted);
    margin: 0 0 1rem;
}

.venue-card .where {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    color: var(--plum);
    background: var(--white);
    padding: .5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px -8px rgba(94, 42, 119, .35);
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: repeating-linear-gradient(to bottom, var(--rose) 0 10px, transparent 10px 20px);
    transform: translateX(-50%);
}

.timeline li {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: center;
    margin-bottom: 2rem;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline .dot {
    grid-column: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timeline .step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.timeline .step img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.timeline .time {
    font-family: var(--hand);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--rose);
}

.timeline h3 {
    font-family: var(--body);
    font-weight: 800;
    font-size: 1.1rem;
    margin: .2rem 0 .15rem;
    line-height: 1.25;
}

.timeline .step p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45;
}

.timeline li:nth-child(odd) .step {
    grid-column: 1;
    grid-row: 1;
}

.timeline li:nth-child(even) .step {
    grid-column: 3;
    grid-row: 1;
}

.timeline li .dot {
    grid-row: 1;
}

/* ---------- Gallery ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.filters button {
    font: inherit;
    font-weight: 800;
    font-size: .92rem;
    border: 2px solid var(--plum-soft);
    background: var(--white);
    color: var(--plum);
    padding: .55rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
}

.filters button:hover {
    border-color: var(--rose);
}

.filters button[aria-pressed="true"] {
    background: var(--plum);
    border-color: var(--plum);
    color: var(--white);
}

.filters button small {
    opacity: .65;
    font-weight: 700;
    margin-left: .25rem;
}

/* Justified rows: each tile grows in proportion to its aspect ratio (--r),
   so every photo in a row ends up the same height and order reads left to right */
.masonry {
    --row: 230px;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.masonry::after {
    content: '';
    flex-grow: 999;
}

.masonry a {
    display: block;
    flex: var(--r) 1 calc(var(--r) * var(--row));
    aspect-ratio: var(--r);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: var(--blush);
    box-shadow: 0 6px 18px -10px rgba(94, 42, 119, .4);
}

.masonry a[hidden] {
    display: none;
}

/* Only collapse when JS is running, so the button can undo it */
.js .masonry.is-collapsed a:nth-child(n+37) {
    display: none;
}

.more {
    text-align: center;
    margin-top: 2rem;
}

.more button {
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.more[hidden] {
    display: none;
}

.masonry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .3s;
}

.masonry a:hover img,
.masonry a:focus-visible img {
    transform: scale(1.05);
}

.masonry a::after {
    content: '\2665';
    position: absolute;
    right: .75rem;
    bottom: .6rem;
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0;
    transform: scale(.5);
    transition: all .25s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.masonry a:hover::after,
.masonry a:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.masonry a:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 3px;
}

/* ---------- Feature photo ---------- */
.feature {
    position: relative;
    margin: 0 clamp(.5rem, 2vw, 1.5rem);
    border-radius: clamp(2rem, 6vw, 4rem);
    overflow: hidden;
    min-height: clamp(420px, 70vh, 720px);
    display: grid;
    place-items: end start;
}

.feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.feature::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 26, 51, .7), rgba(44, 26, 51, 0) 55%);
}

.feature blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: clamp(1.5rem, 5vw, 4rem);
    color: var(--white);
    max-width: 38rem;
}

.feature blockquote p {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 .5rem;
}

.feature blockquote cite {
    font-family: var(--hand);
    font-style: normal;
    font-size: 1.6rem;
    color: var(--blush-deep);
}

/* ---------- Windsor ---------- */
.windsor {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.spot {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s;
}

.spot:nth-child(1) { transform: rotate(-1.5deg); }
.spot:nth-child(2) { transform: rotate(1deg) translateY(1rem); }
.spot:nth-child(3) { transform: rotate(-.75deg); }

.spot:hover {
    transform: rotate(0) translateY(-6px);
}

.spot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.spot-body {
    padding: 1.4rem 1.5rem 1.6rem;
}

.spot h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: .6rem;
}

.spot p {
    margin: 0 0 .35rem;
    color: var(--muted);
}

.spot .aside {
    font-family: var(--hand);
    font-size: 1.4rem;
    color: var(--plum-bright);
    line-height: 1.2;
}

.spot a {
    display: inline-block;
    margin-top: .6rem;
    font-weight: 800;
    text-decoration: none;
}

.spot a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
    text-align: center;
    padding: clamp(4rem, 8vw, 6rem) 0 3rem;
}

.footer .sign {
    font-family: var(--hand);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--plum);
    line-height: 1;
}

.footer .sign span {
    color: var(--rose);
}

.footer p {
    color: var(--muted);
    margin: 1rem 0 0;
}

.footer .old {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    background: var(--plum-soft);
    color: var(--plum);
}

.footer .old:hover {
    background: var(--blush-deep);
}

/* ---------- Lightbox ---------- */
.lightbox {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    background: rgba(44, 26, 51, .94);
    color: var(--white);
}

.lightbox::backdrop {
    background: rgba(44, 26, 51, .94);
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade .25s ease;
}

.lightbox-img {
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 7rem);
    width: auto;
    height: auto;
    border-radius: 18px;
    border: 6px solid var(--white);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.lightbox-btn {
    position: absolute;
    border: 0;
    background: var(--white);
    color: var(--plum);
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform .2s, background .2s;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
    background: var(--blush);
    transform: scale(1.08);
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; margin-top: -1.55rem; }
.lightbox-next { right: 1rem; top: 50%; margin-top: -1.55rem; }

.lightbox-bar {
    position: absolute;
    bottom: 1.1rem;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 700;
    font-size: .95rem;
    color: rgba(255, 255, 255, .8);
}

.lightbox-bar .chapter {
    font-family: var(--hand);
    font-size: 1.4rem;
    color: var(--blush-deep);
    margin-right: .75rem;
}

.lightbox-bar a {
    color: var(--white);
    margin-left: .75rem;
}

/* ---------- Reveal on scroll ---------- */
/* Uses `translate` (not `transform`) so cards keep their playful tilt */
.js .reveal {
    opacity: 0;
    translate: 0 28px;
    transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1), transform .3s;
}

.js .reveal.in {
    opacity: 1;
    translate: none;
}

/* ---------- Keyframes ---------- */
@keyframes beat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
}

@keyframes drift {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}

@keyframes scroll {
    to { transform: translateX(-50%); }
}

@keyframes fade {
    from { opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid,
    .venue {
        grid-template-columns: 1fr;
    }

    .hero-photos {
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }

    .pair,
    .windsor {
        grid-template-columns: 1fr;
    }

    .windsor {
        max-width: 480px;
        margin-inline: auto;
    }

    .spot:nth-child(n) {
        transform: none;
    }

    .timeline::before {
        left: 28px;
    }

    .timeline li {
        grid-template-columns: 56px 1fr;
        gap: 1rem;
    }

    .timeline li .dot {
        grid-column: 1;
    }

    .timeline li:nth-child(n) .step {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 1rem;
    }

    .person {
        grid-template-columns: 1fr;
    }

    .person .polaroid {
        max-width: 220px;
        margin: 0 auto;
    }

    .person h3 {
        justify-content: center;
    }

    .person p {
        text-align: center;
    }

    .chips {
        justify-content: center;
    }

    .masonry {
        --row: 95px;
        gap: .5rem;
    }

    .nav a {
        padding: .45rem .6rem;
        font-size: .85rem;
    }

    .nav .logo {
        font-size: 1.3rem;
        padding: .25rem .5rem .3rem;
    }

    .masonry a {
        border-radius: 12px;
    }

    .timeline .step img {
        width: 60px;
        height: 60px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: .6rem;
        margin-top: 0;
    }

    .lightbox-bar {
        bottom: 1.5rem;
    }

    .lightbox-bar a {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        translate: none;
    }
}
