:root {
    --bg: #090a09;
    --bg-raised: #0e100f;
    --surface: #131513;
    --surface-strong: #181a18;
    --surface-soft: #101210;
    --text: #f5f2e9;
    --text-soft: #c9c7bf;
    --muted: #8d9089;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.17);
    --accent: #dfc780;
    --accent-bright: #f2dda0;
    --accent-ink: #181409;
    --danger: #ff9d8f;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    --header-height: 78px;
    --page-width: 1480px;
    --ease: cubic-bezier(.2, .75, .25, 1);
}

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

html {
    min-width: 320px;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        var(--bg);
    background-size: 72px 72px;
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.is-persona .search-box {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

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

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

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 750;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.ambient {
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
}

.ambient-one {
    width: 560px;
    height: 560px;
    top: -340px;
    right: -110px;
    background: radial-gradient(circle, rgba(223, 199, 128, 0.12), transparent 68%);
}

.ambient-two {
    width: 480px;
    height: 480px;
    top: 48vh;
    left: -330px;
    background: radial-gradient(circle, rgba(142, 104, 66, 0.1), transparent 70%);
}

.page-shell,
.header-inner {
    width: min(100% - 48px, var(--page-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(9, 10, 9, 0.79);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    border-radius: 12px;
}

.brand:focus-visible,
.back-link:focus-visible,
.persona-card-link:focus-visible,
.photo-button:focus-visible,
.filter-chip:focus-visible,
.icon-button:focus-visible,
.lightbox-nav:focus-visible,
.state-button:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 4px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(223, 199, 128, 0.3);
    border-radius: 50%;
    background: rgba(223, 199, 128, 0.08);
    box-shadow: inset 0 0 22px rgba(223, 199, 128, 0.06);
}

.brand-mark svg {
    width: 17px;
    fill: var(--accent);
}

.brand-copy {
    display: grid;
    line-height: 1.05;
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 760;
    letter-spacing: -0.01em;
}

.brand-label {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.search-box {
    width: min(100%, 380px);
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 11px 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted);
    transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.search-box:focus-within {
    border-color: rgba(223, 199, 128, 0.48);
    background: rgba(255, 255, 255, 0.065);
}

.search-box svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.search-box input::placeholder {
    color: #777a74;
}

.search-box input::-webkit-search-cancel-button {
    filter: invert(1);
    opacity: 0.55;
}

.search-box kbd {
    min-width: 25px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.18);
    color: #777a74;
    font-family: inherit;
    font-size: 0.7rem;
}

.hero {
    min-height: 400px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 54px;
    padding: 82px 0 66px;
    border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.breadcrumb {
    margin: 0;
    color: var(--accent);
    font-size: 0.69rem;
    font-weight: 780;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
}

.eyebrow span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(223, 199, 128, 0.85);
}

.hero h1 {
    max-width: 780px;
    margin: 19px 0 0;
    font-size: clamp(3.35rem, 6.4vw, 6.6rem);
    font-weight: 580;
    letter-spacing: -0.067em;
    line-height: 0.89;
}

.hero h1 em {
    color: var(--accent-bright);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.hero-description {
    max-width: 580px;
    margin: 30px 0 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.65;
}

.library-stats {
    min-width: 280px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 28px;
    margin: 0 0 5px;
}

.library-stats div {
    min-width: 70px;
}

.library-stats dt {
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 730;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.library-stats dd {
    margin: 7px 0 0;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    font-weight: 580;
    letter-spacing: -0.045em;
}

.library-section {
    padding: 55px 0 100px;
}

.library-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.library-toolbar h2 {
    margin: 7px 0 0;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 590;
    letter-spacing: -0.045em;
}

.result-count {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 0.86rem;
}

.category-scroller {
    display: flex;
    gap: 9px;
    margin: 31px -4px 30px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-soft);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 670;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-chip:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
}

.filter-chip[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(14px, 1.7vw, 24px);
}

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

.persona-card-link {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
    transform: translateZ(0);
    transition: transform 350ms var(--ease), border-color 250ms ease, box-shadow 350ms var(--ease);
}

.persona-card-link:hover {
    z-index: 1;
    border-color: rgba(223, 199, 128, 0.34);
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.persona-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 20%, rgba(223, 199, 128, 0.17), transparent 34%),
        linear-gradient(145deg, #1c1f1c, #101210);
}

.persona-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 9, 8, 0.9), transparent 48%);
    pointer-events: none;
}

.persona-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms var(--ease), opacity 250ms ease;
}

.persona-card-link:hover .persona-card-media img {
    transform: scale(1.035);
}

.persona-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(245, 242, 233, 0.36);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    letter-spacing: -0.06em;
}

.persona-card-body {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding: 23px 20px 20px;
}

.persona-card-identity {
    min-width: 0;
}

.persona-card-category {
    display: block;
    margin-bottom: 6px;
    color: rgba(245, 242, 233, 0.63);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.persona-card-name {
    display: block;
    overflow: hidden;
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.14;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.persona-card-count {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(8, 9, 8, 0.52);
    color: rgba(245, 242, 233, 0.76);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
    backdrop-filter: blur(10px);
}

.skeleton-card {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.skeleton-shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.06) 48%, transparent 58%);
    background-size: 240% 100%;
    animation: shimmer 1.65s linear infinite;
}

@keyframes shimmer {
    to { background-position-x: -240%; }
}

.empty-state,
.error-state {
    grid-column: 1 / -1;
    min-height: 340px;
    display: grid;
    place-items: center;
    padding: 56px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.018);
    text-align: center;
}

.state-content {
    max-width: 460px;
}

.state-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 1px solid rgba(223, 199, 128, 0.23);
    border-radius: 50%;
    background: rgba(223, 199, 128, 0.065);
    color: var(--accent);
}

.state-icon svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.state-content h3 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.035em;
}

.state-content p {
    margin: 11px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.state-button {
    min-height: 42px;
    margin-top: 22px;
    padding: 0 17px;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 750;
}

.persona-view {
    min-height: calc(100vh - var(--header-height));
    padding: 44px 0 100px;
}

.back-link {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 680;
    transition: color 180ms ease;
}

.back-link:hover {
    color: var(--text);
}

.back-link svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.persona-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 55px 0 39px;
}

.persona-header h1 {
    margin: 10px 0 0;
    font-size: clamp(3rem, 6vw, 6.4rem);
    font-weight: 580;
    letter-spacing: -0.068em;
    line-height: 0.94;
}

.persona-count {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 0.84rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: clamp(9px, 1.15vw, 16px);
}

.photo-item {
    min-width: 0;
}

.photo-button {
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 5;
    background: var(--surface);
    cursor: zoom-in;
    transition: border-color 220ms ease, transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.photo-button:hover {
    z-index: 1;
    border-color: rgba(223, 199, 128, 0.38);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    transform: translateY(-4px);
}

.photo-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms var(--ease), opacity 200ms ease;
}

.photo-button:hover img {
    transform: scale(1.026);
}

.photo-button::after {
    content: "View";
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(8, 9, 8, 0.68);
    color: var(--text);
    font-size: 0.65rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(10px);
}

.photo-button:hover::after,
.photo-button:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.photo-skeleton {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-sm);
}

.site-footer {
    border-top: 1px solid var(--line);
    color: #696c67;
    font-size: 0.72rem;
}

.site-footer .page-shell {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.toast {
    position: fixed;
    z-index: 200;
    right: 20px;
    bottom: 20px;
    max-width: min(390px, calc(100vw - 40px));
    padding: 12px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(24, 26, 24, 0.96);
    box-shadow: var(--shadow);
    color: var(--text-soft);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
    transition: opacity 200ms ease, transform 200ms var(--ease), visibility 200ms;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: rgba(5, 6, 5, 0.96);
    color: var(--text);
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(15px);
}

.lightbox-shell {
    height: 100%;
    display: grid;
    grid-template-rows: 76px minmax(0, 1fr);
}

.lightbox-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
}

.lightbox-meta {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.lightbox-meta span {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
}

.lightbox-meta strong {
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 680;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.icon-button:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.icon-button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightbox-stage {
    min-height: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 76px;
    align-items: center;
    gap: 14px;
    padding: 22px 12px 26px;
}

.lightbox-figure {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    margin: 0;
    overflow: hidden;
}

.lightbox-figure img {
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 220ms ease;
}

.lightbox-figure img.is-loaded {
    opacity: 1;
}

.lightbox-loader {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.11);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

.lightbox-loader.is-hidden {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lightbox-nav {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    justify-self: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.lightbox-nav:hover:not(:disabled) {
    border-color: rgba(223, 199, 128, 0.38);
    background: rgba(223, 199, 128, 0.09);
    color: var(--accent-bright);
}

.lightbox-nav:disabled {
    cursor: default;
    opacity: 0.18;
}

.lightbox-nav svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.noscript-message {
    position: fixed;
    z-index: 500;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 14px;
    border-radius: 12px;
    background: var(--danger);
    color: #24100d;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 46px;
        padding: 70px 0 52px;
    }

    .library-stats {
        width: min(100%, 380px);
        justify-content: space-between;
    }

    .persona-grid,
    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 118px;
    }

    .page-shell,
    .header-inner {
        width: min(100% - 28px, var(--page-width));
    }

    .site-header {
        height: var(--header-height);
    }

    .header-inner {
        display: grid;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 11px;
        padding: 11px 0;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .brand-label {
        display: none;
    }

    .search-box {
        width: 100%;
        height: 40px;
    }

    body.is-persona {
        --header-height: 62px;
    }

    body.is-persona .site-header {
        height: 62px;
    }

    body.is-persona .header-inner {
        display: flex;
        padding: 0;
    }

    body.is-persona .search-box {
        display: none;
    }

    .hero {
        gap: 38px;
        padding: 50px 0 42px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14.7vw, 4.3rem);
    }

    .hero-description {
        margin-top: 23px;
        font-size: 0.96rem;
    }

    .library-stats {
        min-width: 0;
        gap: 15px;
    }

    .library-stats dd {
        font-size: 1.4rem;
    }

    .library-section {
        padding: 42px 0 70px;
    }

    .library-toolbar {
        align-items: start;
    }

    .result-count {
        margin-top: 7px;
        text-align: right;
    }

    .category-scroller {
        margin-top: 24px;
        margin-right: -14px;
    }

    .persona-grid,
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .persona-card-link,
    .skeleton-card {
        border-radius: 13px;
    }

    .persona-card-body {
        align-items: start;
        padding: 18px 13px 13px;
    }

    .persona-card-category {
        margin-bottom: 4px;
        font-size: 0.55rem;
    }

    .persona-card-name {
        font-size: 0.94rem;
    }

    .persona-card-count {
        display: none;
    }

    .persona-view {
        padding: 28px 0 70px;
    }

    .persona-header {
        align-items: start;
        margin: 39px 0 27px;
    }

    .persona-header h1 {
        font-size: clamp(2.75rem, 13vw, 4rem);
    }

    .persona-count {
        margin-top: 6px;
        white-space: nowrap;
    }

    .photo-button {
        border-radius: 9px;
    }

    .site-footer .page-shell {
        min-height: 76px;
    }

    .site-footer .page-shell span:last-child {
        display: none;
    }

    .lightbox-shell {
        grid-template-rows: 66px minmax(0, 1fr);
    }

    .lightbox-header {
        padding: 0 12px;
    }

    .lightbox-meta {
        gap: 9px;
    }

    .lightbox-meta strong {
        max-width: 34vw;
    }

    .download-button span {
        display: none;
    }

    .icon-button {
        padding: 0 10px;
    }

    .lightbox-stage {
        position: relative;
        display: block;
        padding: 12px 10px 76px;
    }

    .lightbox-figure {
        height: 100%;
    }

    .lightbox-nav {
        position: absolute;
        z-index: 3;
        bottom: 14px;
        width: 46px;
        height: 46px;
    }

    .lightbox-nav.previous {
        left: calc(50% - 55px);
    }

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

@media (max-width: 390px) {
    .persona-grid,
    .photo-grid {
        gap: 8px;
    }

    .persona-card-body {
        padding-inline: 11px;
    }
}

@media (hover: none) {
    .persona-card-link:hover,
    .photo-button:hover {
        transform: none;
    }

    .photo-button::after {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
