:root {
    --sh-ivory: #f7f4ee;
    --sh-paper: #fffdf8;
    --sh-navy: #0d1b2a;
    --sh-navy-soft: #1b365d;
    --sh-champagne: #c8a870;
    --sh-taupe: #a89a8a;
    --sh-blush: #d8bbb4;
    --sh-line: rgba(200, 168, 112, 0.28);
    --sh-muted: rgba(13, 27, 42, 0.68);
    --sh-serif: "Cormorant Garamond", Georgia, serif;
    --sh-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sh-hero-image: url("/images/silken-harbor-hero.png");
}

html {
    font-size: 16px;
}

body {
    background: var(--sh-ivory);
    color: var(--sh-navy);
    font-family: var(--sh-sans);
    margin: 0;
}

a {
    color: var(--sh-navy);
}

h1,
h2,
h3,
.brand-mark {
    font-family: var(--sh-serif);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.15;
}

p {
    color: var(--sh-muted);
    line-height: 1.75;
}

.container {
    max-width: 1180px;
}

.narrow {
    max-width: 820px;
}

.verification-flow-panel {
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 2rem;
    padding: 1.5rem;
}

.verification-flow-copy span,
.profile-verification-summary span {
    color: var(--sh-taupe);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.verification-flow-copy strong {
    display: block;
    font-family: var(--sh-serif);
    font-size: 2rem;
    line-height: 1.1;
    margin-top: 0.2rem;
}

.verification-flow-copy p {
    margin: 0.75rem 0 0;
}

.verification-flow-action {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    min-width: 220px;
}

.verification-flow-action p {
    max-width: 18rem;
}

.liveness-camera-shell {
    background: #fff;
    border: 1px solid var(--sh-line);
    grid-column: 1 / -1;
    min-height: 420px;
    overflow: hidden;
}

.private-verification-page .ajax-status {
    grid-column: 1 / -1;
}

.site-header {
    background: rgba(248, 243, 234, 0.95);
    border-bottom: 1px solid var(--sh-line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.impersonation-banner {
    background: #7a321d;
    color: var(--sh-paper);
    position: sticky;
    top: 0;
    z-index: 40;
}

.impersonation-banner .container {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 44px;
}

.impersonation-banner span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.impersonation-banner .btn {
    border-color: rgba(255, 250, 242, 0.65);
    color: var(--sh-paper);
    padding: 0.38rem 0.7rem;
}

.navbar {
    min-height: 82px;
}

.mobile-nav-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.brand-mark {
    color: var(--sh-navy);
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: 0;
}

.nav-link {
    color: var(--sh-navy-soft);
    font-size: 0.95rem;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.btn {
    border-radius: 4px;
    font-weight: 600;
    padding: 0.72rem 1.1rem;
}

.btn-primary {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-paper);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: #0b1220;
        border-color: #0b1220;
    }

.btn-outline-primary {
    border-color: var(--sh-champagne);
    color: var(--sh-navy);
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        background: var(--sh-navy);
        border-color: var(--sh-navy);
    }

.btn-quiet {
    color: var(--sh-navy);
    text-decoration: none;
}

.identity-page main {
    margin: 0 auto;
    max-width: 1180px;
    padding: 5rem 1rem 5.5rem;
}

    .identity-page main > h1 {
        font-size: clamp(2.6rem, 4.6vw, 4.4rem);
        margin: 0 0 0.5rem;
    }

    .identity-page main > .row {
        display: grid;
        gap: 3rem;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
        margin: 2rem 0 0;
    }

        .identity-page main > .row > [class*="col-"] {
            flex: unset;
            max-width: none;
            padding: 0;
            width: 100%;
        }

    .identity-page main section {
        background: var(--sh-paper);
        border: 1px solid var(--sh-line);
        padding: 2rem;
    }

    .identity-page main h2,
    .identity-page main h3 {
        font-size: clamp(1.4rem, 2.2vw, 2.1rem);
    }

    .identity-page main hr {
        border-color: var(--sh-line);
        opacity: 1;
    }

.identity-page .form-floating,
.identity-page .form-check,
.identity-page form button[type="submit"] {
    margin-top: 1rem;
}

    .identity-page .form-floating > .form-control {
        background: #fffdf8;
        border-color: var(--sh-line);
        border-radius: 4px;
    }

        .identity-page .form-floating > .form-control:focus {
            border-color: var(--sh-champagne);
            box-shadow: 0 0 0 0.2rem rgba(185, 155, 98, 0.18);
        }

.identity-page main a {
    color: var(--sh-navy);
}

.profile-page,
.member-page,
.page-intro {
    padding: 7rem 0;
}

.profile-grid,
.split-copy,
.footer-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.profile-page-heading {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) 280px;
    margin-bottom: 2.5rem;
}

    .profile-page-heading h1 {
        margin-bottom: 1rem;
        max-width: 760px;
    }

    .profile-page-heading p {
        max-width: 720px;
    }

.profile-readiness-panel {
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
    padding: 1.4rem;
}

    .profile-readiness-panel span,
    .profile-preview-meta span,
    .status-pill {
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.11em;
        text-transform: uppercase;
    }

    .profile-readiness-panel span {
        color: var(--sh-champagne);
    }

    .profile-readiness-panel strong {
        display: block;
        font-family: var(--sh-serif);
        font-size: 1.45rem;
        font-weight: 400;
        margin-top: 0.35rem;
    }

    .profile-readiness-panel p {
        margin: 0.5rem 0 0;
    }

.profile-dossier-layout {
    align-items: start;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.profile-preview-card {
    background: linear-gradient(180deg, rgba(17, 26, 45, 0.98), rgba(11, 18, 32, 0.98)), linear-gradient(145deg, rgba(185, 155, 98, 0.22), rgba(216, 187, 180, 0.08));
    border: 1px solid rgba(185, 155, 98, 0.32);
    box-shadow: 0 24px 60px rgba(13, 27, 42, 0.2);
    color: var(--sh-paper);
    padding: 2rem;
    position: sticky;
    top: 110px;
}

.profile-photo-shell {
    align-items: center;
    background: rgba(255, 250, 242, 0.08);
    border: 1px solid rgba(185, 155, 98, 0.52);
    border-radius: 50%;
    display: flex;
    height: 132px;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    width: 132px;
}

.profile-photo-shell img {
    height: 100%;
    object-fit: cover;
    object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
    transform: scale(var(--profile-crop-zoom, 1));
    transform-origin: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
    width: 100%;
}

.profile-photo-shell img.is-blurred {
    filter: blur(10px);
}

.photo-review-card img.is-blurred {
    filter: blur(10px);
    transform: scale(1.04);
}

.profile-photo-shell .profile-fallback-logo {
    height: 58%;
    object-fit: contain;
    width: 58%;
}

.profile-photo-shell span {
    color: rgba(255, 250, 242, 0.74);
    font-family: var(--sh-serif);
        font-size: 2rem;
    }

.profile-preview-card h2 {
    color: var(--sh-paper);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.profile-preview-location,
.profile-preview-tagline {
    color: rgba(255, 250, 242, 0.76);
}

.profile-preview-location {
    margin-bottom: 1.25rem;
}

.profile-preview-tagline {
    font-size: 1.02rem;
    line-height: 1.65;
}

.profile-preview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
}

    .profile-preview-chips span {
        background: rgba(255, 250, 242, 0.08);
        border: 1px solid rgba(255, 250, 242, 0.14);
        color: rgba(255, 250, 242, 0.82);
        font-size: 0.78rem;
        line-height: 1.2;
        padding: 0.38rem 0.62rem;
    }

.profile-divider {
    align-items: center;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    margin: 1.5rem 0;
}

    .profile-divider i {
        background: rgba(185, 155, 98, 0.36);
        display: block;
        height: 1px;
    }

    .profile-divider img {
        height: 24px;
        opacity: 0.5;
        width: 24px;
    }

.profile-preview-meta {
    display: grid;
    gap: 0.7rem;
}

    .profile-preview-meta > span {
        color: var(--sh-champagne);
    }

    .profile-preview-meta div {
        border-top: 1px solid rgba(255, 250, 242, 0.1);
        display: grid;
        gap: 0.35rem;
        grid-template-columns: 90px minmax(0, 1fr);
        padding-top: 0.7rem;
    }

    .profile-preview-meta strong {
        color: rgba(255, 250, 242, 0.92);
        font-size: 0.86rem;
    }

    .profile-preview-meta div span {
        color: rgba(255, 250, 242, 0.7);
        font-size: 0.86rem;
        letter-spacing: 0;
        text-transform: none;
    }

.profile-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
}

.status-pill {
    background: rgba(185, 155, 98, 0.18);
    border: 1px solid rgba(185, 155, 98, 0.22);
    color: #e8d4a2;
    display: inline-flex;
    padding: 0.42rem 0.72rem;
}

    .status-pill.muted {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.12);
        color: rgba(255, 250, 242, 0.72);
    }

.profile-preview-card .status-panel {
    background: rgba(255, 250, 242, 0.07);
    border: 1px solid rgba(255, 250, 242, 0.1);
    margin-top: 1.5rem;
    padding: 1.25rem;
}

.profile-editor {
    display: grid;
    gap: 1.25rem;
}

.profile-status-card {
    background: linear-gradient(90deg, rgba(17, 26, 45, 0.96), rgba(17, 26, 45, 0.9)), linear-gradient(145deg, rgba(185, 155, 98, 0.16), rgba(216, 187, 180, 0.06));
    border: 1px solid rgba(185, 155, 98, 0.28);
    color: var(--sh-paper);
    padding: 1.5rem 1.75rem;
}

    .profile-status-card span {
        color: var(--sh-champagne);
        display: block;
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        margin-bottom: 0.45rem;
        text-transform: uppercase;
    }

    .profile-status-card strong {
        display: block;
        font-family: var(--sh-serif);
        font-size: 1.55rem;
        font-weight: 400;
        margin-bottom: 0.35rem;
    }

    .profile-status-card p {
        color: rgba(255, 250, 242, 0.74);
        margin: 0;
        max-width: 680px;
    }

.profile-editor-form {
    display: grid;
    gap: 1.25rem;
}

.profile-editor-card {
    background: #fffdf8;
    border: 1px solid rgba(168, 154, 138, 0.24);
    box-shadow: 0 18px 48px rgba(13, 27, 42, 0.08);
    padding: 1.75rem;
}

    .profile-editor-card[open] {
        padding-bottom: 1.85rem;
    }

    .profile-editor-card summary {
        cursor: pointer;
        list-style: none;
        position: relative;
    }

        .profile-editor-card summary::-webkit-details-marker {
            display: none;
        }

        .profile-editor-card summary::after {
            color: var(--sh-champagne);
            content: "+";
            font-family: var(--sh-sans);
            font-size: 1.25rem;
            line-height: 1;
            position: absolute;
            right: 0;
            top: 0.1rem;
        }

    .profile-editor-card[open] summary::after {
        content: "-";
    }

.profile-card-header {
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}

    .profile-card-header h2 {
        color: var(--sh-navy);
        font-size: 1.5rem;
        margin-bottom: 0.35rem;
    }

    .profile-card-header p {
        margin: 0;
        max-width: 640px;
    }

.profile-compact-grid,
.profile-writing-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-compact-grid-wide {
    grid-column: 1 / -1;
}

.profile-writing-grid textarea {
    min-height: 148px;
}

.profile-location-lookup {
    position: relative;
}

.profile-location-note {
    color: var(--sh-muted);
    font-size: 0.84rem;
    margin: 0.45rem 0 0;
}

.profile-location-note[data-location-state="selected"] {
    color: #1f6f48;
}

.profile-location-note[data-location-state="unresolved"] {
    color: #9a5c16;
}

.connection-area-panel {
    background: rgba(185, 155, 98, 0.07);
    border: 1px solid rgba(168, 154, 138, 0.22);
    padding: 1rem;
}

.connection-area-panel h3 {
    font-family: var(--sh-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0.2rem 0 0.35rem;
}

.connection-area-panel p {
    color: var(--sh-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.connection-area-panel .profile-location-note {
    line-height: 1.4;
    margin: 0.45rem 0 0;
}

.profile-panel-kicker,
.profile-toggle-panel-static span {
    color: var(--sh-champagne);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.connection-area-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.connection-area-trips {
    margin-top: 1rem;
}

.connection-area-header-row,
.connection-area-card-heading {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.connection-area-header-row {
    margin-bottom: 0.75rem;
}

.connection-area-header-row h4 {
    font-size: 1rem;
    margin: 0;
}

.connection-area-card {
    background: rgba(255, 250, 242, 0.56);
    border: 1px solid rgba(168, 154, 138, 0.22);
    padding: 0.85rem;
}

.connection-area-card-heading .form-label {
    margin-bottom: 0;
}

.connection-area-remove {
    color: var(--sh-muted);
    padding: 0;
    text-decoration: none;
}

.connection-area-remove:hover,
.connection-area-remove:focus {
    color: var(--sh-navy);
    text-decoration: underline;
}

.travel-date-row {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.75rem;
}

.profile-location-suggestions {
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid rgba(168, 154, 138, 0.28);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(12, 24, 42, 0.14);
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 10;
}

.profile-location-suggestions button {
    background: transparent;
    border: 0;
    color: var(--sh-navy);
    display: block;
    font: inherit;
    padding: 0.68rem 0.85rem;
    text-align: left;
    width: 100%;
}

.profile-location-suggestions button:hover,
.profile-location-suggestions button:focus {
    background: rgba(185, 155, 98, 0.14);
    outline: none;
}

.screen-name-panel {
    border: 1px solid rgba(168, 154, 138, 0.22);
    padding: 1rem;
}

.screen-name-head {
    align-items: end;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr);
}

.screen-name-helper-copy {
    color: var(--sh-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0.85rem 0 0;
    max-width: 52rem;
}

.screen-name-suggestion-controls {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.screen-name-tone-row {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.screen-name-tone-row .form-label {
    margin: 0;
}

.screen-name-tone-row .form-control {
    max-width: 12rem;
}

.screen-name-suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.screen-name-chip {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(200, 168, 112, 0.5);
    color: var(--sh-navy);
    font-weight: 700;
    line-height: 1;
    padding: 0.52rem 0.72rem;
}

.screen-name-chip:hover,
.screen-name-chip:focus {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-ivory);
    outline: none;
}

.screen-name-suggestion-actions {
    margin-top: 0.35rem;
}

.screen-name-status {
    color: var(--sh-muted);
    font-size: 0.92rem;
    margin: 0.35rem 0 0;
    min-height: 1.25rem;
}

.screen-name-status.is-good {
    color: #287353;
}

.screen-name-status.is-error {
    color: #a33b3b;
}

.chip-section {
    border-top: 1px solid rgba(168, 154, 138, 0.22);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.chip-input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.chip-label {
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(168, 154, 138, 0.34);
    border-radius: 999px;
    color: var(--sh-navy-soft);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 0.58rem 0.84rem;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.chip-input:focus-visible + .chip-label {
    box-shadow: 0 0 0 0.2rem rgba(185, 155, 98, 0.18);
}

.chip-input:checked + .chip-label {
    background: rgba(17, 26, 45, 0.96);
    border-color: rgba(185, 155, 98, 0.46);
    color: var(--sh-paper);
}

.profile-toggle-panel,
.profile-verification-summary {
    align-items: center;
    background: rgba(185, 155, 98, 0.08);
    border: 1px solid rgba(168, 154, 138, 0.24);
    display: flex;
    gap: 0.7rem;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
}

.profile-toggle-panel-static {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-toggle-panel-static p {
    color: var(--sh-muted);
    line-height: 1.45;
    margin: 0;
}

.profile-verification-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
}

    .profile-verification-summary span {
        color: var(--sh-taupe);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .profile-verification-summary strong {
        color: var(--sh-navy);
        font-family: var(--sh-serif);
        font-size: 1.2rem;
        font-weight: 400;
    }

.profile-editor-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

    .profile-editor-actions .ajax-status {
        flex-basis: 100%;
        min-height: 1.3rem;
        padding-top: 0.25rem;
    }

.profile-save-bar {
    align-items: center;
    background: rgba(17, 26, 45, 0.98);
    border: 1px solid rgba(185, 155, 98, 0.42);
    border-width: 1px 0 0;
    bottom: 0;
    box-shadow: 0 -14px 36px rgba(13, 27, 42, 0.22);
    color: var(--sh-paper);
    display: grid;
    gap: 0.4rem 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 0;
    padding: 0.85rem max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    position: fixed;
    right: 0;
    z-index: 1050;
}

    .profile-save-bar[hidden] {
        display: none;
    }

    .profile-save-bar span {
        color: var(--sh-champagne);
        display: block;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        margin-bottom: 0.18rem;
        text-transform: uppercase;
    }

    .profile-save-bar p {
        color: rgba(255, 250, 242, 0.82);
        line-height: 1.45;
        margin: 0;
    }

    .profile-save-bar .ajax-status {
        color: rgba(255, 250, 242, 0.78);
        font-size: 0.84rem;
        grid-column: 1 / -1;
        min-height: 1.2rem;
    }

    .profile-save-bar[data-save-state="saved"] {
        border-color: rgba(185, 155, 98, 0.28);
    }

body.profile-save-bar-visible {
    padding-bottom: 0;
}

body.profile-save-bar-visible main {
    padding-bottom: 6.25rem;
}

@media (max-width: 640px) {
    .profile-save-bar {
        grid-template-columns: minmax(0, 1fr);
        padding: 0.85rem 1rem;
    }

        .profile-save-bar .btn {
            width: 100%;
        }

    body.profile-save-bar-visible main {
        padding-bottom: 9.5rem;
    }
}

.eyebrow {
    color: var(--sh-champagne);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lead-copy {
    font-size: 1.22rem;
    max-width: 620px;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-section {
    box-sizing: border-box;
    min-height: calc(100vh - 128px);
    overflow: hidden;
    padding: 7rem 0 4rem;
    position: relative;
}

.hero-with-image {
    background: var(--sh-navy);
    color: var(--sh-paper);
}

.hero-image-layer {
    background: linear-gradient(90deg, rgba(17, 26, 45, 0.97) 0%, rgba(17, 26, 45, 0.91) 34%, rgba(17, 26, 45, 0.58) 58%, rgba(17, 26, 45, 0.24) 100%), linear-gradient(145deg, rgba(185, 155, 98, 0.14), rgba(216, 187, 180, 0.08) 42%, rgba(17, 26, 45, 0.16)), var(--sh-hero-image, url("/images/silken-harbor-hero.png"));
    background-color: #1a2030;
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
}

    .hero-image-layer::after {
        background: radial-gradient(circle at 76% 24%, rgba(255, 250, 242, 0.16), transparent 16rem), linear-gradient(180deg, transparent 76%, var(--sh-ivory) 100%);
        content: "";
        inset: 0;
        position: absolute;
    }

.hero-brand-watermark {
    color: rgba(255, 250, 242, 0.6);
    left: clamp(2rem, 7vw, 8.5rem);
    max-width: 520px;
    position: absolute;
    top: clamp(9rem, 22vh, 14rem);
    width: min(28vw, 520px);
    z-index: 1;
}

    .hero-brand-watermark span:first-child {
        display: block;
        font-family: var(--sh-serif);
        font-size: clamp(2.3rem, 3.1vw, 4.1rem);
        line-height: 1;
        white-space: nowrap;
    }

.hero-brand-rule {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    margin-top: 1.15rem;
    width: min(100%, 500px);
}

    .hero-brand-rule i {
        background: rgba(185, 155, 98, 0.3);
        display: block;
        height: 1px;
    }

    .hero-brand-rule img {
        display: block;
        height: 34px;
        opacity: 0.42;
        width: 34px;
    }

.hero-content {
    margin-left: clamp(30rem, 36vw, 44rem);
    max-width: 680px;
    min-height: clamp(480px, 58vh, 610px);
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

    .hero-content h1,
    .hero-content p {
        color: var(--sh-paper);
    }

    .hero-content h1 {
        font-size: clamp(3.2rem, 4.45vw, 5.2rem);
    }

    .hero-content .lead-copy {
        color: rgba(255, 250, 242, 0.82);
    }

.hero-secondary {
    background: rgba(255, 250, 242, 0.08);
    color: var(--sh-paper);
}

    .hero-secondary:hover,
    .hero-secondary:focus {
        background: var(--sh-paper);
        color: var(--sh-navy);
    }

.hero-proof {
    border-top: 1px solid rgba(255, 250, 242, 0.26);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin-top: 3rem;
    max-width: 620px;
    padding-top: 1.25rem;
}

    .hero-proof span {
        color: rgba(255, 250, 242, 0.82);
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

.trust-band,
.content-band,
.privacy-preview,
.final-cta {
    border-top: 1px solid var(--sh-line);
    padding: 4.5rem 2rem;
}

.final-cta {
    background: linear-gradient(90deg, rgba(17, 26, 45, 0.96), rgba(17, 26, 45, 0.9)), linear-gradient(145deg, rgba(185, 155, 98, 0.16), rgba(216, 187, 180, 0.06));
    border-top: 1px solid rgba(185, 155, 98, 0.36);
    color: var(--sh-paper);
    overflow: hidden;
    padding: 5.25rem 0;
    position: relative;
}

    .final-cta::before,
    .final-cta::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .final-cta::before {
        background: rgba(185, 155, 98, 0.42);
        height: 1px;
        left: 50%;
        top: 2.5rem;
        transform: translateX(-50%);
        width: min(280px, 52vw);
    }

    .final-cta::after {
        background-image: url("/images/silken-harbor-quatrefoil.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 28px;
        left: 50%;
        opacity: 0.34;
        top: 1.65rem;
        transform: translateX(-50%);
        width: 28px;
    }

    .final-cta .btn-primary {
        background: var(--sh-paper);
        border-color: var(--sh-paper);
        color: var(--sh-navy);
    }

        .final-cta .btn-primary:hover,
        .final-cta .btn-primary:focus {
            background: transparent;
            border-color: var(--sh-champagne);
            color: var(--sh-paper);
        }

.numbered-steps {
    border-top: 1px solid var(--sh-line);
    margin-top: 2.25rem;
}

    .numbered-steps div {
        align-items: baseline;
        border-bottom: 1px solid var(--sh-line);
        display: grid;
        gap: 2rem;
        grid-template-columns: 72px 1fr;
        padding: 1.0rem 0;
    }

    .numbered-steps span {
        color: var(--sh-champagne);
        font-weight: 700;
    }

.profile-form {
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
    padding: 2rem;
}

.profile-stack {
    display: grid;
    gap: 1.25rem;
}

.form-section + .form-section {
    border-top: 1px solid var(--sh-line);
    margin-top: 2rem;
    padding-top: 2rem;
}

.form-section h2 {
    font-size: 1.35rem;
    margin-bottom: 1.3rem;
}

.form-control {
    background: #fffdf8;
    border-color: var(--sh-line);
    border-radius: 4px;
    color: var(--sh-navy);
    min-height: 46px;
}

select.form-control {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--sh-navy-soft) 50%),
        linear-gradient(135deg, var(--sh-navy-soft) 50%, transparent 50%),
        linear-gradient(180deg, rgba(185, 155, 98, 0.14), rgba(185, 155, 98, 0.14));
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%,
        100% 0;
    background-repeat: no-repeat;
    background-size:
        6px 6px,
        6px 6px,
        44px 100%;
    cursor: pointer;
    padding-right: 3.4rem;
}

    select.form-control:focus {
        background-image:
            linear-gradient(45deg, transparent 50%, var(--sh-champagne) 50%),
            linear-gradient(135deg, var(--sh-champagne) 50%, transparent 50%),
            linear-gradient(180deg, rgba(185, 155, 98, 0.2), rgba(185, 155, 98, 0.2));
    }

    .form-control:focus {
        border-color: var(--sh-champagne);
        box-shadow: 0 0 0 0.2rem rgba(185, 155, 98, 0.18);
    }

.label-note {
    color: rgba(104, 97, 90, 0.72);
    font-size: 0.78rem;
    font-weight: 400;
    margin-left: 0.35rem;
}

.ajax-status {
    color: var(--sh-taupe);
    min-height: 1.5rem;
    padding-top: 1rem;
}

.status-panel {
    background: var(--sh-navy);
    color: var(--sh-paper);
    margin-top: 2rem;
    padding: 2rem;
}

    .status-panel span {
        color: var(--sh-champagne);
        display: block;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin-bottom: 0.65rem;
        text-transform: uppercase;
    }

    .status-panel strong {
        display: block;
        font-family: var(--sh-serif);
        font-size: 1.35rem;
        font-weight: 400;
    }

    .status-panel p {
        color: rgba(255, 250, 242, 0.76);
        margin: 0.75rem 0 0;
    }

    .status-panel .status-panel-action {
        background: var(--sh-paper);
        border-color: var(--sh-paper);
        color: var(--sh-navy);
        margin-top: 1rem;
    }

        .status-panel .status-panel-action:hover,
        .status-panel .status-panel-action:focus {
            background: transparent;
            border-color: var(--sh-champagne);
            color: var(--sh-paper);
        }

.profile-intro-cell {
    max-width: 320px;
}

.profile-photo-form {
    scroll-margin-top: 6rem;
}

.profile-photo-verification-prompt {
    background: rgba(185, 155, 98, 0.1);
    border: 1px solid rgba(185, 155, 98, 0.28);
    margin-top: 1.25rem;
    padding: 1rem;
}

    .profile-photo-verification-prompt span {
        color: var(--sh-taupe);
        display: block;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .profile-photo-verification-prompt strong {
        color: var(--sh-navy);
        display: block;
        font-family: var(--sh-serif);
        font-size: 1.35rem;
        font-weight: 400;
        margin-top: 0.2rem;
    }

    .profile-photo-verification-prompt p {
        color: var(--sh-muted);
        margin: 0.4rem 0 0.85rem;
    }

.profile-photo-form p {
    margin-bottom: 1.25rem;
}

.photo-review-grid {
    border-top: 1px solid var(--sh-line);
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
    justify-content: start;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.gallery-section-list {
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
}

.gallery-section {
    border-top: 1px solid var(--sh-line);
    padding-top: 1.5rem;
}

.gallery-section-header {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

    .gallery-section-header h3 {
        color: var(--sh-navy);
        font-family: var(--sh-serif);
        font-size: 1.45rem;
        margin: 0 0 0.35rem;
    }

    .gallery-section-header p {
        color: var(--sh-taupe);
        margin: 0;
        max-width: 680px;
    }

    .gallery-section-header span {
        border: 1px solid var(--sh-line);
        color: var(--sh-navy);
        display: inline-flex;
        font-weight: 700;
        justify-content: center;
        min-width: 2.25rem;
        padding: 0.35rem 0.6rem;
    }

.gallery-photo-grid {
    border-top: 0;
    margin-top: 1rem;
    padding-top: 0;
}

.gallery-upload-queue {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.gallery-upload-queue-item {
    background: #fffdf8;
    border: 1px solid var(--sh-line);
    padding: 0.9rem;
}

.gallery-upload-queue-head {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

    .gallery-upload-queue-head strong {
        color: var(--sh-navy);
        display: block;
        font-size: 0.96rem;
    }

    .gallery-upload-queue-head span {
        color: var(--sh-taupe);
        display: block;
        font-size: 0.82rem;
    }

    .gallery-upload-queue-head > span {
        color: var(--sh-champagne);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.11em;
        text-align: right;
        text-transform: uppercase;
    }

.gallery-upload-meter {
    background: rgba(13, 27, 42, 0.08);
    height: 5px;
    margin: 0.75rem 0;
    overflow: hidden;
}

    .gallery-upload-meter i {
        background: var(--sh-champagne);
        display: block;
        height: 100%;
        transition: width 180ms ease;
        width: 0;
    }

.gallery-upload-queue-item p {
    color: var(--sh-taupe);
    font-size: 0.86rem;
    margin: 0;
}

.gallery-upload-queue-item[data-upload-state="complete"] {
    border-color: rgba(104, 136, 110, 0.45);
}

    .gallery-upload-queue-item[data-upload-state="complete"] .gallery-upload-queue-head > span {
        color: #557a5c;
    }

    .gallery-upload-queue-item[data-upload-state="complete"] .gallery-upload-meter i {
        background: #557a5c;
    }

.gallery-upload-queue-item[data-upload-state="failed"] {
    border-color: rgba(152, 68, 68, 0.4);
}

    .gallery-upload-queue-item[data-upload-state="failed"] .gallery-upload-queue-head > span {
        color: #984444;
    }

    .gallery-upload-queue-item[data-upload-state="failed"] .gallery-upload-meter i {
        background: #984444;
    }

.gallery-upload-summary {
    background: rgba(13, 27, 42, 0.04);
    border: 1px solid var(--sh-line);
    color: var(--sh-navy);
    font-size: 0.92rem;
    margin-top: 1rem;
    padding: 0.85rem;
}

.photo-review-card {
    background: #fffdf8;
    border: 1px solid var(--sh-line);
    overflow: hidden;
}

.gallery-photo-grid .photo-review-card {
    max-width: 220px;
    width: 100%;
}

    .photo-review-card img {
        aspect-ratio: 4 / 5;
        display: block;
        object-fit: cover;
        width: 100%;
    }

    .photo-review-card > div {
        padding: 0.85rem;
    }

    .photo-review-card p {
        font-size: 0.88rem;
        margin: 0.45rem 0 0.85rem;
    }

    .photo-review-card span {
        color: var(--sh-champagne);
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.11em;
        margin-bottom: 0.35rem;
        text-transform: uppercase;
    }

    .photo-review-card strong {
        color: var(--sh-navy);
        display: block;
        font-size: 0.92rem;
        overflow-wrap: anywhere;
    }

.photo-visibility-form {
    display: grid;
    gap: 0.55rem;
}

    .photo-visibility-form .ajax-status,
    .photo-appeal-form .ajax-status {
        font-size: 0.82rem;
        min-height: 1.1rem;
        padding-top: 0;
    }

.photo-appeal-form {
    border-top: 1px solid var(--sh-line);
    display: grid;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
}

.photo-delete-form {
    border-top: 1px solid var(--sh-line);
    margin-top: 0.85rem;
    padding-top: 0.85rem;
}

.photo-profile-form {
    margin-bottom: 0.85rem;
}

.photo-crop-disclosure {
    border-bottom: 1px solid var(--sh-line);
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
}

    .photo-crop-disclosure summary {
        color: var(--sh-navy);
        cursor: pointer;
        font-size: 0.88rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

.photo-crop-form {
    display: grid;
    gap: 0.55rem;
}

    .photo-crop-form .form-label {
        font-size: 0.78rem;
        margin-bottom: -0.25rem;
    }

    .photo-crop-form .form-range {
        margin: 0;
    }

    .photo-crop-form .ajax-status {
        font-size: 0.82rem;
        min-height: 1.1rem;
        padding-top: 0;
    }

.photo-crop-preview {
    aspect-ratio: 1;
    background: rgba(13, 27, 42, 0.08);
    border: 1px solid var(--sh-line);
    border-radius: 50%;
    margin: 0.15rem 0 0.55rem;
    max-width: 148px;
    overflow: hidden;
    width: 100%;
}

    .photo-crop-preview img {
        height: 100%;
        object-fit: cover;
        object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        width: 100%;
    }

    .photo-crop-preview img.is-blurred {
        filter: blur(10px);
    }

.profile-photo-current {
    margin-top: 1.5rem;
    max-width: 320px;
}

    .profile-photo-current > img {
        object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        transform: scale(var(--profile-crop-zoom, 1));
        transform-origin: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
    }

.gallery-link {
    display: inline-flex;
    margin-top: 1.25rem;
}

.photo-appeal-note {
    color: var(--sh-taupe);
    font-size: 0.86rem;
    margin-top: 0.75rem !important;
}

.review-form {
    min-width: 260px;
}

.compact-actions {
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.admin-photo-thumb {
    aspect-ratio: 1;
    border: 1px solid var(--sh-line);
    display: block;
    margin-bottom: 0.5rem;
    object-fit: cover;
    width: 88px;
}

.admin-page-heading {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1.35rem;
}

.admin-page-heading h1 {
    margin-bottom: 0.6rem;
}

.admin-page-heading p {
    margin-bottom: 0;
    max-width: 760px;
}

.admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: end;
}

.admin-summary-strip {
    background: linear-gradient(90deg, rgba(17, 26, 45, 0.97), rgba(17, 26, 45, 0.9));
    border: 1px solid rgba(185, 155, 98, 0.3);
    color: var(--sh-paper);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.admin-summary-strip div {
    border-right: 1px solid rgba(255, 250, 242, 0.12);
    padding: 1.05rem 1.25rem;
}

.admin-summary-strip div:last-child {
    border-right: 0;
}

.admin-summary-strip span,
.admin-option-kicker,
.admin-row-status,
.admin-option-add-intro span,
.admin-option-list-head {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-summary-strip span {
    color: rgba(255, 250, 242, 0.62);
    display: block;
    margin-bottom: 0.25rem;
}

.admin-summary-strip strong {
    color: var(--sh-paper);
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.45rem;
    font-weight: 400;
}

.admin-summary-strip small {
    color: rgba(255, 250, 242, 0.58);
    display: block;
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.admin-verification-filters {
    align-items: end;
    background: rgba(255, 250, 242, 0.74);
    border: 1px solid rgba(168, 154, 138, 0.24);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(150px, 0.75fr) minmax(220px, 1.4fr) repeat(4, minmax(150px, 1fr)) auto;
    margin: 1rem 0 1.25rem;
    padding: 1rem;
}

    .admin-verification-filters label {
        color: var(--sh-taupe);
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        margin-bottom: 0.35rem;
        text-transform: uppercase;
    }

.admin-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-verification-list {
    display: grid;
    gap: 1rem;
}

.admin-verification-card {
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(210px, 1.1fr) minmax(150px, 0.75fr) minmax(320px, 1.35fr) minmax(220px, 1fr);
    padding: 1rem;
}

.admin-verification-profile > span,
.admin-verification-signals span,
.admin-verification-discovery span {
    color: var(--sh-taupe);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-verification-profile h2 {
    color: var(--sh-navy);
    font-size: 1.35rem;
    margin: 0.3rem 0 0.2rem;
}

.admin-verification-profile p {
    margin: 0;
}

.admin-profile-facts {
    display: grid;
    gap: 0.28rem;
    margin-top: 0.65rem;
}

    .admin-profile-facts span {
        color: var(--sh-muted);
        font-size: 0.82rem;
        line-height: 1.35;
    }

.admin-profile-participants {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

    .admin-profile-participants div {
        border-left: 2px solid rgba(185, 155, 98, 0.38);
        padding-left: 0.65rem;
    }

    .admin-profile-participants strong,
    .admin-profile-participants span {
        display: block;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .admin-profile-participants strong {
        color: var(--sh-navy);
    }

    .admin-profile-participants span {
        color: var(--sh-muted);
        margin-top: 0.12rem;
    }

.admin-verification-intro,
.admin-verification-diagnostics,
.admin-verification-review {
    margin-top: 0.75rem;
}

.admin-verification-intro summary,
.admin-verification-diagnostics summary,
.admin-verification-review summary {
    color: var(--sh-navy);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 700;
}

.admin-verification-intro p,
.admin-verification-diagnostics p,
.admin-verification-diagnostics ul {
    color: var(--sh-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0.45rem 0 0;
}

.admin-verification-diagnostics ul {
    padding-left: 1.1rem;
}

.admin-verification-status {
    align-content: start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-status-pill {
    background: rgba(17, 26, 45, 0.07);
    border: 1px solid rgba(17, 26, 45, 0.08);
    color: var(--sh-navy);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.38rem 0.55rem;
}

.admin-status-pill.success,
.admin-verification-signals strong.success,
.admin-verification-discovery strong.success {
    color: #206247;
}

.admin-status-pill.info,
.admin-verification-signals strong.info,
.admin-verification-discovery strong.info {
    color: #295d82;
}

.admin-status-pill.warning,
.admin-verification-signals strong.warning,
.admin-verification-discovery strong.warning {
    color: #8a5a16;
}

.admin-status-pill.danger,
.admin-verification-signals strong.danger,
.admin-verification-discovery strong.danger {
    color: #9b2f28;
}

.admin-status-pill.muted,
.admin-verification-signals strong.muted,
.admin-verification-discovery strong.muted {
    color: var(--sh-muted);
}

.admin-verification-signals {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-verification-signals div,
.admin-verification-discovery > div {
    border-top: 1px solid rgba(168, 154, 138, 0.2);
    padding-top: 0.55rem;
}

.admin-verification-signals strong,
.admin-verification-discovery strong {
    color: var(--sh-navy);
    display: block;
    font-size: 0.95rem;
    margin-top: 0.12rem;
}

.admin-verification-signals small {
    color: var(--sh-muted);
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-top: 0.12rem;
}

.admin-verification-discovery {
    display: grid;
    gap: 0.65rem;
}

.admin-verification-review {
    grid-column: 1 / -1;
    margin-top: 0;
}

.admin-verification-review form {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.65rem;
    min-width: 0;
}

.admin-status {
    background: rgba(185, 155, 98, 0.1);
    border: 1px solid rgba(185, 155, 98, 0.28);
    color: var(--sh-navy);
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
}

.admin-member-search {
    background: rgba(255, 250, 242, 0.74);
    border: 1px solid rgba(168, 154, 138, 0.24);
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.admin-member-search label {
    color: var(--sh-taupe);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-member-search div {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.admin-member-list {
    display: grid;
    gap: 0.75rem;
}

.admin-member-row {
    align-items: center;
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.5fr) auto;
    padding: 1rem;
}

.admin-member-row span,
.admin-member-meta span {
    color: var(--sh-taupe);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-member-row h2 {
    font-size: 1.35rem;
    margin: 0.15rem 0 0.1rem;
}

.admin-member-row p {
    margin: 0;
}

.admin-member-meta {
    display: grid;
    gap: 0.35rem;
}

.admin-member-meta .muted {
    color: var(--sh-muted);
}

.admin-member-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.admin-category-nav a {
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(168, 154, 138, 0.28);
    color: var(--sh-navy-soft);
    font-size: 0.86rem;
    line-height: 1.2;
    padding: 0.48rem 0.72rem;
    text-decoration: none;
}

.admin-category-nav a:hover,
.admin-category-nav a:focus {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-paper);
}

.admin-option-grid {
    display: grid;
    gap: 1rem;
}

.admin-option-card {
    background: #fffdf8;
    border: 1px solid rgba(168, 154, 138, 0.24);
    box-shadow: 0 18px 48px rgba(13, 27, 42, 0.07);
    padding: 1.45rem;
}

.admin-option-card-header {
    align-items: start;
    border-bottom: 1px solid var(--sh-line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.admin-option-kicker {
    color: var(--sh-champagne);
    display: block;
    margin-bottom: 0.25rem;
}

.admin-option-card-header h2 {
    font-size: 1.55rem;
    margin-bottom: 0.2rem;
}

.admin-option-card-header p {
    margin-bottom: 0;
}

.admin-option-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: end;
}

.admin-option-counts span {
    background: rgba(185, 155, 98, 0.1);
    border: 1px solid rgba(168, 154, 138, 0.24);
    color: var(--sh-navy);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.65rem;
}

.admin-option-counts span.muted {
    background: rgba(13, 27, 42, 0.05);
    color: var(--sh-taupe);
}

.admin-option-list {
    display: grid;
    gap: 0.45rem;
}

.admin-option-list-head {
    color: var(--sh-taupe);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.62fr) 86px auto;
    padding: 0 0.75rem;
}

.admin-option-row,
.admin-option-add {
    align-items: center;
    display: grid;
    gap: 0.65rem;
}

.admin-option-row {
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid rgba(168, 154, 138, 0.18);
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.62fr) 86px auto;
    padding: 0.75rem;
}

.admin-option-row.is-archived {
    background: rgba(13, 27, 42, 0.035);
}

.admin-option-label-cell {
    display: grid;
    gap: 0.4rem;
}

.admin-option-row code {
    align-self: center;
    background: rgba(13, 27, 42, 0.04);
    border: 1px solid rgba(168, 154, 138, 0.18);
    color: var(--sh-taupe);
    overflow-wrap: anywhere;
    padding: 0.42rem 0.52rem;
}

.admin-row-status {
    color: #557a5c;
}

.admin-row-status.muted {
    color: var(--sh-taupe);
}

.admin-sort-input {
    max-width: 90px;
}

.admin-option-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: end;
}

.admin-option-add {
    background: rgba(185, 155, 98, 0.08);
    border: 1px solid rgba(185, 155, 98, 0.18);
    grid-template-columns: minmax(190px, 0.9fr) minmax(180px, 1fr) minmax(150px, 0.7fr) 90px auto;
    margin-top: 0.85rem;
    padding: 1rem;
}

.admin-option-add-intro span {
    color: var(--sh-champagne);
    display: block;
    margin-bottom: 0.25rem;
}

.admin-option-add-intro p {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.member-page-header {
    align-items: end;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    margin-bottom: 3rem;
}

    .member-page-header h1 {
        margin-bottom: 0;
    }

    .member-page-header > p {
        margin-bottom: 0;
    }

.discovery-page {
    background:
        radial-gradient(circle at top right, rgba(185, 155, 98, 0.13), transparent 32rem),
        radial-gradient(circle at bottom left, rgba(17, 26, 45, 0.07), transparent 30rem),
        var(--sh-ivory);
    padding-bottom: 5.5rem;
}

.discovery-intro {
    align-items: stretch;
    gap: 2rem;
}

    .discovery-intro h1 {
        margin-bottom: 0.65rem;
    }

    .discovery-intro p {
        max-width: 720px;
    }

.discovery-note {
    align-self: end;
    background: rgba(255, 250, 242, 0.76);
    border: 1px solid rgba(185, 155, 98, 0.3);
    box-shadow: 0 18px 42px rgba(13, 27, 42, 0.05);
    display: grid;
    gap: 0.45rem;
    overflow: hidden;
    padding: 1.05rem 1.1rem 1.05rem 1.3rem;
    position: relative;
}

    .discovery-note::before {
        background: var(--sh-champagne);
        content: "";
        inset: 0 auto 0 0;
        position: absolute;
        width: 3px;
    }

    .discovery-note span {
        color: var(--sh-navy);
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .discovery-note p {
        color: var(--sh-muted);
        font-size: 0.9rem;
        line-height: 1.55;
        margin: 0;
    }

.profile-card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card,
.empty-state,
.message-shell,
.thread-list,
.conversation-panel {
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
}

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 320px;
    padding: 1.5rem;
}

    .profile-card > p {
        margin-bottom: 0;
    }

    .profile-card h2 {
        font-size: 1.45rem;
        margin-bottom: 0.35rem;
    }

.profile-card-photo {
    aspect-ratio: 4 / 5;
    background: rgba(17, 26, 45, 0.06);
    border-bottom: 1px solid var(--sh-line);
    margin: -1.5rem -1.5rem 0;
    overflow: hidden;
    position: relative;
}

    .profile-card-photo img {
        display: block;
        height: 100%;
        object-fit: cover;
        object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        transform: scale(var(--profile-crop-zoom, 1));
        transform-origin: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        width: 100%;
    }

    .profile-card-photo img.is-blurred {
        filter: blur(10px);
    }

.profile-card-photo-placeholder {
    align-items: center;
    background: linear-gradient(145deg, rgba(17, 26, 45, 0.98), rgba(36, 48, 72, 0.96));
    color: rgba(255, 250, 242, 0.84);
    display: flex;
    font-family: var(--sh-serif);
    font-size: clamp(3rem, 9vw, 5.5rem);
    height: 100%;
    justify-content: center;
    width: 100%;
}

.profile-card-photo-privacy {
    background: rgba(255, 250, 242, 0.86);
    border: 1px solid rgba(185, 155, 98, 0.26);
    bottom: 0.75rem;
    color: var(--sh-navy);
    font-size: 0.7rem;
    font-weight: 800;
    left: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.45rem;
    position: absolute;
    text-transform: uppercase;
}

.profile-card-status {
    color: var(--sh-champagne);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.profile-match-label {
    color: var(--sh-navy);
    font-size: 0.88rem;
    font-weight: 700;
    margin: -0.15rem 0 0.35rem;
}

.profile-location {
    color: var(--sh-muted);
    margin-bottom: 0;
}

.profile-distance {
    color: var(--sh-navy);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.12rem;
}

.profile-card-facts {
    border-top: 1px solid rgba(168, 154, 138, 0.22);
    display: grid;
    gap: 0.55rem 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0.85rem;
}

    .profile-card-facts div {
        min-width: 0;
    }

    .profile-card-facts span {
        color: var(--sh-muted);
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .profile-card-facts strong {
        color: var(--sh-navy);
        display: block;
        font-size: 0.86rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

.profile-match-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

    .profile-match-reasons span {
        background: rgba(185, 155, 98, 0.1);
        border: 1px solid rgba(185, 155, 98, 0.22);
        color: var(--sh-navy);
        font-size: 0.8rem;
        padding: 0.32rem 0.55rem;
    }

.profile-card-actions {
    margin-top: auto;
}

.discovery-filter-panel {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(185, 155, 98, 0.26);
    box-shadow: 0 18px 42px rgba(13, 27, 42, 0.05);
    margin: -1rem 0 2rem;
    padding: 1.2rem;
}

.discovery-filter-heading {
    align-items: center;
    border-bottom: 1px solid rgba(17, 26, 45, 0.08);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: 0.85rem;
}

    .discovery-filter-heading span,
    .discovery-filter-summary-title,
    .discovery-filter-panel .form-label,
    .discovery-check-filter {
        color: var(--sh-navy);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 0;
        text-transform: uppercase;
    }

    .discovery-filter-heading strong,
    .discovery-filter-summary strong {
        color: var(--sh-taupe);
        font-size: 0.88rem;
    }

.discovery-basic-filters {
    align-items: center;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr auto;
    margin-top: 1rem;
}

    .discovery-basic-filters .form-group {
        margin-bottom: 0;
    }

    .discovery-basic-filters .form-control {
        min-height: 42px;
    }

.discovery-check-filter {
    align-items: center;
    align-self: end;
    border: 1px solid rgba(168, 154, 138, 0.36);
    cursor: pointer;
    display: flex;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.62rem 0.75rem;
    white-space: nowrap;
}

    .discovery-check-filter input {
        accent-color: var(--sh-navy);
        margin: 0;
    }

.discovery-advanced-filters {
    border-top: 1px solid rgba(168, 154, 138, 0.2);
    margin-top: 1rem;
    padding-top: 1rem;
}

.discovery-filter-summary {
    align-items: center;
    background: rgba(255, 250, 242, 0.58);
    border: 1px solid rgba(185, 155, 98, 0.22);
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    list-style: none;
    padding: 0.75rem 0.85rem;
}

    .discovery-filter-summary::-webkit-details-marker {
        display: none;
    }

    .discovery-filter-summary::after {
        border-color: var(--sh-navy);
        border-style: solid;
        border-width: 0 2px 2px 0;
        content: "";
        display: block;
        height: 0.48rem;
        margin-right: 0.18rem;
        transform: rotate(45deg);
        transition: transform 160ms ease;
        width: 0.48rem;
    }

    .discovery-advanced-filters[open] .discovery-filter-summary::after {
        transform: rotate(225deg);
    }

.discovery-filter-summary-copy {
    display: grid;
    gap: 0.16rem;
}

.discovery-filter-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.15rem;
}

    .discovery-filter-grid .chip-section {
        border-top: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .discovery-filter-grid .chip-label {
        font-size: 0.84rem;
        padding: 0.5rem 0.72rem;
    }

.discovery-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0;
}

.discovery-filter-note {
    color: var(--sh-muted);
    font-size: 0.9rem;
    margin: 0.8rem 0 0;
}

.discovery-results-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 0 1rem;
}

    .discovery-results-header p,
    .discovery-results-header span {
        color: var(--sh-muted);
        font-size: 0.9rem;
        margin: 0;
    }

.discovery-card {
    --discovery-card-inset: clamp(1.45rem, 5vw, 1.7rem);
    gap: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 16px 34px rgba(13, 27, 42, 0.045);
}

    .discovery-card .profile-card-photo {
        aspect-ratio: 16 / 10;
        margin: 0;
        max-height: 240px;
    }

    .discovery-card .profile-card-photo-placeholder {
        background:
            radial-gradient(circle at 74% 18%, rgba(185, 155, 98, 0.23), transparent 12rem),
            linear-gradient(145deg, rgba(17, 26, 45, 0.96), rgba(39, 48, 71, 0.94));
        font-size: clamp(2.35rem, 7vw, 4.25rem);
    }

.discovery-card--private-photo .discovery-private-photo {
    background:
        radial-gradient(circle at 72% 18%, rgba(185, 155, 98, 0.22), transparent 11rem),
        linear-gradient(145deg, rgba(255, 250, 242, 0.9), rgba(232, 220, 203, 0.84));
}

    .discovery-card--private-photo .discovery-private-photo img {
        background: transparent;
        box-shadow: 0 14px 30px rgba(13, 27, 42, 0.12);
        filter: saturate(0.74) contrast(0.94);
        height: calc(100% - 2rem);
        margin: 1rem auto;
        max-width: 240px;
        object-fit: contain;
        padding: 0;
        transform: none;
        width: 70%;
    }

    .discovery-card--private-photo .discovery-private-photo img.is-blurred {
        box-shadow: none;
        filter: blur(8px) saturate(0.78) contrast(0.92);
        height: 100%;
        margin: 0;
        max-width: none;
        object-fit: cover;
        padding: 0;
        transform: scale(var(--profile-crop-zoom, 1));
        width: 100%;
    }

    .discovery-card--private-photo .discovery-private-photo::after {
        background: linear-gradient(180deg, transparent 56%, rgba(17, 26, 45, 0.16));
        content: "";
        inset: 0;
        pointer-events: none;
        position: absolute;
    }

    .discovery-card--private-photo .profile-card-photo-privacy {
        z-index: 1;
    }

.discovery-card > .discovery-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.92rem;
    padding: 1.35rem var(--discovery-card-inset) 1.35rem;
}

.discovery-card-heading {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

    .discovery-card-heading > div:first-child {
        min-width: 0;
    }

    .discovery-card-heading h2 {
        font-size: 1.16rem;
        line-height: 1.18;
        margin-bottom: 0;
    }

.discovery-compatibility-badges {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.08rem;
}

.discovery-compatibility-badge {
    background: rgba(17, 26, 45, 0.06);
    border: 1px solid rgba(17, 26, 45, 0.1);
    color: var(--sh-navy);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.34rem 0.56rem;
    text-align: center;
    white-space: nowrap;
}

.discovery-card-meta {
    color: var(--sh-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.4rem 0.75rem;
    line-height: 1.45;
}

.discovery-opening-line {
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0.1rem 0 0.2rem;
}

.discovery-card > .discovery-card-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
    padding: 0.65rem var(--discovery-card-inset) 1.45rem;
}

    .discovery-card-actions form {
        margin: 0;
    }

    .discovery-card-actions .btn {
        font-size: 0.78rem;
        min-height: 36px;
    }

    .discovery-card-actions .btn:disabled,
    .discovery-pagination .disabled {
        opacity: 0.55;
        pointer-events: none;
    }

.discovery-pagination {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 2rem;
}

    .discovery-pagination span {
        color: var(--sh-muted);
        font-size: 0.9rem;
    }

.member-profile-page {
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.7), rgba(248, 243, 234, 1));
    padding: 5.5rem 0 7rem;
}

.member-profile-back {
    margin-bottom: 1.5rem;
}

.member-profile-preview-note {
    align-items: center;
    background: rgba(185, 155, 98, 0.1);
    border: 1px solid rgba(185, 155, 98, 0.28);
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
}

    .member-profile-preview-note span {
        color: var(--sh-navy);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .member-profile-preview-note p {
        color: var(--sh-taupe);
        margin: 0;
    }

.member-profile-layout {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    align-items: start;
}

.member-profile-portrait {
    background: linear-gradient(180deg, rgba(17, 26, 45, 0.98), rgba(11, 18, 32, 0.99)), linear-gradient(145deg, rgba(185, 155, 98, 0.22), rgba(216, 187, 180, 0.06));
    border: 1px solid rgba(185, 155, 98, 0.32);
    box-shadow: 0 24px 60px rgba(13, 27, 42, 0.18);
    color: var(--sh-paper);
    padding: 2rem;
    position: sticky;
    top: 110px;
}

.member-profile-photo {
    aspect-ratio: 5 / 6;
    background: rgba(255, 250, 242, 0.08);
    border: 1px solid rgba(185, 155, 98, 0.42);
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

    .member-profile-photo img {
        height: 100%;
        object-fit: cover;
        object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        transform: scale(var(--profile-crop-zoom, 1));
        transform-origin: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        width: 100%;
    }

    .member-profile-photo img.is-blurred {
        filter: blur(10px);
    }

.member-profile-fallback-monogram {
    align-items: center;
    background: radial-gradient(circle at 50% 35%, rgba(185, 155, 98, 0.28), rgba(255, 250, 242, 0.04) 56%);
    color: rgba(255, 250, 242, 0.86);
    display: flex;
    font-family: var(--sh-serif);
    font-size: clamp(4rem, 10vw, 7rem);
    height: 100%;
    justify-content: center;
    width: 100%;
}

.member-profile-identity {
    margin-top: 1.5rem;
}

    .member-profile-identity h1 {
        color: var(--sh-paper);
        font-size: clamp(2.35rem, 4vw, 3.7rem);
        margin-bottom: 0.25rem;
    }

    .member-profile-identity p:not(.eyebrow),
    .member-profile-tagline,
    .member-profile-actions span {
        color: rgba(255, 250, 242, 0.72);
    }

.member-profile-tagline {
    color: rgba(255, 250, 242, 0.82);
    font-family: var(--sh-serif);
    font-size: 1.35rem;
    line-height: 1.35;
    margin-top: 1.25rem;
}

.member-profile-actions {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

    .member-profile-actions span {
        font-size: 0.86rem;
        line-height: 1.5;
    }

.member-profile-preview-action {
    border: 1px solid rgba(255, 250, 242, 0.16);
    color: rgba(255, 250, 242, 0.82) !important;
    display: block;
    padding: 0.85rem 1rem;
    text-align: center;
}

.member-profile-content {
    display: grid;
    gap: 1.4rem;
}

.member-profile-section {
    border-top: 1px solid var(--sh-line);
    padding: 1.85rem 0 0;
}

    .member-profile-section h2 {
        color: var(--sh-navy);
        font-size: 1.55rem;
        margin-bottom: 0.75rem;
    }

    .member-profile-section p {
        line-height: 1.72;
        margin-bottom: 0;
    }

.member-profile-introduction p:not(.eyebrow) {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    line-height: 1.35;
}

.member-profile-snapshot {
    background: var(--sh-paper);
    border: 1px solid rgba(168, 154, 138, 0.28);
    box-shadow: 0 18px 48px rgba(13, 27, 42, 0.06);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-profile-snapshot div {
    border-right: 1px solid var(--sh-line);
    border-top: 1px solid var(--sh-line);
    padding: 1rem;
}

.member-profile-snapshot div:nth-child(-n + 3) {
    border-top: 0;
}

.member-profile-snapshot div:nth-child(3n) {
    border-right: 0;
}

.member-profile-snapshot span {
    color: var(--sh-taupe);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    margin-bottom: 0.28rem;
    text-transform: uppercase;
}

.member-profile-snapshot strong {
    color: var(--sh-navy);
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.25;
}

.member-profile-participants {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .member-profile-participants article {
        background: rgba(255, 250, 242, 0.72);
        border: 1px solid rgba(168, 154, 138, 0.28);
        padding: 1rem;
    }

    .member-profile-participants article > span,
    .member-profile-participants dt {
        color: var(--sh-taupe);
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .member-profile-participants h2 {
        color: var(--sh-navy);
        font-family: var(--sh-serif);
        font-size: 1.35rem;
        font-weight: 500;
        margin: 0.18rem 0 0.85rem;
    }

    .member-profile-participants dl {
        display: grid;
        gap: 0.85rem;
        margin: 0;
    }

    .member-profile-participants dd {
        color: var(--sh-navy);
        margin: 0.2rem 0 0;
    }

.member-profile-split-section,
.member-profile-inline-section {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-profile-about-section {
    display: grid;
    gap: 1.35rem;
}

.member-profile-about-section > .eyebrow {
    margin-bottom: -0.35rem;
}

.member-profile-editorial-block h2 {
    margin-bottom: 0.55rem;
}

.member-profile-editorial-block {
    max-width: 720px;
}

.member-profile-text-block {
    position: relative;
}

.member-profile-editorial-block + .member-profile-editorial-block {
    border-top: 1px solid rgba(168, 154, 138, 0.24);
    padding-top: 1.35rem;
}

.member-profile-copy {
    display: grid;
    gap: 0.85rem;
    max-width: 720px;
}

.member-profile-about-section .member-profile-copy p {
    color: var(--sh-navy-soft);
    font-family: var(--sh-sans);
    font-size: 1rem;
    line-height: 1.78;
    margin: 0;
    white-space: pre-line;
}

.member-profile-text-block.is-collapsible .member-profile-copy {
    overflow: hidden;
    position: relative;
}

.member-profile-text-block.is-collapsible .member-profile-copy::after {
    background: linear-gradient(180deg, rgba(248, 243, 234, 0), var(--sh-ivory) 86%);
    bottom: 0;
    content: "";
    height: 3.25rem;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.member-profile-text-block.is-collapsible .member-profile-copy-about {
    max-height: 14rem;
}

.member-profile-text-block.is-collapsible .member-profile-copy-looking {
    max-height: 12.25rem;
}

.member-profile-text-toggle {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.member-profile-text-toggle:checked + .member-profile-copy {
    max-height: none;
    overflow: visible;
}

.member-profile-text-toggle:checked + .member-profile-copy::after {
    display: none;
}

.member-profile-read-more {
    align-items: center;
    color: var(--sh-navy);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 0.85rem;
    text-transform: uppercase;
}

.member-profile-read-more::after {
    background: rgba(185, 155, 98, 0.72);
    content: "";
    height: 1px;
    margin-left: 0.65rem;
    width: 2rem;
}

.member-profile-read-more .read-less-label,
.member-profile-text-toggle:checked ~ .member-profile-read-more .read-more-label {
    display: none;
}

.member-profile-text-toggle:checked ~ .member-profile-read-more .read-less-label {
    display: inline;
}

.member-profile-section-head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.1rem;
}

.member-profile-section-head .eyebrow {
    margin-bottom: 0;
}

.member-profile-section-head > span {
    border-bottom: 1px solid rgba(185, 155, 98, 0.42);
    color: var(--sh-taupe);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    padding-bottom: 0.16rem;
    text-transform: uppercase;
}

.member-profile-soft-section,
.member-profile-chemistry-section {
    background: rgba(185, 155, 98, 0.08);
    border: 1px solid rgba(168, 154, 138, 0.22);
    padding: 1.5rem;
}

.member-profile-chemistry-section {
    background: rgba(17, 26, 45, 0.04);
    border-color: rgba(168, 154, 138, 0.22);
}

.member-profile-chemistry-section h2,
.member-profile-chemistry-section p.eyebrow {
    color: var(--sh-navy);
}

.member-profile-chemistry-section .profile-display-chip:not(.shared) {
    background: rgba(255, 250, 242, 0.74);
    border-color: rgba(168, 154, 138, 0.32);
    color: var(--sh-navy-soft);
}

.member-profile-chemistry-section .member-profile-section-head > span {
    border-color: rgba(185, 155, 98, 0.42);
    color: var(--sh-taupe);
}

.member-profile-chemistry-section .profile-display-chip.shared {
    background: var(--sh-navy);
    border-color: rgba(185, 155, 98, 0.48);
    color: var(--sh-paper);
}

.member-profile-inline-section {
    align-items: start;
}

.member-profile-detail-list {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.member-profile-tags,
.profile-display-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-display-chip {
    background: rgba(255, 250, 242, 0.74);
    border: 1px solid rgba(168, 154, 138, 0.32);
    color: var(--sh-navy-soft);
    cursor: default;
    display: inline-flex;
    font-size: 0.86rem;
    line-height: 1.2;
    padding: 0.44rem 0.72rem;
}

.profile-display-chip.shared {
    background: var(--sh-navy);
    border-color: rgba(185, 155, 98, 0.48);
    color: var(--sh-paper);
}

    .member-profile-detail-list div {
        border-top: 1px solid var(--sh-line);
        padding-top: 0.7rem;
    }

    .member-profile-detail-list dt {
        color: var(--sh-taupe);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin-bottom: 0.25rem;
        text-transform: uppercase;
    }

    .member-profile-detail-list dd {
        color: var(--sh-navy);
        margin: 0;
    }

.member-profile-gallery {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.member-profile-gallery figure {
    margin: 0;
}

    .member-profile-gallery img {
        aspect-ratio: 4 / 5;
        display: block;
        object-fit: cover;
        object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
        width: 100%;
    }

.member-profile-gallery figcaption {
    color: rgba(13, 27, 42, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-top: 0.45rem;
    text-transform: uppercase;
}

    .member-profile-gallery img.is-blurred {
        filter: blur(10px);
    }

.member-profile-access-panel {
    background: rgba(247, 244, 238, 0.68);
    border-color: rgba(200, 168, 112, 0.28);
}

.member-profile-access-panel form {
    margin-top: 1rem;
}

.empty-state {
    padding: 2rem;
}

    .empty-state h2 {
        font-size: 1.55rem;
    }

.message-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 520px;
}

.thread-list {
    border-width: 0 1px 0 0;
    display: flex;
    flex-direction: column;
}

.thread-list-header {
    align-items: baseline;
    border-bottom: 1px solid var(--sh-line);
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
}

    .thread-list-header span {
        color: var(--sh-taupe);
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .thread-list-header strong {
        font-family: var(--sh-serif);
        font-size: 1.35rem;
    }

.thread-empty,
.conversation-empty {
    padding: 2rem;
}

.conversation-panel {
    border-width: 0;
    display: grid;
    place-items: center;
}

.conversation-empty {
    max-width: 520px;
    text-align: center;
}

    .conversation-empty h2 {
        font-size: 2rem;
    }

.nav-signal-link {
    align-items: center;
    display: inline-flex;
    gap: 0.4rem;
}

.nav-signal-badge,
.signals-thread-unread {
    align-items: center;
    background: var(--sh-navy);
    color: var(--sh-paper);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 1.35rem;
    min-width: 1.35rem;
    padding: 0.25rem 0.4rem;
}

.signals-page-header h1 {
    max-width: 780px;
}

.signals-status {
    background: rgba(185, 155, 98, 0.1);
    border: 1px solid rgba(168, 154, 138, 0.26);
    color: var(--sh-navy-soft);
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.signals-shell {
    background: rgba(247, 244, 238, 0.58);
    border: 1px solid rgba(13, 27, 42, 0.12);
    box-shadow: none;
    grid-template-columns: 280px minmax(0, 1fr);
    height: clamp(560px, calc(100vh - 245px), 760px);
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.signals-thread-list {
    background: rgba(247, 244, 238, 0.82);
    border-right: 1px solid rgba(13, 27, 42, 0.12);
    min-height: 0;
    overflow: hidden;
}

.signals-thread-list .thread-list-header {
    align-items: center;
    border-bottom: 1px solid rgba(13, 27, 42, 0.1);
    justify-content: space-between;
    padding: 1.15rem 1rem;
}

.signals-thread-list .thread-list-header span {
    color: rgba(13, 27, 42, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signals-thread-list .thread-list-header strong {
    align-items: center;
    background: rgba(13, 27, 42, 0.08);
    color: var(--sh-navy);
    display: inline-flex;
    font-family: var(--sh-sans);
    font-size: 0.72rem;
    height: 1.35rem;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0 0.35rem;
}

.signals-thread-items {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.signals-thread-item {
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    color: var(--sh-navy);
    display: block;
    padding: 1rem;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.signals-thread-item:hover,
.signals-thread-item:focus {
    background: rgba(200, 168, 112, 0.1);
    color: var(--sh-navy);
}

.signals-thread-item.active {
    background: rgba(200, 168, 112, 0.16);
    border-left: 3px solid #c8a870;
    color: var(--sh-navy);
    padding-left: calc(1rem - 3px);
}

.signals-thread-main {
    display: block;
}

.signals-thread-main strong,
.signals-thread-main small,
.signals-thread-preview {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.signals-thread-main strong {
    font-family: var(--sh-serif);
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.signals-thread-main small {
    color: rgba(13, 27, 42, 0.55);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signals-thread-preview {
    color: rgba(13, 27, 42, 0.62);
    font-size: 0.8rem;
    line-height: 1.35;
    margin-top: 0.45rem;
}

.signals-conversation-panel {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.92) 0%, rgba(255, 252, 247, 0.96) 100%);
    display: block;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.signals-conversation {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.signals-conversation-header {
    align-items: flex-start;
    border-bottom: 1px solid rgba(200, 168, 112, 0.32);
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    padding: 1.25rem 2rem 1rem;
}

.signals-conversation-header span {
    color: rgba(13, 27, 42, 0.48);
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.signals-conversation-header h2 {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
}

.signals-conversation-context {
    color: rgba(13, 27, 42, 0.46);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0.25rem 0 0;
    text-transform: uppercase;
}

.signals-conversation-actions {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 0.6rem;
    justify-content: end;
}

.signals-conversation-actions form {
    margin: 0;
}

.signals-conversation-actions .btn {
    border-radius: 999px;
    font-size: 0.72rem;
    padding: 0.42rem 0.85rem;
}

.signals-other-unread {
    background: rgba(200, 168, 112, 0.1);
    border: 1px solid rgba(200, 168, 112, 0.35);
    color: rgba(13, 27, 42, 0.72);
    font-size: 0.85rem;
    margin: 1rem 2rem 0;
    padding: 0.7rem 0.9rem;
}

.signals-message-list {
    align-self: stretch;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    scroll-behavior: smooth;
    width: 100%;
}

.signals-message {
    display: flex;
    min-width: 0;
    width: 100%;
}

.signals-time-marker {
    align-self: center;
    color: rgba(13, 27, 42, 0.5);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0.55rem 0 0.25rem;
    text-transform: uppercase;
}

.signals-message.mine {
    justify-content: flex-end;
}

.signals-message.theirs {
    justify-content: flex-start;
}

.signals-message-bubble {
    border-radius: 1.15rem;
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.045);
    max-width: min(72%, 440px);
    padding: 0.72rem 0.9rem 0.62rem;
}

.signals-message.mine .signals-message-bubble {
    background: var(--sh-navy);
    border-bottom-right-radius: 0.35rem;
    color: var(--sh-paper);
}

.signals-message.theirs .signals-message-bubble {
    background: #fffdf8;
    border: 1px solid rgba(13, 27, 42, 0.11);
    border-bottom-left-radius: 0.35rem;
    color: var(--sh-navy);
}

.signals-message-bubble p {
    color: inherit;
    font-size: 0.94rem;
    line-height: 1.45;
    margin: 0;
    white-space: pre-wrap;
}

.signals-message.mine + .signals-message.mine,
.signals-message.theirs + .signals-message.theirs {
    margin-top: -0.35rem;
}

.signals-composer,
.signals-composer-closed {
    border-top: 1px solid rgba(200, 168, 112, 0.3);
    padding: 1rem 2rem;
}

.signals-composer {
    align-items: flex-end;
    background: rgba(247, 244, 238, 0.86);
    display: flex;
    gap: 0.75rem;
}

.signals-composer textarea,
.signals-start-panel textarea {
    background: #fffdf8;
    border-color: rgba(13, 27, 42, 0.16);
    border-radius: 0.75rem;
    color: var(--sh-navy);
    font-size: 0.92rem;
    line-height: 1.4;
    resize: vertical;
}

.signals-composer textarea {
    flex: 1;
    max-height: 140px;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
}

.signals-composer textarea:focus,
.signals-start-panel textarea:focus {
    border-color: rgba(200, 168, 112, 0.85);
    box-shadow: 0 0 0 3px rgba(200, 168, 112, 0.16);
}

.signals-composer button {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-paper);
    min-height: 46px;
    padding-inline: 1.15rem;
}

.signals-composer button:hover,
.signals-composer button:focus {
    background: #15283d;
    border-color: #15283d;
}

.signals-composer-closed p {
    margin: 0;
}

.signals-start-panel {
    background: var(--sh-paper);
    border: 1px solid var(--sh-line);
    box-shadow: 0 18px 48px rgba(13, 27, 42, 0.06);
    margin-top: 1.5rem;
    padding: 2rem;
}

.signals-start-panel h1 {
    font-size: clamp(2.35rem, 4vw, 3.8rem);
    margin-bottom: 0.6rem;
}

.signals-start-tagline {
    color: var(--sh-navy-soft);
    font-family: var(--sh-serif);
    font-size: 1.35rem;
    line-height: 1.35;
}

.signals-start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer {
    background: linear-gradient(180deg, #0f1728 0%, #0b1220 100%);
    border-top: 1px solid rgba(185, 155, 98, 0.28);
    color: var(--sh-paper);
    padding: 3.25rem 0;
}

    .site-footer .brand-mark {
        color: var(--sh-paper);
        display: inline-flex;
        font-size: 1.55rem;
        margin-bottom: 0.65rem;
    }

    .site-footer p,
    .site-footer a {
        color: rgba(255, 250, 242, 0.76);
    }

    .site-footer p {
        margin-bottom: 0;
    }

.footer-links {
    align-items: end;
    display: flex;
    gap: 1.5rem;
    justify-content: end;
}

    .footer-links a {
        border-bottom: 1px solid rgba(185, 155, 98, 0.36);
        padding-bottom: 0.2rem;
        text-decoration: none;
    }

        .footer-links a:hover,
        .footer-links a:focus {
            color: var(--sh-paper);
            border-color: var(--sh-paper);
        }

@media (max-width: 1199.98px) {
    .hero-brand-watermark {
        display: none;
    }

    .hero-content {
        margin-left: clamp(1.5rem, 14vw, 9rem);
        max-width: 680px;
    }
}

@media (max-width: 991.98px) {
    .profile-grid,
    .split-copy,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-header .navbar {
        min-height: 0;
        padding: 0;
    }

    .site-header .container {
        display: block;
        position: relative;
    }

    .mobile-nav-row {
        min-height: 64px;
        width: 100%;
    }

    .mobile-nav-row .navbar-brand {
        margin-right: 0;
    }

    .navbar-collapse {
        background: rgba(248, 243, 234, 0.98);
        border-top: 1px solid var(--sh-line);
        box-shadow: 0 24px 54px rgba(13, 27, 42, 0.14);
        left: 0;
        padding: 1rem 0 1.25rem;
        position: absolute;
        right: 0;
        top: 64px;
        width: 100%;
        z-index: 30;
    }

    .profile-page-heading,
    .profile-dossier-layout {
        grid-template-columns: 1fr;
    }

    .profile-preview-card {
        position: relative;
        top: auto;
    }

    .profile-compact-grid,
    .connection-area-grid,
    .travel-date-row,
    .profile-writing-grid {
        grid-template-columns: 1fr;
    }

    .admin-page-heading,
    .admin-option-row,
    .admin-option-add,
    .admin-option-list-head {
        grid-template-columns: 1fr;
    }

    .admin-verification-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-search,
    .admin-filter-actions {
        grid-column: 1 / -1;
    }

    .admin-verification-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-verification-signals,
    .admin-verification-discovery,
    .admin-verification-review {
        grid-column: 1 / -1;
    }

    .admin-option-list-head {
        display: none;
    }

    .admin-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-summary-strip div {
        border-bottom: 1px solid rgba(255, 250, 242, 0.12);
    }

    .admin-summary-strip div:nth-child(2n) {
        border-right: 0;
    }

    .admin-page-actions,
    .admin-option-actions {
        justify-content: start;
    }

    .admin-sort-input {
        max-width: none;
    }

    .profile-compact-grid-wide {
        grid-column: auto;
    }

    .profile-page,
    .member-page,
    .page-intro {
        padding: 4.5rem 0;
    }

    .trust-band,
    .content-band,
    .privacy-preview,
    .final-cta {
        padding: 4.5rem 2rem;
    }

    .identity-page main {
        padding: 3.5rem 1rem 4rem;
    }

        .identity-page main > .row {
            grid-template-columns: 1fr;
        }

    .hero-section {
        min-height: auto;
        padding: 5rem 0 4rem;
    }

    .hero-content {
        margin-left: 0;
        min-height: 540px;
        padding-top: 1rem;
    }

    .member-page-header,
    .member-profile-layout,
    .message-shell {
        grid-template-columns: 1fr;
    }

    .profile-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-basic-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-filter-grid {
        grid-template-columns: 1fr;
    }

    .member-profile-portrait {
        position: relative;
        top: auto;
    }

    .member-profile-section-grid {
        grid-template-columns: 1fr;
    }

    .member-profile-about-section,
    .member-profile-split-section,
    .member-profile-inline-section {
        grid-template-columns: 1fr;
    }

    .member-profile-editorial-block:not(:first-child) {
        border-left: 0;
        border-top: 1px solid var(--sh-line);
        padding-left: 0;
        padding-top: 1.25rem;
    }

    .photo-review-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .thread-list {
        border-width: 0 0 1px;
    }

    .signals-shell {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 150px);
        min-height: 560px;
    }

    .signals-thread-list {
        flex: 0 0 auto;
        max-height: 220px;
    }

    .signals-conversation-panel {
        flex: 1 1 auto;
    }

    .signals-conversation {
        min-height: 0;
    }

    .signals-conversation-header,
    .signals-composer {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .signals-conversation-actions {
        justify-content: start;
    }

    .signals-message-bubble {
        max-width: 88%;
    }

    .header-actions {
        align-items: stretch;
        flex-direction: column;
        padding-top: 1rem;
    }

    .hero-proof {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        align-items: start;
        flex-direction: column;
        justify-content: start;
    }
}

@media (max-width: 575.98px) {
    .admin-summary-strip {
        grid-template-columns: 1fr;
    }

    .admin-summary-strip div {
        border-right: 0;
    }

    .gallery-photo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo-grid .photo-review-card {
        max-width: none;
    }

    .profile-card-grid {
        grid-template-columns: 1fr;
    }

    .discovery-filter-heading,
    .discovery-results-header {
        align-items: stretch;
        flex-direction: column;
    }

    .discovery-basic-filters {
        grid-template-columns: 1fr;
    }

    .discovery-check-filter {
        align-self: stretch;
    }

    .admin-verification-filters,
    .admin-verification-card,
    .admin-verification-signals {
        grid-template-columns: 1fr;
    }

    .admin-filter-search,
    .admin-filter-actions {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .member-profile-page {
        padding: 3.5rem 0 4.5rem;
    }

    .member-profile-layout {
        gap: 1.25rem;
    }

    .member-profile-portrait,
    .member-profile-section {
        padding: 1.25rem;
    }

    .member-profile-photo {
        aspect-ratio: 5 / 6;
    }

    .member-profile-identity h1 {
        font-size: 2rem;
    }

    .member-profile-detail-list {
        grid-template-columns: 1fr;
    }

    .member-profile-snapshot {
        grid-template-columns: 1fr;
    }

    .member-profile-snapshot div,
    .member-profile-snapshot div:nth-child(-n + 3),
    .member-profile-snapshot div:nth-child(3n) {
        border-right: 0;
        border-top: 1px solid var(--sh-line);
    }

    .member-profile-snapshot div:first-child {
        border-top: 0;
    }

    .member-profile-participants {
        grid-template-columns: 1fr;
    }

    .member-profile-preview-note {
        align-items: start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .member-profile-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-page-heading {
        margin-bottom: 1.25rem;
    }

    .profile-readiness-panel,
    .profile-preview-card,
    .profile-editor-card,
    .profile-status-card {
        padding: 1.25rem;
    }

    .profile-photo-shell {
        height: 108px;
        width: 108px;
    }

    .profile-preview-card h2 {
        font-size: 1.65rem;
    }

    .profile-editor-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .profile-editor-actions .btn {
            width: 100%;
        }

    .verification-flow-panel {
        grid-template-columns: 1fr;
    }

    .verification-flow-action {
        align-items: stretch;
        justify-content: stretch;
        min-width: 0;
    }

        .verification-flow-action .btn {
            width: 100%;
        }

    .trust-band {
        background: #0d1b2a;
        color: #f7f4ee;
        padding: 3.5rem 1.25rem;
    }

        .trust-band .row {
            gap: 1.75rem;
        }

    .privacy-preview {
        background: #e7d6cc;
        padding: 4rem 1.25rem;
    }
}

/* =========================================
   Site-wide visual refinement foundation
   ========================================= */

body,
body.authenticated-app {
    background:
        radial-gradient(circle at 88% 12%, rgba(200, 168, 112, 0.13), transparent 28rem),
        radial-gradient(circle at 12% 78%, rgba(27, 54, 93, 0.07), transparent 32rem),
        var(--sh-ivory);
}

.app-shell {
    isolation: isolate;
    min-height: 56vh;
    position: relative;
}

.authenticated-app .app-shell::before {
    background-image:
        linear-gradient(rgba(13, 27, 42, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 27, 42, 0.015) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    inset: 0;
    opacity: 0.55;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

.site-header {
    backdrop-filter: blur(14px);
    background: rgba(247, 244, 238, 0.94);
    border-bottom: 1px solid rgba(200, 168, 112, 0.35);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.04);
    z-index: 1000;
}

.site-header .navbar {
    min-height: 64px;
    padding: 0;
}

.site-header__inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 64px;
}

.site-header .mobile-nav-row {
    flex: 0 0 auto;
}

.site-header .navbar-collapse {
    flex: 1 1 auto;
}

.site-brand {
    align-items: center;
    color: var(--sh-navy);
    display: inline-flex;
    gap: 0.65rem;
    text-decoration: none;
}

.site-brand:hover,
.site-brand:focus {
    color: var(--sh-navy);
}

.site-brand__mark {
    align-items: center;
    border: 1px solid rgba(200, 168, 112, 0.65);
    display: inline-grid;
    height: 30px;
    justify-content: center;
    padding: 0.22rem;
    width: 30px;
}

.site-brand__mark img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.site-brand__text {
    font-family: var(--sh-serif);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
}

.nav-toggle {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(13, 27, 42, 0.18);
    border-radius: 6px;
    color: var(--sh-navy);
    height: 38px;
    padding: 0;
    width: 42px;
}

.nav-toggle:focus {
    box-shadow: 0 0 0 3px rgba(200, 168, 112, 0.2);
}

.nav-toggle .navbar-toggler-icon {
    background-image:
        linear-gradient(var(--sh-navy), var(--sh-navy)),
        linear-gradient(var(--sh-navy), var(--sh-navy)),
        linear-gradient(var(--sh-navy), var(--sh-navy));
    background-position: center 9px, center center, center calc(100% - 9px);
    background-repeat: no-repeat;
    background-size: 18px 2px;
}

.nav-link,
.btn-link.btn-quiet {
    color: rgba(13, 27, 42, 0.76);
}

.nav-link:hover,
.nav-link:focus,
.btn-link.btn-quiet:hover,
.btn-link.btn-quiet:focus {
    color: var(--sh-navy);
}

.nav-signal-badge {
    background: var(--sh-navy);
    color: var(--sh-paper);
}

.page-container {
    margin-inline: auto;
    width: min(100% - 2rem, 1080px);
}

.page-container--wide {
    margin-inline: auto;
    width: min(100% - 2rem, 1280px);
}

.section {
    margin-block: clamp(2rem, 5vw, 4rem);
}

.page-hero,
.member-page-header.page-hero {
    align-items: end;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.page-hero__main h1,
.page-hero h1 {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
    max-width: 12ch;
}

.page-hero__main p,
.page-hero > p {
    color: rgba(13, 27, 42, 0.72);
    line-height: 1.65;
    margin: 1.15rem 0 0;
    max-width: 46rem;
}

.eyebrow {
    color: var(--sh-champagne);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.page-hero__note {
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(200, 168, 112, 0.32);
    border-left: 4px solid var(--sh-champagne);
    box-shadow: 0 18px 45px rgba(13, 27, 42, 0.05);
    padding: 1.25rem 1.4rem;
}

.page-hero__note strong,
.page-hero__note span {
    color: var(--sh-navy);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.page-hero__note p {
    color: rgba(13, 27, 42, 0.66);
    line-height: 1.55;
    margin: 0;
}

.panel,
.profile-card,
.empty-state,
.message-shell,
.profile-editor-card,
.verification-flow-panel,
.private-verification-card,
.admin-verification-card,
.signals-start-panel {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(200, 168, 112, 0.26);
    box-shadow: 0 18px 45px rgba(13, 27, 42, 0.055);
}

.panel--soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(247, 244, 238, 0.78));
}

.panel--navy {
    background: linear-gradient(180deg, var(--sh-navy), #111f31);
    border-color: rgba(200, 168, 112, 0.25);
    color: var(--sh-ivory);
}

.panel--accent {
    border-left: 4px solid var(--sh-champagne);
}

.btn {
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.75rem 1.15rem;
}

.btn-primary {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-ivory);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--sh-navy-soft);
    border-color: var(--sh-navy-soft);
    color: var(--sh-ivory);
}

.btn-outline-primary,
.btn-secondary {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(200, 168, 112, 0.55);
    color: var(--sh-navy);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-ivory);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(13, 27, 42, 0.12);
    color: var(--sh-navy);
}

.form-control,
.form-select,
textarea.form-control,
select.form-control {
    background-color: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(200, 168, 112, 0.35);
    border-radius: 6px;
    color: var(--sh-navy);
    min-height: 42px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
select.form-control:focus {
    border-color: rgba(200, 168, 112, 0.85);
    box-shadow: 0 0 0 3px rgba(200, 168, 112, 0.16);
}

.form-label {
    color: var(--sh-navy);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-check-input {
    border-color: rgba(200, 168, 112, 0.6);
}

.form-check-input:checked {
    background-color: var(--sh-navy);
    border-color: var(--sh-navy);
}

.form-check-input:focus {
    border-color: rgba(200, 168, 112, 0.85);
    box-shadow: 0 0 0 3px rgba(200, 168, 112, 0.16);
}

.chip,
.chip-label,
.discovery-compatibility-badge,
.profile-match-reasons span {
    align-items: center;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(200, 168, 112, 0.38);
    color: var(--sh-navy);
    display: inline-flex;
    font-size: 0.75rem;
    gap: 0.35rem;
    line-height: 1;
    padding: 0.35rem 0.55rem;
}

.chip-input:checked + .chip-label,
.chip--selected,
.chip--navy {
    background: var(--sh-navy);
    border-color: var(--sh-navy);
    color: var(--sh-ivory);
}

.chip--gold,
.profile-card-status,
.discovery-compatibility-badge:first-child {
    background: rgba(200, 168, 112, 0.16);
    border: 1px solid rgba(200, 168, 112, 0.42);
    border-color: rgba(200, 168, 112, 0.42);
    color: var(--sh-navy);
}

.profile-card-status {
    display: inline-flex;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.48rem;
    width: max-content;
}

.empty-state,
.conversation-empty,
.thread-empty {
    margin-inline: auto;
    max-width: 38rem;
    padding: clamp(3rem, 7vw, 5rem) 1.5rem;
    text-align: center;
}

.empty-state__mark {
    align-items: center;
    background: rgba(247, 244, 238, 0.75);
    border: 1px solid rgba(200, 168, 112, 0.5);
    box-shadow: 0 16px 40px rgba(13, 27, 42, 0.08);
    color: var(--sh-champagne);
    display: grid;
    font-family: var(--sh-serif);
    font-size: 1.2rem;
    height: 4.5rem;
    justify-content: center;
    margin: 0 auto 1.5rem;
    width: 4.5rem;
}

.empty-state h2,
.conversation-empty h2 {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.05;
}

.empty-state p,
.conversation-empty p,
.thread-empty p {
    color: rgba(13, 27, 42, 0.68);
}

.error-shell {
    align-items: center;
    display: flex;
    min-height: clamp(520px, 72vh, 760px);
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.error-panel {
    max-width: 760px;
    text-align: center;
}

.error-panel__mark {
    align-items: center;
    background: linear-gradient(180deg, var(--sh-navy), #111f31);
    border: 1px solid rgba(200, 168, 112, 0.42);
    box-shadow: 0 18px 44px rgba(13, 27, 42, 0.14);
    display: inline-grid;
    height: 4.75rem;
    justify-content: center;
    margin-bottom: 1.4rem;
    padding: 0.85rem;
    width: 4.75rem;
}

.error-panel__mark img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.error-panel h1 {
    color: var(--sh-navy);
    font-size: clamp(2.45rem, 6vw, 4.8rem);
    letter-spacing: 0;
    margin: 0 auto;
    max-width: 12ch;
}

.error-panel .lead-copy {
    margin: 1.1rem auto 0;
}

.error-reference {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(200, 168, 112, 0.3);
    display: grid;
    gap: 0.45rem;
    margin: 1.75rem auto 0;
    max-width: 620px;
    padding: 1rem;
}

.error-reference span {
    color: var(--sh-taupe);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-reference code {
    color: var(--sh-navy);
    overflow-wrap: anywhere;
    white-space: normal;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.profile-match-label {
    display: none;
}

.profile-card {
    overflow: hidden;
}

.profile-card-photo {
    background:
        linear-gradient(145deg, rgba(13, 27, 42, 0.08), rgba(200, 168, 112, 0.12)),
        var(--sh-paper);
}

.discovery-card--private-photo .profile-card-photo {
    aspect-ratio: 16 / 11;
    border: 1px solid rgba(200, 168, 112, 0.32);
    margin: -0.35rem -0.35rem 0;
}

.discovery-card--private-photo .profile-card-photo img {
    opacity: 0.56;
}

.profile-card-photo-placeholder {
    background:
        radial-gradient(circle at 50% 20%, rgba(200, 168, 112, 0.2), transparent 12rem),
        linear-gradient(145deg, #0d1b2a, #15283d);
    font-size: clamp(2.4rem, 7vw, 4.2rem);
}

.profile-card-photo-privacy {
    background: rgba(247, 244, 238, 0.9);
    border-color: rgba(200, 168, 112, 0.44);
    bottom: 0.85rem;
    color: var(--sh-navy);
    letter-spacing: 0.12em;
}

.profile-card-photo-privacy {
    font-size: 0;
}

.profile-card-photo-privacy::after {
    content: "PHOTO PRIVATE";
    font-size: 0.68rem;
}

.discovery-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(247, 244, 238, 0.74));
}

.discovery-card-meta {
    color: rgba(13, 27, 42, 0.66);
}

.discovery-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.signals-shell {
    border-color: rgba(200, 168, 112, 0.3);
    box-shadow: 0 24px 60px rgba(13, 27, 42, 0.08);
}

.signals-thread-list {
    background: linear-gradient(180deg, var(--sh-navy), #111f31);
    border-right: 1px solid rgba(200, 168, 112, 0.28);
    color: var(--sh-ivory);
}

.signals-thread-list .thread-list-header {
    border-bottom-color: rgba(200, 168, 112, 0.24);
}

.signals-thread-list .thread-list-header span,
.signals-thread-main small,
.signals-thread-preview {
    color: rgba(247, 244, 238, 0.62);
}

.signals-thread-list .thread-empty p {
    color: rgba(247, 244, 238, 0.68);
}

.signals-thread-list .thread-empty .eyebrow {
    color: var(--sh-champagne);
}

.signals-thread-list .thread-empty .empty-state__mark {
    background: rgba(247, 244, 238, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    height: 3.75rem;
    width: 3.75rem;
}

.signals-thread-list .thread-list-header strong {
    background: rgba(200, 168, 112, 0.18);
    color: var(--sh-ivory);
}

.signals-thread-item {
    border-bottom-color: rgba(247, 244, 238, 0.08);
    color: var(--sh-ivory);
}

.signals-thread-main strong {
    color: var(--sh-ivory);
}

.signals-thread-item:hover,
.signals-thread-item:focus,
.signals-thread-item.active {
    background: rgba(200, 168, 112, 0.14);
    color: var(--sh-ivory);
}

.signals-thread-item.active {
    border-left-color: var(--sh-champagne);
}

.signals-thread-unread {
    background: var(--sh-champagne);
    color: var(--sh-navy);
}

.signals-conversation-panel {
    background:
        radial-gradient(circle at 94% 8%, rgba(200, 168, 112, 0.12), transparent 20rem),
        linear-gradient(180deg, rgba(247, 244, 238, 0.94) 0%, rgba(255, 253, 248, 0.98) 100%);
    display: block;
    justify-self: stretch;
    place-items: initial;
    width: 100%;
}

.site-footer {
    background: linear-gradient(180deg, var(--sh-navy), #07111e);
    border-top: 1px solid rgba(200, 168, 112, 0.28);
    color: rgba(247, 244, 238, 0.78);
}

.site-footer .site-brand {
    color: var(--sh-ivory);
    margin-bottom: 0.75rem;
}

.site-footer .site-brand__mark {
    border-color: rgba(200, 168, 112, 0.72);
}

.site-footer a:hover,
.site-footer a:focus {
    border-color: var(--sh-champagne);
    color: var(--sh-champagne);
}

@media (max-width: 991.98px) {
    .site-header__inner {
        display: block;
    }

    .site-header .mobile-nav-row {
        min-height: 64px;
        width: 100%;
    }

    .site-header .navbar-collapse {
        background: rgba(247, 244, 238, 0.98);
        border: 1px solid rgba(200, 168, 112, 0.35);
        box-shadow: 0 24px 54px rgba(13, 27, 42, 0.14);
        left: 1rem;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        padding: 0.75rem;
        position: absolute;
        right: 1rem;
        top: 64px;
        width: auto;
        z-index: 1040;
    }

    .site-header .navbar-collapse.show,
    .site-header .navbar-collapse.collapsing {
        display: grid;
        gap: 0.35rem;
    }

    .site-header .navbar-collapse.collapsing {
        height: auto !important;
        overflow: hidden;
    }

    .site-header .navbar-nav {
        display: grid;
        gap: 0.2rem;
        margin: 0 !important;
        width: 100%;
    }

    .site-header .nav-item {
        width: 100%;
    }

    .site-header .nav-link,
    .site-header .header-actions .btn,
    .site-header .header-actions button {
        border-radius: 6px;
        color: var(--sh-navy);
        display: flex;
        justify-content: flex-start;
        min-height: 42px;
        padding: 0.65rem 0.75rem;
        text-align: left;
        width: 100%;
    }

    .site-header .nav-link:hover,
    .site-header .nav-link:focus,
    .site-header .header-actions .btn:hover,
    .site-header .header-actions .btn:focus,
    .site-header .header-actions button:hover,
    .site-header .header-actions button:focus {
        background: rgba(200, 168, 112, 0.12);
        color: var(--sh-navy);
    }

    .site-header .header-actions {
        border-top: 1px solid rgba(200, 168, 112, 0.24);
        display: grid;
        gap: 0.2rem;
        padding-top: 0.45rem;
        width: 100%;
    }

    .site-header .header-actions form {
        margin: 0;
        width: 100%;
    }

    .site-header .nav-signal-link {
        align-items: center;
        justify-content: space-between;
    }

    .site-header .nav-signal-badge {
        margin-left: auto;
    }

    .page-hero,
    .member-page-header.page-hero {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .page-hero__main h1,
    .page-hero h1 {
        font-size: clamp(2.3rem, 12vw, 4rem);
        max-width: 11ch;
    }

    .discovery-advanced-filters:not([open]) .discovery-filter-grid {
        display: none;
    }

    .profile-card-photo,
    .discovery-card--private-photo .profile-card-photo {
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 575.98px) {
    .site-brand__text {
        font-size: 1.18rem;
    }

    .site-brand__mark {
        height: 28px;
        width: 28px;
    }

    .empty-state,
    .conversation-empty,
    .thread-empty {
        padding-inline: 1rem;
    }
}

/* Authenticated app pages should open like tools, not landing pages. */
.authenticated-app .profile-page,
.authenticated-app .member-page,
.authenticated-app .page-intro {
    padding: clamp(2rem, 3.5vw, 3.5rem) 0 clamp(3rem, 5vw, 5rem);
}

.authenticated-app .page-hero,
.authenticated-app .member-page-header.page-hero {
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.authenticated-app .page-hero__main h1,
.authenticated-app .page-hero h1 {
    font-size: clamp(2.15rem, 4vw, 3.85rem);
    line-height: 1;
    max-width: 20ch;
}

.authenticated-app .page-hero__main p,
.authenticated-app .page-hero > p {
    margin-top: 0.8rem;
}

.authenticated-app .page-hero__note {
    padding: 1rem 1.15rem;
}

@media (max-width: 991.98px) {
    .authenticated-app .profile-page,
    .authenticated-app .member-page,
    .authenticated-app .page-intro {
        padding-top: 1.5rem;
    }

    .authenticated-app .page-hero,
    .authenticated-app .member-page-header.page-hero {
        gap: 1rem;
    }

    .authenticated-app .page-hero__main h1,
    .authenticated-app .page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        max-width: 18ch;
    }
}

/* Homepage clarity refresh */
.home-hero {
    min-height: calc(100vh - 64px);
    padding: 5.5rem 0 3rem;
}

.home-hero .hero-image-layer {
    background:
        linear-gradient(90deg, rgba(9, 20, 33, 0.98) 0%, rgba(12, 26, 43, 0.94) 34%, rgba(13, 27, 42, 0.66) 62%, rgba(13, 27, 42, 0.34) 100%),
        linear-gradient(145deg, rgba(200, 168, 112, 0.16), rgba(216, 187, 180, 0.08) 42%, rgba(17, 26, 45, 0.18)),
        var(--sh-hero-image, url("/images/silken-harbor-hero.png"));
    background-color: var(--sh-navy);
    background-position: center;
    background-size: cover;
}

.home-hero .hero-image-layer::after {
    background:
        linear-gradient(180deg, transparent 58%, rgba(9, 20, 33, 0.44) 82%, rgba(9, 20, 33, 0.9) 100%),
        linear-gradient(90deg, rgba(9, 20, 33, 0.32) 0%, rgba(9, 20, 33, 0.2) 52%, transparent 82%),
        radial-gradient(circle at 74% 24%, rgba(255, 250, 242, 0.12), transparent 15rem);
}

.hero-watermark-copy {
    color: rgba(255, 250, 242, 0.36);
    font-family: var(--sh-serif);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.home-hero .hero-brand-watermark {
    color: rgba(255, 250, 242, 0.32);
    max-width: 420px;
    top: clamp(10rem, 26vh, 16rem);
}

.home-hero .hero-brand-watermark span:first-child {
    font-size: clamp(1.95rem, 2.45vw, 3.1rem);
}

.home-hero .hero-brand-rule {
    opacity: 0.58;
}

.home-hero .eyebrow {
    color: rgba(232, 212, 162, 0.9);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.9rem;
}

.home-hero .hero-content h1 {
    font-size: clamp(3.35rem, 4.8vw, 5.25rem);
    line-height: 1.02;
    max-width: 11ch;
}

.home-hero .hero-content {
    max-width: 540px;
    min-height: clamp(420px, 54vh, 560px);
    padding-top: 0;
}

.home-hero .lead-copy {
    color: rgba(255, 250, 242, 0.9);
    font-size: clamp(1.25rem, 1.75vw, 1.6rem);
    line-height: 1.52;
    margin-top: 1.15rem;
    max-width: 620px;
}

.hero-support {
    color: rgba(255, 250, 242, 0.76);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 1.15rem 0 0;
    max-width: 600px;
}

.home-hero .hero-actions {
    margin-top: 2.25rem;
}

.home-hero .btn-primary {
    background: var(--sh-champagne);
    border-color: var(--sh-champagne);
    color: var(--sh-navy);
    font-size: 0.98rem;
    min-height: 3.2rem;
    padding-inline: 1.55rem;
}

.home-hero .btn-primary:hover,
.home-hero .btn-primary:focus {
    background: var(--sh-paper);
    border-color: var(--sh-paper);
    color: var(--sh-navy);
}

.hero-privacy-link {
    color: rgba(255, 250, 242, 0.74);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 0.85rem;
    text-decoration: underline;
    text-decoration-color: rgba(200, 168, 112, 0.58);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.28rem;
}

.hero-privacy-link:hover,
.hero-privacy-link:focus {
    color: var(--sh-paper);
    text-decoration-color: var(--sh-champagne);
}

.section-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 820px;
}

.section-header--compact {
    margin-bottom: clamp(1.6rem, 3.2vw, 2.35rem);
}

.section-header--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header--split {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    max-width: none;
}

.section-eyebrow {
    color: var(--sh-champagne);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.section-header h2 {
    color: var(--sh-navy);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.section-intro {
    color: rgba(13, 27, 42, 0.66);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 1rem 0 0;
    max-width: 720px;
}

.section-header--center .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.section-header--split .section-intro {
    margin-top: 0;
}

.section-body {
    margin-top: 0;
}

.section-body.numbered-steps {
    margin-top: 0;
}

.privacy-promise-band {
    background:
        linear-gradient(180deg, rgba(9, 20, 33, 0.99), rgba(13, 27, 42, 0.98)),
        radial-gradient(circle at 12% 12%, rgba(200, 168, 112, 0.12), transparent 24rem);
    border-top: 1px solid rgba(200, 168, 112, 0.34);
    color: var(--sh-paper);
    padding: clamp(3.1rem, 5vw, 4.4rem) 2rem;
}

.privacy-promise-band .section-header h2,
.audience-section .section-header h2,
.differentiation-section .section-header h2,
.final-cta .section-header h2 {
    color: var(--sh-paper);
}

.privacy-promise-band .section-intro,
.audience-section .section-intro,
.differentiation-section .section-intro,
.final-cta .section-intro {
    color: rgba(247, 244, 238, 0.76);
}

.privacy-promise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.privacy-promise-item {
    border-left: 1px solid rgba(200, 168, 112, 0.28);
    min-height: 100%;
    padding: 0 1.25rem;
}

.privacy-promise-item:first-child {
    border-left: 0;
    padding-left: 0;
}

.privacy-promise-item span {
    color: var(--sh-champagne);
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.privacy-promise-item h3 {
    color: var(--sh-paper);
    font-family: var(--sh-serif);
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 500;
    letter-spacing: 0;
    margin: 0;
}

.privacy-promise-item p {
    color: rgba(247, 244, 238, 0.72);
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0.55rem 0 0;
}

.audience-section {
    background:
        linear-gradient(180deg, rgba(13, 27, 42, 0.98), rgba(17, 31, 49, 0.98)),
        radial-gradient(circle at 92% 18%, rgba(200, 168, 112, 0.18), transparent 26rem);
    border-top-color: rgba(200, 168, 112, 0.34);
    color: var(--sh-paper);
}

.audience-section .section-eyebrow,
.differentiation-section .section-eyebrow {
    color: var(--sh-champagne);
}

.audience-section .section-header h2,
.audience-card h3 {
    color: var(--sh-paper);
}

.audience-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-card,
.privacy-feature {
    border-radius: 6px;
}

.audience-card {
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.09), rgba(255, 250, 242, 0.055)),
        rgba(216, 187, 180, 0.035);
    border: 1px solid rgba(200, 168, 112, 0.18);
    padding: clamp(1.65rem, 2.8vw, 2.2rem);
    position: relative;
}

.audience-card::before {
    background: linear-gradient(90deg, rgba(200, 168, 112, 0.72), rgba(200, 168, 112, 0.08));
    content: "";
    height: 1px;
    left: clamp(1.65rem, 2.8vw, 2.2rem);
    position: absolute;
    right: clamp(1.65rem, 2.8vw, 2.2rem);
    top: 1.15rem;
}

.audience-card h3,
.privacy-feature h3 {
    font-family: var(--sh-serif);
    font-size: 1.58rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.audience-card p {
    color: rgba(247, 244, 238, 0.72);
    margin: 0;
    max-width: none;
}

.privacy-foundation {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(231, 214, 204, 0.62)),
        var(--sh-ivory);
}

.privacy-foundation .section-header h2 {
    max-width: 700px;
}

.privacy-foundation .section-intro {
    color: rgba(13, 27, 42, 0.68);
}

.privacy-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.privacy-feature {
    background: rgba(255, 253, 248, 0.72);
    border: 1px solid rgba(168, 154, 138, 0.26);
    box-shadow: 0 16px 38px rgba(13, 27, 42, 0.045);
    padding: 1.2rem;
}

.privacy-feature h3 {
    color: var(--sh-navy);
    font-size: 1.22rem;
}

.privacy-feature p {
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0;
}

.differentiation-section {
    background:
        linear-gradient(90deg, rgba(13, 27, 42, 0.98), rgba(27, 54, 93, 0.9)),
        radial-gradient(circle at 80% 20%, rgba(216, 187, 180, 0.12), transparent 22rem);
    color: var(--sh-paper);
}

.differentiation-section .section-header h2,
.differentiation-section .section-intro {
    color: var(--sh-paper);
}

.feature-list {
    display: grid;
    gap: 0.85rem 1.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    align-items: center;
    color: rgba(247, 244, 238, 0.86);
    display: flex;
    font-size: 0.96rem;
    gap: 0.7rem;
}

.feature-list li::before {
    background: var(--sh-champagne);
    border-radius: 50%;
    content: "";
    flex: 0 0 auto;
    height: 0.34rem;
    width: 0.34rem;
}

.how-section {
    background:
        linear-gradient(180deg, rgba(247, 244, 238, 0.88), rgba(255, 253, 248, 0.92)),
        var(--sh-ivory);
}

.how-section .numbered-steps p {
    margin: 0;
}

.how-section .numbered-steps strong {
    color: var(--sh-navy);
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.28rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.final-cta .final-cta-note {
    color: rgba(255, 250, 242, 0.62);
    font-size: 0.9rem;
    margin: 1rem 0 0;
}

@media (max-width: 1199.98px) {
    .privacy-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 6.25rem 0 4.25rem;
    }

    .home-hero .hero-image-layer {
        background:
            linear-gradient(90deg, rgba(9, 20, 33, 0.92) 0%, rgba(13, 27, 42, 0.82) 62%, rgba(13, 27, 42, 0.5) 100%),
            linear-gradient(180deg, rgba(9, 20, 33, 0.18), rgba(9, 20, 33, 0.26)),
            var(--sh-hero-image, url("/images/silken-harbor-hero.png"));
        background-position: center;
        background-size: cover;
    }

    .home-hero .hero-content {
        min-height: auto;
        max-width: 660px;
    }

    .home-hero .hero-content h1 {
        font-size: clamp(3rem, 9vw, 4.6rem);
        max-width: 12ch;
    }

    .home-hero .lead-copy {
        font-size: clamp(1.14rem, 4vw, 1.38rem);
    }

    .home-hero .hero-actions {
        margin-top: 2.45rem;
    }

    .section-header--split {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .section-header--split .section-intro {
        margin-top: 0.35rem;
    }

    .audience-grid,
    .privacy-feature-grid {
        grid-template-columns: 1fr;
    }

    .privacy-promise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .privacy-promise-item {
        border-left: 0;
        border-top: 1px solid rgba(200, 168, 112, 0.24);
        padding: 1.25rem 0 0;
    }

    .privacy-promise-item:nth-child(-n + 2) {
        border-top: 0;
        padding-top: 0;
    }

    .privacy-promise-item:nth-child(odd) {
        padding-right: 1rem;
    }

    .privacy-promise-item:nth-child(even) {
        border-left: 1px solid rgba(200, 168, 112, 0.24);
        padding-left: 1rem;
    }

    .audience-section {
        padding: 4rem 1.25rem;
    }

    .audience-section .section-header {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .home-hero .hero-actions .btn {
        width: 100%;
    }

    .content-band,
    .privacy-preview,
    .final-cta {
        padding-inline: 1.25rem;
    }

    .privacy-promise-band {
        padding-inline: 1.25rem;
    }

    .privacy-promise-band .section-intro {
        font-size: 1.2rem;
    }

    .privacy-promise-grid {
        grid-template-columns: 1fr;
    }

    .privacy-promise-item,
    .privacy-promise-item:nth-child(-n + 2),
    .privacy-promise-item:nth-child(even),
    .privacy-promise-item:nth-child(odd) {
        border-left: 0;
        border-top: 1px solid rgba(200, 168, 112, 0.24);
        padding: 1.15rem 0 0;
    }

    .privacy-promise-item:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .hero-privacy-link {
        margin-top: 1.05rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* Logged-in member dashboard */
.dashboard-page {
    background:
        radial-gradient(circle at 82% 8%, rgba(200, 168, 112, 0.12), transparent 24rem),
        linear-gradient(180deg, rgba(247, 244, 238, 0.9), rgba(255, 253, 248, 0.94));
}

.dashboard-shell {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.dashboard-hero {
    align-items: end;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
}

.dashboard-hero h1 {
    color: var(--sh-navy);
    font-size: clamp(2.7rem, 5vw, 5rem);
    letter-spacing: 0;
    margin: 0;
    max-width: 12ch;
}

.dashboard-hero p:not(.eyebrow) {
    margin: 1rem 0 0;
    max-width: 46rem;
}

.dashboard-status-grid {
    background: linear-gradient(180deg, var(--sh-navy), #111f31);
    border: 1px solid rgba(200, 168, 112, 0.28);
    box-shadow: 0 20px 48px rgba(13, 27, 42, 0.12);
    color: var(--sh-ivory);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-status-grid div {
    border-bottom: 1px solid rgba(247, 244, 238, 0.09);
    border-right: 1px solid rgba(247, 244, 238, 0.09);
    min-height: 86px;
    padding: 1rem;
}

.dashboard-status-grid div:nth-child(2n) {
    border-right: 0;
}

.dashboard-status-grid div:last-child {
    grid-column: 1 / -1;
}

.dashboard-status-grid span,
.dashboard-metric-row span,
.dashboard-privacy-list dt {
    color: var(--sh-champagne);
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.dashboard-status-grid strong {
    color: var(--sh-ivory);
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.15;
}

.dashboard-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.dashboard-main,
.dashboard-sidebar {
    display: grid;
    gap: 1.25rem;
}

.dashboard-panel {
    background: rgba(255, 253, 248, 0.74);
    border: 1px solid rgba(200, 168, 112, 0.28);
    border-radius: 6px;
    box-shadow: 0 16px 42px rgba(13, 27, 42, 0.055);
    padding: clamp(1.2rem, 2.5vw, 1.75rem);
}

.dashboard-panel--priority {
    border-color: rgba(200, 168, 112, 0.45);
}

.dashboard-panel--compact {
    padding: 1.25rem;
}

.dashboard-panel-heading {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.dashboard-panel-heading h2 {
    color: var(--sh-navy);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    margin: 0;
}

.dashboard-panel-heading .eyebrow {
    margin-bottom: 0.35rem;
}

.dashboard-metric-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.dashboard-metric-row div {
    background: rgba(13, 27, 42, 0.035);
    border: 1px solid rgba(168, 154, 138, 0.2);
    border-radius: 6px;
    padding: 0.85rem;
}

.dashboard-metric-row strong {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: 1.75rem;
    font-weight: 500;
}

.dashboard-empty {
    background: rgba(247, 244, 238, 0.62);
    border: 1px solid rgba(168, 154, 138, 0.2);
    border-radius: 6px;
    padding: 1rem;
}

.dashboard-empty strong {
    color: var(--sh-navy);
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.18rem;
    font-weight: 500;
}

.dashboard-empty p {
    margin: 0.35rem 0 0;
}

.dashboard-list {
    display: grid;
    gap: 0.65rem;
}

.dashboard-list-item,
.dashboard-nearby-list a {
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(168, 154, 138, 0.22);
    border-radius: 6px;
    color: var(--sh-navy);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 64px;
    padding: 0.85rem;
    text-decoration: none;
}

.dashboard-list-item:hover,
.dashboard-list-item:focus,
.dashboard-nearby-list a:hover,
.dashboard-nearby-list a:focus {
    border-color: rgba(200, 168, 112, 0.58);
    color: var(--sh-navy);
}

.dashboard-list-item strong,
.dashboard-nearby-list strong {
    display: block;
    font-family: var(--sh-serif);
    font-size: 1.12rem;
    font-weight: 500;
}

.dashboard-list-item small,
.dashboard-nearby-list small,
.dashboard-list-item em,
.dashboard-nearby-list em {
    color: rgba(13, 27, 42, 0.62);
    font-size: 0.8rem;
    font-style: normal;
}

.dashboard-list-item em,
.dashboard-nearby-list em {
    flex: 0 0 auto;
    text-align: right;
}

.dashboard-member-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-member-card {
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(168, 154, 138, 0.22);
    border-radius: 6px;
    display: grid;
    gap: 0.85rem;
    padding: 0.85rem;
}

.dashboard-member-photo {
    align-items: center;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 50% 20%, rgba(200, 168, 112, 0.2), transparent 10rem),
        linear-gradient(145deg, #0d1b2a, #15283d);
    border: 1px solid rgba(200, 168, 112, 0.24);
    border-radius: 6px;
    color: rgba(255, 250, 242, 0.78);
    display: grid;
    font-family: var(--sh-serif);
    font-size: 2.2rem;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.dashboard-member-photo img {
    height: 100%;
    object-fit: cover;
    object-position: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
    transform: scale(var(--profile-crop-zoom, 1));
    transform-origin: var(--profile-crop-x, 50%) var(--profile-crop-y, 50%);
    width: 100%;
}

.dashboard-member-photo img.is-blurred {
    filter: blur(10px);
    transform: scale(calc(var(--profile-crop-zoom, 1) + 0.04));
}

.dashboard-member-photo span:not(:only-child) {
    background: rgba(247, 244, 238, 0.9);
    border: 1px solid rgba(200, 168, 112, 0.44);
    bottom: 0.7rem;
    color: var(--sh-navy);
    font-family: var(--sh-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.34rem 0.5rem;
    position: absolute;
    right: 0.7rem;
    text-transform: uppercase;
}

.dashboard-card-title-row {
    align-items: start;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
}

.dashboard-card-title-row h3 {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0;
}

.dashboard-card-title-row span,
.dashboard-shared {
    background: rgba(200, 168, 112, 0.16);
    border: 1px solid rgba(200, 168, 112, 0.34);
    color: var(--sh-navy);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    padding: 0.32rem 0.46rem;
    text-transform: uppercase;
}

.dashboard-member-meta,
.dashboard-shared,
.dashboard-member-copy p {
    margin: 0.35rem 0 0;
}

.dashboard-member-meta {
    color: rgba(13, 27, 42, 0.64);
    font-size: 0.86rem;
}

.dashboard-shared {
    display: inline-flex;
}

.dashboard-nearby-list {
    display: grid;
    gap: 0.65rem;
}

.dashboard-privacy-list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.dashboard-privacy-list div {
    border-bottom: 1px solid rgba(168, 154, 138, 0.18);
    padding-bottom: 0.75rem;
}

.dashboard-privacy-list dd {
    color: var(--sh-navy);
    font-family: var(--sh-serif);
    font-size: 1.18rem;
    margin: 0;
}

.dashboard-profile-prompt {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 92px minmax(0, 1fr);
}

.dashboard-completion-ring {
    align-items: center;
    aspect-ratio: 1;
    background:
        linear-gradient(var(--sh-paper), var(--sh-paper)) padding-box,
        conic-gradient(var(--sh-champagne) var(--completion, 70%), rgba(168, 154, 138, 0.22) 0) border-box;
    border: 7px solid transparent;
    border-radius: 50%;
    color: var(--sh-navy);
    display: grid;
    font-family: var(--sh-serif);
    font-size: 1.35rem;
    justify-content: center;
}

.dashboard-profile-prompt h2 {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
}

.dashboard-profile-prompt p:not(.eyebrow) {
    margin-bottom: 0.8rem;
}

@media (max-width: 991.98px) {
    .dashboard-hero,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        display: flex;
        flex-direction: column;
    }

    .dashboard-main,
    .dashboard-sidebar {
        display: contents;
    }

    .dashboard-panel--priority {
        order: 1;
    }

    .dashboard-conversations {
        order: 2;
    }

    .dashboard-recommended {
        order: 3;
    }

    .dashboard-main > .dashboard-panel:not(.dashboard-panel--priority):not(.dashboard-recommended) {
        order: 4;
    }

    .dashboard-visitors {
        order: 5;
    }

    .dashboard-privacy {
        order: 6;
    }

    .dashboard-profile-prompt {
        order: 7;
    }

    .dashboard-member-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .dashboard-status-grid,
    .dashboard-metric-row {
        grid-template-columns: 1fr;
    }

    .dashboard-status-grid div,
    .dashboard-status-grid div:nth-child(2n),
    .dashboard-status-grid div:last-child {
        border-right: 0;
        grid-column: auto;
    }

    .dashboard-panel-heading,
    .dashboard-list-item,
    .dashboard-nearby-list a {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-list-item em,
    .dashboard-nearby-list em {
        text-align: left;
    }

    .dashboard-profile-prompt {
        grid-template-columns: 1fr;
    }

    .dashboard-completion-ring {
        width: 92px;
    }
}
