/* CrossFeeder — feuille de style du site crossfeeder.github.io */
:root {
  --bg: #120F0D;
  --bg-2: #1A1613;
  --card: #1C1714;
  --line: #2A231E;
  --line-2: #3A3029;
  --text: #EDE6DC;
  --text-2: #C9BFB2;
  --muted: #A79D90;
  --amber: #E39B3D;
  --blue: #6FA3FF;
  --accent: #E39B3D;
  --tint: #E39B3D;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: var(--amber); }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--mono); }
.upper { text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: #120F0D; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== Barre du haut ===== */
.top { position: sticky; top: 0; z-index: 10; background: rgba(18,15,13,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top-in { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq span { display: block; width: 3px; height: 14px; background: var(--accent); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: -0.4s; } .eq span:nth-child(3) { animation-delay: -0.7s; } .eq span:nth-child(4) { animation-delay: -0.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.nav { display: flex; flex-wrap: wrap; gap: 24px; }
.nav a { position: relative; color: var(--text-2); text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav a.contact { color: var(--accent); font-weight: 500; }
.line { height: 2px; background: linear-gradient(90deg, var(--amber), var(--blue), var(--amber)); background-size: 200% 100%; animation: line 6s linear infinite; }
@keyframes line { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* ===== Hero ===== */
.hero { padding-top: 64px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; align-items: end; }
.title { margin: 0; font-weight: 800; font-stretch: 70%; font-size: clamp(64px, 11vw, 148px); line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase; }
.title .row { display: block; white-space: nowrap; }
.l { display: inline-block; animation: lin .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 55ms); }
.la, .lb { display: inline-block; transition: transform .25s ease; animation: 7s ease-in-out infinite; animation-delay: calc(1.4s + var(--i) * 90ms); }
.la { color: var(--amber); animation-name: sweepA; }
.lb { color: var(--text); animation-name: sweepB; }
.l:hover .la, .l:hover .lb { transform: translateY(-0.1em); }
@keyframes lin { from { opacity: 0; transform: translateY(0.5em) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes sweepA { 0%, 14%, 100% { color: var(--amber); } 6% { color: var(--blue); } }
@keyframes sweepB { 0%, 14%, 100% { color: var(--text); } 6% { color: var(--amber); } }
.facts { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 16px; font-family: var(--mono); font-size: 14px; border-top: 1px solid var(--line-2); padding-top: 16px; margin: 32px 0 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.photo { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-box { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.photo-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.photo-box::after { content: ''; position: absolute; inset: 0; background: var(--tint); mix-blend-mode: color; opacity: .8; }
.fader { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.fader input { flex: 1 1 200px; height: 44px; accent-color: var(--accent); }

/* ===== Sections ===== */
.sec { border-top: 1px solid var(--line); }
.sec-in { padding-top: 64px; padding-bottom: 80px; }
.h2 { margin: 0; font-weight: 800; font-stretch: 75%; font-size: clamp(40px, 6vw, 56px); line-height: 1; text-transform: uppercase; }
.sec-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.hint { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Face A */
.faceA { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.list { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid var(--line); }
.mix { width: 100%; display: flex; gap: 20px; align-items: center; padding: 14px 12px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.mix:hover { background: var(--bg-2); }
.mix[aria-pressed="true"] { background: var(--card); border-left-color: var(--accent); }
.mix .num { flex: 0 0 32px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.mix img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; background: var(--line); }
.mix .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mix .s { font-weight: 600; font-size: 20px; line-height: 1.2; }
.mix .g { color: var(--muted); font-size: 15px; }
.mix .new { margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #120F0D; background: var(--accent); padding: 1px 6px; vertical-align: middle; }
.now { flex: 1 1 340px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--line); padding: 24px; }
.now img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--line); }
.now .lbl { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.now .s { font-weight: 800; font-stretch: 80%; font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.now .g { color: var(--muted); font-size: 15px; }
.now iframe { display: block; width: 100%; height: 120px; border: 0; }
.now .links { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--mono); font-size: 13px; }
.fallback { color: var(--text-2); }

/* Face B */
.faceB { background: var(--bg-2); }
.faceB .sec-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: center; }
.faceB .lead { margin: 20px 0 0; font-size: 22px; line-height: 1.45; }
.notes { display: flex; flex-direction: column; gap: 18px; color: var(--text-2); }
.notes p { margin: 0; }
.notes .n { font-family: var(--mono); font-size: 13px; color: var(--amber); }

/* Hero : vidéo verticale */
.hero { align-items: center; }
.hero-vid { align-items: center; }
.hero-vid .fader { width: min(100%, 400px); }
.live-frame { position: relative; height: min(76vh, 700px); aspect-ratio: 9 / 16; background: #000; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); border: 2px solid var(--accent); }
.live-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-frame .tint { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: color; opacity: .28; pointer-events: none; }
.live-frame .rec { position: absolute; top: 14px; left: 14px; display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.45); padding: 4px 10px; }
.live-frame .rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.live-btn { position: absolute; right: 12px; bottom: 12px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.5); color: #fff; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.live-btn:hover { background: rgba(0,0,0,.75); }
@media (max-width: 760px) {
  .hero { padding-top: 40px; gap: 32px; }
  .live-frame { height: min(72vh, 640px); max-width: 100%; }
}
/* Contact */
.contact-in { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--accent); color: #120F0D; font-family: var(--mono); font-size: 14px; font-weight: 500; text-decoration: none; transition: filter .2s ease; }
.cta:hover { color: #120F0D; filter: brightness(1.1); }
.foot { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }

/* Vinyle qui tourne */
.disc-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 6px #0B0908; }
.disc img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.disc::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 3px, rgba(0,0,0,.16) 3px 4px); }
.disc::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9%; height: 9%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--card); box-shadow: 0 0 0 3px rgba(0,0,0,.6), 0 0 0 14px rgba(0,0,0,.25); }
.disc-shine { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 200deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.12) 30deg, rgba(255,255,255,0) 70deg, rgba(255,255,255,0) 180deg, rgba(255,255,255,.08) 210deg, rgba(255,255,255,0) 250deg); }
.disc.spin { animation: drop .5s cubic-bezier(.2,.8,.2,1) both, spin 8s linear .5s infinite; }
.now:hover .disc.spin { animation-play-state: running, paused; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { from { transform: scale(.88) rotate(-20deg); opacity: .4; } to { transform: none; opacity: 1; } }

/* Apparition au défilement (seulement si JS actif) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .mix { gap: 14px; padding: 12px 8px; }
  .mix .num { display: none; }
  .mix .s { font-size: 18px; }
  .now { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .l, .la, .lb, .eq span, .line, .disc.spin, .live-frame .rec::before { animation: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
