:root {
    --brand: #135474;
    --text: #20282d;
    --muted: #5c6970;
    --background: #ffffff;
    --light: #f3f6f7;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#capabilities,
#results,
#about,
#contact {
    scroll-margin-top: 90px;
}

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

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 24px 0;
    border-bottom: 1px solid #dfe5e8;
    background: white;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    color: var(--brand);
    font-size: 1.55rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover {
    color: var(--brand);
}

/* Hero */

.hero {
    padding: 88px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 72px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-lead {
    margin: 24px 0 16px;
    max-width: 680px;
    color: var(--brand);
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.25;
    font-weight: 700;
}

.hero-copy > p:not(.eyebrow):not(.hero-lead) {
    max-width: 650px;
    font-size: 1.08rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-headshot {
    display: block;
    width: 100%;
    max-width: 430px;
    height: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.button {
    display: inline-block;
    padding: 13px 22px;
    color: white;
    background: var(--brand);
    border: 2px solid var(--brand);
    text-decoration: none;
    font-weight: 700;
}

.button:hover {
    background: white;
    color: var(--brand);
}

.text-link {
    color: var(--brand);
    font-weight: 700;
}

/* Temporary graphic placeholder */

.graphic-placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 30px;
    border: 2px dashed var(--brand);
    background: var(--light);
    color: var(--brand);
    font-weight: 700;
    text-align: center;
}

/* Main sections */

main > section:not(.hero) {
    padding: 80px 0;
}

main > section:nth-of-type(odd):not(.hero) {
    background: var(--light);
}

h2 {
    margin: 0;
    color: var(--brand);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
}

/* Capabilities */

.capabilities-section {
    background: var(--light);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-heading .eyebrow {
    margin-bottom: 8px;
}

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

.capability-card {
    padding: 24px 0;
    border-top: 3px solid var(--brand);
}

.capability-card h3 {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 1.2rem;
    line-height: 1.25;
}

.capability-card p {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
}

.site-footer {
    padding: 24px 0;
    border-top: 1px solid #dfe5e8;
    background: white;
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 800px) {

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

/* Selected Results */

#results.results-section {
    background: var(--brand);
    color: white;
}

.results-section .eyebrow,
.results-section h2 {
    color: white;
}

.results-section .section-heading {
    margin-bottom: 48px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 56px;
}

.result-card {
    border-top: 2px solid rgba(255, 255, 255, 0.45);
    padding-top: 22px;
}

.result-metric {
    margin-bottom: 8px;
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.result-card h3 {
    margin: 0 0 10px;
    color: white;
    font-size: 1.15rem;
    line-height: 1.25;
}

.result-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.55;
}

.result-arrow {
    display: inline-block;
    margin: 0 0.18em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    line-height: 0;
    vertical-align: 0.08em;
    transform: scaleX(1.25);
}

/* Why Tony */

.about-section {
    background: white;
}

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

.about-copy p {
    margin: 0 0 22px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.why-list {
    display: grid;
    gap: 24px;
    padding: 28px;
    background: var(--light);
}

.why-item {
    padding-top: 18px;
    border-top: 3px solid var(--brand);
}

.why-item h3 {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: 1.15rem;
    line-height: 1.25;
}

.why-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.about-heading {
    max-width: none;
}

/* Contact */

.contact-section {
    background: var(--light);
}

.contact-section .section-heading {
    margin-bottom: 24px;
}

.contact-lead {
    max-width: 950px;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
}

.contact-email {
    color: var(--brand);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-heading {
    max-width: none;
}

body::after {
    content: "";
    display: block;
    height: calc(100vh - 90px);
}


/* Responsive */

@media (max-width: 800px) {

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

    .site-header .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-nav {
        width: 100%;
        gap: 18px;
        overflow-x: auto;
    }

    .hero {
        padding: 56px 0;
    }

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

    .graphic-placeholder {
        min-height: 300px;
    }

    main > section:not(.hero) {
        padding: 56px 0;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .contact-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

}
