/* An Alley artist's partner page, built from their Alley profile
   (views/artist-page.php): their banner as a big hero, their picture and
   facts over it, then the art, the merch, commissions and about. DRXP's own
   black and orange, with gold for the hiring side. */
.apg { position: relative; padding-bottom: 90px; }
.apg-hero { position: relative; padding: 120px 0 34px; overflow: hidden; isolation: isolate; }
.apg-banner { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 20% 20%, rgba(255, 107, 53, .3), transparent 70%), #121110; }
.apg-banner img { width: 100%; height: 100%; object-fit: cover; }
.apg-banner.is-art img { filter: blur(24px) saturate(1.2) brightness(.7); transform: scale(1.15); }
.apg-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .25) 0%, rgba(10, 10, 10, .55) 50%, var(--bg) 100%); }
.apg-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 26px; padding-top: 120px; }
.apg-face { display: grid; place-items: center; width: 168px; height: 168px; overflow: hidden; border: 4px solid var(--acc); background: var(--panel2); box-shadow: 10px 10px 0 rgba(0, 0, 0, .55), 0 0 40px rgba(255, 107, 53, .25); transform: rotate(-2deg); }
.apg-face img { width: 100%; height: 100%; object-fit: cover; }
.apg-face b { font-family: var(--head); font-weight: 400; font-size: 3.4rem; color: var(--tx); }
.apg-who { min-width: 0; }
.apg-who .kick { margin-bottom: 2px; }
.apg-who h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .92; text-shadow: 0 4px 0 rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.apg-headline { margin: 10px 0 0; color: var(--tx); font-size: 1.1rem; max-width: 56ch; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.apg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.apg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; background: rgba(10, 10, 10, .6); color: var(--tx2); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.apg-chip b { font-family: var(--head); font-weight: 400; font-size: 1rem; letter-spacing: .02em; color: var(--tx); }
.apg-chip.is-open { color: var(--grn); border-color: rgba(163, 230, 53, .5); }
.apg-chip.is-waitlist, .apg-chip.is-full { color: #E8C15A; border-color: rgba(232, 193, 90, .5); }
.apg-chip.is-tag { text-transform: none; letter-spacing: .02em; font-weight: 800; font-size: .8rem; }
.apg-socials { display: flex; gap: 8px; margin-top: 14px; }
.apg-socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(10, 10, 10, .55); color: var(--tx); transition: border-color .2s, color .2s, transform .2s; }
.apg-socials a:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }
.apg-socials svg { width: 17px; height: 17px; fill: currentColor; }
.apg-do { align-self: end; }
.apg-do .ts-sw { margin: 0; }

.apg-jump { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; padding: 6px; border: 2px solid var(--line); background: rgba(14, 13, 10, .7); }
.apg-jump a { padding: 9px 16px; color: var(--tx2); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: color .2s, background-color .2s; }
.apg-jump a:hover { color: var(--tx); background: var(--panel); }

.apg-sec { margin-top: 64px; scroll-margin-top: 110px; }
.apg-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.apg-sec-head h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.apg-sec-head h2 em { font-style: normal; color: var(--acc); }
#commissions .apg-sec-head h2 em { color: transparent; background: linear-gradient(115deg, #8C6418 0%, #E8C15A 22%, #FFF1B8 38%, #D6A73E 52%, #9C7019 70%, #F2D27A 88%, #B8862A 100%); -webkit-background-clip: text; background-clip: text; }
.apg-sec-head a, .apg-sec-head span { color: var(--tx3); font-weight: 800; font-size: .86rem; text-decoration: none; }
.apg-sec-head a:hover { color: var(--acc); }

.apg-art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.apg-piece { display: block; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--line); background: var(--panel2); cursor: zoom-in; transition: transform .2s cubic-bezier(.2, 1.4, .4, 1), border-color .2s, box-shadow .2s; }
.apg-piece img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .apg-piece:hover { transform: translateY(-5px) scale(1.04); border-color: var(--acc); box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 26px rgba(255, 107, 53, .25); position: relative; z-index: 1; }
  .apg-piece:hover img { transform: scale(1.05); }
  .apg-art:has(.apg-piece:hover) .apg-piece:not(:hover) { filter: brightness(.6); }
}

.apg-soon { display: grid; gap: 8px; justify-items: start; padding: 26px; border: 2px dashed var(--line2); }
.apg-soon b { font-family: var(--head); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; }
.apg-soon p { margin: 0 0 6px; color: var(--tx2); max-width: 60ch; }

.apg-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.apg-svc { display: flex; flex-direction: column; text-align: left; border: 2px solid var(--line2); border-top: 4px solid #E8C15A; background: var(--panel); color: var(--tx); text-decoration: none; transition: transform .25s, border-color .25s; }
.apg-svc:hover { transform: translateY(-4px); border-color: #E8C15A; }
.apg-svc.is-shut { opacity: .7; }
.apg-svc-pic { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(60% 80% at 30% 30%, rgba(232, 193, 90, .2), transparent 70%), var(--panel2); }
.apg-svc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.apg-svc-body { display: grid; justify-items: start; gap: 4px; padding: 14px 16px 16px; text-align: left; }
.apg-svc-body b { font-family: var(--head); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.apg-svc-body small { color: var(--tx3); }
.apg-svc-price { margin-top: 4px; color: var(--tx2); font-size: .86rem; }
.apg-svc-price b { font-size: 1.5rem; color: #E8C15A; }

.apg-about { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; align-items: start; }
.apg-about-text p { margin: 0 0 14px; color: var(--tx2); font-size: 1.04rem; line-height: 1.75; }
.apg-about-tags { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .apg-head { grid-template-columns: auto minmax(0, 1fr); padding-top: 90px; }
  .apg-do { grid-column: 1 / -1; }
  .apg-face { width: 120px; height: 120px; }
  .apg-art { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .apg-svcs { grid-template-columns: 1fr 1fr; }
  .apg-about { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .apg-hero { padding-top: 96px; }
  .apg-head { grid-template-columns: 1fr; gap: 16px; padding-top: 60px; }
  .apg-face { width: 104px; height: 104px; }
  .apg-art { grid-template-columns: 1fr 1fr; gap: 8px; }
  .apg-svcs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .apg-piece, .apg-piece img, .apg-svc { transition: none; } }
