:root {
    --ink: #f7f5ef;
    --muted: #cbc5ba;
    --paper: #2f3031;
    --soft: #3b3c3d;
    --line: #555657;
    --moss: #d8d1c4;
    --white: #38393a;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
}

.site-header,
main,
.site-footer {
    width: min(920px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.brand__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 20px;
}

.site-nav {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    border-radius: 999px;
    padding: 8px 12px;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: var(--soft);
    color: var(--ink);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--moss);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.1;
}

h1 {
    margin-bottom: 14px;
    font-size: clamp(24px, 4vw, 34px);
}

h2 {
    margin-bottom: 10px;
    font-size: clamp(22px, 3vw, 30px);
}

p {
    color: var(--muted);
}

.notice {
    max-width: 760px;
    padding: 0 0 56px;
}

.notice > p {
    max-width: 620px;
    margin-bottom: 20px;
    color: var(--ink);
    font-size: 17px;
}

.notice__message {
    max-width: 620px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 22px 24px;
}

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

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 34px;
}

.photo-grid__item {
    min-height: 190px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    box-shadow: var(--shadow);
}

.photo-grid__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-grid__item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-grid__item--large img {
    aspect-ratio: 4 / 3;
}

.text-link {
    color: var(--ink);
    font-weight: 700;
    text-underline-offset: 4px;
}

.page-heading {
    max-width: 760px;
    padding: 34px 0 16px;
}

.bio-section {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    margin: 20px 0 70px;
}

.portrait {
    margin: 0;
}

.portrait img,
.portrait__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
        linear-gradient(145deg, #ded6cb, #8f9a89);
    box-shadow: var(--shadow);
}

.portrait img {
    object-fit: cover;
}

.portrait__placeholder {
    display: grid;
    place-items: end start;
    min-height: 360px;
    padding: 20px;
}

.portrait__placeholder span {
    border-radius: 999px;
    background: rgba(251, 250, 247, 0.9);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    text-transform: uppercase;
}

.copy-stack {
    max-width: 640px;
}

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

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    padding: 26px 0 38px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 700px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .bio-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .portrait {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .site-header,
    main,
    .site-footer {
        width: min(100% - 28px, 920px);
    }

    .brand {
        font-size: 15px;
    }

    h1 {
        font-size: 34px;
    }

    .notice__message {
        padding: 24px;
    }

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

    .photo-grid__item--large {
        grid-column: auto;
        grid-row: auto;
    }
}
