/* An author's profile (author.hbs, author-profile.js): a quiet masthead (portrait in a gold ring, the name in
   Playfair, the bio), Follow, the mix across products in gold, staff-only figures, then the work. */
.ap { padding: calc(7rem + var(--tnh-announcement-offset, 0px)) 0 1rem; background: #06060b; }
.ap [hidden] { display: none !important; }
.ap__inner { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.ap__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2.5rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ap__avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.65), 0 0 0 7px rgba(212, 175, 55, 0.08); }
.ap__kicker { margin-bottom: 0.6rem; }
.ap__name { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ap__bio { max-width: 44rem; margin-top: 0.8rem; color: rgba(236, 240, 246, 0.8); font-size: 1.08rem; line-height: 1.6; letter-spacing: 0; }
.ap__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.4rem; margin-top: 0.9rem; color: rgba(236, 240, 246, 0.6); font-size: 0.86rem; letter-spacing: 0; }
.ap__meta b { color: var(--pure-white); font-variant-numeric: tabular-nums; }
.ap__web { color: var(--noble-gold-light); font-weight: 600; text-decoration: none; }
.ap__actions { display: grid; justify-items: end; gap: 0.6rem; }
.ap__follow { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0 1.4rem; border: 1px solid var(--csi-line-gold, rgba(212, 175, 55, 0.58)); border-radius: 999px; background: transparent; color: var(--noble-gold-light); font: 600 0.78rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
.ap__follow:hover { border-color: var(--noble-gold); background: rgba(212, 175, 55, 0.08); }
.ap__follow[aria-pressed="true"] { border-color: rgba(212, 175, 55, 0.8); background: rgba(212, 175, 55, 0.14); }
.ap__follow .ap__check, .ap__follow[aria-pressed="true"] .ap__plus { display: none; }
.ap__follow[aria-pressed="true"] .ap__check { display: inline; }
.ap__follow[aria-busy="true"] { cursor: progress; opacity: 0.7; }
.ap__follow:focus-visible, .ap__seg button:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; }
.ap__note, .ap__staff { color: rgba(236, 240, 246, 0.72); font-size: 0.82rem; letter-spacing: 0; text-align: end; }
.ap__note a { color: var(--pure-white); font-weight: 600; }
.ap__staff { display: inline-flex; align-items: center; gap: 0.35rem; }
.ap__staff b { color: var(--pure-white); font-variant-numeric: tabular-nums; }
.ap__staff .csi-i, .ap__staffmark .csi-i { color: var(--noble-gold-light); }
.ap .mw-aside__title { color: var(--noble-gold-light); font: 600 0.7rem/1.3 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; } /* the desk's section label, here too */
.ap__mix { padding: 1.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ap__mixlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2rem 3rem; margin-top: 0.8rem; list-style: none; }
.ap__mixlist li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 3rem; align-items: center; gap: 1rem; min-height: 40px; }
.ap__mixname .mw-pmark { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--pure-white); font: 700 0.98rem/1.2 var(--font-display); }
.ap__mixname svg { width: 17px; height: 17px; color: var(--noble-gold-light); }
.ap__mixbar { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.ap__mixbar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--noble-gold); }
.ap__mixn { color: var(--pure-white); font-size: 0.86rem; font-variant-numeric: tabular-nums; text-align: end; }
.ap__stats { padding: 1.8rem 0; border-bottom: 1px solid rgba(212, 175, 55, 0.28); }
.ap__statshead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ap__staffmark { display: inline-flex; align-items: center; gap: 0.3rem; margin-inline-start: 0.8rem; color: rgba(236, 240, 246, 0.6); letter-spacing: 0.1em; }
.ap__statsnote { margin-top: 0.4rem; color: rgba(236, 240, 246, 0.6); font-size: 0.8rem; letter-spacing: 0; }
.ap__seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--csi-line, rgba(236, 240, 246, 0.42)); border-radius: 999px; }
.ap__seg button { min-height: 32px; padding: 0 0.85rem; border: 0; border-radius: 999px; background: none; color: rgba(236, 240, 246, 0.72); font: 600 0.66rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.ap__seg button[aria-checked="true"] { color: var(--pure-white); background: rgba(0, 113, 227, 0.16); box-shadow: inset 0 0 0 1px rgba(0, 163, 255, 0.55); }
.ap__table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: 0.86rem; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ap__table th, .ap__table td { padding: 0.65rem 0.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); text-align: end; }
.ap__table th:first-child { text-align: start; }
.ap__table thead th { color: rgba(236, 240, 246, 0.55); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.ap__table tbody th { font-weight: 500; }
.ap__table tbody th a { color: var(--pure-white); text-decoration: none; }
.ap__table tbody th a:hover { color: var(--accent-glow); }
.ap__table td { color: rgba(236, 240, 246, 0.85); }

.ap-feed { padding: 2.25rem 0 6rem; background: #06060b; }
.ap-feed__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 2rem; list-style: none; }
.ap-card { position: relative; display: grid; align-content: start; gap: 0.85rem; }
.ap-feed .post-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; transform: none; } /* editorial, not cards: the site's card frame is set aside here */
.ap-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; }
.ap-card__label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; color: var(--noble-gold-light); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.ap-card__label .mw-pmark { display: inline-flex; align-items: center; gap: 0.4rem; }
.ap-card__label svg { width: 14px; height: 14px; }
.ap-card__topic { color: rgba(236, 240, 246, 0.55); }
.ap-card__title { font: 700 1.22rem/1.25 var(--font-display); }
.ap-card__title a { color: var(--pure-white); text-decoration: none; }
.ap-card__title a:hover { color: var(--accent-glow); }
.ap-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(236, 240, 246, 0.72); font-size: 0.92rem; line-height: 1.6; letter-spacing: 0; }
.ap-card__meta { display: flex; gap: 0.9rem; color: rgba(236, 240, 246, 0.5); font-size: 0.76rem; letter-spacing: 0; }
@media (max-width: 1023px) { .ap-feed__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap__mixlist { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
    .ap__inner { padding: 0 1rem; }
    .ap__head { grid-template-columns: minmax(0, 1fr); }
    .ap__avatar { width: 84px; height: 84px; }
    .ap__actions { justify-items: start; }
    .ap__note, .ap__staff { text-align: start; }
    .ap__mixlist li { grid-template-columns: 9rem minmax(0, 1fr) 2.5rem; }
    .ap-feed__list { grid-template-columns: minmax(0, 1fr); }
    .ap__table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { .ap__follow { transition: none; } }
