/* ======================================================
   WhatHappensIf.net
   Main Stylesheet
   ====================================================== */


/* ---------- Brand variables ---------- */

:root {

    --navy: #082f49;
    --teal-dark: #064e5a;
    --teal: #087f8c;

    --yellow: #fbbf24;

    --text: #102a43;
    --muted: #5c7083;

    --background: #ffffff;
    --soft-background: #f5f8fa;

    --border: #dbe5ea;

    --max-width: 1200px;

    --radius: 12px;

}


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

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

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

a {
    color: inherit;
}


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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ======================================================
   HEADER
   ====================================================== */

.site-header {
    background: linear-gradient(
        110deg,
        var(--teal-dark),
        var(--navy)
    );

    color: #ffffff;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;

    min-height: 86px;

    padding: 12px 24px;

    display: flex;
    align-items: center;
    gap: 32px;
}


/* ---------- Logo ---------- */

.site-logo {
    display: flex;
    flex-direction: column;

    text-decoration: none;

    flex-shrink: 0;
}

.logo-main {
    font-size: 31px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.logo-main span,
.footer-logo span {
    color: var(--yellow);
}

.logo-tagline {
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.92;
}


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

.main-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--yellow);
}


/* ---------- Search ---------- */

.header-search {
    display: flex;

    width: 290px;

    background: #ffffff;
    border-radius: 999px;
    overflow: hidden;
}

.header-search input {
    width: 100%;
    min-width: 0;

    border: 0;
    outline: 0;

    padding: 11px 15px;

    font-size: 14px;
}

.header-search button {
    border: 0;

    padding: 0 17px;

    background: var(--yellow);
    color: var(--navy);

    font-weight: 700;
    cursor: pointer;
}


/* ---------- Mobile menu button ---------- */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    height: 2px;

    margin: 6px 0;

    background: #ffffff;
}


/* ======================================================
   MAIN CONTENT
   ====================================================== */

#main-content {
    min-height: 60vh;
}


/* ---------- Reusable container ---------- */

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

    margin-inline: auto;
}


/* ======================================================
   FOOTER
   ====================================================== */

.site-footer {
    margin-top: 70px;

    background: linear-gradient(
        110deg,
        var(--teal-dark),
        var(--navy)
    );

    color: #ffffff;
}

.footer-inner {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 38px 24px 24px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.footer-brand p {
    margin: 5px 0 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--yellow);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 20px;

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

    font-size: 14px;
    opacity: 0.85;
}
/* ======================================================
   HOMEPAGE
   ====================================================== */


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

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

    background:
        linear-gradient(
            115deg,
            #073f4c 0%,
            #075b65 48%,
            #082f49 100%
        );

    color: #ffffff;
}

.hero-inner {
    min-height: 540px;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 60px;

    padding-top: 70px;
    padding-bottom: 70px;
}

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

.hero-eyebrow,
.section-kicker {
    margin: 0 0 12px;

    color: #c88900;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.home-hero .hero-eyebrow {
    color: var(--yellow);
}

.hero-content h1 {
    max-width: 700px;

    margin: 0;

    font-size: clamp(50px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.hero-content h1 span {
    color: var(--yellow);
}

.hero-intro {
    max-width: 650px;

    margin: 24px 0 0;

    font-size: 21px;
    line-height: 1.6;

    color: rgba(255,255,255,0.92);
}


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

.hero-search {
    max-width: 680px;

    margin-top: 32px;

    display: flex;

    padding: 6px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 16px 35px rgba(0,0,0,0.18);
}

.hero-search input {
    flex: 1;
    min-width: 0;

    padding: 15px 17px;

    border: 0;
    outline: 0;

    font-size: 16px;
    color: var(--text);
}

.hero-search button {
    min-width: 110px;

    padding: 0 22px;

    border: 0;
    border-radius: 7px;

    background: var(--yellow);
    color: var(--navy);

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

    cursor: pointer;
}

.hero-search button:hover,
.hero-search button:focus-visible {
    filter: brightness(0.96);
}

.hero-example {
    margin: 14px 0 0;

    font-size: 14px;

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


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

.hero-visual {
    position: relative;

    min-height: 360px;

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

.hero-question-mark {
    position: relative;
    z-index: 3;

    width: 230px;
    height: 230px;

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

    border-radius: 50%;

    background: var(--yellow);

    color: var(--navy);

    font-size: 165px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.22);
}

.question-orbit {
    position: absolute;

    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 50%;
}

.orbit-one {
    width: 330px;
    height: 330px;
}

.orbit-two {
    width: 430px;
    height: 430px;
}

.floating-question {
    position: absolute;

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

    font-weight: 900;
}

.fq-one {
    top: 25px;
    right: 20px;
    font-size: 75px;
}

.fq-two {
    bottom: 15px;
    left: 20px;
    font-size: 52px;
}

.fq-three {
    top: 90px;
    left: 0;
    font-size: 34px;
}


/* ======================================================
   HOME SECTIONS
   ====================================================== */

.home-section {
    padding: 88px 0;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.how-heading h2,
.home-cta h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -1.5px;

    color: var(--navy);
}

.section-heading > p:last-child,
.how-heading > p:last-child {
    margin: 16px 0 0;

    color: var(--muted);

    font-size: 18px;
}


/* ======================================================
   CATEGORY CARDS
   ====================================================== */

.category-section {
    background: #ffffff;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 20px;
}

.category-card {
    position: relative;

    min-height: 245px;

    padding: 27px;

    display: flex;
    flex-direction: column;

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

    background: #ffffff;

    text-decoration: none;

    box-shadow:
        0 8px 24px rgba(16,42,67,0.06);

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

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-4px);

    box-shadow:
        0 16px 34px rgba(16,42,67,0.12);
}

/* Nine categories: three equal cards per row on desktop. */
.category-card {
    grid-column: span 2;
}

.category-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 22px;

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

    border-radius: 12px;

    font-size: 28px;
    font-weight: 800;
}

.category-big .category-icon {
    background: #e7f3f5;
    color: #087f8c;
}

.category-cars .category-icon {
    background: #fff4d4;
    color: #9b6800;
}

.category-home .category-icon {
    background: #edf5e9;
    color: #4d7443;
}

.category-travel .category-icon {
    background: #e9effa;
    color: #3d6297;
}

.category-work .category-icon {
    background: #f3eafa;
    color: #76528f;
}

.category-card h3 {
    margin: 0;

    color: var(--navy);

    font-size: 21px;
}

.category-card p {
    margin: 10px 0 20px;

    color: var(--muted);

    line-height: 1.6;
}

.category-link {
    margin-top: auto;

    color: var(--teal);

    font-weight: 700;
}


/* ======================================================
   QUESTION CARDS
   ====================================================== */

.explore-section {
    background: var(--soft-background);
}

.question-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.question-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

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

    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(16,42,67,0.05);
}

.question-card-top {
    min-height: 105px;

    padding: 20px;

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

    color: #ffffff;
}

.question-card-top span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.question-card-top strong {
    font-size: 54px;
    line-height: 1;

    opacity: 0.75;
}

.question-space {
    background: #164e63;
}

.question-car {
    background: #916a12;
}

.question-home {
    background: #55754b;
}

.question-travel {
    background: #486b9a;
}

.question-money {
    background: #28705a;
}

.question-technology {
    background: #5550a5;
}

.question-health {
    background: #a3475b;
}

.question-food {
    background: #6f7f32;
}

.question-card-body {
    flex: 1;

    padding: 25px;

    display: flex;
    flex-direction: column;
}

.question-card h3 {
    margin: 0;

    font-size: 21px;
    line-height: 1.35;
}

.question-card h3 a {
    color: var(--navy);
    text-decoration: none;
}

.question-card h3 a:hover,
.question-card h3 a:focus-visible {
    color: var(--teal);
}

.question-card p {
    margin: 14px 0 22px;

    color: var(--muted);

    font-size: 15px;
}

.read-question {
    margin-top: auto;

    color: var(--teal);

    text-decoration: none;

    font-weight: 700;
}


/* ======================================================
   HOW IT WORKS
   ====================================================== */

.how-section {
    background: #ffffff;
}

.how-inner {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}

.how-heading {
    max-width: 460px;
}

.how-grid {
    display: grid;

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

    gap: 20px;
}

.how-item {
    padding: 28px 24px;

    border-top: 3px solid var(--yellow);

    background: var(--soft-background);

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

.how-number {
    color: var(--teal);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.how-item h3 {
    margin: 12px 0 8px;

    color: var(--navy);

    font-size: 20px;
}

.how-item p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
}


/* ======================================================
   HOME CTA
   ====================================================== */

.home-cta {
    padding: 65px 0;

    background: #eaf3f4;
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.home-cta h2 {
    font-size: clamp(29px, 4vw, 40px);
}

.home-cta p:not(.section-kicker) {
    margin: 10px 0 0;

    color: var(--muted);
}

.cta-button {
    flex-shrink: 0;

    padding: 14px 22px;

    border-radius: 8px;

    background: var(--navy);
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;
}

.cta-button:hover,
.cta-button:focus-visible {
    background: var(--teal-dark);
}


/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 900px) {

    .header-inner {
        flex-wrap: wrap;
        gap: 14px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;

        order: 4;
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 0;

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

    .header-search {
        order: 5;
        width: 100%;
    }

}


@media (max-width: 560px) {

    .header-inner {
        padding-inline: 18px;
    }

    .logo-main {
        font-size: 25px;
    }

    .logo-tagline {
        font-size: 12px;
    }

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

}
/* ======================================================
   HOMEPAGE RESPONSIVE
   ====================================================== */

@media (max-width: 1000px) {

    .hero-inner {
        grid-template-columns: 1fr 0.55fr;
        gap: 30px;
    }

    .hero-question-mark {
        width: 180px;
        height: 180px;

        font-size: 125px;
    }

    .orbit-one {
        width: 260px;
        height: 260px;
    }

    .orbit-two {
        width: 330px;
        height: 330px;
    }

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

    .how-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


@media (max-width: 760px) {

    .home-section {
        padding: 65px 0;
    }

    .hero-inner {
        min-height: auto;

        grid-template-columns: 1fr;

        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .hero-visual {
        display: none;
    }

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

    .category-card {
        grid-column: auto;
    }

    .category-card:last-child {
        grid-column: 1 / -1;
    }

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

    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 520px) {

    .hero-inner {
        padding-top: 48px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-intro {
        font-size: 18px;
    }

    .hero-search {
        display: block;

        padding: 5px;
    }

    .hero-search input {
        width: 100%;

        padding: 14px;
    }

    .hero-search button {
        width: 100%;

        padding: 13px 18px;
    }

    .section-heading {
        text-align: left;
    }

    .category-grid,
    .question-grid {
        grid-template-columns: 1fr;
    }

    .category-card:last-child {
        grid-column: auto;
    }

    .category-card {
        min-height: auto;
    }

}
/* ======================================================
   HOMEPAGE DESKTOP REFINEMENTS
   ====================================================== */

@media (min-width: 901px) {

    .home-page .header-inner {
        min-height: 96px;
    }

    .home-page .logo-main {
        font-size: 34px;
    }

    .home-page .logo-tagline {
        font-size: 14px;
    }

    .home-page .main-nav {
        gap: 32px;
    }

    .home-page .main-nav a {
        font-size: 15px;
    }

    .home-page .header-search {
        width: 310px;
    }

    .home-page .hero-inner {
        min-height: 580px;
    }

    .home-page .category-card {
        min-height: 265px;
        padding: 30px;
    }

    .home-page .question-card-body {
        padding: 28px;
    }

}


/* Homepage CTA already provides footer spacing */

.home-page .site-footer {
    margin-top: 0;
}

/* ======================================================
   HOMEPAGE V1.1 REFINEMENTS — Sep 2026
   ====================================================== */

/* Stronger, reusable category colour language */
.category-big { --category-color: #087f8c; --category-soft: #e7f3f5; }
.category-cars { --category-color: #9b6800; --category-soft: #fff4d4; }
.category-home { --category-color: #4d7443; --category-soft: #edf5e9; }
.category-travel { --category-color: #3d6297; --category-soft: #e9effa; }
.category-work { --category-color: #76528f; --category-soft: #f3eafa; }
.category-money { --category-color: #28705a; --category-soft: #e7f2ed; }
.category-technology { --category-color: #5550a5; --category-soft: #eeedfa; }
.category-health { --category-color: #a3475b; --category-soft: #faeaee; }
.category-food { --category-color: #6f7f32; --category-soft: #f1f4df; }

.category-card {
    border-top: 4px solid var(--category-color);
}

.category-card .category-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 24px;
    background: var(--category-soft);
    color: var(--category-color);
    border-radius: 16px;
    font-size: 40px;
}

.category-card .category-link {
    color: var(--category-color);
}

.category-card:hover .category-link,
.category-card:focus-visible .category-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 760px) {
    .home-section {
        padding: 58px 0;
    }

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

    .category-card {
        padding: 25px 26px;
    }

    .category-card .category-icon {
        width: 76px;
        height: 76px;
        margin-bottom: 20px;
        font-size: 37px;
    }

    .how-inner {
        gap: 30px;
    }

    .how-grid {
        gap: 16px;
    }

    .how-item {
        padding: 22px 22px 24px;
    }

    .home-cta {
        padding: 54px 0;
    }
}

@media (max-width: 520px) {
    .hero-inner {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .hero-intro {
        margin-top: 20px;
        line-height: 1.5;
    }

    .hero-search {
        margin-top: 26px;
    }

    .hero-search input {
        font-size: 15px;
    }

    .hero-example {
        margin-top: 12px;
    }

    .section-heading > p:last-child,
    .how-heading > p:last-child {
        font-size: 17px;
        line-height: 1.55;
    }

    .category-card p {
        line-height: 1.55;
    }

    .how-item h3 {
        margin-top: 9px;
    }

    .how-item p {
        line-height: 1.55;
    }

    .footer-inner {
        padding: 34px 18px 22px;
    }

    .footer-bottom {
        margin-top: 24px;
        padding-top: 18px;
        line-height: 1.5;
    }
}

/* ======================================================
   HOMEPAGE V1.2 — FINAL RESPONSIVE REFINEMENTS
   Sep 2026
   Desktop layout intentionally preserved.
   ====================================================== */

@media (min-width: 901px) {
    .home-page .category-section { padding-bottom: 72px; }
    .home-page .explore-section { padding-top: 72px; padding-bottom: 72px; }
    .home-page .how-section { padding-top: 72px; padding-bottom: 72px; }
}

@media (max-width: 760px) {
    .home-page .home-section { padding: 48px 0; }
    .home-page .hero-inner { padding-top: 38px; padding-bottom: 40px; }
    .home-page .hero-content h1 { font-size: clamp(44px, 12vw, 58px); line-height: 1; }
    .home-page .hero-intro { margin-top: 18px; }

    /* Header search remains available on mobile; hide duplicate hero search. */
    .home-page .hero-search { display: none; }

    .home-page .hero-example { margin-top: 20px; }
    .home-page .section-heading { margin-bottom: 28px; }
    .home-page .category-grid { gap: 18px; }
    .home-page .category-card { min-height: 0; padding: 23px 24px; }
    .home-page .category-card .category-icon {
        width: 68px; height: 68px; margin-bottom: 18px;
        border-radius: 15px; font-size: 33px;
    }
    .home-page .category-card p { margin: 9px 0 16px; }
    .home-page .question-grid { gap: 18px; }
    .home-page .question-card-top { min-height: 88px; padding: 18px 20px; }
    .home-page .question-card-top strong { font-size: 46px; }
    .home-page .question-card-body { padding: 22px; }
    .home-page .question-card p { margin: 12px 0 18px; }
    .home-page .how-inner { gap: 26px; }
    .home-page .how-grid { gap: 14px; }
    .home-page .how-item { padding: 18px 20px 20px; }
    .home-page .how-item h3 { margin: 7px 0 5px; }
    .home-page .home-cta { padding: 46px 0; }
    .home-page .home-cta-inner { gap: 26px; }
}

@media (max-width: 520px) {
    .home-page .home-section { padding: 42px 0; }
    .home-page .hero-inner { padding-top: 32px; padding-bottom: 34px; }
    .home-page .hero-eyebrow { margin-bottom: 10px; }
    .home-page .hero-content h1 { font-size: 46px; letter-spacing: -2px; }
    .home-page .hero-intro { font-size: 17px; line-height: 1.48; }
    .home-page .hero-example { margin-top: 17px; font-size: 13px; }
    .home-page .section-heading { margin-bottom: 25px; }

    .home-page .section-heading h2,
    .home-page .how-heading h2,
    .home-page .home-cta h2 {
        font-size: 34px;
        line-height: 1.12;
    }

    .home-page .section-heading > p:last-child,
    .home-page .how-heading > p:last-child {
        margin-top: 13px;
        font-size: 16px;
        line-height: 1.5;
    }

    .home-page .category-grid,
    .home-page .question-grid { gap: 16px; }

    .home-page .category-card { padding: 22px; }
    .home-page .category-card .category-icon {
        width: 64px; height: 64px; margin-bottom: 16px; font-size: 31px;
    }
    .home-page .category-card h3 { font-size: 20px; }
    .home-page .category-card p { margin-bottom: 14px; line-height: 1.5; }
    .home-page .question-card-top { min-height: 82px; padding: 17px 20px; }
    .home-page .question-card-body { padding: 20px; }
    .home-page .question-card h3 { font-size: 20px; }
    .home-page .how-grid { gap: 12px; }
    .home-page .how-item { padding: 17px 20px 18px; }
    .home-page .how-item h3 { margin: 6px 0 4px; font-size: 19px; }
    .home-page .how-item p { font-size: 14px; line-height: 1.45; }
    .home-page .home-cta { padding: 42px 0; }
    .home-page .cta-button { padding: 13px 20px; }
}
/* ======================================================
   CATEGORIES PAGE
   Add this block to the end of /css/main.css
   ====================================================== */

.categories-page .site-footer {
    margin-top: 0;
}

.categories-hero {
    background:
        linear-gradient(
            115deg,
            #073f4c 0%,
            #075b65 48%,
            #082f49 100%
        );

    color: #ffffff;
}

.categories-hero-inner {
    padding-top: 82px;
    padding-bottom: 82px;
}

.categories-hero .section-kicker {
    color: var(--yellow);
}

.categories-hero h1 {
    max-width: 760px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(46px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -2.4px;
}

.categories-hero-intro {
    max-width: 700px;

    margin: 22px 0 0;

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

    font-size: 19px;
    line-height: 1.6;
}


.categories-directory {
    padding: 78px 0 84px;

    background: #ffffff;
}

/* The cards reuse the homepage category-card system. */
.categories-page .category-card h2 {
    margin: 0;

    color: var(--navy);

    font-size: 21px;
    line-height: 1.3;
}

.categories-page .category-card p {
    margin: 10px 0 20px;
}

.categories-page .category-card {
    min-height: 265px;
    padding: 30px;
}


.categories-note {
    padding: 72px 0;

    background: var(--soft-background);
}

.categories-note-inner {
    max-width: 760px;

    margin-inline: auto;

    text-align: center;
}

.categories-note-inner h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.categories-note-inner > p:not(.section-kicker) {
    max-width: 650px;

    margin: 16px auto 26px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;
}

.categories-note .cta-button {
    display: inline-flex;
}


@media (max-width: 760px) {

    .categories-hero-inner {
        padding-top: 56px;
        padding-bottom: 58px;
    }

    .categories-hero h1 {
        font-size: clamp(42px, 11vw, 56px);
        letter-spacing: -2px;
    }

    .categories-hero-intro {
        margin-top: 18px;

        font-size: 17px;
        line-height: 1.5;
    }

    .categories-directory {
        padding: 52px 0 56px;
    }

    .categories-page .category-card {
        min-height: 0;
        padding: 23px 24px;
    }

    .categories-page .category-card .category-icon {
        width: 68px;
        height: 68px;

        margin-bottom: 18px;

        border-radius: 15px;

        font-size: 33px;
    }

    .categories-note {
        padding: 52px 0;
    }

}


@media (max-width: 520px) {

    .categories-hero-inner {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    .categories-hero h1 {
        font-size: 44px;
    }

    .categories-directory {
        padding: 42px 0 46px;
    }

    .categories-page .category-grid {
        gap: 16px;
    }

    .categories-page .category-card {
        padding: 22px;
    }

    .categories-page .category-card .category-icon {
        width: 64px;
        height: 64px;

        margin-bottom: 16px;

        font-size: 31px;
    }

    .categories-page .category-card h2 {
        font-size: 20px;
    }

    .categories-page .category-card p {
        margin-bottom: 14px;

        line-height: 1.5;
    }

    .categories-note {
        padding: 44px 0;
    }

    .categories-note-inner {
        text-align: left;
    }

    .categories-note-inner h2 {
        font-size: 34px;
    }

    .categories-note-inner > p:not(.section-kicker) {
        margin-left: 0;
    }

}
/* ======================================================
   TOPIC PAGE — CARS & DRIVING
   Add this block to the end of /css/main.css
   ====================================================== */

.topic-page .site-footer {
    margin-top: 0;
}

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

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

    min-height: 455px;

    display: flex;
    align-items: stretch;

    background: var(--navy);
    color: #ffffff;
}

.topic-hero-media,
.topic-hero-overlay {
    position: absolute;
    inset: 0;
}

.topic-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(5,25,39,0.92) 0%,
            rgba(5,35,48,0.78) 42%,
            rgba(5,35,48,0.26) 72%,
            rgba(5,35,48,0.10) 100%
        );
}

.topic-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    padding-top: 70px;
    padding-bottom: 70px;
}

.topic-hero-content {
    max-width: 690px;
}

.topic-kicker {
    display: inline-block;

    margin: 0 0 17px;
    padding: 7px 12px;

    border-radius: 6px;

    background: #c88900;
    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.topic-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -2.8px;
}

.topic-hero h1 span {
    color: var(--yellow);
}

.topic-hero-content > p:last-child {
    max-width: 650px;

    margin: 24px 0 0;

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

    font-size: 19px;
    line-height: 1.6;
}


/* ---------- Category intro ---------- */

.topic-intro {
    padding: 38px 0;

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

    background: #ffffff;
}

.topic-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 34px;
}

.topic-intro-item {
    display: grid;
    grid-template-columns: 58px 1fr;

    gap: 17px;
    align-items: start;
}

.topic-intro-icon {
    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: #fff4d4;
    color: #9b6800;

    font-size: 27px;
    font-weight: 900;
}

.topic-intro-item h2 {
    margin: 1px 0 5px;

    color: var(--navy);

    font-size: 18px;
}

.topic-intro-item p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}


/* ---------- Questions ---------- */

.topic-questions {
    padding: 76px 0 82px;

    background: var(--soft-background);
}

.topic-section-heading {
    max-width: 760px;

    margin-bottom: 36px;
}

.topic-section-heading h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.topic-section-heading > p:last-child {
    margin: 14px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;
}

.topic-question-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.topic-question-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 315px;

    border: 1px solid var(--border);
    border-top: 4px solid #c88900;
    border-radius: var(--radius);

    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(16,42,67,0.06);
}

.topic-question-mark {
    padding: 20px 24px 0;

    color: #c88900;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.topic-question-body {
    flex: 1;

    padding: 12px 24px 24px;

    display: flex;
    flex-direction: column;
}

.topic-question-label {
    margin: 0 0 9px;

    color: #8a6100;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.topic-question-card h3 {
    margin: 0;

    color: var(--navy);

    font-size: 21px;
    line-height: 1.32;
}

.topic-question-card h3 a {
    color: inherit;
    text-decoration: none;
}

.topic-question-card h3 a:hover,
.topic-question-card h3 a:focus-visible {
    color: #9b6800;
}

.topic-question-body > p:not(.topic-question-label) {
    margin: 14px 0 20px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.55;
}

.topic-question-link,
.topic-question-coming {
    margin-top: auto;

    font-size: 14px;
    font-weight: 700;
}

.topic-question-link {
    color: #9b6800;

    text-decoration: none;
}

.topic-question-link:hover,
.topic-question-link:focus-visible {
    text-decoration: underline;
}

.topic-question-coming {
    color: #7b8995;
}


/* ---------- Explore another topic ---------- */

.topic-more {
    padding: 70px 0 76px;

    background: #ffffff;
}

.topic-section-heading-compact {
    margin-bottom: 28px;
}

.topic-more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.topic-more-card {
    min-height: 150px;

    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-radius: var(--radius);

    color: #ffffff;
    text-decoration: none;

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

.topic-more-card:hover,
.topic-more-card:focus-visible {
    transform: translateY(-3px);

    box-shadow:
        0 14px 28px rgba(16,42,67,0.14);
}

.topic-more-card > span {
    margin-bottom: 10px;

    font-size: 29px;
    font-weight: 900;
}

.topic-more-card strong {
    font-size: 18px;
}

.topic-more-card small {
    margin-top: 7px;

    font-size: 13px;
    font-weight: 700;

    opacity: 0.9;
}

.topic-more-big {
    background: #087f8c;
}

.topic-more-home {
    background: #55754b;
}

.topic-more-travel {
    background: #486b9a;
}

.topic-more-work {
    background: #76528f;
}

.topic-more-cars {
    background: #916a12;
}


/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 900px) {

    .topic-hero {
        min-height: 420px;
    }

    .topic-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,25,39,0.92) 0%,
                rgba(5,35,48,0.76) 60%,
                rgba(5,35,48,0.34) 100%
            );
    }

    .topic-intro-grid {
        gap: 22px;
    }

    .topic-question-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .topic-more-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 760px) {

    .topic-hero {
        min-height: 390px;
    }

    .topic-hero-media img {
        object-position: 62% center;
    }

    .topic-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,25,39,0.94) 0%,
                rgba(5,35,48,0.82) 70%,
                rgba(5,35,48,0.56) 100%
            );
    }

    .topic-hero-inner {
        padding-top: 54px;
        padding-bottom: 56px;
    }

    .topic-hero-content {
        max-width: 570px;
    }

    .topic-hero h1 {
        font-size: clamp(43px, 11vw, 58px);
        letter-spacing: -2px;
    }

    .topic-hero-content > p:last-child {
        margin-top: 19px;

        font-size: 17px;
        line-height: 1.5;
    }

    .topic-intro {
        padding: 34px 0;
    }

    .topic-intro-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .topic-questions {
        padding: 54px 0 58px;
    }

    .topic-question-card {
        min-height: 0;
    }

    .topic-more {
        padding: 52px 0 56px;
    }

}


@media (max-width: 520px) {

    .topic-hero {
        min-height: 360px;
    }

    .topic-hero-media img {
        object-position: 66% center;
    }

    .topic-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,25,39,0.96) 0%,
                rgba(5,35,48,0.86) 76%,
                rgba(5,35,48,0.65) 100%
            );
    }

    .topic-hero-inner {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    .topic-kicker {
        margin-bottom: 14px;

        font-size: 12px;
    }

    .topic-hero h1 {
        font-size: 43px;
        line-height: 1;
    }

    .topic-hero-content > p:last-child {
        font-size: 16px;
    }

    .topic-intro-item {
        grid-template-columns: 52px 1fr;

        gap: 14px;
    }

    .topic-intro-icon {
        width: 52px;
        height: 52px;

        font-size: 24px;
    }

    .topic-questions {
        padding: 44px 0 48px;
    }

    .topic-section-heading {
        margin-bottom: 27px;
    }

    .topic-section-heading h2 {
        font-size: 34px;
    }

    .topic-section-heading > p:last-child {
        font-size: 16px;
        line-height: 1.5;
    }

    .topic-question-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .topic-question-mark {
        padding: 18px 21px 0;
    }

    .topic-question-body {
        padding: 10px 21px 21px;
    }

    .topic-question-card h3 {
        font-size: 20px;
    }

    .topic-more {
        padding: 44px 0 48px;
    }

    .topic-more-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .topic-more-card {
        min-height: 125px;
    }

}


/* ======================================================
   GLOBAL HEADER / FOOTER / MOBILE HEADER REFINEMENTS
   Retained from the previous combined stylesheet.
   ====================================================== */

/* ==========================================================
   WHATHAPPENSIF.NET — HEADER ICON + NEW FOOTER
   Paste at the VERY END of /css/main.css
   ========================================================== */

/* ---------- Header brand lockup ---------- */

.site-logo {
    text-decoration: none;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: block;
}

.brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy .logo-main,
.brand-copy .logo-tagline {
    display: block;
}


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

.site-footer {
    margin-top: 0;
    padding: 68px 0 0;
    color: rgba(255,255,255,.82);
    background:
        linear-gradient(115deg, #075b64 0%, #064e5a 35%, #082f49 100%);
}

.site-footer .footer-inner {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.55fr) minmax(150px, .75fr) minmax(150px, .75fr) minmax(230px, 1fr);
    gap: 54px;
    align-items: start;
    padding-bottom: 54px;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    color: #fff;
    text-decoration: none;
}

.footer-brand-icon {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
}

.footer-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-logo {
    display: block;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.2px;
    white-space: nowrap;
}

.footer-logo span {
    color: var(--yellow);
}

.footer-tagline {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-description {
    max-width: 390px;
    margin: 27px 0 0;
    color: rgba(255,255,255,.76);
    font-size: 16px;
    line-height: 1.7;
}

.footer-column h2 {
    margin: 4px 0 18px;
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
}

.footer-column a {
    display: block;
    width: fit-content;
    margin: 0 0 11px;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: var(--yellow);
}

.footer-explore p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.6;
}

.footer-search {
    display: grid;
    grid-template-columns: 1fr auto;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.footer-search input {
    min-width: 0;
    padding: 13px 14px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: #fff;
    font: inherit;
    font-size: 14px;
}

.footer-search button {
    padding: 0 16px;
    border: 0;
    cursor: pointer;
    color: var(--navy);
    background: var(--yellow);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 26px 0 29px;
    border-top: 1px solid rgba(255,255,255,.20);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.5;
}

.footer-bottom-tagline {
    text-align: right;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* ---------- Responsive ---------- */

@media (max-width: 1050px) {

    .footer-layout {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 42px;
    }

    .footer-explore {
        grid-column: 1 / -1;
        max-width: 520px;
    }

}

@media (max-width: 760px) {

    .brand-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .brand-lockup {
        gap: 10px;
    }

    .site-footer {
        padding-top: 50px;
    }

    .site-footer .footer-inner {
        width: min(calc(100% - 40px), var(--max-width));
    }

    .footer-layout {
        grid-template-columns: 1fr 1fr;
        gap: 38px 28px;
        padding-bottom: 42px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 9px;
    }

    .footer-bottom-tagline {
        text-align: left;
    }

}

@media (max-width: 520px) {

    .brand-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

    .footer-brand-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }

    .footer-logo {
        font-size: 27px;
    }

    .footer-tagline {
        font-size: 10px;
        letter-spacing: 1.1px;
    }

    .footer-description {
        margin-top: 23px;
    }

    .footer-search {
        grid-template-columns: 1fr;
        background: transparent;
        overflow: visible;
        gap: 9px;
    }

    .footer-search input,
    .footer-search button {
        min-height: 48px;
        border-radius: 7px;
    }

}
/* ======================================================
   MOBILE HEADER — FINAL CLEAN VERSION
   Hide brand icon in header only
   ====================================================== */

@media (max-width: 900px) {

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 52px;
        align-items: start;
        column-gap: 18px;
    }

    /* Hide icon in MOBILE HEADER only */
    .site-header .brand-icon {
        display: none;
    }

    /* Branding */
    .site-logo {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        min-width: 0;
        margin: 0;
    }

    .brand-lockup {
        display: block;
    }

    .brand-copy {
        display: block;
    }

    .logo-main {
        display: block;
        font-size: 34px;
        line-height: 1;
        letter-spacing: -1.4px;
        white-space: nowrap;
    }

    .logo-tagline {
        display: block;
        margin-top: 9px;
        font-size: 14px;
        line-height: 1.3;
    }

    /* Hamburger */
    .menu-toggle {
        position: static;
        grid-column: 2;
        grid-row: 1;

        align-self: start;

        width: 48px;
        height: 48px;

        margin: 0;
        padding: 4px;

        transform: none;
    }

    /* Search bar gets full second row */
    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
        margin-top: 24px;
    }
}


@media (max-width: 520px) {

    .header-inner {
        grid-template-columns: minmax(0, 1fr) 46px;
        column-gap: 14px;
    }

    .logo-main {
        font-size: 31px;
        letter-spacing: -1.2px;
    }

    .logo-tagline {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.3;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .header-search {
        margin-top: 22px;
    }
}

/* ======================================================
   FOOTER LINK COLOURS — Sep 2026
   ====================================================== */

.site-footer .footer-column a,
.site-footer .footer-feature-link {
    color: var(--yellow);
    text-decoration: none;
}

.site-footer .footer-column a:hover,
.site-footer .footer-column a:focus-visible,
.site-footer .footer-feature-link:hover,
.site-footer .footer-feature-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ======================================================
   SHARED EXPLORE TOPICS — Sep 2026
   Used by category pages and article pages
   ====================================================== */

.shared-explore-topics {
    margin-top: 20px;
    margin-bottom: 64px;
}

.shared-explore-header {
    margin-bottom: 24px;
}

.shared-explore-header h2 {
    margin: 4px 0 8px;
}

.shared-explore-header p:last-child {
    margin-bottom: 0;
}

.shared-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.shared-explore-card {
    --explore-color: #0f7784;
    --explore-soft: #e6f3f5;
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 22px;
    border: 1px solid #dbe5ea;
    border-top: 3px solid var(--explore-color);
    border-radius: 12px;
    background: #fff;
    color: #0b3551;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shared-explore-card:hover,
.shared-explore-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.10);
}

.shared-explore-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--explore-soft);
    color: var(--explore-color);
    font-size: 1.45rem;
    font-weight: 800;
}

.shared-explore-card strong {
    font-size: 1rem;
    line-height: 1.3;
}

.shared-explore-card small {
    margin-top: auto;
    color: var(--explore-color);
    font-weight: 700;
}

.shared-explore-big {
    --explore-color: #0f7784;
    --explore-soft: #e6f3f5;
}

.shared-explore-cars {
    --explore-color: #a87508;
    --explore-soft: #fff3d2;
}

.shared-explore-home {
    --explore-color: #52784b;
    --explore-soft: #edf4e9;
}

.shared-explore-travel {
    --explore-color: #4f72a4;
    --explore-soft: #eaf0fa;
}

.shared-explore-work {
    --explore-color: #7a4ea3;
    --explore-soft: #f2e9fa;
}

.shared-explore-money {
    --explore-color: #28705a;
    --explore-soft: #e5f2ed;
}

.shared-explore-technology {
    --explore-color: #5550a5;
    --explore-soft: #ececfa;
}

.shared-explore-health {
    --explore-color: #a3475b;
    --explore-soft: #f8e8ec;
}

.shared-explore-food {
    --explore-color: #6f7f32;
    --explore-soft: #f0f3df;
}

@media (max-width: 900px) {
    .shared-explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .shared-explore-topics {
        margin-top: 20px;
        margin-bottom: 44px;
    }

    .shared-explore-grid {
        grid-template-columns: 1fr;
    }

    .shared-explore-card {
        min-height: 0;
    }
}

/* ======================================================
   ABOUT PAGE — Sep 2026
   ====================================================== */

.about-page .site-footer {
    margin-top: 0;
}


/* ======================================================
   HERO
   ====================================================== */

.about-hero {
    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            #073f4c 0%,
            #075b65 48%,
            #082f49 100%
        );

    color: #ffffff;
}

.about-hero-inner {
    min-height: 455px;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 70px;

    padding-top: 70px;
    padding-bottom: 70px;
}

.about-hero .section-kicker {
    color: var(--yellow);
}

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

.about-hero h1 {
    max-width: 760px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -2.5px;
}

.about-hero h1 span {
    color: var(--yellow);
}

.about-hero-content > p:last-child {
    max-width: 680px;

    margin: 24px 0 0;

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

    font-size: 19px;
    line-height: 1.6;
}


/* ---------- Hero question mark ---------- */

.about-hero-visual {
    position: relative;

    min-height: 300px;

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

.about-question-mark {
    position: relative;
    z-index: 3;

    width: 180px;
    height: 180px;

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

    border-radius: 50%;

    background: var(--yellow);
    color: var(--navy);

    font-size: 128px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 22px 50px rgba(0,0,0,0.22);
}

.about-orbit {
    position: absolute;

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

    border-radius: 50%;
}

.about-orbit-one {
    width: 260px;
    height: 260px;
}

.about-orbit-two {
    width: 340px;
    height: 340px;
}


/* ======================================================
   SHARED ABOUT SECTIONS
   ====================================================== */

.about-section {
    padding: 78px 0;
}

.about-section h2,
.about-contact h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}


/* ======================================================
   INTRO
   ====================================================== */

.about-intro {
    background: #ffffff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.about-heading {
    max-width: 460px;
}

.about-copy {
    max-width: 680px;
}

.about-copy p {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}

.about-copy p:last-child {
    margin-bottom: 0;
}


/* ======================================================
   HOW ANSWERS ARE BUILT
   ====================================================== */

.about-method {
    background: var(--soft-background);
}

.about-section-heading {
    max-width: 720px;

    margin-bottom: 42px;
}

.about-section-heading > p:last-child {
    margin: 16px 0 0;

    color: var(--muted);

    font-size: 17px;
}

.about-method-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.about-method-card {
    padding: 28px 25px;

    border-top:
        4px solid var(--yellow);

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

    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(16,42,67,0.06);
}

.about-method-number {
    color: var(--teal);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-method-card h3 {
    margin: 13px 0 9px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.3;
}

.about-method-card p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}


/* ======================================================
   RESEARCH & ACCURACY
   ====================================================== */

.about-standards {
    background: #ffffff;
}

.about-standards-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.about-standards-content {
    max-width: 650px;
}

.about-standards-content > p:not(.section-kicker) {
    margin: 18px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}

.about-principles {
    display: grid;
    gap: 18px;
}

.about-principle {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 17px;
    align-items: start;

    padding: 21px;

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

    background: #ffffff;
}

.about-principle > span {
    width: 44px;
    height: 44px;

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

    border-radius: 10px;

    background: #e7f3f5;
    color: var(--teal);

    font-size: 21px;
    font-weight: 800;
}

.about-principle h3 {
    margin: 0 0 5px;

    color: var(--navy);

    font-size: 18px;
}

.about-principle p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.55;
}


/* ======================================================
   IMPORTANT INFORMATION
   ====================================================== */

.about-information {
    padding-top: 20px;

    background: #ffffff;
}

.about-information-box {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 26px;

    padding: 36px 38px;

    border: 1px solid #ead9ad;
    border-left: 5px solid var(--yellow);
    border-radius: var(--radius);

    background: #fffaf0;
}

.about-information-mark {
    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: var(--yellow);
    color: var(--navy);

    font-size: 32px;
    font-weight: 900;
}

.about-information-box h2 {
    font-size: clamp(27px, 3vw, 36px);
}

.about-information-box p:not(.section-kicker) {
    max-width: 900px;

    margin: 15px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}


/* ======================================================
   EXPLORE
   ====================================================== */

.about-explore {
    background: #eaf3f4;
}

.about-explore-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.about-explore-inner > div {
    max-width: 700px;
}

.about-explore p:not(.section-kicker) {
    margin: 14px 0 0;

    color: var(--muted);

    font-size: 17px;
}


/* ======================================================
   CONTACT
   ====================================================== */

.about-contact {
    padding: 68px 0;

    background: #ffffff;
}

.about-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.about-contact-inner > div {
    max-width: 680px;
}

.about-contact p:not(.section-kicker) {
    margin: 14px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;
}

.about-email {
    flex-shrink: 0;

    padding: 14px 21px;

    border: 2px solid var(--teal);
    border-radius: 8px;

    color: var(--teal-dark);

    text-decoration: none;
    font-weight: 700;
}

.about-email:hover,
.about-email:focus-visible {
    background: var(--teal-dark);
    color: #ffffff;
}


/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 900px) {

    .about-hero-inner {
        grid-template-columns: 1fr 0.5fr;
        gap: 30px;
    }

    .about-question-mark {
        width: 145px;
        height: 145px;

        font-size: 102px;
    }

    .about-orbit-one {
        width: 210px;
        height: 210px;
    }

    .about-orbit-two {
        width: 275px;
        height: 275px;
    }

    .about-intro-grid,
    .about-standards-grid {
        gap: 45px;
    }

    .about-method-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 760px) {

    .about-hero-inner {
        min-height: 0;

        grid-template-columns: 1fr;

        padding-top: 56px;
        padding-bottom: 58px;
    }

    .about-hero-visual {
        display: none;
    }

    .about-hero h1 {
        font-size: clamp(43px, 11vw, 56px);
        letter-spacing: -2px;
    }

    .about-hero-content > p:last-child {
        margin-top: 19px;

        font-size: 17px;
        line-height: 1.5;
    }

    .about-section {
        padding: 56px 0;
    }

    .about-intro-grid,
    .about-standards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-method-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-section-heading {
        margin-bottom: 30px;
    }

    .about-information {
        padding-top: 10px;
    }

    .about-information-box {
        grid-template-columns: 1fr;

        padding: 29px 27px;
    }

    .about-information-mark {
        width: 50px;
        height: 50px;

        font-size: 27px;
    }

    .about-explore-inner,
    .about-contact-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 28px;
    }

}


@media (max-width: 520px) {

    .about-hero-inner {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    .about-hero h1 {
        font-size: 44px;
    }

    .about-section {
        padding: 46px 0;
    }

    .about-section h2,
    .about-contact h2 {
        font-size: 34px;
    }

    .about-copy p,
    .about-standards-content > p:not(.section-kicker),
    .about-explore p:not(.section-kicker),
    .about-contact p:not(.section-kicker) {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-method-card {
        padding: 23px 22px;
    }

    .about-principle {
        padding: 18px;
    }

    .about-information-box {
        padding: 24px 22px;
    }

    .about-information-box h2 {
        font-size: 29px;
    }

    .about-contact {
        padding: 48px 0;
    }

    .about-email {
        max-width: 100%;
        font-size: 15px;
    }

}
/* ======================================================
   CONTACT PAGE — Sep 2026
   ====================================================== */

.contact-page .site-footer {
    margin-top: 0;
}


/* ======================================================
   HERO
   ====================================================== */

.contact-hero {
    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            #073f4c 0%,
            #075b65 48%,
            #082f49 100%
        );

    color: #ffffff;
}

.contact-hero-inner {
    min-height: 420px;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 70px;

    padding-top: 68px;
    padding-bottom: 68px;
}

.contact-hero .section-kicker {
    color: var(--yellow);
}

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

.contact-hero h1 {
    max-width: 760px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -2.5px;
}

.contact-hero h1 span {
    color: var(--yellow);
}

.contact-hero-content > p:last-child {
    max-width: 680px;

    margin: 24px 0 0;

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

    font-size: 19px;
    line-height: 1.6;
}


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

.contact-hero-visual {
    position: relative;

    min-height: 290px;

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

.contact-message-icon {
    position: relative;
    z-index: 3;

    width: 180px;
    height: 180px;

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

    border-radius: 50%;

    background: var(--yellow);
    color: var(--navy);

    font-size: 100px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 22px 50px rgba(0,0,0,0.22);
}

.contact-orbit {
    position: absolute;

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

    border-radius: 50%;
}

.contact-orbit-one {
    width: 260px;
    height: 260px;
}

.contact-orbit-two {
    width: 340px;
    height: 340px;
}


/* ======================================================
   SHARED CONTACT SECTIONS
   ====================================================== */

.contact-section {
    padding: 76px 0;
}

.contact-section h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}


/* ======================================================
   MAIN CONTACT
   ====================================================== */

.contact-main {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    max-width: 520px;
}

.contact-intro > p:not(.section-kicker) {
    margin: 18px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}


/* ---------- Email button ---------- */

.contact-email-button {
    max-width: 500px;

    margin-top: 30px;
    padding: 18px 20px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 2px solid var(--teal);
    border-radius: var(--radius);

    background: #ffffff;

    color: var(--navy);

    text-decoration: none;

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

.contact-email-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

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

    border-radius: 10px;

    background: #e7f3f5;
    color: var(--teal);

    font-size: 25px;
    font-weight: 800;
}

.contact-email-button span:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.contact-email-button small {
    color: var(--muted);

    font-size: 13px;
}

.contact-email-button strong {
    overflow-wrap: anywhere;

    font-size: 17px;
}

.contact-email-button:hover,
.contact-email-button:focus-visible {
    background: var(--teal-dark);
    color: #ffffff;
}

.contact-email-button:hover small,
.contact-email-button:focus-visible small {
    color: rgba(255,255,255,0.8);
}


/* ---------- Contact reasons ---------- */

.contact-reasons {
    display: grid;
    gap: 18px;
}

.contact-reason {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 19px;
    align-items: start;

    padding: 23px;

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

    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(16,42,67,0.05);
}

.contact-reason-icon {
    width: 52px;
    height: 52px;

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

    border-radius: 11px;

    background: #e7f3f5;
    color: var(--teal);

    font-size: 24px;
    font-weight: 800;
}

.contact-reason h3 {
    margin: 0 0 6px;

    color: var(--navy);

    font-size: 19px;
}

.contact-reason p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}


/* ======================================================
   HELPFUL TO INCLUDE
   ====================================================== */

.contact-help {
    background: var(--soft-background);
}

.contact-help-heading {
    max-width: 720px;

    margin-bottom: 40px;
}

.contact-help-heading > p:last-child {
    margin: 16px 0 0;

    color: var(--muted);

    font-size: 17px;
}

.contact-help-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.contact-help-item {
    padding: 28px 25px;

    border-top:
        4px solid var(--yellow);

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

    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(16,42,67,0.06);
}

.contact-help-item > span {
    color: var(--teal);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-help-item h3 {
    margin: 12px 0 8px;

    color: var(--navy);

    font-size: 20px;
}

.contact-help-item p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}


/* ======================================================
   IMPORTANT NOTE
   ====================================================== */

.contact-note {
    padding-top: 54px;

    background: #ffffff;
}

.contact-note-box {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 26px;

    padding: 36px 38px;

    border: 1px solid #ead9ad;
    border-left: 5px solid var(--yellow);
    border-radius: var(--radius);

    background: #fffaf0;
}

.contact-note-mark {
    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: var(--yellow);
    color: var(--navy);

    font-size: 32px;
    font-weight: 900;
}

.contact-note-box h2 {
    font-size: clamp(27px, 3vw, 36px);
}

.contact-note-box p:not(.section-kicker) {
    max-width: 900px;

    margin: 15px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}


/* ======================================================
   EXPLORE
   ====================================================== */

.contact-explore {
    background: #eaf3f4;
}

.contact-explore-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.contact-explore-inner > div {
    max-width: 700px;
}

.contact-explore p:not(.section-kicker) {
    margin: 14px 0 0;

    color: var(--muted);

    font-size: 17px;
}


/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 900px) {

    .contact-hero-inner {
        grid-template-columns: 1fr 0.5fr;
        gap: 30px;
    }

    .contact-message-icon {
        width: 145px;
        height: 145px;

        font-size: 80px;
    }

    .contact-orbit-one {
        width: 210px;
        height: 210px;
    }

    .contact-orbit-two {
        width: 275px;
        height: 275px;
    }

    .contact-grid {
        gap: 45px;
    }

}


@media (max-width: 760px) {

    .contact-hero-inner {
        min-height: 0;

        grid-template-columns: 1fr;

        padding-top: 56px;
        padding-bottom: 58px;
    }

    .contact-hero-visual {
        display: none;
    }

    .contact-hero h1 {
        font-size: clamp(43px, 11vw, 56px);
        letter-spacing: -2px;
    }

    .contact-hero-content > p:last-child {
        margin-top: 19px;

        font-size: 17px;
        line-height: 1.5;
    }

    .contact-section {
        padding: 56px 0;
    }

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

    .contact-help-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-help-heading {
        margin-bottom: 30px;
    }

    .contact-note {
        padding-top: 44px;
    }

    .contact-note-box {
        grid-template-columns: 1fr;

        padding: 29px 27px;
    }

    .contact-note-mark {
        width: 50px;
        height: 50px;

        font-size: 27px;
    }

    .contact-explore-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 28px;
    }

}


@media (max-width: 520px) {

    .contact-hero-inner {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    .contact-hero h1 {
        font-size: 44px;
    }

    .contact-section {
        padding: 46px 0;
    }

    .contact-section h2 {
        font-size: 34px;
    }

    .contact-intro > p:not(.section-kicker),
    .contact-help-heading > p:last-child,
    .contact-explore p:not(.section-kicker) {
        font-size: 16px;
        line-height: 1.6;
    }

    .contact-email-button {
        padding: 16px;
        gap: 13px;
    }

    .contact-email-icon {
        width: 44px;
        height: 44px;

        font-size: 22px;
    }

    .contact-email-button strong {
        font-size: 15px;
    }

    .contact-reason {
        grid-template-columns: 46px 1fr;
        gap: 15px;

        padding: 19px;
    }

    .contact-reason-icon {
        width: 46px;
        height: 46px;

        font-size: 21px;
    }

    .contact-help-item {
        padding: 23px 22px;
    }

    .contact-note-box {
        padding: 24px 22px;
    }

    .contact-note-box h2 {
        font-size: 29px;
    }

}


