/* Self-Confrontation Orientation: Stitch Brand Colors export mapped to scoped CSS.
   Parent: #orientation-threshold-landing. Does not alter global chrome. */

#orientation-threshold-landing {
    --otl-primary: #06254a;
    /* Same hue as light theme; used for dark-mode slabs that keep pale body copy */
    --otl-primary-solid: #06254a;
    --otl-primary-container: #213b61;
    --otl-background: #f5faff;
    --otl-surface: #f5faff;
    --otl-surface-low: #ecf5fc;
    --otl-surface-high: #e0e9f0;
    --otl-white: #ffffff;
    --otl-on-surface: #141d22;
    --otl-on-surface-variant: #44474e;
    --otl-outline-variant: #c4c6cf;
    --otl-primary-fixed: #d6e3ff;
    --otl-primary-fixed-dim: #aec7f5;
    --otl-inner-max: 1100px;
    --otl-r-default: 0.125rem;
    --otl-section-pad: clamp(4rem, 12vw, 7.5rem);
    --otl-gutter: clamp(1rem, 4vw, 1.5rem);
    background: var(--otl-background);
    color: var(--otl-on-surface);
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.orientation-threshold-landing-page main.container-fluid.my-4 {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

#orientation-threshold-landing .otl-inner {
    width: min(var(--otl-inner-max), 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--otl-gutter);
    padding-right: var(--otl-gutter);
}

/* Typography */
#orientation-threshold-landing .otl-display {
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--otl-primary);
}

#orientation-threshold-landing .otl-headline-md {
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.65rem, 2.8vw, 2rem);
    line-height: 1.25;
    font-weight: 500;
    color: var(--otl-primary);
}

#orientation-threshold-landing .otl-headline-sm {
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.33;
    font-weight: 500;
    color: var(--otl-on-surface);
}

#orientation-threshold-landing .otl-body-lg {
    font-size: clamp(1.05rem, 1.25vw, 1.125rem);
    line-height: 1.55;
}

#orientation-threshold-landing .otl-body-md {
    font-size: 1rem;
    line-height: 1.5;
}

#orientation-threshold-landing .otl-label-caps {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Manrope, system-ui, sans-serif;
}

#orientation-threshold-landing .otl-label-muted {
    color: var(--otl-outline-variant);
}

#orientation-threshold-landing .otl-text-variant {
    color: var(--otl-on-surface-variant);
}

/* Hero */
#orientation-threshold-landing .otl-hero {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: var(--otl-section-pad);
}

#orientation-threshold-landing .otl-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.25rem);
    align-items: center;
}

@media (min-width: 900px) {
    #orientation-threshold-landing .otl-hero-grid {
        grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
    }
}

#orientation-threshold-landing .otl-hero-sub {
    font-family: Newsreader, Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--otl-on-surface-variant);
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    max-width: 36rem;
}

#orientation-threshold-landing .otl-hero-lead-wrap {
    max-width: 36rem;
}

#orientation-threshold-landing .otl-hero-lead-wrap p:last-of-type {
    margin-bottom: 0;
}

#orientation-threshold-landing .otl-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
}

@media (min-width: 640px) {
    #orientation-threshold-landing .otl-hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

#orientation-threshold-landing .otl-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--otl-primary);
    color: #ffffff;
    padding: 1.15rem 2.35rem;
    border-radius: var(--otl-r-default);
    border: 2px solid var(--otl-primary);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

#orientation-threshold-landing .otl-btn-solid:hover,
#orientation-threshold-landing .otl-btn-solid:focus {
    opacity: 0.9;
    color: #ffffff;
}

#orientation-threshold-landing .otl-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--otl-primary);
    padding: 1.15rem 2.35rem;
    border-radius: var(--otl-r-default);
    border: 2px solid var(--otl-primary);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

#orientation-threshold-landing .otl-btn-outline:hover,
#orientation-threshold-landing .otl-btn-outline:focus {
    background: var(--otl-surface-low);
}

#orientation-threshold-landing .otl-hero-visual {
    margin: 0;
    border-radius: var(--otl-r-default);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--otl-surface-low);
}

#orientation-threshold-landing .otl-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    opacity: 0.85;
    display: block;
}

/* Quote band (primary-container) */
#orientation-threshold-landing .otl-band-quote {
    width: 100%;
    background: var(--otl-primary-container);
    color: #ffffff;
    padding: clamp(3rem, 8vw, 6rem) 0;
}

#orientation-threshold-landing .otl-band-quote blockquote {
    margin: 0 auto;
    max-width: min(52rem, 94vw);
    text-align: center;
}

#orientation-threshold-landing .otl-band-quote blockquote p {
    margin: 0;
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.65rem, 3.5vw, 2.65rem);
    line-height: 1.2;
    font-style: italic;
    font-weight: 400;
}

#orientation-threshold-landing .otl-quiz {
    padding: var(--otl-section-pad) 0;
}

#orientation-threshold-landing .otl-quiz-inner {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

#orientation-threshold-landing .otl-threshold-line {
    border-left: 2px solid var(--otl-primary);
    padding-left: 2rem;
}

#orientation-threshold-landing .otl-threshold-line p {
    margin: 0 0 1.5rem;
}

#orientation-threshold-landing .otl-threshold-line p:last-child {
    margin-bottom: 0;
}

/* Where work begins */
#orientation-threshold-landing .otl-band-low {
    background: var(--otl-surface-low);
    padding: var(--otl-section-pad) 0;
}

#orientation-threshold-landing .otl-split {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

@media (min-width: 900px) {
    #orientation-threshold-landing .otl-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#orientation-threshold-landing .otl-workbook-link {
    display: inline-block;
    margin-top: 2rem;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--otl-primary);
    border-bottom: 1px solid var(--otl-primary);
    padding-bottom: 0.2rem;
    text-decoration: none;
}

#orientation-threshold-landing .otl-workbook-link:hover,
#orientation-threshold-landing .otl-workbook-link:focus {
    opacity: 0.65;
}

#orientation-threshold-landing .otl-quote-card {
    background: var(--otl-white);
    border: 1px solid var(--otl-outline-variant);
    border-radius: var(--otl-r-default);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 1px 3px rgba(20, 29, 34, 0.08);
}

#orientation-threshold-landing .otl-quote-card blockquote {
    margin: 0 0 1.5rem;
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.05rem, 1.6vw, 1.375rem);
    line-height: 1.55;
    font-style: italic;
    color: var(--otl-on-surface);
}

#orientation-threshold-landing .otl-quote-card-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#orientation-threshold-landing .otl-quote-rule {
    width: 2.5rem;
    height: 1px;
    background: var(--otl-primary);
}

/* Seven questions */
#orientation-threshold-landing .otl-questions {
    padding: var(--otl-section-pad) 0;
}

#orientation-threshold-landing .otl-questions-inner {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

#orientation-threshold-landing .otl-questions h2 {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

#orientation-threshold-landing .otl-q-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: clamp(1.75rem, 3vw, 2.5rem) 0;
    border-bottom: 1px solid var(--otl-outline-variant);
}

#orientation-threshold-landing .otl-q-row:last-child {
    border-bottom: none;
}

#orientation-threshold-landing .otl-q-num {
    flex-shrink: 0;
    min-width: 2rem;
}

#orientation-threshold-landing .otl-q-text {
    flex: 1;
}

/* Reckoning band */
#orientation-threshold-landing .otl-band-reckon {
    background: var(--otl-surface-high);
    padding: clamp(4rem, 10vw, 8rem) 0;
    text-align: center;
}

#orientation-threshold-landing .otl-band-reckon h3 {
    margin: 0 auto;
    max-width: 52rem;
}

/* Reveal grid + cards */
#orientation-threshold-landing .otl-reveal {
    padding: var(--otl-section-pad) 0;
}

#orientation-threshold-landing .otl-reveal-grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 900px) {
    #orientation-threshold-landing .otl-reveal-grid {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        align-items: flex-start;
    }

    #orientation-threshold-landing .otl-reveal-title {
        position: sticky;
        top: 8rem;
    }
}

#orientation-threshold-landing .otl-card-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 4rem);
}

#orientation-threshold-landing .otl-card {
    background: var(--otl-white);
    border: 1px solid var(--otl-outline-variant);
    border-radius: var(--otl-r-default);
    padding: clamp(2rem, 3vw, 3rem);
    box-shadow: 0 1px 3px rgba(20, 29, 34, 0.06);
}

#orientation-threshold-landing .otl-card-icon {
    font-family: "Material Symbols Outlined", sans-serif;
    font-weight: 300;
    font-size: 1.85rem;
    line-height: 1;
    color: #004b73;
    margin-bottom: 1.25rem;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

#orientation-threshold-landing .otl-card h4 {
    margin: 0 0 0.75rem;
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 500;
    color: var(--otl-on-surface);
}

#orientation-threshold-landing .otl-card p {
    margin: 0;
    color: var(--otl-on-surface-variant);
    font-size: 1rem;
    line-height: 1.55;
}

/* EALD-GAP band */
#orientation-threshold-landing .otl-band-eald {
    background: var(--otl-primary);
    color: #ffffff;
    padding: var(--otl-section-pad) 0;
}

#orientation-threshold-landing .otl-band-eald h2 {
    color: #ffffff;
    margin-bottom: 2rem;
}

#orientation-threshold-landing .otl-band-eald .otl-lead-eald {
    color: var(--otl-primary-fixed);
    margin-bottom: 2.5rem;
    max-width: 42rem;
}

#orientation-threshold-landing .otl-band-eald .otl-eald-aftercopy {
    margin-top: 2rem;
    color: var(--otl-primary-fixed);
}

#orientation-threshold-landing .otl-eald-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 42rem;
}

#orientation-threshold-landing .otl-eald-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

#orientation-threshold-landing .otl-eald-list li:last-child {
    margin-bottom: 0;
}

#orientation-threshold-landing .otl-eald-dot {
    width: 8px;
    height: 8px;
    margin-top: 0.45rem;
    flex-shrink: 0;
    background: var(--otl-primary-fixed-dim);
}

#orientation-threshold-landing .otl-eald-list span:last-child {
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.45;
    font-weight: 500;
    color: var(--otl-surface);
}

/* Choose */
#orientation-threshold-landing .otl-choose {
    padding: var(--otl-section-pad) 0;
    text-align: center;
}

#orientation-threshold-landing .otl-choose-inner {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

#orientation-threshold-landing .otl-choose h2 {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

#orientation-threshold-landing .otl-choose-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#orientation-threshold-landing .otl-btn-wide-solid {
    width: 100%;
    justify-content: center;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    letter-spacing: 0.14em;
}

#orientation-threshold-landing .otl-btn-wide-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    letter-spacing: 0.14em;
    background: var(--otl-surface-container);
    color: var(--otl-on-surface);
    border: 1px solid var(--otl-outline-variant);
    border-radius: var(--otl-r-default);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

#orientation-threshold-landing .otl-btn-wide-muted:hover,
#orientation-threshold-landing .otl-btn-wide-muted:focus {
    background: var(--otl-surface-high);
}

#orientation-threshold-landing .otl-btn-link {
    width: 100%;
    background: none;
    border: none;
    padding: 1.75rem;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--otl-primary);
    text-decoration: underline;
    cursor: pointer;
}

#orientation-threshold-landing a.otl-btn-link {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

#orientation-threshold-landing .otl-btn-link:hover,
#orientation-threshold-landing .otl-btn-link:focus {
    opacity: 0.65;
}

#orientation-threshold-landing .otl-more-links {
    margin-top: 2.5rem;
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid var(--otl-outline-variant);
}

#orientation-threshold-landing .otl-more-links p {
    margin: 0 0 0.75rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--otl-outline-variant);
}

#orientation-threshold-landing .otl-more-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#orientation-threshold-landing .otl-more-links li {
    margin-bottom: 0.45rem;
}

#orientation-threshold-landing .otl-more-links a {
    color: var(--otl-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Related */
#orientation-threshold-landing .otl-related {
    padding-bottom: var(--otl-section-pad);
    border-top: 1px solid var(--otl-outline-variant);
    padding-top: 2.5rem;
}

#orientation-threshold-landing .otl-related h3 {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--otl-outline-variant);
    margin-bottom: 0.75rem;
}

#orientation-threshold-landing .otl-related ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#orientation-threshold-landing .otl-related li {
    margin-bottom: 0.35rem;
}

#orientation-threshold-landing .otl-related a {
    color: var(--otl-primary);
    font-weight: 600;
}

#orientation-threshold-landing .otl-pull {
    font-weight: 600;
    color: var(--otl-primary);
}

#orientation-threshold-landing .otl-spaced-p > p {
    margin: 0 0 1.5rem;
}

#orientation-threshold-landing .otl-spaced-p > p:last-child {
    margin-bottom: 0;
}

/* Missing token alias */
#orientation-threshold-landing {
    --otl-surface-container: #e6eff6;
}

/* Dark shell toggle */
:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing {
    --otl-background: #111820;
    --otl-surface: #111820;
    --otl-surface-low: #1a2431;
    --otl-surface-high: #243042;
    --otl-white: #1e293b;
    --otl-on-surface: #e8eef5;
    --otl-on-surface-variant: #c5d4e3;
    --otl-outline-variant: rgba(232, 238, 245, 0.38);
    /* Accent for links and borders on dark slabs */
    --otl-primary: #9dc7f7;
    --otl-primary-solid: #06254a;
    --otl-primary-container: #152536;
    --otl-primary-fixed: #dce8fb;
    --otl-primary-fixed-dim: #8fabcc;
    --otl-surface-container: #243047;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-display,
:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-headline-md,
:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-headline-sm {
    color: #f1f5f9;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-btn-solid {
    background: #e8eef5;
    border-color: #e8eef5;
    color: #0f172a;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-btn-outline {
    border-color: rgba(232, 238, 245, 0.55);
    color: #f1f5f9;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-quote blockquote p {
    color: #f8fafc;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-card,
:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-quote-card {
    background: #1e293b;
    border-color: rgba(232, 238, 245, 0.28);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-card p {
    color: #e2e8f0;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-card-icon {
    color: #7eb9ea;
}

/* Seven questions: numbers + dividers vs dark slabs */
:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-q-num {
    color: #c9dcf2;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-q-row {
    border-bottom-color: rgba(232, 238, 245, 0.34);
}

/* EALD band: never use light "accent primary" as slab bg on dark UI */
:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-eald {
    background: var(--otl-primary-solid);
    color: #f8fafc;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-eald h2 {
    color: #f8fafc;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-eald .otl-lead-eald {
    color: rgba(248, 250, 252, 0.94);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-eald .otl-eald-dot {
    background: #9dc7f7;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-eald .otl-eald-list span:last-child {
    color: #f1f5f9;
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-band-eald .otl-eald-aftercopy {
    color: rgba(248, 250, 252, 0.94);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) #orientation-threshold-landing .otl-hero-visual img {
    filter: grayscale(0.4);
    mix-blend-mode: normal;
    opacity: 0.95;
}
