@font-face {
    font-family: Inter;
    src: local("Inter"), local("Arial");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f6f2;
    color: #252332;
    font:
        15px Inter,
        Arial,
        sans-serif;
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a,
input,
textarea,
select {
    outline-offset: 4px;
}

button {
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    line-height: 1.1;
}

h1 {
    font-size: clamp(40px, 4.8vw, 70px);
    letter-spacing: -2px;
    margin-bottom: 22px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 18px;
}

em {
    color: #e8c96f;
    font-weight: 400;
}

small,
.small {
    font-size: 12px;
}

.muted {
    color: #777483;
}

.gold {
    color: #b58b35;
}

.topbar {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 1px solid #e5e2da;
    background: #fbfaf6;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-top: 3px;
    color: #85818b;
}

.topbar nav {
    display: flex;
    gap: 30px;
    font-size: 12px;
}

footer {
    padding: 28px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #86808a;
    border-top: 1px solid #e4e0d8;
}

.landing {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    min-height: 790px;
}

.hero {
    padding: 70px 10% 35px;
    background:
        radial-gradient(ellipse at 0% 85%, #493966 0, transparent 65%), #211a3c;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: "";
    position: absolute;
    right: -180px;
    top: 100px;
    width: 420px;
    height: 620px;
    border: 1px solid #ffffff0b;
    border-radius: 50%;
    transform: rotate(30deg);
    pointer-events: none;
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    margin-bottom: 24px;
}

.hero .eyebrow {
    color: #dfcf9a;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e4c46a;
    margin-right: 10px;
}

.hero h1 {
    font-size: clamp(60px, 6.2vw, 96px);
    line-height: 1.02;
    margin: 38px 0;
}

.lead {
    font-size: 14px;
    line-height: 1.9;
    color: #cdc6da;
    max-width: 400px;
}

.verse {
    border-left: 2px solid #b69c5f;
    padding-left: 18px;
    margin-top: 42px;
    font-family: Georgia, serif;
    font-size: 17px;
    color: #e4dfeb;
}

.verse small {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 10px;
    color: #a99cb9;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-top: 72px;
    color: #a89bbb;
}

.submit-panel {
    padding: 65px 12%;
    max-width: 800px;
}

.submit-panel > .eyebrow {
    color: #9c7f3e;
    margin-bottom: 15px;
}

.submit-panel h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.submit-panel > .muted {
    font-size: 13px;
}

.mode-tabs {
    display: flex;
    background: #eeece6;
    padding: 5px;
    border-radius: 9px;
    margin: 30px 0;
    gap: 5px;
}

.mode-tabs button {
    flex: 1;
    border: 0;
    background: none;
    border-radius: 6px;
    font-size: 12px;
    padding: 13px 7px;
    color: #807885;
}

.mode-tabs .active {
    background: white;
    color: #3c2c61;
    box-shadow: 0 2px 8px #00000008;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 9px;
}

input:not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
    border: 1px solid #dcd7cf;
    background: #fffefa;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
    color: #30283e;
}

textarea {
    resize: vertical;
    min-height: 170px;
    line-height: 1.7;
}

input[type="checkbox"] {
    accent-color: #42305f;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #9f8bb0;
}

.field-meta {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    gap: 10px;
    color: #8e8793;
    margin-top: 8px;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
    line-height: 1.7;
    font-weight: 400;
    color: #776f7f;
    margin: 27px 0 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 13px 20px;
    border-radius: 5px;
    background: #eeebe4;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.button:hover {
    text-decoration: none;
    filter: brightness(0.95);
}

.primary,
.dark {
    background: #352449;
    color: white;
}

.primary span {
    margin-left: auto;
}

.full {
    width: 100%;
    margin-bottom: 10px;
}

.outline {
    border-color: #d7d0c7;
    background: transparent;
}

.danger {
    color: #a53c42;
    background: #faeeee;
}

.privacy-note {
    text-align: center;
    font-size: 9px;
    color: #958b9b;
    margin-top: 13px;
}

.privacy-note a {
    text-decoration: underline;
}

.record-box {
    text-align: center;
    padding: 25px;
    background: #eeebf3;
    border: 1px dashed #c7bcd2;
    border-radius: 8px;
    margin-bottom: 20px;
}

.record-icon {
    font-size: 35px;
    color: #6a4b89;
}

.record-box h3 {
    margin: 6px 0;
}

.record-box p {
    font-size: 12px;
}

.record-box audio {
    width: 100%;
}

.error,
.errorlist {
    color: #ac343e;
    font-size: 12px;
}

.errorlist {
    padding-left: 18px;
}

.messages {
    background: #eee5c9;
    padding: 8px 5%;
    font-size: 13px;
}

.messages p {
    margin: 5px 0;
}

.auth-card {
    max-width: 520px;
    padding: 44px;
    background: #fffefa;
    border: 1px solid #e2ddd5;
    border-radius: 12px;
    margin: 70px auto;
}

.auth-card h1 {
    font-size: 45px;
}

.auth-card .helptext {
    display: block;
    font-size: 11px;
    color: #7d7585;
}

.auth-card ul {
    font-size: 11px;
    color: #7d7585;
}

.center-page {
    text-align: center;
    max-width: 750px;
    margin: 90px auto;
    padding: 20px;
}

.center-page em,
.prose em {
    color: #92713c;
}

.success-mark {
    font-size: 40px;
    background: #ebe5d6;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
    color: #6c653b;
}

.prose {
    max-width: 850px;
    margin: 65px auto;
    padding: 0 30px;
}

.prose h2 {
    font-size: 26px;
    margin: 35px 0 12px;
}

.prose p {
    color: #6a6373;
}

.workspace {
    display: grid;
    grid-template-columns: 235px 1fr;
    min-height: calc(100vh - 175px);
}

.sidebar {
    padding: 42px 25px;
    background: #f1efe9;
    border-right: 1px solid #e0dcd3;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.sidebar .eyebrow {
    font-size: 9px;
    color: #a49b90;
}

.sidebar > a {
    font-size: 12px;
    padding: 12px;
    border-radius: 6px;
}

.sidebar > a:hover {
    background: #e7e1ec;
    text-decoration: none;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 50px 12px 15px;
}

.sidebar-bottom strong,
.sidebar-bottom span {
    display: block;
    font-size: 12px;
}

.sidebar-bottom span {
    font-size: 10px;
    color: #8b8191;
}

.text-button {
    background: none;
    border: 0;
    padding: 8px 0;
    color: #7b5c84;
    font-size: 12px;
}

.workspace-main {
    padding: 45px 5%;
    min-width: 0;
}

.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.page-heading h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.page-heading .eyebrow {
    color: #a48d63;
    margin-bottom: 15px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #ddd8cf;
    background: #fffefa;
    border-radius: 10px;
    margin: 30px 0;
}

.stats > div {
    padding: 22px;
    border-right: 1px solid #e9e4db;
}

.stats > div:last-child {
    border: 0;
}

.stats span,
.stats small {
    display: block;
    color: #8b8290;
    font-size: 10px;
}

.stats strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.4;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin: 35px 0 27px;
}

.filter-bar select {
    width: 200px;
}

.filter-bar input {
    flex: 1;
    min-width: 0;
}

.filter-bar button {
    white-space: nowrap;
}

.section-label {
    display: flex;
    justify-content: space-between;
    letter-spacing: 1.5px;
    font-size: 9px;
    color: #9c929d;
    margin: 0 0 18px;
}

.testimony-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.testimony-card {
    background: #fffefa;
    border: 1px solid #e3ded6;
    border-radius: 9px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.card-top,
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.badge {
    font-size: 9px;
    letter-spacing: 1px;
    color: #96829b;
}

.pill {
    font-size: 9px;
    padding: 4px 9px;
    background: #f5ecd4;
    color: #9b7b33;
    border-radius: 20px;
    white-space: nowrap;
}

.pill.green {
    background: #e9efe5;
    color: #697b57;
}

.story-preview {
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.6;
    margin: 25px 0 30px;
    overflow-wrap: anywhere;
}

.card-bottom {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee9e0;
    font-size: 10px;
    color: #958b9b;
}

.card-bottom a {
    color: #5d456a;
    font-size: 11px;
}

.voice-art {
    font-size: 30px;
    letter-spacing: 4px;
    color: #b49ac4;
    margin: 25px 0;
    overflow: hidden;
    white-space: nowrap;
}

.empty {
    text-align: center;
    border: 1px dashed #d7cedc;
    padding: 65px 30px;
    grid-column: 1/-1;
}

.empty > span {
    font-size: 40px;
    color: #a98d5c;
}

.empty p {
    color: #928794;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 30px;
    font-size: 12px;
}

.back {
    font-size: 12px;
    color: #8b7b91;
    display: inline-block;
    margin-bottom: 30px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
}

.story-full {
    background: #fffefa;
    padding: 40px;
    border: 1px solid #e4ddd4;
    border-radius: 9px;
    font:
        22px/1.8 Georgia,
        serif;
    overflow-wrap: anywhere;
}

.story-full audio {
    width: 100%;
}

.action-panel {
    background: #fffefa;
    padding: 25px;
    border: 1px solid #e4ddd4;
    border-radius: 9px;
    align-self: start;
}

.action-panel .helptext,
.action-panel ul {
    font-size: 10px;
    color: #8a8090;
}

.user-row {
    background: #fffefa;
    border: 1px solid #e4ddd4;
    padding: 20px;
    margin: 12px 0;
    border-radius: 8px;
}

.user-row span,
.user-row small {
    display: block;
    color: #8d8195;
    font-size: 11px;
}

.user-row details {
    font-size: 12px;
}

.user-row details form {
    margin-top: 15px;
}

.table-wrap {
    overflow: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    background: #fffefa;
    font-size: 12px;
}

th,
td {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid #e9e1d9;
}

th {
    color: #8d8195;
    font-size: 10px;
    letter-spacing: 1px;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 10px;
    top: 10px;
    background: white;
    padding: 10px;
    z-index: 99;
}

[hidden] {
    display: none !important;
}

@media (min-width: 1500px) {
    .testimony-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .submit-panel {
        padding: 50px 8%;
    }

    .workspace {
        grid-template-columns: 190px 1fr;
    }

    .stats > div {
        padding: 15px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-heading h1 {
        font-size: 42px;
    }
}

@media (max-width: 760px) {
    .topbar {
        height: 80px;
        padding: 0 6%;
    }

    .brand {
        font-size: 11px;
    }

    .brand img {
        width: 35px;
        height: 35px;
    }

    .brand small {
        font-size: 7px;
    }

    .topbar nav {
        gap: 15px;
        font-size: 10px;
    }

    .topbar nav > a:first-child {
        display: none;
    }

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

    .hero {
        padding: 45px 8%;
    }

    .hero h1 {
        font-size: 65px;
    }

    .hero-bottom {
        margin-top: 40px;
    }

    .submit-panel {
        padding: 45px 8%;
    }

    .workspace {
        display: block;
    }

    .sidebar {
        padding: 15px 5%;
        border-right: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .sidebar .eyebrow,
    .sidebar-bottom {
        display: none;
    }

    .sidebar > a {
        padding: 8px;
        font-size: 10px;
    }

    .workspace-main {
        padding: 30px 6%;
    }

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

    .stats > div {
        border-bottom: 1px solid #e9e4db;
    }

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

    .filter-bar {
        flex-wrap: wrap;
    }

    .filter-bar select {
        width: 100%;
    }

    .filter-bar input {
        width: 60%;
    }

    .filter-bar button {
        padding: 12px;
    }

    .story-full {
        padding: 25px;
    }

    .auth-card {
        margin: 35px 6%;
        padding: 30px;
    }

    .prose {
        margin: 40px auto;
    }

    footer {
        flex-direction: column;
        gap: 8px;
    }

    .page-heading h1 {
        font-size: 40px;
    }
}

.identity-section {
    border-top: 1px solid #e3ddd3;
    margin-top: 28px;
    padding-top: 25px;
}

.identity-section h3 {
    font-size: 15px;
}

.identity-section .check {
    margin: 15px 0;
}

#contact-fields label {
    margin-top: 15px;
}

.contact-card {
    background: #f1ede6;
    border: 1px solid #ded6ca;
    padding: 15px;
    margin: 15px 0 25px;
    border-radius: 6px;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.contact-card .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
}

.submitter-line {
    font:
        12px/1.6 Arial,
        sans-serif;
    color: #8a7a94;
    border-bottom: 1px solid #e4ddd4;
    padding-bottom: 18px;
    margin-bottom: 25px;
}

/* Responsive application shell */
:root {
    --header-height: 94px;
    --sidebar-width: 248px;
}
html {
    overflow-x: clip;
}
body {
    padding-top: var(--header-height);
}
body,
main,
section,
article,
aside,
form,
.testimony-grid {
    min-width: 0;
}
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height);
    z-index: 100;
    padding: 0 4%;
    gap: 24px;
    box-shadow: 0 1px 0 #ddd8cf;
}
.brand {
    gap: 22px;
    flex-shrink: 1;
    min-width: 0;
}
.brand img {
    width: 250px;
    height: 58px;
    border-radius: 0;
    object-fit: contain;
}
.brand span {
    font-size: 12px;
    letter-spacing: 1.5px;
}
.topbar nav {
    align-items: center;
}
.topbar nav form {
    margin: 0;
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #ded5e5;
    border-radius: 9px;
    background: #fffefa;
    flex-shrink: 0;
    padding: 12px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: #352449;
    margin: 4px 0;
    border-radius: 2px;
}
.nav-backdrop {
    position: fixed;
    inset: var(--header-height) 0 0;
    background: #19112580;
    border: 0;
    z-index: 80;
}
.workspace {
    display: block;
    min-height: calc(100dvh - var(--header-height));
    margin-left: var(--sidebar-width);
}
.sidebar {
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    padding: 34px 22px;
    z-index: 90;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.sidebar .eyebrow {
    display: block;
}
.sidebar-bottom {
    display: block;
    margin-top: auto;
    padding-top: 45px;
}
.sidebar-secondary {
    margin-top: 26px;
    border-top: 1px solid #ded8cf;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 11px;
    color: #8b7b91;
}
.staff-shell > footer {
    margin-left: var(--sidebar-width);
}
.workspace-main {
    max-width: 1640px;
    margin: 0 auto;
    padding: 38px clamp(20px, 3vw, 60px) 60px;
}
.messages {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 20px;
    left: auto;
    max-width: min(520px, calc(100% - 40px));
    border-radius: 10px;
    box-shadow: 0 8px 28px #30203c1c;
    z-index: 105;
    padding: 12px 20px;
}
.detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: 24px;
}
.story-full {
    overflow-wrap: anywhere;
}
.testimony-grid {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
a.testimony-card {
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.18s,
        box-shadow 0.18s,
        border-color 0.18s;
    min-width: 0;
}
a.testimony-card:hover {
    border-color: #ad95be;
    box-shadow: 0 8px 28px #35244912;
    transform: translateY(-3px);
}
a.testimony-card:focus-visible {
    outline: 3px solid #9a7bb7;
    outline-offset: 4px;
}
.card-open {
    color: #614173;
    font-size: 11px;
}
.voice-art {
    max-width: 100%;
    overflow: hidden;
}
.filter-bar {
    min-width: 0;
}
.filter-bar > * {
    min-width: 0;
}
.stats {
    margin-bottom: 12px;
}
.queue-status {
    color: #85758e;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
}
.spinner {
    width: 15px;
    height: 15px;
    display: inline-block;
    border: 2px solid #d4c7de;
    border-top-color: #634478;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.job-notice {
    border-radius: 9px;
    padding: 15px;
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0ebf6;
    color: #604775;
    font-size: 12px;
}
.job-notice p {
    font-size: 11px;
    margin: 5px 0 0;
}
.job-notice.ready,
.receipt-progress.ready {
    background: #edf3e7;
    color: #4c633d;
}
.receipt-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #eee8f3;
    padding: 18px;
    border-radius: 10px;
    font-size: 13px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Deliberate, accessible choices replace bare checkbox rows. */
.option-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border: 1px solid #e2dce8;
    background: #fffefa;
    border-radius: 12px;
    cursor: pointer;
    margin: 14px 0;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    left: 18px;
    top: 18px;
}
.option-copy {
    display: block;
    flex: 1;
    min-width: 0;
}
.option-copy strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #42304f;
}
.option-copy small {
    display: block;
    color: #8d8196;
    font-size: 10px;
    line-height: 1.7;
    font-weight: 400;
    margin-top: 4px;
}
.switch-track {
    width: 40px;
    height: 24px;
    background: #ded7e4;
    border-radius: 30px;
    position: relative;
    flex-shrink: 0;
}
.switch-track::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 4px #35244920;
    transition: transform 0.2s;
}
.option-card:has(input:checked) {
    background: #f0ebf5;
    border-color: #b49ac8;
}
.option-card input:checked ~ .switch-track {
    background: #67437c;
}
.option-card input:checked ~ .switch-track::after {
    transform: translateX(16px);
}
.option-card:has(input:focus-visible) {
    outline: 3px solid #ac90bf;
    outline-offset: 3px;
}
.consent-card {
    background: #efece3;
    border-color: #e0d8c4;
    margin: 25px 0 20px;
}
.consent-mark {
    width: 26px;
    height: 26px;
    border: 1px solid #c9bfa9;
    color: transparent;
    border-radius: 8px;
    flex-shrink: 0;
    text-align: center;
    line-height: 25px;
    background: #fffefa;
}
.consent-card input:checked ~ .consent-mark {
    background: #5b4568;
    color: white;
    border-color: #5b4568;
}
#contact-fields {
    padding: 8px 18px 16px;
    background: #f0edf4;
    border-radius: 10px;
}
.submit-panel {
    max-width: none;
}
@media (max-width: 1200px) {
    .brand span {
        display: none;
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .action-panel {
        width: 100%;
    }
    .story-full {
        padding: 28px;
    }
    .stats > div {
        padding: 18px;
    }
}
@media (max-width: 900px) {
    :root {
        --header-height: 80px;
    }
    .topbar {
        padding: 0 20px;
        gap: 16px;
    }
    .brand img {
        width: min(235px, 65vw);
        height: 53px;
    }
    .nav-toggle {
        display: block;
    }
    .topbar nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        width: min(300px, 86vw);
        background: #fbfaf6;
        padding: 30px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 24px;
        transform: translateX(105%);
        transition: transform 0.2s;
        z-index: 90;
    }
    .topbar nav > a:first-child {
        display: block;
    }
    .navigation-open #site-nav {
        transform: translateX(0);
    }
    .staff-shell .topbar nav {
        display: none;
    }
    .sidebar {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: min(300px, 86vw);
        transform: translateX(-105%);
        transition: transform 0.2s;
        padding: 30px 24px;
        gap: 10px;
    }
    .sidebar > a {
        padding: 13px 12px;
        font-size: 13px;
    }
    .navigation-open .sidebar {
        transform: translateX(0);
    }
    .sidebar-bottom {
        display: block;
        padding: 32px 12px 10px;
    }
    body.navigation-open {
        overflow: hidden;
    }
    .workspace {
        margin-left: 0;
    }
    .staff-shell > footer {
        margin-left: 0;
    }
    .workspace-main {
        padding: 28px 20px 45px;
    }
    .page-heading {
        gap: 18px;
    }
    .page-heading h1 {
        font-size: 40px;
    }
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stats > div {
        padding: 18px;
    }
    .stats strong {
        font-size: 36px;
    }
    .landing {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 36px 24px;
    }
    .hero h1 {
        font-size: 57px;
        margin: 24px 0;
    }
    .hero h1 br:nth-of-type(2) {
        display: none;
    }
    .hero .lead {
        font-size: 13px;
    }
    .hero .verse {
        margin-top: 24px;
    }
    .hero-bottom {
        margin-top: 30px;
    }
    .submit-panel {
        padding: 36px 24px;
    }
    .submit-panel h2 {
        font-size: 32px;
    }
    .filter-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }
    .filter-bar select {
        grid-column: 1 / -1;
        width: 100%;
    }
    .filter-bar input {
        width: 100%;
    }
    .testimony-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .testimony-card {
        width: 100%;
        padding: 22px;
    }
    .story-full {
        font-size: 20px;
        padding: 24px;
    }
    .voice-art {
        letter-spacing: 2px;
        font-size: 25px;
    }
    .detail-layout {
        gap: 18px;
    }
    .action-panel {
        padding: 22px;
    }
    footer {
        padding: 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
