/* =========================================================
   NEURO SPICY COLLECTIVE
   neurospicyoregon.com
   Main Stylesheet
   ========================================================= */


/* =========================================================
   1. RESET / GLOBAL
   ========================================================= */

:root {
    --navy: #092b57;
    --navy-dark: #061d3d;
    --blue: #1264a3;
    --orange: #ff571c;
    --orange-light: #ff7a22;
    --cream: #faf7f0;
    --warm-white: #fffdf9;
    --green: #4f8a3d;
    --text: #183352;
    --muted: #607086;
    --border: #e4dfd5;

    --shadow-small:
        0 8px 25px rgba(9, 43, 87, 0.08);

    --shadow-medium:
        0 18px 50px rgba(9, 43, 87, 0.12);

    --shadow-large:
        0 30px 80px rgba(9, 43, 87, 0.18);

    --radius-small: 14px;
    --radius-medium: 24px;
    --radius-large: 34px;

    --container: 1220px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    padding: 0;

    background: var(--cream);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}

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

a {
    color: inherit;
}

button {
    font: inherit;
}

::selection {
    background: var(--orange);
    color: #ffffff;
}


/* =========================================================
   2. GENERAL UTILITIES
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}

.section {
    position: relative;

    padding: 120px 0;
}

.section h2 {
    margin: 0 0 28px;

    color: var(--navy);

    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 900;
    line-height: 0.96;

    letter-spacing: -0.055em;
}

.section p {
    font-size: 18px;
    line-height: 1.75;
}

.section-intro {
    max-width: 800px;
    margin-bottom: 65px;
}

.lead {
    font-size: 23px !important;
    line-height: 1.55 !important;
    font-weight: 600;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 22px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    display: block;

    width: 30px;
    height: 3px;

    background: currentColor;

    border-radius: 999px;
}


/* =========================================================
   3. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 253, 249, 0.94);

    border-bottom: 1px solid rgba(9, 43, 87, 0.10);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header .nav {
    min-height: 92px;

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

    gap: 30px;
}


/* =========================================================
   4. HEADER LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;

    line-height: 0;
}

.header-logo-image {
    display: block;

    width: 210px;
    max-width: 210px;

    height: auto;
    max-height: 70px;

    object-fit: contain;

    transition:
        transform 0.25s ease;
}

.logo:hover .header-logo-image {
    transform: scale(1.025);
}


/* =========================================================
   5. NAVIGATION
   ========================================================= */

.main-navigation {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-links a {
    position: relative;

    display: inline-block;

    padding: 8px 0;

    color: var(--navy);

    text-decoration: none;

    font-size: 14px;
    font-weight: 850;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--orange);

    border-radius: 999px;

    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--orange);

    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 100%;
}


/* Support button */

.nav-links .nav-support {
    padding: 13px 21px;

    background: var(--orange);

    color: #ffffff !important;

    border-radius: 999px;

    box-shadow:
        0 8px 20px rgba(255, 87, 28, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.nav-links .nav-support::after {
    display: none;
}

.nav-links .nav-support:hover {
    background: var(--orange-light);

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(255, 87, 28, 0.30);
}


/* =========================================================
   6. MOBILE MENU
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 3px;

    margin: 5px 0;

    background: var(--navy);

    border-radius: 99px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* =========================================================
   7. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(255, 87, 28, 0.38),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 80%,
            rgba(18, 100, 163, 0.55),
            transparent 35%
        ),
        linear-gradient(
            125deg,
            #061d3d 0%,
            #092b57 46%,
            #15557b 100%
        );
}


/* Decorative background shape */

.hero::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -220px;
    bottom: -300px;

    border: 2px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    box-shadow:
        0 0 0 60px rgba(255,255,255,0.025),
        0 0 0 120px rgba(255,255,255,0.018),
        0 0 0 180px rgba(255,255,255,0.012);

    pointer-events: none;
}


/* Orange flame / pepper accent */

.hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 500px;

    right: 3%;
    top: 8%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 87, 28, 0.20),
            transparent 68%
        );

    transform: rotate(-12deg);

    pointer-events: none;
}

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

.hero-content {
    position: relative;

    max-width: 950px;

    padding: 120px 0 130px;
}

.hero .eyebrow {
    color: #ffffff;
}

.hero h1 {
    max-width: 900px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(
        70px,
        10vw,
        138px
    );

    font-weight: 950;

    line-height: 0.84;

    letter-spacing: -0.075em;
}

.hero-accent {
    display: inline-block;

    color: var(--orange);

    text-shadow:
        0 5px 0 rgba(0,0,0,0.08);
}

.hero-description {
    max-width: 760px;

    margin: 42px 0 35px;

    color: rgba(255,255,255,0.91);

    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.hero-note {
    margin-top: 30px;

    color: rgba(255,255,255,0.75);

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.01em;
}


/* =========================================================
   8. BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 14px 24px;

    border: 2px solid transparent;

    border-radius: 999px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

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

.button-primary {
    background: var(--orange);

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(255, 87, 28, 0.25);
}

.button-primary:hover {
    background: var(--orange-light);

    box-shadow:
        0 16px 38px rgba(255, 87, 28, 0.34);
}

.button-outline {
    border-color: rgba(255,255,255,0.85);

    color: #ffffff;

    background: rgba(255,255,255,0.03);
}

.button-outline:hover {
    background: #ffffff;

    color: var(--navy);
}

.button-dark {
    background: var(--navy);

    color: #ffffff;
}

.button-dark:hover {
    background: var(--navy-dark);

    box-shadow: var(--shadow-medium);
}


/* =========================================================
   9. MANIFESTO
   ========================================================= */

.manifesto {
    background: var(--cream);
}

.manifesto-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(320px, 1.25fr);

    gap: 100px;
}

.manifesto-heading h2 {
    max-width: 600px;
}

.manifesto-content {
    max-width: 730px;
}

.statement {
    margin-top: 42px;

    padding: 30px 32px;

    background: #ffffff;

    border-left: 5px solid var(--orange);

    border-radius:
        0
        var(--radius-small)
        var(--radius-small)
        0;

    box-shadow: var(--shadow-small);
}

.statement p {
    margin: 0;

    color: var(--navy);

    font-size: 21px;

    font-weight: 800;

    line-height: 1.5;
}


/* =========================================================
   10. NEURODIVERSITY
   ========================================================= */

.neurodiversity {
    background: #ffffff;
}

.neuro-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.neuro-card {
    position: relative;

    padding: 48px;

    background: var(--cream);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    overflow: hidden;
}

.neuro-card::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -70px;
    bottom: -70px;

    border: 20px solid rgba(255, 87, 28, 0.08);

    border-radius: 50%;
}

.neuro-card-featured {
    background: var(--navy);

    color: #ffffff;

    border-color: transparent;

    box-shadow: var(--shadow-medium);
}

.neuro-card-featured::after {
    border-color: rgba(255,255,255,0.06);
}

.card-label {
    margin-bottom: 15px !important;

    color: var(--orange);

    font-size: 12px !important;
    font-weight: 900 !important;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.neuro-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 20px;

    color: inherit;

    font-size: 36px;

    line-height: 1.04;

    letter-spacing: -0.035em;
}

.neuro-card p {
    position: relative;
    z-index: 2;
}

.keep-neuro {
    position: relative;
    z-index: 2;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.22);
}

.keep-neuro strong {
    color: var(--orange);

    font-size: 26px;
}


/* =========================================================
   11. STORY
   ========================================================= */

.story {
    background:
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );

    color: #ffffff;
}

.story h2 {
    color: #ffffff;
}

.story-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(320px, 1.25fr);

    gap: 100px;
}

.story-quote {
    margin: 45px 0 0;

    padding: 28px 30px;

    border-left: 5px solid var(--orange);

    color: #ffffff;

    font-size: 27px;

    font-weight: 850;

    line-height: 1.35;
}


/* =========================================================
   12. FUTURE VISION
   ========================================================= */

.future {
    background: #eaf0e8;
}

.future-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.future-card {
    position: relative;

    min-height: 390px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid rgba(9,43,87,0.06);

    border-radius: var(--radius-medium);

    overflow: hidden;

    box-shadow: var(--shadow-small);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.future-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-medium);
}

.future-number {
    position: absolute;

    top: 28px;
    right: 32px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.12em;

    opacity: 0.28;
}

.future-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    margin-bottom: 30px;

    background: #fff1e9;

    border-radius: 20px;

    font-size: 34px;
}

.future-card h3 {
    margin: 0 0 18px;

    color: var(--navy);

    font-size: 30px;

    line-height: 1.05;

    letter-spacing: -0.03em;
}


/* =========================================================
   13. INTERESTS
   ========================================================= */

.interests {
    background: var(--cream);
}

.interest-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.interest-card {
    padding: 36px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.interest-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255,87,28,0.35);

    box-shadow: var(--shadow-medium);
}

.interest-icon {
    margin-bottom: 20px;

    font-size: 38px;
}

.interest-card h3 {
    margin: 0 0 10px;

    color: var(--navy);

    font-size: 25px;
    line-height: 1.1;
}


/* =========================================================
   14. JOURNEY / LAND
   ========================================================= */

.journey {
    background: #ffffff;
}

.journey-top {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(320px, 1.25fr);

    gap: 100px;

    margin-bottom: 70px;
}

.timeline {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: #d8d4ca;

    border: 1px solid #d8d4ca;
}

.timeline-item {
    min-height: 270px;

    padding: 38px;

    background: #ffffff;
}

.timeline-number {
    display: block;

    margin-bottom: 25px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.13em;
}

.timeline-item h3 {
    margin: 0 0 15px;

    color: var(--navy);

    font-size: 25px;

    line-height: 1.08;
}


/* =========================================================
   15. JOURNAL
   ========================================================= */

.journal {
    background: #eaf0e8;
}

.journal-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 25px;
}

.journal-card {
    min-height: 380px;

    padding: 52px;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-small);
}

.journal-card-dark {
    background: var(--navy);

    color: #ffffff;
}

.journal-card-light {
    background: #ffffff;
}

.journal-card h3 {
    max-width: 620px;

    margin: 0 0 20px;

    color: inherit;

    font-size: clamp(38px, 5vw, 60px);

    line-height: 0.98;

    letter-spacing: -0.05em;
}

.journal-meta {
    margin-bottom: 20px !important;

    color: var(--orange);

    font-size: 12px !important;
    font-weight: 900 !important;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


/* =========================================================
   16. FEATURED BLOG
   ========================================================= */

.blog {
    background: #eaf0e8;
}

.blog .section-intro {
    max-width: 820px;
}

.blog-grid {
    display: grid;

    grid-template-columns:
        1.2fr
        0.9fr
        0.9fr;

    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;

    min-height: 100%;

    background: #ffffff;

    border: 1px solid rgba(9, 43, 87, 0.08);

    border-radius: var(--radius-medium);

    overflow: hidden;

    box-shadow: var(--shadow-small);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 87, 28, 0.28);

    box-shadow: var(--shadow-medium);
}

.blog-card-featured {
    box-shadow: var(--shadow-medium);
}

.blog-card-image {
    min-height: 190px;

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

    font-size: 72px;

    border-bottom: 1px solid rgba(9, 43, 87, 0.06);
}

.blog-card-image-orange {
    background:
        radial-gradient(
            circle at 25% 25%,
            rgba(255, 255, 255, 0.30),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ff571c,
            #ff8a2b
        );
}

.blog-card-image-blue {
    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(255, 255, 255, 0.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--blue)
        );
}

.blog-card-image-green {
    background:
        radial-gradient(
            circle at 25% 70%,
            rgba(255, 255, 255, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #4f8a3d,
            #76a95e
        );
}

.blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 34px;
}

.blog-meta {
    margin: 0 0 14px !important;

    color: var(--orange);

    font-size: 12px !important;
    font-weight: 900 !important;

    letter-spacing: 0.15em;

    line-height: 1.3 !important;

    text-transform: uppercase;
}

.blog-card h3 {
    margin: 0 0 17px;

    color: var(--navy);

    font-size: clamp(28px, 3vw, 38px);

    line-height: 1.04;

    letter-spacing: -0.035em;
}

.blog-card p:not(.blog-meta) {
    margin-top: 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.65;
}

.blog-link {
    display: inline-flex;
    align-items: center;

    margin-top: auto;
    padding-top: 22px;

    color: var(--navy);

    font-size: 15px;
    font-weight: 900;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.blog-link:hover {
    color: var(--orange);

    transform: translateX(4px);
}

.blog-button {
    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   17. LEADERS
   ========================================================= */

/* =========================================================
   18. LEADERS
   ========================================================= */

.leaders {
    background: #ffffff;
}

.leaders-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.leader-card {
    padding: 38px;

    background: var(--warm-white);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.leader-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-medium);
}

.leader-photo {
    width: 90px;
    height: 90px;

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

    margin-bottom: 25px;

    background:
        linear-gradient(
            135deg,
            var(--orange),
            #ff9b22
        );

    border-radius: 50%;

    color: #ffffff;

    font-size: 34px;
    font-weight: 900;

    box-shadow:
        0 10px 25px rgba(255,87,28,0.18);
}

.leader-card h3 {
    margin: 0;

    color: var(--navy);

    font-size: 30px;
}

.leader-role {
    margin: 5px 0 15px !important;

    color: var(--orange);

    font-size: 12px !important;
    font-weight: 900 !important;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   17. CONTACT
   ========================================================= */

.contact {
    background: var(--cream);
}

.contact-content {
    max-width: 900px;
}

.contact-email {
    display: inline-block;

    margin: 20px 0 28px;

    color: var(--orange);

    font-size: clamp(
        24px,
        4vw,
        48px
    );

    font-weight: 900;

    line-height: 1.05;

    text-decoration: none;

    letter-spacing: -0.04em;

    transition: color 0.2s ease;
}

.contact-email:hover {
    color: var(--navy);
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   18. SUPPORT / CALL TO ACTION
   ========================================================= */

.support {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(255,255,255,0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ff4d16,
            var(--orange)
        );

    color: #ffffff;

    text-align: center;
}

.support::before {
    content: "✦";

    position: absolute;

    top: 20%;
    left: 8%;

    color: rgba(255,255,255,0.18);

    font-size: 130px;
}

.support::after {
    content: "✦";

    position: absolute;

    right: 8%;
    bottom: 10%;

    color: rgba(255,255,255,0.18);

    font-size: 90px;
}

.support-content {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: 0 auto;
}

.support h2 {
    color: #ffffff;

    font-size: clamp(
        58px,
        9vw,
        115px
    );
}

.support .button {
    margin-top: 20px;

    background: var(--navy);

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(9,43,87,0.20);
}

.support .button:hover {
    background: var(--navy-dark);
}


/* =========================================================
   19. FOOTER
   ========================================================= */

.site-footer {
    padding: 75px 0 25px;

    background: var(--navy-dark);

    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        0.7fr
        0.7fr;

    gap: 60px;
}

.footer-logo {
    display: inline-flex;

    margin-bottom: 20px;
}

.footer-logo-image {
    display: block;

    width: 260px;
    max-width: 100%;

    height: auto;
}

.footer-brand p {
    max-width: 470px;

    color: rgba(255,255,255,0.72);

    line-height: 1.75;
}

.footer-column h3 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.72);

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

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

    padding-left: 4px;
}

.footer-social {
    display: flex;

    gap: 10px;

    margin-top: 25px;
}

.social-link {
    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 900;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.social-link:hover {
    background: var(--orange);

    border-color: var(--orange);

    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,0.14);
}

.footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,0.48);

    font-size: 13px;
}


/* =========================================================
   20. FOCUS ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--orange);

    outline-offset: 4px;
}

/* =========================================================
   SCROLL REVEAL ANIMATION
   ========================================================= */

.scroll-reveal {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* Slightly stagger cards as they appear */

.blog-card:nth-child(2) {
    transition-delay: 0.08s;
}

.blog-card:nth-child(3) {
    transition-delay: 0.16s;
}

/* =========================================================
   21. REDUCED MOTION
   ========================================================= */

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

    html {
        scroll-behavior: auto;
    }

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

 /* =========================================================
   BACK TO TOP LINKS
   ========================================================= */

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    margin-top: 3.5rem;
    padding: 0.75rem 1.15rem;

    color: var(--navy);
    background: rgba(255, 255, 255, 0.75);

    border: 1px solid rgba(10, 39, 77, 0.18);
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.back-to-top:hover {
    color: #ffffff;
    background: var(--orange);
    border-color: var(--orange);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(255, 91, 31, 0.18);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(255, 91, 31, 0.35);
    outline-offset: 4px;
}

/* =====================================================
   WHERE WE ARE SO FAR
   ===================================================== */

.where-we-are .section-intro {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.where-we-are .blog-grid {
    margin-top: 45px;
    grid-template-columns: repeat(3, 1fr);
}

.where-we-are .blog-card-featured {
    grid-column: auto;
}

.where-we-are .blog-card {
    height: 100%;
}

.where-we-are .blog-button {
    margin-top: 38px;
}

/* =========================================================
   22. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .header-logo-image {
        width: 180px;
        max-width: 180px;
    }

    .manifesto-grid,
    .story-grid,
    .journey-top {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

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

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

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

    .blog-card-featured {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   23. MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 32px),
            620px
        );
    }

    .section {
        padding: 80px 0;
    }

    .site-header .nav {
        min-height: 76px;
    }

    .header-logo-image {
        width: 155px;
        max-width: 155px;
        max-height: 56px;
    }

    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 90px 0 100px;
    }

    .hero h1 {
        font-size: clamp(
            62px,
            17vw,
            94px
        );

        line-height: 0.87;
    }

    .hero-description {
        margin-top: 32px;

        font-size: 18px;
    }

    .hero-buttons {
        align-items: stretch;

        flex-direction: column;

        max-width: 340px;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .neuro-grid,
    .future-grid,
    .interest-grid,
    .journal-grid,
    .blog-grid,
    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-featured {
        grid-column: auto;
    }

    .blog-card-image {
        min-height: 170px;
    }

    .blog-card-content {
        padding: 30px;
    }

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

    .neuro-card,
    .future-card,
    .interest-card,
    .leader-card {
        padding: 30px;
    }

    .journal-card {
        min-height: 320px;

        padding: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .footer-bottom {
        margin-top: 45px;
    }

}


/* =========================================================
   24. SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

    .container {
        width: min(
            calc(100% - 24px),
            600px
        );
    }

    .header-logo-image {
        width: 140px;
        max-width: 140px;
    }

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

    .hero-description {
        font-size: 17px;
    }

    .section h2 {
        font-size: 43px;
    }

    .support h2 {
        font-size: 58px;
    }

    .contact-email {
        font-size: 25px;
    }

    .blog-card-image {
        min-height: 150px;
        font-size: 60px;
    }

    .blog-card-content {
        padding: 26px;
    }

    .blog-card h3 {
        font-size: 29px;
    }

  


/* =========================================================
   BACK TO TOP — DARK SECTIONS
   ========================================================= */

.section-dark .back-to-top,
.dark-section .back-to-top {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.section-dark .back-to-top:hover,
.dark-section .back-to-top:hover {
    color: #ffffff;
    background: var(--orange);
    border-color: var(--orange);
}


/* =========================================================
   BACK TO TOP — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .back-to-top {
        margin-top: 2.5rem;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

}

/* =========================================================
   BACK TO TOP — DARK SECTIONS
   ========================================================= */

.section-dark .back-to-top,
.dark-section .back-to-top {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.section-dark .back-to-top:hover,
.dark-section .back-to-top:hover {
    color: #ffffff;
    background: var(--orange);
    border-color: var(--orange);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .back-to-top {
        margin-top: 2.5rem;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

}

}