/*
 * The author's page (architect/design/mockups/author-r1). The .sn-* classes
 * inside are the architect's, written into the page's content; the template
 * (page-author.php) only groups them into the blocks below.
 */

.sn-author {
    --wrap: 1200px;
}

/* ---------- the intro and the portrait ---------- */

.sn-author-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 64px;
    align-items: center;
    padding-top: 36px;
    padding-bottom: 64px;
}

.sn-author-intro > :last-child {
    margin-bottom: 0;
}

.sn-author .sn-eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--amber);
}

.sn-author-name {
    margin: 14px 0 8px;
    font-family: var(--display);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.01em;
    text-wrap: balance;
}

.sn-author .sn-role {
    margin: 0 0 26px;
    font-size: 17px;
    color: var(--ink-soft);
}

.sn-author .sn-lead {
    max-width: 30em;
    margin: 0 0 28px;
    font-family: var(--display);
    font-size: 25px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--amber-deep);
}

.sn-author .sn-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.sn-author .sn-facts li {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--paper);
    font-size: 14.5px;
    line-height: 1.4;
}

.sn-author .sn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.sn-author-photo {
    position: relative;
    margin: 0;
}

.sn-author-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 28px;
}

/* The method note, laid over the corner of the portrait. */
.sn-author-photo .sn-method {
    position: absolute;
    left: -28px;
    bottom: 36px;
    max-width: 240px;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 12px 30px rgba(58, 42, 28, .12);
    font-size: 14px;
    line-height: 1.5;
}

.sn-author-photo .sn-method strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

/* ---------- the prose and the education ---------- */

.sn-author-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.sn-author-cols h2,
.sn-consult h2 {
    margin: 0 0 20px;
    font-family: var(--display);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
}

.sn-author-cols h2 em,
.sn-consult h2 em {
    font-weight: 300;
    color: var(--amber);
}

.sn-author-prose h2:not(:first-child) {
    margin-top: 40px;
}

.sn-author-prose p {
    max-width: 36em;
    margin: 0 0 16px;
}

.sn-author-prose a {
    color: var(--amber-deep);
}

.sn-author .sn-limits {
    margin: 26px 0 0;
    padding: 26px 30px;
    border-radius: var(--radius-card);
    background: var(--paper);
    font-size: 16px;
}

.sn-author .sn-edu {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
}

.sn-author .sn-edu li {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-weight: 600;
    line-height: 1.45;
}

/* ---------- consultations, in the dark ---------- */

.sn-consult {
    background: var(--dark);
    color: var(--cream);
}

.sn-consult-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.sn-consult h2 {
    color: var(--cream);
}

.sn-consult h2 em {
    color: var(--amber-light);
}

.sn-consult-text p {
    max-width: 34em;
    margin: 0 0 12px;
    color: rgba(243, 231, 214, .78);
}

.sn-consult .sn-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 20px 0 28px;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(243, 231, 214, .85);
}

.sn-consult .sn-steps strong {
    display: block;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--amber-light);
}

.sn-consult .sn-actions {
    margin: 0;
}

.sn-consult-text .sn-message {
    margin: 16px 0 0;
    font-size: 14px;
    color: rgba(243, 231, 214, .6);
}

.sn-consult .sn-message a {
    color: var(--cream);
}

.sn-consult-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 24px;
}

/* The footer sits right under the band. */
.stillnormal-main:has(.sn-consult) + .stillnormal-footer {
    margin-top: 0;
}

/* ---------- phone ---------- */

@media (max-width: 760px) {
    .sn-author-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .sn-author-photo {
        order: -1;
    }

    .sn-author-photo img {
        aspect-ratio: 4 / 4.4;
        border-radius: 22px;
    }

    .sn-author-photo .sn-method {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: 260px;
    }

    .sn-author .sn-lead {
        font-size: 21px;
    }

    .sn-author-cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .sn-author-cols h2,
    .sn-consult h2 {
        font-size: 29px;
    }

    .sn-author .sn-limits {
        padding: 22px 22px;
    }

    .sn-consult-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .sn-consult-photo {
        order: -1;
        aspect-ratio: 4 / 3;
    }
}

@media (hover: hover) and (pointer: fine) {
    .sn-consult .sn-message a:hover,
    .sn-author-prose a:hover {
        color: var(--amber-light);
    }

    .sn-author-prose a:hover {
        color: var(--amber);
    }
}
