* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --amber: #e1af09;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #000000;
    background: #ffffff;
    min-height: 100vh;
}

h1 {
    font-family: "DM Serif Display", serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(2.25rem, 7.5vw, 4rem);
    line-height: 1.1;
    text-wrap: balance;
}

h2 {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
    text-wrap: balance;
}

h3 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #000000;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    text-wrap: balance;
}

p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.quote {
    margin: 2.5rem 0;
    font-family: "Newsreader", serif;
    font-size: clamp(1rem, 3.2vw, 1.25rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
}

.quote--large {
    font-size: clamp(1.25rem, 3.2vw, 1.5rem);
}

.quote > p:last-of-type {
    margin-bottom: 0;
}

.quote-attribution {
    margin-top: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}

.bullet-list {
    margin-bottom: 1.5rem;
    list-style-type: none;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(0.825em - 0.25rem);
    width: 0.5rem;
    height: 0.5rem;
    background: var(--amber);
}

.bullet-list li:last-child {
    margin-bottom: 0;
}

/* Shared label and description columns make the long delivery list easy to scan. */
.deliverable {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.25rem 0;
}

.deliverable:first-child {
    padding-top: 0;
}

.deliverable:last-child {
    padding-bottom: 0;
}

.deliverable dt {
    font-weight: 700;
}

.deliverable dd {
    text-align: left;
}

.callout {
    margin-top: 3.5rem;
}

.callout > :last-child {
    margin-bottom: 0;
}

.contact-section {
    margin-top: 1.5rem;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
}

.contact-section p {
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
    text-wrap: balance;
}

.contact-link {
    margin-top: 1.25rem;
    text-align: center;
}

a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-thickness: 2px;
}

.link-arrow {
    color: var(--amber);
}

a[href^="mailto:"]::after {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-left: 0.35em;
    vertical-align: -0.17em;
    background: var(--amber);
    -webkit-mask: url('/img/mail.svg') center / contain no-repeat;
    mask: url('/img/mail.svg') center / contain no-repeat;
}

a:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 5px;
}

.page-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.site-name {
    display: inline-block;
    text-decoration: none;
}

.site-name:hover {
    text-decoration: underline;
}

.article-section + .article-section {
    margin-top: 3rem;
}

.article-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #000000;
    font-family: "DM Serif Display", serif;
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 400;
}

.article-section > :last-child {
    margin-bottom: 0;
}

.page-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.page-footer .page-links {
    margin-top: 0;
    column-gap: 1.5rem;
}

.copyright-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

.copyright-notice img {
    display: block;
    width: 2.25rem;
    height: auto;
}

code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    h3 {
        margin-top: 2.75rem;
    }

    p {
        text-align: left;
    }

    .quote {
        margin: 2rem 0;
    }

    .deliverable {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.35rem;
        padding: 1.25rem 0;
    }
}
