/* WowRadar — page publique d'artiste : sobre, neutre, une seule couleur d'accent (--accent, issue de la release principale). */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --accent: #f7a61e; --on-accent: #111;
  --bg: #0d0d0f; --bg-2: #141417; --ink: #f2f0ec; --dim: #a9a6a0; --faint: #74716c;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16); --surface: rgba(255, 255, 255, .04); --surface-2: rgba(255, 255, 255, .08);
  --fd: "Roboto", "Arial", system-ui, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", sans-serif;
  --fb: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", sans-serif;
  --gut: clamp(16px, 5vw, 56px); --maxw: 1160px; --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--bg); color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.wr-artist-page { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
:where(.wr-artist-page) img { display: block; max-width: 100%; }
:where(.wr-artist-page) a { color: inherit; }
:where(.wr-artist-page) :where(h1, h2, p) { margin: 0; }
:where(.wr-artist-page) button { font: inherit; color: inherit; }
.wr-artist-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wr-icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }

.ap-banner { position: sticky; top: 0; z-index: 30; display: flex; gap: 8px 18px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px var(--gut); background: #1c1a15; border-bottom: 1px solid rgba(247, 166, 30, .35); color: #f4e7cf; font-size: .88rem; text-align: center; }
.ap-banner a { font-weight: 700; color: #f7a61e; }

.ap-top { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-top-name { font: 700 .74rem/1 var(--fb); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-share { display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: 0 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--dim); cursor: pointer; font-weight: 600; font-size: .92rem; transition: color .2s, border-color .2s; }
.ap-share:hover { color: var(--ink); border-color: var(--line-2); }

.ap-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(16px, 4vw, 48px) var(--gut) clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ap-photo { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.ap-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; animation: ap-in 1.1s var(--ease) backwards; }
@keyframes ap-in { from { opacity: 0; transform: scale(1.04); } }
.ap-mono { display: grid; place-items: center; width: 100%; height: 100%; font: 800 clamp(4rem, 12vw, 8rem)/1 var(--fd); color: var(--accent); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), var(--bg-2); }
.ap-intro { min-width: 0; }
.ap-kicker { display: inline-flex; align-items: center; gap: .7em; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem !important; }
.ap-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.ap-name { font: 800 clamp(2.6rem, 8vw, 6rem)/.96 var(--fd); letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
.ap-lead { margin-top: 1.4rem !important; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--dim); max-width: 34em; }
.ap-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1.6rem; }
.ap-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--dim); transition: color .2s, border-color .2s, background .2s; }
.ap-icons a:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); }

.ap-sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) 0; }
.ap-title { display: flex; align-items: center; gap: .8em; font: 700 .74rem/1 var(--fb); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.4rem !important; }
.ap-count { font-weight: 600; color: var(--faint); letter-spacing: .05em; }
.ap-meta { font-size: .8rem; color: var(--faint); font-weight: 600; letter-spacing: .04em; }

.ap-feature {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; text-decoration: none;
  padding: clamp(16px, 2.4vw, 28px); border-radius: 26px; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--rel, var(--accent)) 16%, transparent), transparent 60%), var(--surface);
  transition: border-color .3s, transform .4s var(--ease);
}
.ap-feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.ap-feature-cover img, .ap-feature-cover .ap-ph { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ap-feature-txt { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-items: flex-start; }
.ap-feature-title { font: 700 clamp(1.7rem, 4vw, 3rem)/1.02 var(--fd); letter-spacing: -.03em; overflow-wrap: anywhere; }
.ap-feature-desc { color: var(--dim); max-width: 32em; }
.ap-btn { margin-top: 8px; display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: 0 1.4em; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.ap-btn .wr-icon { width: 16px; height: 16px; }

.ap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(44%, 200px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.ap-card { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.ap-card-cover { position: relative; display: block; margin-bottom: 10px; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.ap-card-cover img, .ap-card-cover .ap-ph { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.ap-card:hover .ap-card-cover img { transform: scale(1.04); }
.ap-card-title { font-weight: 700; line-height: 1.3; }
.ap-card.is-draft .ap-card-cover img { opacity: .55; filter: grayscale(.5); }
.ap-draft { position: absolute; left: 10px; bottom: 10px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #f7a61e; color: #1a1103; padding: 4px 9px; border-radius: 999px; }
.ap-ph { display: grid !important; place-items: center; color: var(--faint); background: var(--bg-2); }
.ap-ph .wr-icon { width: 28%; height: 28%; }

.ap-bio { max-width: 42em; font-size: 1.06rem; line-height: 1.8; color: #d6d3cd; }

.ap-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px clamp(24px, 5vw, 72px); }
.ap-list { list-style: none; margin: 0; padding: 0; }
.ap-list li { border-top: 1px solid var(--line); }
.ap-list li:last-child { border-bottom: 1px solid var(--line); }
.ap-list a { display: flex; align-items: center; gap: 14px; padding: 15px 6px; text-decoration: none; font-weight: 600; transition: color .2s, padding .3s var(--ease); }
.ap-list a:hover { color: var(--accent); padding-left: 12px; }
.ap-list span { flex: 1; }
.ap-ext { color: var(--faint); width: 16px; height: 16px; }

.ap-foot { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--gut) 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: .84rem; }
.made { display: inline-flex; align-items: baseline; gap: .7em; /* bas des lettres du logo calé sur la ligne de base de « Made with » */ text-decoration: none; color: var(--dim); padding: 10px 16px 10px 14px; border-radius: 999px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.made:hover { color: var(--ink); border-color: var(--line-2); }
.made-logo { --brand: currentColor; height: 13px; width: auto; display: block; }

.wr-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #f2f0ec; color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: opacity .25s, transform .25s var(--ease); }
.wr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .ap-hero { grid-template-columns: minmax(0, 1fr); }
  .ap-photo { width: min(100%, 420px); aspect-ratio: 1; }
  .ap-feature { grid-template-columns: minmax(0, 1fr); }
  .ap-share span { display: none; }
  .ap-share { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wr-artist-page *, .wr-artist-page *::before, .wr-artist-page *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Chinois / japonais : polices CJK en tête (japonais : formes de kanji japonaises), pas d'interlettrage ni de capitales */
html:lang(zh) { --fd: "Roboto", "Arial", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic", sans-serif; --fb: "Inter", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans", system-ui, sans-serif; }
html:lang(ja) { --fd: "Roboto", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", "Meiryo", "PingFang SC", sans-serif; --fb: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", "Meiryo", system-ui, sans-serif; }
html:lang(zh) .ap-top-name, html:lang(ja) .ap-top-name,
html:lang(zh) .ap-kicker, html:lang(ja) .ap-kicker,
html:lang(zh) .ap-title, html:lang(ja) .ap-title,
html:lang(zh) .ap-count, html:lang(ja) .ap-count,
html:lang(zh) .ap-meta, html:lang(ja) .ap-meta,
html:lang(zh) .ap-draft, html:lang(ja) .ap-draft { letter-spacing: .02em; }

/* Logo (image très large) : entier, centré sur un fond neutre, jamais rogné */
.ap-photo.is-logo { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #2e2e35 0%, #18181c 70%, #121215 100%); }
.ap-photo.is-logo img { object-fit: contain; width: 100%; height: 100%; padding: 12%; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 4px 14px rgba(0, 0, 0, .55)); }
