:root {
    color-scheme: light;
    --paper: #f5f5ed;
    --ink: #1c3029;
    --muted: #63716a;
    --green: #275b45;
    --line: #d9ddd2;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

p {
    margin-top: 0;
}

.profile {
    display: grid;
    width: min(1120px, 84%);
    min-height: 100vh;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 9%;
    margin: 0 auto;
    padding: 64px 0;
}

.introduction {
    padding: 24px 0;
}

.logo {
    display: block;
    width: min(100%, 300px);
    height: auto;
    margin: 0 auto 26px;
}

.phone-label {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro-text {
    max-width: 390px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.intro-text-cta {
    margin-bottom: 38px;
}

.intro-welcome {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.2;
}

.phone {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.phone-label {
    margin: 0;
    font-size: 10px;
}

.phone a,
.phone a:visited,
.phone a:hover,
.phone a:active {
    color: var(--green);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    text-decoration: none;
}

.portrait {
    min-width: 0;
    margin: 0;
}

.portrait-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portrait img {
    display: block;
    width: 100%;
    max-height: 660px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 680px) {
    .profile {
        width: min(520px, 86%);
        min-height: 100vh;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 16px;
        padding: 46px 0 34px;
    }

    .introduction {
        padding: 0;
        text-align: center;
    }

    .intro-text {
        margin: 0 auto 26px;
        font-size: 14px;
    }

    .phone {
        justify-items: center;
        padding-top: 16px;
    }

    .phone a,
    .phone a:visited,
    .phone a:hover,
    .phone a:active {
        font-size: 26px;
    }

    .portrait img {
        max-height: 420px;
        aspect-ratio: 4 / 5;
    }
}
