/* Stef Aqui · beige, noir, émeraude, orange brûlé, violet velours, doré. Une famille : Archivo. */

:root {
  --paper: #f1ebdf;
  --sable: #e2d6c0;
  --ink: #151212;
  --muted: #6b6257;
  --line: #cfc2a9;
  --card: #f9f5ec;

  --emeraude: #2e6e5b;
  --brule: #c45e2b;
  --velours: #5a3763;
  --dore: #cda349;
  --dore-clair: #f0dc9c;

  --dark: #151212;
  --on-dark: #f1ebdf;

  --sans: "Archivo", system-ui, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;

  --gutter: clamp(16px, 5vw, 64px);
  --measure: 60ch;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151212; --sable: #262120; --ink: #f1ebdf; --muted: #b0a596;
    --line: #3d3630; --card: #1e1a19;
    --emeraude: #5fa58d; --brule: #e08552; --velours: #a07cab;
    --dark: #0c0a0a;
  }
}
:root[data-theme="dark"] {
  --paper: #151212; --sable: #262120; --ink: #f1ebdf; --muted: #b0a596;
  --line: #3d3630; --card: #1e1a19;
  --emeraude: #5fa58d; --brule: #e08552; --velours: #a07cab;
  --dark: #0c0a0a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--velours); color: var(--on-dark); }

/* Grain argentique */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { mix-blend-mode: screen; opacity: .05; } }
:root[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .05; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--velours); outline-offset: 3px; }

/* ── Lettrage hachuré : le logo et les titres ── */
.stripes {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase; letter-spacing: .02em; line-height: .9;
  color: var(--ink);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) and (-webkit-text-stroke: 1px black) {
  .stripes {
    color: transparent;
    -webkit-text-stroke: var(--stroke, 2px) var(--ink);
    background: repeating-linear-gradient(to bottom, var(--ink) 0 var(--bar, 1.5px), transparent var(--bar, 1.5px) var(--step, 6px));
    -webkit-background-clip: text; background-clip: text;
    animation: scan 2.2s linear infinite;
  }
}
@keyframes scan { to { background-position: 0 var(--step, 6px); } }

/* ── En-tête ── */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(20px, 4vw, 44px) var(--gutter) 0;
}
.mark { font-weight: 900; font-variation-settings: "wdth" 125; text-decoration: none; font-size: 1.05rem; }
.top nav { display: flex; gap: clamp(12px, 2.4vw, 28px); flex-wrap: wrap; justify-content: flex-end; align-items: baseline; }
.top nav a { text-decoration: none; font-size: .92rem; font-weight: 500; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--brule); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang { display: inline-flex; gap: .5em; padding-left: clamp(10px, 2vw, 20px); border-left: 1px solid var(--line); font-size: .92rem; }
.lang b { font-weight: 700; }
.lang a { opacity: .55; }
.lang a:hover { opacity: 1; }

/* ── Accueil ── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; align-content: center; justify-items: start;
  padding: 120px var(--gutter) 64px;
}
.aura { position: absolute; inset: -20%; z-index: -1; filter: blur(70px); }
.aura span { position: absolute; border-radius: 50%; opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.aura .a1 { width: 50vmax; height: 50vmax; left: -4%; top: 10%; background: radial-gradient(circle, var(--emeraude), transparent 65%); }
.aura .a2 { width: 44vmax; height: 44vmax; right: 0; top: 20%; background: radial-gradient(circle, var(--brule), transparent 62%); animation-duration: 32s; }
.aura .a3 { width: 56vmax; height: 56vmax; left: 28%; bottom: -14%; background: radial-gradient(circle, var(--velours), transparent 65%); animation-duration: 38s; }
@keyframes drift { to { transform: translate3d(6vmax, -4vmax, 0) scale(1.14); } }

.logo {
  margin: 0; position: relative; width: 100%;
  font-size: clamp(4.2rem, 19.5vw, 19rem);
  --stroke: clamp(1.5px, .32vw, 3.2px); --bar: clamp(1.2px, .2vw, 2px); --step: clamp(5px, .8vw, 8px);
}
.logo span { display: block; }
/* Glitch : deux copies colorées, tranchées */
.logo::before, .logo::after {
  content: attr(data-text); white-space: pre;
  position: absolute; inset: 0; pointer-events: none;
  background: none; -webkit-text-stroke: 0; animation: none;
  clip-path: inset(100% 0 0 0);
}
.logo::before { color: var(--emeraude); mix-blend-mode: multiply; }
.logo::after  { color: var(--velours);  mix-blend-mode: multiply; }
.logo.glitch::before { animation: glitch-a .8s steps(1) both; }
.logo.glitch::after  { animation: glitch-b .8s steps(1) both; }
@keyframes glitch-a {
  0% { clip-path: inset(8% 0 78% 0); transform: translate(-8px, 0); }
  18% { clip-path: inset(62% 0 20% 0); transform: translate(6px, 0); }
  36% { clip-path: inset(30% 0 52% 0); transform: translate(-4px, 0); }
  54% { clip-path: inset(80% 0 4% 0); transform: translate(9px, 0); }
  72% { clip-path: inset(44% 0 40% 0); transform: translate(-6px, 0); }
  100% { clip-path: inset(100% 0 0 0); transform: none; }
}
@keyframes glitch-b {
  0% { clip-path: inset(70% 0 10% 0); transform: translate(8px, 0); }
  18% { clip-path: inset(20% 0 64% 0); transform: translate(-7px, 0); }
  36% { clip-path: inset(50% 0 30% 0); transform: translate(5px, 0); }
  54% { clip-path: inset(4% 0 82% 0); transform: translate(-9px, 0); }
  72% { clip-path: inset(36% 0 48% 0); transform: translate(4px, 0); }
  100% { clip-path: inset(100% 0 0 0); transform: none; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo::before, :root:not([data-theme="light"]) .logo::after { mix-blend-mode: screen; } }
:root[data-theme="dark"] .logo::before, :root[data-theme="dark"] .logo::after { mix-blend-mode: screen; }

.hero-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  width: 100%; margin-top: clamp(24px, 4vw, 48px);
}
.tagline { margin: 0; font-size: clamp(1rem, 1.8vw, 1.25rem); max-width: 34ch; font-weight: 500; }
.listen {
  display: inline-flex; align-items: center; gap: 12px;
  padding: .85em 1.5em; border: 2px solid var(--ink); border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: background .2s, color .2s, transform .2s;
}
.listen::before { content: ""; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.listen:hover { background: var(--ink); color: var(--paper); transform: rotate(-2deg); }

/* ── Sections ── */
.block { padding: clamp(72px, 11vw, 130px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.block + .block { border-top: 2px solid var(--ink); }
.block h2 { margin: 0 0 clamp(28px, 4vw, 48px); font-size: clamp(2.4rem, 7vw, 5rem); --stroke: 1.5px; --bar: 1.2px; --step: 5px; }
.block h2 small { display: block; margin-top: .5em; font: 500 1rem/1.4 var(--sans); font-variation-settings: "wdth" 100; text-transform: none; letter-spacing: 0; color: var(--muted); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) and (-webkit-text-stroke: 1px black) {
  .block h2 small { color: var(--muted); background: none; -webkit-text-stroke: 0; animation: none; }
}

/* Musique */
.music { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.cover { margin: 0; position: sticky; top: 40px; padding: 0 20px 20px 0; }
.cover img { transform: rotate(-2.5deg); box-shadow: 14px 14px 0 var(--velours); }
.sticker {
  position: absolute; right: 0; bottom: 0; width: 7.2em; height: 7.2em; font-size: clamp(.8rem, 1.5vw, 1rem);
  display: grid; place-content: center; text-align: center; border-radius: 50%;
  background: var(--dore); color: var(--ink); transform: rotate(10deg);
  font-weight: 800; line-height: 1.1;
  box-shadow: inset 0 0 0 .35em var(--paper), 0 0 0 .2em var(--dore), 0 8px 22px -10px rgba(0,0,0,.5);
}
.sticker b { display: block; font-size: 2.1em; font-variation-settings: "wdth" 110; }
.ep-name { margin: 0 0 1.4rem; font: 400 clamp(2.4rem, 5vw, 3.6rem)/1 var(--hand); color: var(--velours); transform: rotate(-2deg); transform-origin: left; }

.tracks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: t; }
.tracks li {
  display: grid; grid-template-columns: 2rem 1fr auto; column-gap: 14px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; font-variation-settings: "wdth" 110;
}
.tracks li::before { counter-increment: t; content: counter(t); font-weight: 400; color: var(--brule); }
.tracks .dur { font-size: .85rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }

.player { margin-top: 28px; background: #fff; border: 2px solid var(--ink); }
.player iframe { display: block; border: 0; width: 100%; height: 252px; }

.links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 22px 0 0; }
.links a, .small-links a {
  text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .5em 1em; border: 2px solid var(--ink); border-radius: 999px;
  transition: background .2s, color .2s;
}
.links a:hover { background: var(--emeraude); border-color: var(--emeraude); color: #fff; }

/* Clip */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 14px 14px 0 var(--emeraude); }
.video iframe, .play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { padding: 0; cursor: pointer; background: #000; }
.play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; filter: saturate(.85); transition: opacity .3s; }
.play:hover img { opacity: 1; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; translate: -50% -50%; border-radius: 50%; background: var(--dore); }
.play-btn::after { content: ""; position: absolute; left: 36px; top: 29px; border-left: 20px solid #151212; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }

/* Bio */
.bio { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.portrait { margin: 0; padding-right: 14px; }
.portrait img { transform: rotate(2deg); filter: saturate(.85) sepia(.08); box-shadow: 14px 14px 0 var(--brule); }
.bio p { max-width: var(--measure); margin: 0 0 1.1em; }
.lede { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; font-weight: 700; font-variation-settings: "wdth" 110; }
.credits { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.credits dt { font-weight: 700; color: var(--ink); margin-bottom: .4em; }
.credits dd { margin: 0; }

/* Spectacles */
.shows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.shows li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.shows time { font-weight: 800; font-size: 1.3rem; min-width: 12ch; font-variation-settings: "wdth" 110; }
.shows .where { flex: 1; }
.shows li a { color: var(--brule); font-weight: 700; }
.shows .empty { display: block; color: var(--muted); font-size: 1.1rem; }

/* ── Contact : noir, doré pailleté ── */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; padding: clamp(96px, 14vw, 180px) var(--gutter) 40px;
  background: var(--dark); color: var(--on-dark);
}
.contact .aura { opacity: .5; }
.contact .aura .a1 { left: -10%; top: -20%; background: radial-gradient(circle, var(--velours), transparent 65%); }
.contact .aura .a2 { right: -10%; top: 10%; background: radial-gradient(circle, var(--emeraude), transparent 62%); }
.contact h2 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 5vw, 3.2rem); --stroke: 1.5px; --bar: 1.2px; --step: 5px; color: var(--on-dark); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) and (-webkit-text-stroke: 1px black) {
  .contact h2 { color: transparent; -webkit-text-stroke-color: var(--on-dark); background-image: repeating-linear-gradient(to bottom, var(--on-dark) 0 1.2px, transparent 1.2px 5px); }
}
.big-link {
  display: inline-block; text-decoration: none;
  font-size: clamp(1.6rem, 5.6vw, 4.4rem); font-weight: 800; font-variation-settings: "wdth" 110; line-height: 1.1;
  overflow-wrap: anywhere; color: var(--dore);
}
.glitter {
  background:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 45% 80%, #fff8de 0 .8px, transparent 1.4px),
    linear-gradient(100deg, var(--dore) 0%, var(--dore-clair) 22%, var(--dore) 40%, #a8823f 60%, var(--dore-clair) 80%, var(--dore) 100%);
  background-size: 23px 19px, 31px 27px, 17px 13px, 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 92px 38px, -62px 108px, 34px -52px, -250% 0; } }
.big-link:hover { text-decoration: underline; text-decoration-color: var(--dore); text-decoration-thickness: 2px; text-underline-offset: 10px; }
.small-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin: 2rem 0 0; }
.small-links a { border-color: var(--dore); color: var(--on-dark); }
.small-links a:hover { background: var(--dore); color: var(--dark); }
.fine { margin: clamp(72px, 10vw, 120px) 0 0; font-size: .85rem; opacity: .7; }

/* ── Petits écrans ── */
@media (max-width: 820px) {
  .music, .bio { grid-template-columns: 1fr; }
  .cover { position: relative; top: auto; max-width: 520px; }
  .portrait { max-width: 420px; }
}
@media (max-width: 560px) {
  .top { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px; }
  .top nav { justify-content: flex-start; flex-wrap: nowrap; gap: 12px; }
  .top nav a { font-size: .8rem; }
  .lang { position: absolute; top: 22px; right: var(--gutter); border-left: 0; padding-left: 0; font-size: .8rem; }
  .hero { padding-top: 110px; }
  .logo { font-size: 21vw; }
  .aura span { opacity: .8; }
  .aura .a1 { width: 90vmax; height: 90vmax; left: -30%; }
  .aura .a2 { width: 80vmax; height: 80vmax; }
  .player iframe { height: 262px; }
  .video { box-shadow: 8px 8px 0 var(--emeraude); }
  .cover img, .portrait img { box-shadow: 8px 8px 0 var(--velours); }
  .portrait img { box-shadow: 8px 8px 0 var(--brule); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura span, .glitter, .stripes { animation: none; }
  .logo.glitch::before, .logo.glitch::after { animation: none; }
  .listen:hover { transform: none; }
}
