/* ================================
   BIPOLAR, FULLY HUMAN
   Main Website Styles
================================ */

/* ---------- Variables ---------- */

:root {
    --color-background: #fffaf8;
    --color-surface: #ffffff;
    --color-text: #27222c;
    --color-muted: #655d69;
    --color-primary: #6f476f;
    --color-primary-dark: #4f3152;
    --color-secondary: #b85f79;
    --color-accent: #df9f88;
    --color-soft-pink: #f7e8e7;
    --color-soft-purple: #eee6f1;
    --color-border: #e8dde5;
    --color-white: #ffffff;

    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: Arial, Helvetica, sans-serif;

    --max-width: 1200px;
    --narrow-width: 800px;

    --shadow-small: 0 8px 24px rgba(68, 41, 68, 0.08);
    --shadow-medium: 0 18px 45px rgba(68, 41, 68, 0.13);

    --border-radius-small: 12px;
    --border-radius-medium: 22px;
    --border-radius-large: 36px;

    --transition: 0.25s ease;
}


/* ---------- Reset ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

button {
    cursor: pointer;
}

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
    font-size: 1.55rem;
}


/* ---------- Accessibility ---------- */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 10000;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 4px;
}


/* ---------- Shared Layout ---------- */

.header-container,
.hero-container,
.about-preview-container,
.footer-container,
.footer-bottom,
.principles-section,
.featured-section {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.narrow-container {
    width: min(calc(100% - 40px), var(--narrow-width));
    margin-inline: auto;
}

.section-label,
.eyebrow,
.article-category {
    margin-bottom: 14px;
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.section-heading>p:last-child {
    color: var(--color-muted);
    font-size: 1.08rem;
}

.large-paragraph {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.55;
}


/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(111, 71, 111, 0.1);
    background: rgba(255, 250, 248, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 0.95;
}

.logo-main {
    color: var(--color-text);
}

.logo-accent {
    color: var(--color-secondary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    position: relative;
    padding: 28px 0 25px;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--color-primary-dark);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--color-soft-purple);
}

.menu-button span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    border-radius: 10px;
    background: var(--color-primary-dark);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 25px rgba(111, 71, 111, 0.22);
}

.button-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 14px 30px rgba(111, 71, 111, 0.3);
}

.button-secondary {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.button-secondary:hover {
    background: var(--color-soft-purple);
}

.button-light {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.button-light:hover {
    background: var(--color-soft-pink);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-white);
}

.button-outline-light:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background:
        radial-gradient(circle at 85% 25%,
            rgba(223, 159, 136, 0.28),
            transparent 31%),
        radial-gradient(circle at 70% 80%,
            rgba(111, 71, 111, 0.14),
            transparent 32%),
        var(--color-background);
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 75px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.hero h1 {
    margin-bottom: 28px;
    color: var(--color-primary-dark);
    letter-spacing: -0.035em;
}

.hero h1 span {
    display: block;
    color: var(--color-secondary);
}

.hero-text {
    max-width: 680px;
    margin-bottom: 35px;
    color: var(--color-muted);
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}

.hero-buttons,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    position: relative;
    width: min(100%, 410px);
    aspect-ratio: 1;
    justify-self: center;
    display: grid;
    place-items: center;
    border: 1px solid rgba(111, 71, 111, 0.15);
    border-radius: 50%;
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.92),
            rgba(247, 232, 231, 0.8));
    box-shadow: var(--shadow-medium);
}

.hero-visual p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 0.95;
    text-align: center;
}

.hero-visual strong {
    display: block;
    color: var(--color-secondary);
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-circle-one {
    top: 7%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: rgba(184, 95, 121, 0.18);
}

.hero-circle-two {
    bottom: 4%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 18px solid rgba(111, 71, 111, 0.09);
}


/* ---------- Mission ---------- */

.mission-section {
    padding: 110px 0;
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.mission-section .section-label {
    color: var(--color-accent);
}

.mission-section h2 {
    margin-bottom: 28px;
}

.mission-section .large-paragraph {
    color: var(--color-white);
}

.mission-section p:last-child {
    color: rgba(255, 255, 255, 0.78);
}


/* ---------- Principles ---------- */

.principles-section {
    padding-top: 115px;
    padding-bottom: 115px;
}

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

.information-card {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.information-card:hover {
    border-color: rgba(184, 95, 121, 0.4);
    box-shadow: var(--shadow-medium);
    transform: translateY(-6px);
}

.information-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -55px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: var(--color-soft-pink);
}

.card-number {
    display: inline-block;
    margin-bottom: 48px;
    color: var(--color-secondary);
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.information-card h3,
.information-card p {
    position: relative;
    z-index: 2;
}

.information-card h3 {
    margin-bottom: 14px;
    color: var(--color-primary-dark);
}

.information-card p {
    margin-bottom: 0;
    color: var(--color-muted);
}


/* ---------- Featured Articles ---------- */

.featured-section {
    padding-top: 115px;
    padding-bottom: 115px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    min-height: 410px;
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-7px);
}

.article-card.featured-card {
    background:
        linear-gradient(145deg,
            var(--color-primary-dark),
            var(--color-primary));
    color: var(--color-white);
}

.article-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 34px;
}

.article-card h3 {
    margin-bottom: 18px;
    color: var(--color-primary-dark);
}

.article-card.featured-card h3 {
    color: var(--color-white);
}

.article-card p:not(.article-category) {
    color: var(--color-muted);
}

.article-card.featured-card p:not(.article-category) {
    color: rgba(255, 255, 255, 0.78);
}

.article-card a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: var(--color-secondary);
    font-weight: 800;
}

.article-card.featured-card a {
    color: var(--color-accent);
}

.article-card a span {
    font-size: 1.3rem;
    transition: transform var(--transition);
}

.article-card a:hover span {
    transform: translateX(5px);
}


/* ---------- About Preview ---------- */

.about-preview {
    padding: 115px 0;
    background: var(--color-soft-purple);
}

.about-preview-container {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 85px;
}

.about-image-wrapper {
    position: relative;
    max-width: 430px;
    margin-inline: auto;
}

.about-image {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 220px 220px 30px 30px;
    object-fit: cover;
    box-shadow: var(--shadow-medium);
}

.image-accent {
    position: absolute;
    top: 26px;
    right: -24px;
    bottom: -24px;
    left: 28px;
    border: 3px solid var(--color-secondary);
    border-radius: 220px 220px 30px 30px;
}

.about-preview-content h2 {
    margin-bottom: 22px;
    color: var(--color-primary-dark);
}

.about-preview-content>p:not(.section-label) {
    color: var(--color-muted);
}

.about-preview-content .large-paragraph {
    color: var(--color-text);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    color: var(--color-primary);
    font-weight: 800;
}

.text-link span {
    font-size: 1.3rem;
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* ---------- Call to Action ---------- */

.call-to-action {
    padding: 115px 20px;
    background:
        linear-gradient(135deg,
            rgba(79, 49, 82, 0.98),
            rgba(111, 71, 111, 0.95));
    color: var(--color-white);
}

.call-to-action-content {
    width: min(100%, 850px);
    margin-inline: auto;
    text-align: center;
}

.call-to-action .section-label {
    color: var(--color-accent);
}

.call-to-action h2 {
    margin-bottom: 25px;
}

.call-to-action p:not(.section-label) {
    max-width: 650px;
    margin-right: auto;
    margin-bottom: 32px;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
}

.call-to-action .cta-buttons {
    justify-content: center;
}


/* ---------- Footer ---------- */

.site-footer {
    padding: 75px 0 25px;
    background: #211c24;
    color: rgba(255, 255, 255, 0.76);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-logo {
    margin-bottom: 22px;
    font-size: 1.5rem;
}

.footer-logo .logo-main {
    color: var(--color-white);
}

.footer-brand p {
    max-width: 330px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links h2 {
    margin-bottom: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-links a {
    overflow-wrap: anywhere;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom p:first-child {
    max-width: 720px;
}


/* ---------- Tablet ---------- */

@media (max-width: 950px) {

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-visual {
        width: min(75vw, 390px);
    }

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

    .article-card {
        min-height: 310px;
    }

    .about-preview-container {
        gap: 55px;
    }

    .footer-container {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* ---------- Mobile Navigation ---------- */

@media (max-width: 760px) {

    .header-container {
        min-height: 72px;
    }

    .menu-button {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .menu-button.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-button.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: var(--color-background);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition:
            opacity var(--transition),
            transform var(--transition);
    }

    .main-navigation.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-navigation a {
        padding: 12px 20px;
        font-family: var(--font-heading);
        font-size: 1.65rem;
    }

    .main-navigation a::after {
        bottom: 7px;
    }

    .hero {
        padding: 75px 0 85px;
    }

    .hero-container {
        gap: 55px;
    }

    .hero-buttons,
    .cta-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .mission-section,
    .principles-section,
    .featured-section,
    .about-preview,
    .call-to-action {
        padding-top: 85px;
        padding-bottom: 85px;
    }

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

    .information-card {
        min-height: 260px;
        padding: 30px;
    }

    .about-preview-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        width: min(85%, 400px);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

}


/* ---------- Small Mobile ---------- */

@media (max-width: 480px) {

    .header-container,
    .hero-container,
    .about-preview-container,
    .footer-container,
    .footer-bottom,
    .principles-section,
    .featured-section,
    .narrow-container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-visual {
        width: min(82vw, 330px);
    }

    .information-card,
    .article-card-content {
        padding: 26px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

}


/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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

}

/* =================================
   CRYSTAL PORTRAIT — ZOOMED CROP
================================= */
.about-image-wrapper {
    position: relative;
    width: 310px;
    height: 310px;
    margin-inline: auto;
}

/* Zoom and reposition Crystal's photograph */
.about-image {
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 50%;

    width: 420px;
        height: 420px;
        max-width: none;

    object-fit: cover;
    object-position: center 68%;

    transform: translate(-50%, -50%);

    /* Creates a 310px circular crop */
    clip-path: circle(36.9% at 50% 50%);
    border-radius: 0;
}

/* Decorative outline behind the photograph */
.image-accent {
    position: absolute;
    z-index: 1;

    top: 15px;
    left: 15px;

    width: 310px;
    height: 310px;

    border-radius: 50%;
}

/* Desktop layout */
.about-preview-container {
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 70px;
}

/* Phone layout */
@media (max-width: 760px) {
    .about-preview-container {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .about-image-wrapper {
        width: 270px;
        height: 270px;
    }

    .about-image {
        width: 310px;
        height: 310px;
        object-position: center 63%;
    
        /* Keeps the visible circle at approximately 270px */
        clip-path: circle(43.5% at 50% 50%);   }

    .image-accent {
        width: 270px;
        height: 270px;
        top: 13px;
        left: 13px;
    }
}
/* Remove the offset border behind Crystal's photo */
.image-accent {
    display: none;
}

/* =================================
   ABOUT PAGE — MOBILE MARGIN FIX
   Keep this at the bottom of styles.css
================================= */

@media (max-width: 760px) {

    /* Prevent anything from widening the page */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Give every About section equal side margins */
    .about-page-hero,
    .about-story-section,
    .about-dark-section,
    .about-quote-section,
    .about-medical-section,
    .about-education-section,
    .about-promise-section {
        width: 100%;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box;
    }

    /* Make the content fit within those margins */
    .about-page-hero-container,
    .about-reading-container,
    .about-education-container,
    .about-education-heading,
    .about-page-introduction {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Prevent headings and paragraphs from overflowing */
    .about-page-introduction h1,
    .about-story-section h2,
    .about-dark-section h2,
    .about-quote-section h2,
    .about-education-section h2,
    .about-promise-section h2,
    .about-page-introduction p,
    .about-reading-container p {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    /* Slightly reduce the large opening heading */
    .about-page-introduction h1 {
        margin-top: 12px;
        font-size: clamp(3rem, 13vw, 4.2rem);
        line-height: 1.02;
    }

    /* Make section headings fit more comfortably */
    .about-story-section h2,
    .about-dark-section h2,
    .about-quote-section h2,
    .about-education-section h2,
    .about-promise-section h2 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
        line-height: 1.08;
    }
}

/* ==========================================
   THE FACTS PAGE — REDESIGNED
========================================== */

/* ---------- HERO ---------- */

.facts-hero {
    position: relative;
    overflow: hidden;

    padding: 115px 30px;

    color: #ffffff;
    background:
        radial-gradient(circle at 86% 20%,
            rgba(231, 151, 173, 0.25) 0,
            rgba(231, 151, 173, 0.25) 140px,
            transparent 141px),
        linear-gradient(135deg, #462748, #70466f);
}

.facts-hero::after {
    content: "";

    position: absolute;
    right: 8%;
    bottom: -130px;

    width: 330px;
    height: 330px;

    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.facts-hero-container {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);
    margin: 0 auto;
}

.facts-hero .section-label {
    color: #f2ad8d;
}

.facts-hero h1 {
    max-width: 900px;
    margin: 18px 0 32px;

    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.8rem, 7vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.facts-hero h1 span {
    display: block;
    color: #efa0b7;
}

.facts-hero-lead {
    max-width: 760px;
    margin: 0 0 20px;

    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.5;
}

.facts-hero-description {
    max-width: 750px;
    margin: 0 0 38px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.facts-hero-button {
    display: inline-flex;

    color: #57315a;
    background-color: #ffffff;
}

.facts-hero-button:hover {
    color: #ffffff;
    background-color: #c35d7d;
}


/* ---------- RESEARCH STANDARDS ---------- */

.research-standards {
    padding: 110px 30px;
    background-color: #fff9f7;
}

.research-standards-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.research-standards-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.research-standards-heading h2,
.facts-context-heading h2,
.research-library-heading h2,
.facts-boundary-content h2 {
    margin: 14px 0 25px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.research-standards-heading h2,
.research-library-heading h2 {
    color: #2b222c;
}

.research-standards-heading>p:last-child,
.research-library-heading>p:last-child {
    color: #655f67;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.research-standard-card {
    min-height: 260px;
    padding: 30px;

    border: 1px solid #eadde3;
    border-radius: 18px;

    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(67, 42, 69, 0.05);
}

.standard-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-bottom: 35px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;
    background-color: #c35d7d;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.research-standard-card h3 {
    margin: 0 0 13px;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.25;
}

.research-standard-card p {
    margin: 0;

    color: #68616b;
    font-size: 0.96rem;
    line-height: 1.7;
}


/* ---------- IMPORTANT DEFINITIONS ---------- */

.facts-context-section {
    padding: 110px 30px;
    background-color: #efe6f1;
}

.facts-context-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.facts-context-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.facts-context-heading .section-label {
    color: #b74f70;
}

.facts-context-heading h2 {
    color: #57315a;
}

.facts-context-heading>p:last-child {
    color: #655e68;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.facts-definition {
    position: relative;

    min-height: 180px;
    padding: 30px 30px 30px 36px;

    overflow: hidden;

    border-radius: 16px;
    background-color: #ffffff;
}

.facts-definition::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 7px;
    background-color: #c35d7d;
}

.facts-definition:nth-child(even)::before {
    background-color: #70466f;
}

.facts-definition h3 {
    margin: 0 0 12px;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.facts-definition p {
    margin: 0;

    color: #68616b;
    line-height: 1.7;
}


/* ---------- RESEARCH LIBRARY ---------- */

.research-library {
    padding: 110px 30px;
    background-color: #fffdfb;
}

.research-library-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.research-library-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

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

.research-topic-card {
    display: flex;
    min-height: 430px;
    padding: 34px;

    flex-direction: column;

    border: 1px solid #e7dce3;
    border-radius: 20px;

    background-color: #ffffff;
    box-shadow: 0 14px 32px rgba(57, 37, 60, 0.06);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.research-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(57, 37, 60, 0.11);
}

.research-topic-card.featured-topic {
    border-color: transparent;

    color: #ffffff;
    background:
        linear-gradient(145deg,
            #4f2c52,
            #754b75);
}

.topic-card-top {
    display: flex;
    margin-bottom: 38px;

    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.topic-number {
    color: #c35d7d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.featured-topic .topic-number {
    color: #f2a786;
}

.article-status {
    display: inline-flex;
    padding: 7px 11px;

    border-radius: 100px;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.article-status.available {
    color: #356048;
    background-color: #e4f2e9;
}

.featured-topic .article-status.available {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

.article-status.coming-soon {
    color: #746c76;
    background-color: #efebee;
}

.topic-category {
    margin: 0 0 14px;

    color: #c35d7d;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.featured-topic .topic-category {
    color: #f2a786;
}

.research-topic-card h3 {
    margin: 0 0 20px;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.featured-topic h3 {
    color: #ffffff;
}

.topic-description {
    margin: 0 0 30px;

    color: #68616b;
    line-height: 1.75;
}

.featured-topic .topic-description {
    color: rgba(255, 255, 255, 0.78);
}

.topic-link {
    display: inline-flex;
    margin-top: auto;

    align-items: center;
    gap: 10px;

    color: #b94e70;
    font-weight: 800;
    text-decoration: none;
}

.featured-topic .topic-link {
    color: #f2a786;
}

.topic-link:hover {
    gap: 16px;
}

.upcoming-topic {
    background-color: #fbf8fa;
}


/* ---------- MEDICAL BOUNDARY ---------- */

.facts-boundary-section {
    padding: 110px 30px;
    background-color: #272129;
}

.facts-boundary-container {
    width: min(950px, 100%);
    margin: 0 auto;
}

.facts-boundary-content {
    max-width: 820px;
}

.facts-boundary-content .section-label {
    color: #f2a786;
}

.facts-boundary-content h2 {
    color: #ffffff;
}

.facts-boundary-content p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.75);
    font-size: 1.02rem;
    line-height: 1.8;
}

.facts-boundary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}


/* ==========================================
   FACTS PAGE — TABLET
========================================== */

@media (max-width: 950px) {
    .research-standard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================
   FACTS PAGE — PHONE
========================================== */

@media (max-width: 760px) {

    .facts-hero,
    .research-standards,
    .facts-context-section,
    .research-library,
    .facts-boundary-section {
        width: 100%;
        padding: 75px 24px !important;
        box-sizing: border-box;
    }

    .facts-hero-container,
    .research-standards-container,
    .facts-context-container,
    .research-library-container,
    .facts-boundary-container,
    .research-standards-heading,
    .facts-context-heading,
    .research-library-heading,
    .facts-boundary-content {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .facts-hero h1 {
        margin-top: 14px;

        font-size: clamp(2.9rem, 13.5vw, 4rem);
        line-height: 1;
    }

    .facts-hero-lead {
        font-size: 1.3rem;
    }

    .research-standards-heading h2,
    .facts-context-heading h2,
    .research-library-heading h2,
    .facts-boundary-content h2 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
        line-height: 1.08;
    }

    .research-standard-grid,
    .facts-definition-grid,
    .research-topic-grid {
        grid-template-columns: 1fr;
    }

    .research-standard-card {
        min-height: auto;
        padding: 27px;
    }

    .standard-number {
        margin-bottom: 25px;
    }

    .facts-definition {
        min-height: auto;
        padding: 27px 24px 27px 31px;
    }

    .research-topic-card {
        min-height: auto;
        padding: 28px;
    }

    .topic-card-top {
        margin-bottom: 30px;
    }

    .topic-description {
        margin-bottom: 30px;
    }

    .topic-link {
        margin-top: 10px;
    }

    .facts-boundary-actions {
        flex-direction: column;
    }

    .facts-boundary-actions .button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* ==========================================
   MOBILE NAVIGATION — FINAL FIX
   Keep at the bottom of styles.css
========================================== */

@media (max-width: 760px) {

    /* Keep the header above the website content */
    .site-header {
        position: relative;
        z-index: 1000;
    }

    /* Keep the menu button above the open panel */
    #menuButton {
        position: relative;
        z-index: 1002;
    }

    /* Hide the navigation until the button is clicked */
    #mainNavigation {
        display: none;
    }

    /* Full-screen navigation panel */
    #mainNavigation.open {
        position: fixed;
        z-index: 1001;

        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        display: flex !important;
        width: 100%;
        height: 100dvh;
        min-height: 100vh;
        padding: 120px 30px 50px;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;

        overflow-y: auto;

        background:
            radial-gradient(circle at 85% 15%,
                rgba(195, 93, 125, 0.16),
                transparent 28%),
            #fffaf8;

        box-sizing: border-box;
    }

    /* Mobile navigation links */
    #mainNavigation.open a {
        display: block;
        width: min(330px, 100%);
        padding: 15px 20px;

        border-bottom: 1px solid rgba(87, 49, 90, 0.13);

        color: #57315a;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.65rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    #mainNavigation.open a:hover,
    #mainNavigation.open a:focus-visible {
        color: #c35d7d;
        background-color: rgba(195, 93, 125, 0.07);
    }

    /* Highlight the current page */
    #mainNavigation.open a.active,
    #mainNavigation.open a[aria-current="page"] {
        color: #c35d7d;
    }

    /* Stop the website from scrolling behind the menu */
    body.menu-open {
        overflow: hidden;
    }

    /* Keep the close button in the upper-right corner */
    body.menu-open #menuButton {
        position: fixed;
        top: 22px;
        right: 22px;

        width: 52px;
        height: 52px;

        border: 2px solid #c35d7d;
        border-radius: 50%;

        background-color: #fffaf8;
    }
}

/* ==========================================
   MOBILE TOP NAVIGATION BUTTON FIX
========================================== */

@media (max-width: 760px) {

    .site-header {
        width: 100%;
        min-height: 82px;

        background-color: #fffaf8;
        border-bottom: 1px solid rgba(87, 49, 90, 0.1);
    }

    .header-container {
        width: 100%;
        min-height: 82px;
        padding: 12px 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        box-sizing: border-box;
    }

    /* Hide any old lines inside the button */
    #menuButton span {
        display: none !important;
    }

    /* Create the round hamburger button */
    #menuButton {
        position: relative;
        z-index: 1002;

        display: block;
        flex: 0 0 52px;

        width: 52px;
        height: 52px;
        padding: 0;

        border: 0;
        border-radius: 50%;

        background-color: #f0e7f2;

        font-size: 0;
        cursor: pointer;

        appearance: none;
        -webkit-appearance: none;
    }

    /*
       The first line creates all three hamburger lines
       using box-shadow.
    */
    #menuButton::before {
        content: "";

        position: absolute;
        top: 18px;
        left: 50%;

        width: 24px;
        height: 2px;

        border-radius: 2px;
        background-color: #57315a;

        box-shadow:
            0 7px 0 #57315a,
            0 14px 0 #57315a;

        transform: translateX(-50%);
        transition:
            top 180ms ease,
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    #menuButton::after {
        content: "";

        position: absolute;
        top: 25px;
        left: 50%;

        display: none;

        width: 24px;
        height: 2px;

        border-radius: 2px;
        background-color: #57315a;

        transform: translateX(-50%);
        transition: transform 180ms ease;
    }

    /* Change the hamburger into an X */
    #menuButton.open {
        position: fixed;
        top: 18px;
        right: 18px;

        border: 2px solid #c35d7d;
        background-color: #fffaf8;
    }

    #menuButton.open::before {
        top: 23px;

        box-shadow: none;

        transform:
            translateX(-50%) rotate(45deg);
    }

    #menuButton.open::after {
        top: 23px;

        display: block;

        transform:
            translateX(-50%) rotate(-45deg);
    }

        #menuButton:hover,
        #menuButton:focus-visible {
            background-color: #eadcee;
            outline: 3px solid rgba(195, 93, 125, 0.22);
            outline-offset: 3px;   }

    #menuButton.open:hover,
    #menuButton.open:focus-visible {
        background-color: #fffaf8;
    }
}

/* ==========================================
   UNIVERSAL MOBILE NAVIGATION FIX
   Works on every website page
========================================== */

@media (max-width: 760px) {

    .site-header {
        position: relative;
        z-index: 1000;

        width: 100%;
        min-height: 82px;

        background-color: #fffaf8;
        border-bottom: 1px solid rgba(87, 49, 90, 0.1);
    }

    .header-container {
        width: 100%;
        min-height: 82px;
        padding: 12px 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        box-sizing: border-box;
    }

    /* Hide the desktop navigation on mobile */
    #mainNavigation,
    #main-navigation,
    .main-navigation {
        display: none;
    }

    /* Hide any old hamburger lines */
    #menuButton span,
    .menu-toggle span {
        display: none !important;
    }

    /* Hamburger button */
    #menuButton,
    .menu-toggle {
        position: relative;
        z-index: 1002;

        display: block !important;
        flex: 0 0 52px;

        width: 52px !important;
        height: 52px !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 50% !important;

        background-color: #f0e7f2 !important;

        font-size: 0;
        cursor: pointer;

        appearance: none;
        -webkit-appearance: none;
    }

    /* Three hamburger lines */
    #menuButton::before,
    .menu-toggle::before {
        content: "";

        position: absolute;
        top: 18px;
        left: 50%;

        width: 24px;
        height: 2px;

        border-radius: 2px;
        background-color: #57315a;

        box-shadow:
            0 7px 0 #57315a,
            0 14px 0 #57315a;

        transform: translateX(-50%);
    }

    #menuButton::after,
    .menu-toggle::after {
        content: "";

        position: absolute;
        top: 23px;
        left: 50%;

        display: none;

        width: 24px;
        height: 2px;

        border-radius: 2px;
        background-color: #57315a;

        transform: translateX(-50%);
    }

    /* Open navigation panel */
    #mainNavigation.open,
    #main-navigation.open,
    .main-navigation.open {
        position: fixed;
        z-index: 1001;

        inset: 0;

        display: flex !important;
        width: 100%;
        height: 100dvh;
        min-height: 100vh;
        padding: 115px 28px 50px;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;

        overflow-y: auto;

        background:
            radial-gradient(circle at 85% 15%,
                rgba(195, 93, 125, 0.16),
                transparent 28%),
            #fffaf8;

        box-sizing: border-box;
    }

    /* Open navigation links */
    #mainNavigation.open a,
    #main-navigation.open a,
    .main-navigation.open a {
        display: block;
        width: min(330px, 100%);
        padding: 14px 18px;

        border-bottom: 1px solid rgba(87, 49, 90, 0.13);

        color: #57315a;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.55rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    /* Turn hamburger into X */
    #menuButton.open,
    .menu-toggle.open {
        position: fixed;
        top: 18px;
        right: 18px;

        border: 2px solid #c35d7d !important;
        background-color: #fffaf8 !important;
    }

    #menuButton.open::before,
    .menu-toggle.open::before {
        top: 23px;

        box-shadow: none;

        transform:
            translateX(-50%) rotate(45deg);
    }

    #menuButton.open::after,
    .menu-toggle.open::after {
        display: block;

        transform:
            translateX(-50%) rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ==========================================
   RESEARCH ARTICLE PAGE
========================================== */

.article-reading-container {
    width: min(820px, 100%);
    margin: 0 auto;
}

.article-section-label {
    margin: 0 0 14px;

    color: #c35d7d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.article-label-light {
    color: #f2a786;
}


/* ---------- ARTICLE HERO ---------- */

.research-article-hero {
    padding: 100px 30px;

    background:
        radial-gradient(circle at 88% 18%,
            rgba(195, 93, 125, 0.16),
            transparent 26%),
        #f5edf3;
}

.research-article-hero-container {
    width: min(1050px, 100%);
    margin: 0 auto;
}

.article-back-link {
    display: inline-block;
    margin-bottom: 60px;

    color: #70466f;
    font-weight: 750;
    text-decoration: none;
}

.article-back-link:hover {
    color: #c35d7d;
}

.article-category {
    margin: 0 0 18px;

    color: #c35d7d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.research-article-hero h1 {
    max-width: 980px;
    margin: 0 0 32px;

    color: #2b202c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.6rem, 7vw, 6.7rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.article-introduction {
    max-width: 840px;
    margin: 0 0 45px;

    color: #594d5b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.55;
}

.article-information-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 35px;

    padding-top: 25px;

    border-top: 1px solid rgba(87, 49, 90, 0.16);
}

.article-information-row p {
    margin: 0;

    color: #736b75;
    font-size: 0.82rem;
}


/* ---------- GENERAL ARTICLE CONTENT ---------- */

.article-summary-section,
.article-content-section,
.victimization-section,
.article-sources-section {
    padding: 100px 30px;
}

.article-summary-section {
    background-color: #fffdfb;
}

.article-content-section {
    background-color: #fffaf8;
}

.article-summary-section h2,
.article-content-section h2,
.article-contrast-section h2,
.victimization-section h2,
.news-reporting-section h2,
.article-conclusion-section h2,
.article-sources-section h2 {
    margin: 0 0 35px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.article-summary-section h2,
.article-content-section h2,
.victimization-section h2,
.article-sources-section h2 {
    color: #2b222c;
}

.article-summary-section p,
.article-content-section p,
.article-contrast-section p,
.victimization-section p,
.news-reporting-section p,
.article-conclusion-section p,
.article-sources-section p {
    margin: 0 0 24px;

    font-size: 1.06rem;
    line-height: 1.85;
}

.article-summary-section p,
.article-content-section p,
.victimization-section p,
.article-sources-section p {
    color: #645e66;
}

.article-key-point {
    margin-top: 45px;
    padding: 30px 34px;

    border-left: 6px solid #c35d7d;
    border-radius: 0 16px 16px 0;

    background-color: #f3eaf0;
}

.article-key-point strong {
    display: block;
    margin-bottom: 9px;

    color: #57315a;
    font-size: 1.05rem;
}

.article-key-point p {
    margin: 0;
}


/* ---------- STATISTICS ---------- */

.study-statistic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 45px 0;
}

.study-statistic-card {
    padding: 32px;

    border: 1px solid #e7dce3;
    border-radius: 18px;

    background-color: #ffffff;
}

.study-statistic {
    display: block;
    margin-bottom: 20px;

    color: #c35d7d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1;
}

.study-statistic-card h3 {
    margin: 0 0 12px;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
}

.study-statistic-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.article-subheading {
    margin: 50px 0 20px;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.15;
}

.interpretation-box {
    margin: 40px 0;
    padding: 34px;

    border-radius: 18px;

    color: #ffffff;
    background-color: #57315a;
}

.interpretation-box .interpretation-heading {
    margin-bottom: 10px;

    color: #f2a786;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.interpretation-box p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.source-link-box {
    margin-top: 38px;
    padding: 24px 28px;

    border: 1px solid #e6d9e1;
    border-radius: 14px;

    background-color: #ffffff;
}

.source-link-box p {
    margin: 0 0 8px;
    font-size: 0.9rem;
}

.source-link-box a {
    color: #b94e70;
    font-weight: 750;
}


/* ---------- MEASURED VERSUS NOT MEASURED ---------- */

.article-contrast-section {
    padding: 100px 30px;

    color: #ffffff;
    background-color: #57315a;
}

.article-contrast-section h2 {
    color: #ffffff;
}

.article-contrast-section>.article-reading-container>p {
    color: rgba(255, 255, 255, 0.8);
}

.measurement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 45px 0;
}

.measurement-card {
    padding: 32px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;

    background-color: rgba(255, 255, 255, 0.08);
}

.measurement-heading {
    color: #f2a786 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem !important;
    font-weight: 700;
}

.measurement-card ul {
    margin: 0;
    padding-left: 21px;
}

.measurement-card li {
    margin-bottom: 14px;

    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}


/* ---------- PLAIN-LANGUAGE EXAMPLE ---------- */

.plain-language-example {
    margin: 40px 0;
    padding: 35px;

    border-radius: 18px;

    background-color: #f0e5ec;
}

.plain-language-example p {
    color: #573f59;
}

.plain-language-example p:last-child {
    margin-bottom: 0;
    font-weight: 750;
}


/* ---------- VICTIMIZATION ---------- */

.victimization-section {
    background-color: #efe7f1;
}

.victimization-callout {
    margin: 42px 0;
    padding: 38px;

    border-radius: 18px;

    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(60, 39, 63, 0.07);
}

.victimization-callout p {
    margin: 0;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.4;
}


/* ---------- NEWS REPORTING ---------- */

.news-reporting-section {
    padding: 100px 30px;

    color: #ffffff;
    background-color: #29232b;
}

.news-reporting-section h2 {
    color: #ffffff;
}

.news-reporting-section p {
    color: rgba(255, 255, 255, 0.78);
}

.article-question-list {
    margin: 38px 0;
    padding: 0;

    list-style: none;
}

.article-question-list li {
    position: relative;

    margin-bottom: 12px;
    padding: 17px 20px 17px 50px;

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.86);
    background-color: rgba(255, 255, 255, 0.07);

    line-height: 1.5;
}

.article-question-list li::before {
    content: "?";

    position: absolute;
    top: 15px;
    left: 18px;

    color: #f2a786;
    font-weight: 800;
}


/* ---------- LANGUAGE COMPARISON ---------- */

.language-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.language-comparison>div {
    padding: 30px;

    border: 1px solid #e5dae1;
    border-radius: 16px;

    background-color: #ffffff;
}

.language-comparison>div:last-child {
    color: #ffffff;
    background-color: #57315a;
}

.language-comparison span {
    display: block;
    margin-bottom: 15px;

    color: #c35d7d;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.language-comparison>div:last-child span {
    color: #f2a786;
}

.language-comparison p {
    margin: 0;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
}

.language-comparison>div:last-child p {
    color: #ffffff;
}


/* ---------- CONCLUSION ---------- */

.article-conclusion-section {
    padding: 105px 30px;

    color: #ffffff;
    background: linear-gradient(135deg, #543057, #754b75);
}

.article-conclusion-section h2 {
    color: #ffffff;
}

.article-conclusion-section p {
    color: rgba(255, 255, 255, 0.82);
}

.article-final-statement {
    margin: 45px 0 !important;

    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-weight: 700;
    line-height: 1.35 !important;
}

.article-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* ---------- SOURCES ---------- */

.article-sources-section {
    background-color: #f8f3f5;
}

.article-source-list {
    margin: 45px 0;
    padding-left: 25px;
}

.article-source-list li {
    margin-bottom: 28px;
    padding-left: 10px;

    color: #c35d7d;
}

.article-source-list p {
    margin-bottom: 8px;

    color: #625c65;
    font-size: 0.98rem;
    line-height: 1.7;
}

.article-source-list a {
    color: #b94e70;
    font-weight: 750;
}

.article-limitations {
    margin-top: 50px;
    padding: 34px;

    border: 1px solid #e2d6df;
    border-radius: 18px;

    background-color: #ffffff;
}

.article-limitations h3 {
    margin: 0 0 22px;

    color: #57315a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.article-limitations ul {
    margin: 0;
    padding-left: 21px;
}

.article-limitations li {
    margin-bottom: 13px;

    color: #655f67;
    line-height: 1.65;
}

.article-review-note {
    margin-top: 30px !important;

    color: #766f78 !important;
    font-size: 0.88rem !important;
    font-style: italic;
}


/* ==========================================
   RESEARCH ARTICLE — PHONE
========================================== */

@media (max-width: 760px) {

    .research-article-hero,
    .article-summary-section,
    .article-content-section,
    .article-contrast-section,
    .victimization-section,
    .news-reporting-section,
    .article-conclusion-section,
    .article-sources-section {
        width: 100%;
        padding: 75px 24px !important;
        box-sizing: border-box;
    }

    .research-article-hero-container,
    .article-reading-container {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .article-back-link {
        margin-bottom: 45px;
    }

    .research-article-hero h1 {
        font-size: clamp(3rem, 14vw, 4.2rem);
        line-height: 1;
    }

    .article-summary-section h2,
    .article-content-section h2,
    .article-contrast-section h2,
    .victimization-section h2,
    .news-reporting-section h2,
    .article-conclusion-section h2,
    .article-sources-section h2 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
    }

    .article-information-row {
        flex-direction: column;
        gap: 9px;
    }

    .study-statistic-grid,
    .measurement-grid,
    .language-comparison {
        grid-template-columns: 1fr;
    }

    .study-statistic-card,
    .measurement-card,
    .interpretation-box,
    .plain-language-example,
    .victimization-callout,
    .article-limitations {
        padding: 27px;
    }

    .article-action-row {
        flex-direction: column;
    }

    .article-action-row .button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* ==========================================
   ABOUT PAGE HERO — COMPLETE RESPONSIVE FIX
   Paste at the very bottom of styles.css
========================================== */

.about-page-hero {
    padding: 90px 30px 105px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%,
            rgba(184, 95, 121, 0.13),
            transparent 28%),
        var(--color-background);
}

.about-page-hero-container {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(340px, 0.85fr) minmax(420px, 1.15fr);
    align-items: center;
    gap: clamp(55px, 7vw, 100px);
}

/* ---------- Portrait column ---------- */

.about-page-photo-column {
    width: 100%;
}

.about-page-photo-frame {
    position: relative;
    width: min(100%, 480px);
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;

    border-radius: 26px;
    background-color: var(--color-soft-purple);
    box-shadow: var(--shadow-medium);
}

/* Decorative border behind portrait */

.about-page-photo-frame::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 16px -16px -16px 16px;

    border: 2px solid rgba(184, 95, 121, 0.4);
    border-radius: 26px;
}

.about-page-photo {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center 45%;
}

/* ---------- Introduction column ---------- */

.about-page-introduction {
    width: 100%;
    max-width: 650px;
}

.about-page-introduction .section-label {
    margin-bottom: 18px;
}

.about-page-introduction h1 {
    margin: 0 0 30px;

    color: var(--color-text);
    font-size: clamp(3.5rem, 5.6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.about-page-introduction h1 span {
    display: block;
    margin-top: 10px;
    color: var(--color-primary-dark);
}

.about-page-introduction p {
    max-width: 620px;
    margin-bottom: 20px;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.about-page-introduction .about-page-lead {
    margin-bottom: 25px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.55;
}

/* ==========================================
   ABOUT PAGE HERO — TABLET
========================================== */

@media (max-width: 950px) {
    .about-page-hero {
        padding: 75px 30px 90px;
    }

    .about-page-hero-container {
        grid-template-columns:
            minmax(290px, 0.8fr) minmax(350px, 1.2fr);
        gap: 45px;
    }

    .about-page-photo-frame {
        max-width: 390px;
    }

    .about-page-introduction h1 {
        font-size: clamp(3rem, 6vw, 4.4rem);
    }
}

/* ==========================================
   ABOUT PAGE HERO — PHONE
========================================== */

@media (max-width: 760px) {
    .about-page-hero {
        width: 100%;
        padding: 0 24px 80px !important;
    }

    .about-page-hero-container {
        width: 100%;
        max-width: 100%;

        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-page-photo-column {
        width: calc(100% + 48px);
        margin-left: -24px;
    }

    .about-page-photo-frame {
        width: 100%;
        max-width: none;
        margin: 0;
        aspect-ratio: 1 / 1.04;

        border-radius: 0;
        box-shadow: none;
    }

    .about-page-photo-frame::before {
        display: none;
    }

    .about-page-photo {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center 43%;
    }

    .about-page-introduction {
        width: 100%;
        max-width: 100%;
        padding-top: 28px;
    }

    .about-page-introduction .section-label {
        margin-bottom: 16px;
    }

    .about-page-introduction h1 {
        width: 100%;
        margin: 0 0 30px;

        font-size: clamp(3rem, 13vw, 4.2rem);
        line-height: 1.02;
        letter-spacing: -0.04em;
    }

    .about-page-introduction h1 span {
        margin-top: 6px;
    }

    .about-page-introduction p {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
    }

    .about-page-introduction .about-page-lead {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}

/* ==========================================
   ABOUT PAGE HERO — TABLET
========================================== */

@media (min-width: 761px) and (max-width: 1100px) {
    .about-page-hero {
        padding: 65px 28px 85px;
    }

    .about-page-hero-container {
        width: min(940px, 100%);

        grid-template-columns:
            minmax(280px, 0.85fr) minmax(380px, 1.15fr);

        align-items: center;
        gap: clamp(32px, 5vw, 55px);
    }

    .about-page-photo-frame {
        width: 100%;
        max-width: 370px;
        aspect-ratio: 4 / 5;
        border-radius: 22px;
    }

    .about-page-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 45%;
    }

    .about-page-introduction {
        max-width: 520px;
    }

    .about-page-introduction .section-label {
        margin-bottom: 14px;
        font-size: 0.72rem;
    }

    .about-page-introduction h1 {
        margin-bottom: 24px;

        font-size: clamp(2.75rem, 5.3vw, 4rem);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .about-page-introduction h1 span {
        margin-top: 7px;
    }

    .about-page-introduction .about-page-lead {
        margin-bottom: 20px;
        font-size: clamp(1.05rem, 1.8vw, 1.25rem);
        line-height: 1.5;
    }

    .about-page-introduction p {
        margin-bottom: 16px;
        font-size: 0.94rem;
        line-height: 1.7;
    }
}

.placeholder-page {
    min-height: 70vh;
    padding: 80px 20px;
    background:
        radial-gradient(circle at top right,
            rgba(126, 87, 194, 0.12),
            transparent 40%),
        #faf8fc;
}

.placeholder-card {
    width: min(850px, 100%);
    margin: 0 auto;
    padding: clamp(30px, 6vw, 60px);
    background-color: #ffffff;
    border: 1px solid rgba(91, 58, 120, 0.15);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(61, 38, 80, 0.1);
}

.placeholder-status {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    color: #5d3876;
    background-color: #f1e8f7;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.placeholder-card h1 {
    margin: 0 0 20px;
    color: #35213f;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
}

.placeholder-intro {
    margin-bottom: 28px;
    color: #554c59;
    font-size: 1.1rem;
    line-height: 1.8;
}

.placeholder-card h2 {
    margin: 32px 0 16px;
    color: #4c2f5f;
    font-size: 1.35rem;
}

.placeholder-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.placeholder-list li {
    position: relative;
    padding: 16px 18px 16px 48px;
    color: #4b434f;
    background-color: #faf7fc;
    border: 1px solid #eee5f3;
    border-radius: 14px;
    line-height: 1.6;
}

.placeholder-list li::before {
    content: "✓";
    position: absolute;
    top: 16px;
    left: 18px;
    color: #76508d;
    font-weight: 800;
}

.placeholder-note {
    margin-top: 32px;
    padding: 20px;
    color: #493b50;
    background-color: #f7f0fa;
    border-left: 5px solid #76508d;
    border-radius: 6px 14px 14px 6px;
    line-height: 1.7;
}

.placeholder-note strong {
    color: #4e2d62;
}

.placeholder-return {
    margin: 28px 0 0;
    color: #665b69;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 600px) {
    .placeholder-page {
        padding: 45px 16px;
    }

    .placeholder-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .placeholder-intro {
        font-size: 1rem;
    }
}

/* ==========================================
   ABOUT PAGE — DESKTOP CONTAINERS + FOOTER FIX
   Keep this at the very bottom of styles.css
========================================== */

/* ---------- About content sections ---------- */

.about-story-section,
.about-dark-section,
.about-quote-section,
.about-education-section,
.about-promise-section {
    width: 100%;
    padding: 95px 30px;
}

.about-reading-container,
.about-education-container {
    width: min(100%, var(--max-width));
    margin-inline: auto;
}

.about-reading-container {
    max-width: 1100px;
}

.about-reading-container h2,
.about-education-heading h2 {
    max-width: 1000px;
    margin-bottom: 42px;
}

.about-reading-container>p:not(.section-label):not(.quote-attribution) {
    max-width: 1000px;
    margin-bottom: 24px;
}

.about-dark-section,
.about-promise-section {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.about-dark-section p,
.about-promise-section p {
    color: rgba(255, 255, 255, 0.84);
}

.about-quote-section {
    background: var(--color-soft-pink);
}

.founder-quote {
    max-width: 900px;
    margin: 42px 0 18px;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.quote-attribution {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.personal-context-note {
    max-width: 950px;
    margin-top: 42px;
    padding: 30px;
    border-left: 4px solid var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Education section ---------- */

.about-education-heading {
    max-width: 1000px;
    margin-bottom: 50px;
}

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

.education-card {
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.education-number {
    display: block;
    margin-bottom: 18px;
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.education-card h3 {
    margin-bottom: 12px;
}

.education-card p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.education-boundary {
    max-width: 900px;
    margin: 38px 0 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.about-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

/* ---------- Correct About footer structure ---------- */

.site-footer .footer-container {
    display: block;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-contact h2 {
    margin-bottom: 18px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer .footer-bottom {
    width: 100%;
}

/* ---------- Tablet ---------- */

@media (min-width: 761px) and (max-width: 950px) {

    .about-story-section,
    .about-dark-section,
    .about-quote-section,
    .about-education-section,
    .about-promise-section {
        padding: 80px 30px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------- Phone ---------- */

@media (max-width: 760px) {

    .about-story-section,
    .about-dark-section,
    .about-quote-section,
    .about-education-section,
    .about-promise-section {
        padding: 75px 24px !important;
    }

    .education-card-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        padding: 26px;
    }

    .personal-context-note {
        padding: 24px;
    }

    .about-button-group {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* =========================================
   ABOUT PAGE — FINAL MOBILE SPACING
========================================= */

@media (max-width: 760px) {

    .about-page-hero {
        padding-bottom: 40px !important;
    }

    .about-story-section,
    .about-dark-section,
    .about-quote-section,
    .about-education-section,
    .about-promise-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .about-reading-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .about-reading-container> :first-child {
        margin-top: 0;
    }

    .about-reading-container> :last-child {
        margin-bottom: 0;
    }

    .about-subheading {
        margin-top: 3rem;
        margin-bottom: 1.25rem;
    }

    .personal-context-note {
        margin-top: 2.5rem;
        margin-bottom: 0;
    }
}

/* =========================================
   HOME PAGE — MOBILE SECTION GAP FIX
========================================= */

@media (max-width: 760px) {

    .principles-section {
        padding-bottom: 40px;
    }

    .featured-section {
        padding-top: 40px;
    }
}

/* =========================================
   HOME PAGE — DESKTOP SECTION TRANSITIONS
========================================= */

@media (min-width: 761px) {

    /* Reduce the gap after the belief cards */
    .principles-section {
        padding-bottom: 60px;
    }

    /* Reduce space above and below featured articles */
    .featured-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Reduce space around the founder preview */
    .about-preview {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    /* Keep a deliberate transition into the final message */
    .call-to-action {
        padding-top: 75px;
    }
}

/* =========================================
   HOME PAGE — MOBILE HERO + CARD TRANSITION
========================================= */

@media (max-width: 760px) {

    /* Reduce excess space around the hero graphic */
    .hero {
        padding-bottom: 45px;
    }

    .hero-container {
        gap: 35px;
    }

    .hero-visual {
        width: min(68vw, 260px);
    }

    /* Reduce only the accidental card-grid gap */
    .principles-section {
        padding-bottom: 40px;
    }

    .featured-section {
        padding-top: 40px;
    }
}

/* =========================================
   ABOUT PAGE — WHITE SECTION TRANSITIONS
========================================= */

@media (max-width: 760px) {

    /* Hero into the first white story section */
    .about-page-hero {
        padding-bottom: 30px !important;
    }

    .about-page-hero+.about-story-section {
        padding-top: 25px !important;
    }

    /* Medical-care section into education section */
    .about-story-section+.about-education-section,
    .about-medical-section+.about-education-section {
        padding-top: 25px !important;
    }
}