/* ------------------------------
   Peacewright Project
   The Craft of Making Peace
   ------------------------------ */

:root {
    --ink: #17232b;
    --cream: #f5f0e6;
    --paper: #fffdf8;
    --wood: #765536;
    --wood-dark: #463321;
    --brass: #b99a62;
    --muted: #667078;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
}


/* HERO */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 80px 24px;

    background:
        linear-gradient(
            rgba(20, 27, 31, 0.90),
            rgba(35, 32, 27, 0.92)
        ),
        linear-gradient(
            135deg,
            #25343d,
            #4a3929
        );

    color: var(--cream);
}

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

.project-name {
    margin-bottom: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--brass);
}

.hero h1 {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    letter-spacing: 0.04em;
    line-height: 1;
}

.tm {
    font-size: 0.18em;
    vertical-align: top;
    margin-left: 4px;
}

.tagline {
    margin: 24px 0 45px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    color: #ddd0b7;
}


/* DEFINITION */

.definition {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px 30px;

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

    font-size: 1.1rem;
}

.definition p {
    margin: 4px 0;
}

.definition strong {
    font-size: 1.25rem;
}


/* MAIN */

main {
    width: min(1100px, 90%);
    margin: 0 auto;
}

section {
    padding: 90px 0;
}


/* INTRO */

.intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.intro h2,
.open-project h2,
.conversation h2,
.social h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}

.intro p {
    font-size: 1.2rem;
}

.apprentices {
    margin-top: 35px;
    font-size: 1.5rem !important;
    font-style: italic;
    color: var(--wood);
}


/* THREE PILLARS */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    border-top: 1px solid #ddd5c7;
    border-bottom: 1px solid #ddd5c7;
}

.pillars article {
    padding: 35px;
    background: var(--cream);
    border-top: 4px solid var(--wood);
}

.pillars h3 {
    margin-top: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
}

.pillars p {
    margin-bottom: 0;
}


/* OPEN PROJECT */

.open-project,
.conversation,
.social {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.open-project p,
.conversation p,
.social p {
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.button {
    display: inline-block;

    padding: 14px 26px;

    background: var(--wood-dark);
    color: white;

    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;

    text-decoration: none;
    border-radius: 4px;

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

.button:hover,
.button:focus-visible {
    background: var(--wood);
    transform: translateY(-2px);
}

.button:focus-visible,
.social-links a:focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 3px;
}


/* CONVERSATION */

.conversation {
    max-width: 860px;
    padding: 65px 50px;
    background: var(--cream);
    border-top: 4px solid var(--brass);
}

.conversation .eyebrow {
    margin: 0 0 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wood);
}

.conversation h2 {
    margin-top: 0;
}

.conversation p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/* SOCIAL LINKS */

.social {
    padding-top: 75px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links a {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #cfc5b4;
    border-radius: 4px;
    color: var(--wood-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s ease,
                border-color 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background: var(--cream);
    border-color: var(--wood);
}


/* FOOTER */

footer {
    margin-top: 40px;
    padding: 45px 20px;

    text-align: center;

    background: var(--ink);
    color: var(--cream);
}

footer p {
    margin: 0;
}


/* MOBILE */

@media (max-width: 750px) {

    .hero {
        min-height: 540px;
    }

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

    section {
        padding: 65px 0;
    }

    .definition {
        padding: 22px 10px;
    }

    .conversation {
        padding: 50px 24px;
    }
}
