/*
 * Personal edition — the public website of one person (personal-base and any theme built on it). Phones first,
 * self-contained, prefix psn-. Colours follow the tenant's tokens where core-default provides them.
 */
.psn-btn { display: inline-block; padding: 11px 20px; border-radius: 99px; background: var(--brand, #4338ca); color: #fff; font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; }
.psn-btn:hover { filter: brightness(1.08); }
.psn-btn--ghost { background: transparent; color: var(--brand, #4338ca); border-color: currentColor; }
.psn-btn--light { background: #fff; color: #111827; }
.psn-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.psn-btn--small { padding: 7px 14px; font-size: 14px; }
.psn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; }
.psn-meta { display: block; font-size: 14px; color: var(--muted, #6b7280); }
.psn-lead { font-size: 19px; line-height: 1.5; margin: 8px 0 0; }
.psn-empty { padding: 18px; border-radius: 14px; background: var(--surface, #f9fafb); color: var(--muted, #6b7280); }
.psn-page { padding-top: 22px; padding-bottom: 44px; }
.psn-page h1 { margin: 0 0 6px; font-size: clamp(28px, 6vw, 42px); line-height: 1.15; }
.psn-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.psn-head h1, .psn-head h2 { margin: 0; }
.psn-head__more { font-weight: 700; text-decoration: none; color: var(--brand, #4338ca); white-space: nowrap; }
.psn-sub { margin: 26px 0 10px; font-size: 20px; }

/* titles ("Journalist · Music video artist") and online links */
.psn-titles { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.psn-titles span { padding: 4px 12px; border-radius: 99px; background: color-mix(in srgb, var(--brand, #4338ca) 12%, #fff); color: var(--brand, #4338ca); font-size: 14px; font-weight: 700; }
.psn-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.psn-links a { display: inline-block; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--border, #e5e7eb); color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }
.psn-links a:hover { border-color: var(--brand, #4338ca); color: var(--brand, #4338ca); }

/* home: introduction */
.psn-intro { position: relative; overflow: hidden; padding: 30px 0 34px; background: var(--surface, #f9fafb); }
.psn-intro.has-cover { color: #fff; background: #111827; }
.psn-intro__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.psn-intro__inner { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; }
.psn-intro__photo { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.psn-intro__name { margin: 0; font-size: clamp(30px, 8vw, 52px); line-height: 1.08; }
.psn-intro__headline { margin: 12px auto 0; max-width: 620px; font-size: 18px; line-height: 1.5; }
.psn-intro__place { margin: 6px 0 0; font-size: 14px; opacity: .8; }
.psn-intro__place::before { content: "📍 "; }
.psn-intro .psn-titles, .psn-intro .psn-actions, .psn-intro .psn-links { justify-content: center; }
.psn-intro.has-cover .psn-titles span { background: rgba(255, 255, 255, .16); color: #fff; }
.psn-intro.has-cover .psn-links a { border-color: rgba(255, 255, 255, .4); }
.psn-intro.has-cover .psn-btn--ghost { color: #fff; }
.psn-intro__more { margin: 14px 0 0; }
.psn-intro__more a { color: inherit; font-weight: 700; }
@media (min-width: 760px) {
    .psn-intro { padding: 56px 0; }
    .psn-intro__inner { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 36px; align-items: center; }
    .psn-intro__photo { width: 240px; height: 240px; }
    .psn-intro .psn-titles, .psn-intro .psn-actions, .psn-intro .psn-links { justify-content: flex-start; }
    .psn-intro__headline { margin-left: 0; }
}

/* work cards */
.psn-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .psn-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .psn-cards { grid-template-columns: repeat(3, 1fr); } }
.psn-card__link { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; background: var(--bg, #fff); border: 1px solid var(--border, #e5e7eb); color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.psn-card__link:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.psn-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--brand, #4338ca) 10%, #f3f4f6); }
.psn-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.psn-card__blank { display: grid; place-items: center; height: 100%; font-size: 44px; font-weight: 800; color: color-mix(in srgb, var(--brand, #4338ca) 45%, #fff); }
.psn-kind { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 99px; background: rgba(17, 24, 39, .78); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.psn-kind--inline { position: static; display: inline-block; justify-self: start; margin-bottom: 4px; background: color-mix(in srgb, var(--brand, #4338ca) 12%, #fff); color: var(--brand, #4338ca); }
.psn-card--video .psn-card__media::after, .psn-card--music .psn-card__media::after { content: "▶"; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111827; font-size: 14px; }
.psn-card__body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.psn-card__title { font-size: 17px; line-height: 1.3; }
.psn-card__summary { font-size: 14px; color: var(--muted, #6b7280); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.psn-card.is-featured .psn-card__link { border-color: var(--brand, #4338ca); }
.psn-cards--small .psn-card__title { font-size: 15px; }
.psn-filters { display: flex; gap: 6px; overflow-x: auto; margin: 10px 0 18px; padding-bottom: 4px; scrollbar-width: none; }
.psn-filters a { flex: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border, #d1d5db); color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; }
.psn-filters a span { opacity: .6; font-weight: 400; }
.psn-filters a.is-active { background: var(--brand, #4338ca); border-color: var(--brand, #4338ca); color: #fff; }
.psn-pages { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; }
.psn-pages a { font-weight: 700; color: var(--brand, #4338ca); text-decoration: none; }

/* one piece of work */
.psn-piece { max-width: 780px; }
.psn-crumbs { margin: 0 0 8px; font-size: 14px; color: var(--muted, #6b7280); }
.psn-crumbs a { color: inherit; }
.psn-player { position: relative; margin: 18px 0; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.psn-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.psn-player.is-audio { aspect-ratio: auto; background: transparent; }
.psn-player.is-audio iframe { position: static; height: 166px; }
.psn-piece__image { display: block; width: 100%; height: auto; margin: 18px 0; border-radius: 14px; }
.psn-prose { font-size: 18px; line-height: 1.7; margin-top: 18px; }
.psn-prose img, .psn-prose iframe { max-width: 100%; height: auto; border-radius: 10px; }
.psn-prose blockquote { margin: 16px 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--brand, #4338ca); }
.psn-original { margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--surface, #f9fafb); }
.psn-original a:not(.psn-btn) { color: var(--brand, #4338ca); font-weight: 700; }
.psn-related { border-top: 1px solid var(--border, #e5e7eb); }

/* events */
.psn-band { background: var(--surface, #f9fafb); }
.psn-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.psn-event { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--bg, #fff); border: 1px solid var(--border, #e5e7eb); scroll-margin-top: 80px; }
.psn-event__date { flex: none; width: 58px; padding: 6px 0; border-radius: 12px; background: var(--brand, #4338ca); color: #fff; text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.psn-event__date b { display: block; font-size: 24px; }
.psn-event__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.psn-event__title { margin: 0; font-size: 17px; font-weight: 700; color: inherit; text-decoration: none; }
.psn-event__text { margin: 6px 0 0; font-size: 15px; }
.psn-event__image { display: none; }
.psn-state { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 99px; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; }
.psn-event.is-cancelled .psn-state { background: #fee2e2; color: #991b1b; }
.psn-event.is-cancelled .psn-event__title { text-decoration: line-through; }
.psn-price { font-weight: 700; }
.psn-event .psn-actions { margin-top: 10px; }
.psn-events--full .psn-event { align-items: flex-start; }
@media (min-width: 760px) { .psn-events--full .psn-event__image { display: block; flex: none; width: 180px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; } }
.psn-events--past .psn-event { padding: 8px 12px; background: transparent; }
.psn-events--past .psn-event__date { width: auto; min-width: 58px; padding: 4px 8px; background: var(--surface, #f3f4f6); color: inherit; font-size: 12px; }
.psn-events--past .psn-event__date b { font-size: 18px; }
.psn-events--past .psn-event__title { font-size: 15px; }

/* awards and "As seen on" */
.psn-awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .psn-awards { grid-template-columns: 1fr 1fr; } }
.psn-award { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--border, #e5e7eb); }
.psn-award img { flex: none; width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.psn-award__mark { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fef3c7; color: #b45309; font-size: 20px; }
.psn-award a { color: inherit; }
.psn-seen { margin: 26px 0 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b7280); }
.psn-seen--alone { margin-top: 0; }
.psn-press { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.psn-press a, .psn-press span { color: inherit; text-decoration: none; font-weight: 800; font-size: 17px; opacity: .75; }
.psn-press img { display: block; height: 36px; width: auto; filter: grayscale(1); opacity: .8; }

/* "Work with me" */
.psn-cta { background: var(--secondary, #111827); color: #fff; text-align: center; }
.psn-cta h2 { margin: 0; font-size: clamp(26px, 6vw, 36px); }
.psn-cta__text { margin: 10px auto 0; max-width: 560px; opacity: .85; }
.psn-cta .psn-actions { justify-content: center; }

/* about */
.psn-about { max-width: 820px; }
.psn-about__head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: 8px; }
.psn-about__head .psn-titles { justify-content: center; }
.psn-about__photo { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; }
@media (min-width: 760px) {
    .psn-about__head { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 28px; }
    .psn-about__head .psn-titles { justify-content: flex-start; }
}
.psn-about h2 { margin: 30px 0 12px; font-size: 22px; }
.psn-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.psn-chips li { padding: 6px 14px; border-radius: 99px; background: var(--surface, #f3f4f6); font-weight: 600; font-size: 15px; }
.psn-timeline ul { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--border, #e5e7eb); display: grid; gap: 16px; }
.psn-timeline li { position: relative; display: flex; gap: 12px; }
.psn-timeline li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand, #4338ca); border: 2px solid var(--bg, #fff); }
.psn-timeline li img { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.psn-timeline p { margin: 0; }
.psn-timeline__title { font-weight: 700; }
.psn-timeline__title a { color: inherit; }
.psn-timeline__text { margin-top: 4px !important; font-size: 15px; }
.psn-reach { margin-top: 10px; padding: 18px; border-radius: 16px; background: var(--surface, #f9fafb); }
.psn-reach h2 { margin-top: 0 !important; }
