/* Artists, hiring, plans and legal pages. Brand palette only (navy, red, white, mist, wave); waves never behind small text. */

/* page head: navy band with large type */
.ahead { background: var(--navy); color: #fff; padding: 46px 0 40px; position: relative; overflow: hidden; }
.ahead::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; aspect-ratio: 1; border-radius: 50%; background: var(--red); opacity: .95; }
.ahead .wrap { position: relative; z-index: 1; max-width: 1180px; }
.ahead h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 16em; }
.ahead .lead { color: var(--mist); max-width: 44em; }
.ahead .btn.ghost { color: #fff; }
.ahead .kicker { color: #fff; opacity: .8; }

/* artist cards */
.alist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin: 14px 0 8px; }
.acard { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform .2s ease, border-color .2s; }
.acard:hover, .acard:focus-visible { transform: translateY(-3px); border-color: var(--navy); }
.acard-top { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.acard-top .aav { width: 100%; height: 100%; object-fit: cover; display: block; }
.acard-top .aav.ph .sart { width: 100%; height: 100%; display: block; }
.feat-flag { position: absolute; left: 10px; top: 10px; background: var(--red); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .2em .6em; border-radius: 4px; }
.acard-b { display: grid; gap: 4px; padding: 12px 14px 14px; }
.acard-n { font-size: 1.05rem; font-weight: 800; }
.acard-h { font-size: .9rem; line-height: 1.4; }
.acard-f { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); align-items: center; }
.amatch { display: grid; gap: 6px; }
.alist.feat .acard { border-color: var(--navy); }

.badge.pro { display: inline-block; vertical-align: middle; background: var(--navy); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: .15em .45em; border-radius: 3px; }
.aprof-h .badge.pro { background: var(--red); font-size: .8rem; }
.tag.intl { background: var(--navy); color: #fff; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mist); }
.avail.av-open::before { background: var(--red); }
.avail.av-offers::before { background: transparent; border: 2px solid var(--red); width: 6px; height: 6px; }
.pr-tag { display: inline-block; background: var(--navy); color: #fff !important; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: .05em .45em; border-radius: 3px; margin-right: .5em; }
.tag.pr-tag { border-radius: 3px; }

.afilters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 8px; }
.afilters input[type=search] { flex: 1 1 220px; }
.afilters select, .afilters input[type=search] { font: inherit; padding: .5em .9em; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-width: 0; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--r); padding: 22px; color: var(--muted); }
.draft-note { background: #fff; border-left: 4px solid var(--navy); padding: 10px 14px; border-radius: 8px; font-size: .9rem; }

/* artist profile */
.aprof { --accent: var(--red); }
.aprof-h { background: var(--navy); color: #fff; padding: 40px 0 34px; border-bottom: 6px solid var(--accent); }
.aprof-in { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.aav.big { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; overflow: hidden; display: block; border: 4px solid var(--accent); background: var(--navy); }
.aav.big .sart { width: 100%; height: 100%; display: block; }
.aprof-h h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .2em; }
.aprof-h .lead { color: var(--mist); font-size: 1.1rem; }
.aprof-h .kicker { color: #fff; opacity: .75; }
.aprof-h .tag { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.aprof-h .tag.intl { background: var(--accent); }
.aprof-h .muted { color: var(--mist); }
.aprof-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mist); }
.aprof-facts .avail { color: #fff; }
.aprof-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding: 30px 0 50px; }
.aprof-main section + section { margin-top: 28px; }
.aprof-main h2 { margin-top: 0; }
.aprof-side { display: grid; gap: 16px; align-content: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.panel h3 { margin: 0 0 .6em; }
details.panel summary { cursor: pointer; }
.panel.intro { border-top: 4px solid var(--accent, var(--red)); }
.lock { display: inline-block; font-size: .68rem; font-weight: 700; color: var(--navy); background: #EEEFF6; padding: .05em .5em; border-radius: 999px; vertical-align: middle; }
.aprof-h .lock { background: rgba(255, 255, 255, .15); color: #fff; }
.alinks, .plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.alinks a { display: flex; justify-content: space-between; text-decoration: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.alinks a:hover { border-color: var(--navy); }
.vid { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--r); overflow: hidden; display: grid; place-items: center; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-play { font: inherit; font-weight: 800; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.4em; cursor: pointer; }
.reel { width: 100%; border-radius: var(--r); background: var(--navy); }
.astills { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.astills figure { margin: 0; }
.astills img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--navy); }
.astills figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.astills.edit { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.still { display: grid; gap: 4px; font-weight: 500; font-size: .85rem; }

/* sign-up and dashboard */
.uname { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.uname span { padding: 0 0 0 12px; color: var(--muted); white-space: nowrap; font-size: .9rem; }
.form .uname input { border: 0 !important; padding-left: 2px !important; min-width: 0; flex: 1; outline: 0; }
.uname:focus-within { outline: 2px solid var(--red); outline-offset: 1px; }
.langrows { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.langrow { display: flex; gap: 6px; }
.langrow select { flex: 1; min-width: 0; }
.vistable { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 10px 0; }
.pro-box { border-color: var(--navy); }
.intros { display: grid; gap: 12px; }
.intro-i { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.intro-i.st-pending { border-left: 4px solid var(--red); }
.intro-i header { display: flex; gap: 12px; align-items: center; }
.intro-i header > div { display: grid; flex: 1; }
.intro-i blockquote { margin: 10px 0; padding: 10px 14px; background: var(--paper); border-radius: 8px; }
.slogo.sm { width: 40px; height: 40px; border-radius: 8px; }

/* studio page: open posts inside the Hiring card */
.sposts { margin-top: 14px; display: grid; gap: 8px; }
.sposts h3 { margin: 0; }
.sposts details { border-top: 1px solid var(--line); padding-top: 8px; }
.sposts summary { cursor: pointer; display: grid; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 12px 0 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; text-decoration: none; }
.plan.hot { border: 2px solid var(--red); }
.plan h3 { margin: 0; }
.plan .price, .price { font-size: 1.5rem; font-weight: 800; margin: 0; }
.plan ul { margin: 0; padding-left: 1.1em; }
.plan form { margin-top: 6px; }
.plan.link:hover { border-color: var(--navy); }

/* homepage: featured artists, international in Japan, artist call */
.hm-intl .intl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.intl-s { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 8px 8px; text-decoration: none; }
.intl-s:hover { border-color: var(--navy); }
.intl-s > span { display: grid; }
.ajoin-band { display: flex; gap: 24px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: var(--r); padding: 28px 30px; margin-top: 30px; margin-bottom: 30px; position: relative; overflow: hidden; }
.ajoin-band h2 { margin: 0 0 .3em; }
.ajoin-band p { color: var(--mist); margin: 0; max-width: 40em; }
.ajoin-band > * { position: relative; }
/* scroll story (home.js writes --p 0..1 on [data-scroll]); only under html.sm, so reduced motion gets static cards */
.sm .hm-artists .alist { opacity: calc(.25 + var(--p, 1) * 1.5); }
.sm .ajoin-band { opacity: calc(.25 + var(--p, 1) * 1.5); }

/* legal */
.legal h2 { font-size: 1.05rem; margin-top: 1.4em; }
.legal-t th { width: 34%; text-align: left; vertical-align: top; }
.narrow-page.wide-ish { max-width: 960px; }

@media (max-width: 860px) {
  .aprof-grid { grid-template-columns: 1fr; }
  .aprof-in { grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
  .aav.big { width: 96px; height: 96px; }
  .ajoin-band { flex-direction: column; align-items: flex-start; }
  .ahead::after { width: 140px; right: -50px; top: -50px; }
}
@media (max-width: 560px) {
  .alist { grid-template-columns: 1fr 1fr; gap: 10px; }
  .acard-b { padding: 10px; }
  .acard-n { font-size: .95rem; }
  .aprof-in { grid-template-columns: 1fr; }
  .tbl { display: block; overflow-x: auto; }
  .afilters select { flex: 1 1 45%; }
}
@media (prefers-reduced-motion: reduce) { .acard, .acard:hover { transition: none; transform: none; } }

/* outline buttons in section headers on light pages */
.sec-h .btn.ghost { color: var(--navy); border-color: var(--navy); }
.afilters input[type=checkbox] { min-width: 0; width: auto; padding: 0; }
.afilters label.chk { margin: 0 8px 0 4px; white-space: nowrap; }

/* quick sign-up: share link, completeness meter, ArtStation card, CV */
.share-url a { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; word-break: break-all; }
.share-url input { width: 100%; font: inherit; padding: .45em .7em; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.ready { margin: 14px 0 18px; }
.ready-bar { height: 10px; background: #EEEFF6; border-radius: 999px; overflow: hidden; }
.ready-bar span { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.ready p { margin: 6px 0 0; }
.as-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r); padding: 12px 16px; text-decoration: none; }
.as-card:hover, .as-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.as-card > span:nth-child(2) { display: grid; }
.as-card .small { color: var(--mist); }
.as-mark { width: 44px; height: 44px; border-radius: 10px; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.cv-box { display: grid; gap: 10px; }
.cv-box form { margin: 0; }
.cv-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cv-share p { flex-basis: 100%; margin: 0; }
.cv-box .btn { width: auto; justify-self: start; }
.cv-box .form.row { align-items: end; }
