/* ==========================================================================
   About — Trailhead notice board / field notebook
   ========================================================================== */

.about-main {
    color: #292a25;
    background:
        linear-gradient(rgb(246 241 231 / 94%), rgb(246 241 231 / 94%)),
        url("/assets/images/topo-easter-eggs.webp") center top / cover fixed;
}

.about-hero,
.mission-board,
.field-notebook,
.about-sections,
.contact-board {
    width: min(calc(100% - 2rem), 78rem);
    margin-inline: auto;
}

.about-hero {
    display: grid;
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 21rem);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.about-kicker {
    margin: 0 0 .65rem;
    color: var(--signal);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.about-hero h1 {
    max-width: 50rem;
    margin-bottom: 1.25rem;
    color: #25241f;
    font-size: clamp(3rem, 6vw, 5.7rem);
}

.about-hero__lead {
    max-width: 50rem;
    margin: 0;
    color: #4d4c44;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.65;
}

.trailhead-marker {
    position: relative;
    padding: 2.4rem 1.8rem 2.2rem;
    color: #eee7d6;
    background:
        linear-gradient(rgb(23 35 27 / 94%), rgb(23 35 27 / 94%)),
        repeating-linear-gradient(90deg, transparent 0 2.8rem, rgb(255 255 255 / 4%) 2.8rem 2.9rem);
    border: .55rem solid #574538;
    box-shadow: 0 1rem 2rem rgb(44 34 23 / 22%);
    text-align: center;
    transform: rotate(1.2deg);
}

.trailhead-marker::before,
.trailhead-marker::after {
    position: absolute;
    top: -1.1rem;
    width: .72rem;
    height: .72rem;
    content: "";
    background: #777267;
    border: .14rem solid #3d3932;
    border-radius: 50%;
}

.trailhead-marker::before { left: 1.1rem; }
.trailhead-marker::after { right: 1.1rem; }

.trailhead-marker__small {
    display: block;
    margin-bottom: 1rem;
    color: #c8bd9e;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .2em;
}

.trailhead-marker strong {
    display: block;
    margin-bottom: .25rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.3rem;
}

.trailhead-marker > span:last-child {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.mission-board {
    overflow: hidden;
    margin-bottom: clamp(4rem, 8vw, 7rem);
    background: #ebe2cf;
    border: 1px solid #cbbda4;
    box-shadow: 0 1rem 2.5rem rgb(62 48 31 / 15%);
}

.mission-board__header {
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    color: #f4eee1;
    background: #24372b;
    border-bottom: .35rem solid #a67a4e;
}

.mission-board__label {
    margin: 0 0 .35rem;
    color: #d4c5a4;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.mission-board__header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

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

.mission-card {
    position: relative;
    min-height: 13rem;
    padding: 2rem 2rem 2rem 5.3rem;
    border-right: 1px solid #cbbda4;
    border-bottom: 1px solid #cbbda4;
}

.mission-card:nth-child(even) { border-right: 0; }
.mission-card:nth-last-child(-n + 2) { border-bottom: 0; }

.mission-card__number {
    position: absolute;
    top: 1.85rem;
    left: 1.7rem;
    color: #a24a38;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.45rem;
    font-weight: 900;
}

.mission-card h3 {
    margin-bottom: .55rem;
    color: #292821;
}

.mission-card p {
    margin: 0;
    color: #555147;
    line-height: 1.6;
}

.field-notebook {
    position: relative;
    display: grid;
    overflow: hidden;
    margin-bottom: clamp(4rem, 8vw, 7rem);
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 6vw, 6rem);
    grid-template-columns: 1fr auto;
    gap: 3rem;
    background:
        repeating-linear-gradient(0deg, transparent 0 2rem, rgb(86 111 137 / 12%) 2rem 2.05rem),
        #fbf7ed;
    border: 1px solid #d2c7b4;
    box-shadow: 0 1rem 2.5rem rgb(62 48 31 / 14%);
    transform: rotate(-.25deg);
}

.field-notebook__binding {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: .13rem;
    background: rgb(185 46 46 / 32%);
}

.field-notebook__content {
    max-width: 50rem;
    padding-left: 1rem;
}

.field-notebook h2 {
    margin-bottom: 1.2rem;
    color: #292821;
}

.field-notebook__content p:not(.about-kicker) {
    color: #49473f;
    line-height: 1.7;
}

.field-notebook__stamp {
    align-self: center;
    padding: .9rem 1.1rem;
    color: rgb(142 47 39 / 72%);
    border: .22rem double rgb(142 47 39 / 58%);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-align: center;
    transform: rotate(-8deg);
}

.field-notebook__stamp strong {
    display: block;
    margin: .15rem 0;
    font-size: 1.25rem;
    letter-spacing: .08em;
}

.about-sections {
    margin-bottom: clamp(4rem, 8vw, 7rem);
}

.about-sections__intro {
    margin-bottom: 1.4rem;
}

.about-sections__intro h2 {
    color: #292821;
}

.about-sections__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-section-link {
    display: flex;
    min-height: 13rem;
    padding: 1.35rem;
    flex-direction: column;
    color: #302f29;
    background: #f9f4e9;
    border: 1px solid #d4c8b3;
    box-shadow: 0 .5rem 1.2rem rgb(62 48 31 / 10%);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.about-section-link:hover,
.about-section-link:focus-visible {
    box-shadow: 0 .8rem 1.6rem rgb(62 48 31 / 16%);
    transform: translateY(-.18rem);
}

.about-section-link__type {
    margin-bottom: auto;
    color: #8d4939;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.about-section-link strong {
    margin: 1.5rem 0 .35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}

.about-section-link > span:last-child {
    color: #5b584f;
    font-size: .88rem;
    line-height: 1.5;
}

.contact-board {
    display: grid;
    margin-bottom: clamp(5rem, 9vw, 8rem);
    padding: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1.4fr) minmax(15rem, .8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    color: #eee8d9;
    background: #1d2c23;
    border-top: .35rem solid #a67a4e;
    box-shadow: 0 1rem 2rem rgb(27 28 23 / 18%);
}

.contact-board h2 {
    color: #fff;
}

.contact-board p:not(.about-kicker):not(.contact-board__note) {
    max-width: 48rem;
    margin-bottom: 0;
    color: #d8d0be;
}

.contact-board__action {
    text-align: center;
}

.contact-button {
    display: inline-flex;
    padding: .9rem 1.15rem;
    align-items: center;
    gap: .7rem;
    color: #fff;
    background: var(--signal);
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

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

.contact-board__note {
    max-width: 22rem;
    margin: .8rem auto 0;
    color: #aaa18f;
    font-size: .72rem;
    line-height: 1.45;
}

@media (max-width: 64rem) {
    .about-sections__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .about-hero,
    .contact-board {
        grid-template-columns: 1fr;
    }

    .trailhead-marker {
        width: min(23rem, 92%);
        justify-self: center;
    }

    .mission-board__grid,
    .about-sections__grid {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .mission-card:nth-child(even),
    .mission-card:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #cbbda4;
    }

    .mission-card:last-child {
        border-bottom: 0;
    }

    .field-notebook {
        grid-template-columns: 1fr;
    }

    .field-notebook__stamp {
        width: fit-content;
        justify-self: end;
    }
}

@media print {
    .about-main {
        background: #fff;
    }

    .trailhead-marker,
    .mission-board,
    .field-notebook,
    .about-section-link,
    .contact-board {
        box-shadow: none;
    }
}
