:root {
    --petrol: #00303b;
    --cream: #f3eedf;
    --coral: #e97970;
    --ink: #1d201c;

    --ink-muted: rgba(29, 32, 28, .62);
    --ink-line: rgba(29, 32, 28, .18);
    --shadow: 0 4px 0 rgba(29, 32, 28, .18);

    --font-xs: 12px;
    --font-small: 13px;
    --font-medium: 14px;
    --font-base: 15px;
    --font-large: 16px;

    --font-heading: clamp(20px, 5vw, 24px);
    --font-title: clamp(28px, 7vw, 35px);
    --font-logo: clamp(44px, 11vw, 58px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--petrol);
    color: var(--cream);
    font-family: Futura, "Futura PT", "Avenir Next", "Century Gothic", Arial, sans-serif;
}

.page-shell {
    width: min(calc(100% - 22px), 560px);
    margin: 0 auto;
    padding: 60px 0 64px;
}

.profile {
    padding-bottom: 36px;
    text-align: center;

    .avatar {
        width: clamp(102px, 35vw, 196px);
        aspect-ratio: 1;
        margin: 0 auto 18px;
        overflow: hidden;
        border-radius: 50%;
        box-shadow: var(--shadow);

        img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    h1 {
        margin: 0;
        font-size: var(--font-logo);
        font-weight: 400;
        line-height: .92;
        letter-spacing: -.035em;
    }

    .profile-subtitle {
        margin: 18px 0 0;
        color: rgba(243, 238, 223, .72);
        font-size: var(--font-xs);
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .profile-instagram {
        display: inline-block;
        margin-top: 14px;
        color: var(--cream);
        font-size: var(--font-small);
        font-weight: 700;
        text-decoration: none;
        opacity: .82;

        &:hover {
            opacity: 1;
        }
    }
}

.quick-links {
    display: grid;
    gap: 12px;
}

.surface-link,
.info-panel {
    border: 1px solid rgba(29, 32, 28, .34);
    border-radius: 22px;
    background: var(--cream);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.surface-link {
    min-height: 80px;
    padding: 12px 20px;
    text-decoration: none;
}

.primary-link,
.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-base);
    font-weight: 800;
    text-align: center;
}

.primary-link {
    background: var(--coral);
    font-size: var(--font-large);
}

.location-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;

    strong {
        font-size: var(--font-base);
        font-weight: 800;
    }

    span {
        color: var(--ink-muted);
        font-size: var(--font-base);
    }
}

.section-kicker {
    margin: 48px 0 17px;
    font-size: var(--font-title);
    font-weight: 400;
    text-align: center;
}

.info-panel {
    overflow: hidden;

    .panel-header {
        padding: 22px 20px 20px;
        text-align: center;

        h3 {
            margin: 0;
            font-size: var(--font-heading);
            font-weight: 800;
        }

        p {
            margin: 7px 0 0;
            color: var(--ink-muted);
            font-size: var(--font-xs);
        }
    }

    .panel-note {
        margin: -5px 20px 20px;
        color: var(--ink-muted);
        font-size: var(--font-small);
        line-height: 1.5;
        text-align: center;
    }

    .panel-source {
        margin: 0;
        padding: 14px 20px 18px;
        border-top: 1px solid var(--ink-line);
        color: var(--ink-muted);
        font-size: var(--font-xs);
        text-align: center;

        a {
            color: inherit;
        }
    }
}

/* Accordion */

.accordion {
    border-top: 1px solid var(--ink-line);
}

.faq-item {
    border-bottom: 1px solid var(--ink-line);

    &:last-child {
        border-bottom: 0;
    }

    &.is-open {
        background: rgba(0, 48, 59, .055);
        box-shadow: inset 3px 0 var(--coral);
    }
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 62px;
    padding: 14px 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: var(--font-base);
    font-weight: 700;
    text-align: left;
    cursor: pointer;

    &:focus-visible {
        outline: 2px solid var(--coral);
        outline-offset: -4px;
    }

    &[aria-expanded="true"] .faq-mark {
        transform: rotate(45deg);
    }
}

.faq-mark {
    position: relative;
    flex: 0 0 16px;
    height: 16px;
    color: var(--coral);
    transition: transform .25s ease;

    &::before,
    &::after {
        content: "";
        position: absolute;
        top: 7px;
        left: 2px;
        width: 12px;
        height: 2px;
        background: currentColor;
    }

    &::after {
        transform: rotate(90deg);
    }
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;

    &[aria-hidden="false"] {
        grid-template-rows: 1fr;
    }

    .faq-answer-inner {
        min-height: 0;
        overflow: hidden;
        padding-inline: 20px;
        font-size: var(--font-medium);
        line-height: 1.58;

        p {
            margin: 0 0 16px;
        }

        > :last-child {
            margin-bottom: 21px;
        }

        blockquote {
            margin-top: 0;
            padding: 14px 15px;
            border-left: 3px solid var(--coral);
            background: rgba(243, 238, 223, .62);
        }
    }
}

.footer-link {
    margin-top: 36px;
}

.page-footer {
    padding: 54px 0 8px;
    color: rgba(243, 238, 223, .54);
    font-size: var(--font-xs);
    text-align: center;
}