/* Creator profile (/portfolio/<slug>) — Kakadu article template, dark theme (client: no light backgrounds) (C23–C28).
   Hero: padding 80/0/60 (D) 60/0/40 (T) 40/0/30 (M); breadcrumb -> 40 (M 20) -> split hero
   (two 1fr columns, gap 20; text column centred against the square portrait, chevron at its foot).
   Content: centred 780 column (tablet: full content width), padding 60/0/120 (D) 40/0/80 (T)
   30/0/60 (M); blocks 80 apart (T/M 60), heading -> body 40. Then the C15 CTA band. */

/* ---------- hero (C23 + C24) ---------- */
.sc-hero { padding: 80px 0 60px; }
.sc-crumbs { margin-bottom: 40px; }
.sc-crumbs .crumbs { list-style: none; margin: 0; padding: 0; }
.sc-crumbs li { display: flex; align-items: center; gap: 10px; }
.sc-crumbs .current { overflow-wrap: anywhere; }

.sc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sc-intro { display: grid; grid-template-rows: 1fr auto 1fr; min-width: 0; }
.sc-head { grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; }
/* C24/M8: the 40x40 chevron hangs below the text column, its top level with the portrait's
   bottom edge (Kakadu: image bottom 847 = chevron top), inside the hero's 60px bottom padding */
.sc-chev { grid-row: 3; align-self: end; padding-top: 30px; margin-bottom: -40px; }
.sc-portrait { align-self: start; }
.sc-portrait img { object-position: 50% 30%; }

.sc-chip { display: inline-block; padding: 2px 12px; border-radius: 5px; color: var(--ink); }
.sc-chip.is-exclusive { background: var(--g-active); }
.sc-chip.is-open { color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.sc-name { margin-top: 20px; overflow-wrap: anywhere; }
.sc-meta { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.sc-tags { max-width: 520px; }
.sc-tag { white-space: nowrap; } /* break only after a separator, never before it */

/* platform links: C26 row language (40 tall, ink, radius 12, 20px glyph), label added */
.sc-plats { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sc-plat {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 10px; border-radius: 12px;
  background: var(--cream); color: var(--ink);
  font-family: var(--font-body-strong); font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: var(--tracking);
  transition: background-color 400ms var(--spring-b02);
}
.sc-plat svg { width: 20px; height: 20px; flex: none; }
.sc-plat:hover { background: var(--cream-80); }
.sc-plat:active { background: var(--cream); }

/* ---------- content column (C27) ---------- */
.sc-content { padding: 60px 0 120px; }
.sc-content:focus { outline: none; }
.sc-col { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 80px; }
.sc-block { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.sc-block-head { display: flex; flex-direction: column; gap: 20px; }
.sc-block h2 { overflow-wrap: break-word; hyphens: auto; }

/* socials & facts: hairline rows (C12b / C31 language) */
.sc-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sc-socials li { position: relative; }
.sc-socials li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid currentColor; }
.sc-socials li:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid currentColor; }
.sc-social { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.sc-tile { width: 48px; height: 48px; border-radius: 10px; background: var(--cream); color: var(--ink); display: grid; place-items: center; flex: none; }
.sc-tile svg { width: 24px; height: 24px; }
.sc-who { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sc-pname { font-family: var(--font-body-strong); font-weight: 700; }
.sc-handle { position: relative; align-self: flex-start; max-width: 100%; font-size: 20.48px; line-height: 1.4; overflow-wrap: anywhere; }
.sc-handle::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-bottom: 1px solid transparent; }
.sc-social:hover .sc-handle::after { border-bottom-color: currentColor; transition: border-bottom-color 400ms var(--spring-b02); }
.sc-count { font-family: var(--font-body-strong); font-weight: 700; font-size: 20.48px; line-height: 1.4; flex: none; }
.sc-arrow { width: 22px; height: 22px; flex: none; }
.sc-arrow svg { width: 22px; height: 22px; }
.sc-sum { margin-top: -20px; }

/* topics: outlined pills (C05 outline, not interactive) */
.sc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sc-topic { position: relative; padding: 10px 20px; border-radius: 40px; overflow-wrap: anywhere; }
.sc-topic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid currentColor; pointer-events: none; }

/* gallery: C28 image cluster (full 780x512, halves 380x512, gap 20) */
.sc-cluster { display: flex; flex-direction: column; gap: 20px; }
.sc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sc-full { aspect-ratio: 780 / 512; }
.sc-half { aspect-ratio: 380 / 512; }
.sc-tall { aspect-ratio: 4 / 5; }
.sc-half img, .sc-tall img { object-position: 50% 30%; }

/* ---------- CTA (C15) with two actions ---------- */
.sc-cta-row { margin-top: 20px; }
.cta-card .sc-cta-row .btn { margin-top: 0; }

/* ---------- tablet ---------- */
@media (max-width: 1279.98px) {
  .sc-hero { padding: 60px 0 40px; }
  .sc-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sc-intro { display: block; }
  .sc-chev { display: none; }
  .sc-tags { max-width: 758px; }
  /* tablet article: hero image radius 20, body column and images run the full content width (Kakadu tablet spec) */
  .sc-portrait { border-radius: 20px; }
  .sc-content { padding: 40px 0 80px; }
  .sc-col { max-width: none; gap: 60px; }
  .sc-handle, .sc-count { font-size: 20px; }
}

/* ---------- phone ---------- */
@media (max-width: 767.98px) {
  .sc-hero { padding: 40px 0 30px; }
  .sc-crumbs { margin-bottom: 20px; font-size: 16px; }
  .sc-split { gap: 20px; }
  .sc-name { margin-top: 10px; }
  .sc-meta { margin-top: 20px; }
  .sc-plats { margin-top: 20px; }
  .sc-plat { height: 44px; } /* 44px touch target */
  .sc-content { padding: 30px 0 60px; }
  .sc-col { gap: 60px; }
  .sc-social { gap: 12px; padding: 16px 0; }
  .sc-tile { width: 40px; height: 40px; }
  .sc-tile svg { width: 20px; height: 20px; }
  .sc-pname { font-size: 16px; }
  .sc-topic { padding: 8px 16px; font-size: 16px; } /* same pill as /artists .ar-tags */
  .sc-cluster, .sc-row { gap: 10px; }
  .sc-cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .sc-cta-row .btn { padding-inline: 20px; }
}
