/*
   MC-0.6-S00 Nocturne Home composition.

   This page-owned geometry consumes the resolved hosted semantic variables. It does not add a
   second title/theme system and does not touch the accepted Talk composition.
*/

.private-title-shell:not(.is-talk-shell) {
    min-height: 100dvh;
    background: var(--chat-bg, #0F0E11);
    color: var(--chat-assistant-text, #F1EBE5);
}

.private-title-shell:not(.is-talk-shell) .private-shell-content {
    min-height: calc(100dvh - 4.5rem);
}

.private-title-shell .private-home {
    display: grid;
    gap: clamp(3rem, 8vw, 6.5rem);
    width: min(76rem, 100%);
    min-height: calc(100dvh - 4.5rem);
    margin: 0 auto;
    background: var(--chat-bg, #0F0E11);
    padding: clamp(2rem, 8vh, 5.5rem) 0 clamp(3rem, 9vh, 6.5rem);
    color: var(--chat-assistant-text, #F1EBE5);
}

.private-title-shell .private-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
    align-items: end;
    gap: clamp(2rem, 7vw, 7rem);
    padding-bottom: clamp(2.25rem, 6vw, 4.5rem);
    border-bottom: 1px solid color-mix(in srgb, var(--chat-input-border, #3D3338) 86%, transparent);
}

.private-title-shell .private-home-hero-copy {
    max-width: 48rem;
}

.private-title-shell .private-home-section-heading h2,
.private-title-shell .private-home-section-meta {
    color: var(--chat-assistant-text, #F1EBE5);
}

.private-title-shell:not(.is-talk-shell) .private-home-eyebrow,
.private-title-shell:not(.is-talk-shell) .private-home-return-label,
.private-title-shell:not(.is-talk-shell) .private-home-fixture-category {
    color: #D995A5;
}

.private-title-shell:not(.is-talk-shell) .private-attention-detail-status,
.private-title-shell:not(.is-talk-shell) .private-attention-detail-meta,
.private-title-shell:not(.is-talk-shell) .private-attention-evidence-kind,
.private-title-shell:not(.is-talk-shell) .private-attention-source span,
.private-title-shell:not(.is-talk-shell) .private-attention-source time,
.private-title-shell:not(.is-talk-shell) .private-attention-source-no-link {
    color: color-mix(in srgb, var(--chat-assistant-text, #F1EBE5) 72%, transparent);
}

.private-title-shell .private-home-eyebrow,
.private-title-shell .private-home-return-label,
.private-title-shell .private-home-fixture-category {
    margin: 0;
    color: var(--chat-primary, #814653);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.private-title-shell .private-home-hero h1 {
    margin: 0.55rem 0 0;
    color: var(--chat-assistant-text, #F1EBE5);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.7rem, 8.7vw, 7.8rem);
    font-weight: 500;
    letter-spacing: -0.085em;
    line-height: 0.84;
}

.private-title-shell .private-home-proposition {
    max-width: 27ch;
    margin: clamp(1.5rem, 3.5vw, 2.6rem) 0 0;
    color: var(--chat-assistant-text, #F1EBE5);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.5vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.private-title-shell .private-home-support {
    max-width: 47ch;
    margin: 1rem 0 0;
    color: color-mix(in srgb, var(--chat-assistant-text, #F1EBE5) 68%, transparent);
    font-size: 0.98rem;
    line-height: 1.6;
}

.private-title-shell .private-home-return {
    display: grid;
    align-content: end;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.15rem 0 0.15rem clamp(1.25rem, 2.5vw, 2.25rem);
    border-left: 1px solid var(--chat-input-border, #3D3338);
}

.private-title-shell .private-home-return > p {
    margin: 0;
}

.private-title-shell .private-home-return-copy {
    max-width: 30ch;
    color: color-mix(in srgb, var(--chat-assistant-text, #F1EBE5) 64%, transparent);
    font-size: 0.9rem;
    line-height: 1.5;
}

.private-title-shell .private-home-return-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 2.7rem;
    margin-top: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--chat-primary, #814653);
    color: var(--chat-send-text, #FFF9F4);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: filter 160ms ease, background-color 160ms ease;
}

.private-title-shell .private-home-return-action:hover,
.private-title-shell .private-home-return-action:focus-visible {
    filter: brightness(1.12);
    text-decoration: none;
}

.private-title-shell .private-home-preview {
    display: grid;
    gap: 1.25rem;
}

.private-title-shell .private-home-preview-heading {
    display: grid;
    gap: 0.55rem;
    max-width: 42rem;
}

.private-title-shell .private-home-preview-heading h2 {
    margin: 0;
    color: var(--chat-assistant-text, #F1EBE5);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.private-title-shell .private-home-fixture-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    margin: 0;
}

.private-title-shell .private-home-fixture {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    min-width: 0;
    min-height: 0;
    padding: 1.1rem 0.15rem 0;
    border: 0;
    border-top: 1px solid var(--chat-input-border, #3D3338);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.private-title-shell .private-home-fixture-category {
    color: color-mix(in srgb, var(--chat-primary, #814653) 88%, var(--chat-assistant-text, #F1EBE5));
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.private-title-shell .private-home-fixture h3 {
    margin: 0;
    color: var(--chat-assistant-text, #F1EBE5);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.private-title-shell .private-home-fixture-summary {
    min-height: 0;
    margin: 0;
    color: color-mix(in srgb, var(--chat-assistant-text, #F1EBE5) 64%, transparent);
    font-size: 0.88rem;
    line-height: 1.55;
}

.private-title-shell .private-home-preview-disclosure {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid color-mix(in srgb, var(--chat-input-border, #3D3338) 68%, transparent);
    color: color-mix(in srgb, var(--chat-assistant-text, #F1EBE5) 44%, transparent);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .private-title-shell .private-home {
        gap: 3.5rem;
        min-height: calc(100dvh - 4rem);
        padding: 1.7rem 0 3rem;
    }

    .private-title-shell .private-home-hero {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .private-title-shell .private-home-hero h1 {
        font-size: clamp(3.7rem, 16vw, 5.6rem);
    }

    .private-title-shell .private-home-proposition {
        max-width: 22ch;
        margin-top: 1.5rem;
        font-size: clamp(1.4rem, 6.2vw, 1.9rem);
    }

    .private-title-shell .private-home-support {
        margin-top: 0.85rem;
        font-size: 0.9rem;
    }

    .private-title-shell .private-home-return {
        padding: 1.25rem 0 0;
        border-top: 1px solid var(--chat-input-border, #3D3338);
        border-left: 0;
    }

    .private-title-shell .private-home-fixture-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .private-title-shell .private-home-fixture {
        padding-top: 1rem;
    }

    .private-title-shell .private-home-preview-heading h2 {
        max-width: 14ch;
        font-size: clamp(2rem, 10vw, 2.75rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .private-title-shell .private-home-return-action {
        transition: none;
    }
}
