/* Author pages as contributor profiles — variant-original design
   language. Loaded only on author archives (default.hbs {{#is
   "author"}}). Same system as stories.css: warm off-white ground,
   white cards, token spacing (4/8/12/16/24/32/48/64/96).
   The article list itself keeps the OG list styles (og.css);
   this file styles only the profile layer above it. */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/manrope-800.ttf') format('truetype'); }

body.author-template {
    --vo-purple: #3A1251;
    --vo-plum: #492074;
    --vo-deep: #2A0C3C;
    --vo-lime: #BEF264;
    --vo-cream: #FAF8F3;
    --vo-lilac: #F3EDFA;
    --vo-line: #E7DEF3;
    --vo-ink: #463E52;
    background: var(--vo-cream);
}
body.author-template .gh-head {
    background: var(--vo-cream);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.author-template .gh-head a,
body.author-template .gh-foot {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.author-template .gh-foot.nfoot { background: var(--vo-cream); }

.ap {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--vo-ink);
}
.ap a { color: var(--vo-purple); }

/* Profile header card */
.ap-head {
    background: #fff;
    border: 1px solid var(--vo-line);
    border-radius: 28px;
    padding: 32px;
    margin-bottom: 48px;
}
.ap .ap-kicker {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--vo-purple);
    margin: 0 0 24px;
}
.ap-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--vo-lime); box-shadow: 0 0 0 2px var(--vo-purple); flex: none; }
.ap-head__row {
    display: grid; grid-template-columns: 200px 1fr; gap: 32px;
    align-items: start;
}
.ap-photo {
    position: relative; aspect-ratio: 1 / 1; border-radius: 20px;
    overflow: hidden; margin: 0; background: var(--vo-lilac);
}
.ap-photo img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
}
.ap-photo--empty { display: flex; align-items: center; justify-content: center; }
.ap-photo__dot {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--vo-lime); box-shadow: 0 0 0 3px var(--vo-purple);
}
.ap .ap-role {
    font-size: 19px; font-weight: 700; line-height: 1.35;
    color: var(--vo-plum); margin: 12px 0 0;
}
.ap .ap-links {
    list-style: none; display: flex; flex-wrap: wrap; gap: 12px;
    margin: 16px 0 0; padding: 0;
}
.ap-links li { margin: 0; }
.ap-links a {
    display: inline-block; padding: 8px 16px;
    border: 1.5px solid var(--vo-purple); border-radius: 999px;
    font-size: 14.5px; font-weight: 700; text-decoration: none;
}
.ap-links a:hover { background: var(--vo-lilac); }
.ap .ap-links--ghost { margin-top: 12px; }
.ap .og-list__support {
    font-size: 17px; line-height: 1.6; margin: 16px 0 0;
}
.ap .og-author__meta { margin: 16px 0 0; }

/* About section */
.ap-about { max-width: 760px; margin: 0 0 8px; }
.ap .ap-about__title {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    color: var(--vo-purple); font-size: 28px; line-height: 1.15;
    letter-spacing: -0.01em; margin: 0 0 16px;
}
.ap .ap-boardlink { margin: 24px 0 0; }
.ap-about p { font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.ap-about .ap-disclosure {
    background: var(--vo-lilac); border-radius: 16px;
    padding: 16px 24px; font-size: 16px;
}
.ap-boardlink { font-weight: 700; }
.ap-boardlink a { text-decoration: none; }
.ap-boardlink a:hover { text-decoration: underline; }

/* Article list heading + standards strip */
.ap .ap-articles-title {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    color: var(--vo-purple); letter-spacing: -0.01em;
    font-size: clamp(28px, 3.5vw, 36px); line-height: 1.1;
    margin: 48px 0 24px;
}
.ap .ap-standards {
    margin: 48px 0 0; padding-top: 24px;
    border-top: 1px solid var(--vo-line);
    font-size: 15px; color: var(--vo-ink);
}

@media (max-width: 700px) {
    .ap-head { padding: 24px; border-radius: 24px; }
    .ap-head__row { grid-template-columns: 1fr; gap: 24px; }
    .ap-photo { max-width: 160px; }
    .ap .ap-articles-title { margin-top: 48px; }
}
