/* ===========================================================
   BRUTAL FORMS — black & white brutalist label site
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;700&family=Archivo+Narrow:wght@500;700&display=swap');

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ---------- Page transitions (cross-document) ---------- */
@view-transition { navigation: auto; }
@keyframes vtIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes vtOut { from { opacity: 1; } to { opacity: 0; } }
::view-transition-old(root) { animation: vtOut .6s ease both; }
::view-transition-new(root) { animation: vtIn  .9s ease both; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: 'Anton', 'Archivo Narrow', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }
.display { font-size: clamp(3rem, 12vw, 9rem); }
h2.section-title { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 32px; }
p { color: var(--fg); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: #d8d8d8; max-width: 70ch; }
.muted { color: var(--muted); }
.kicker { font-family: 'Archivo Narrow', sans-serif; text-transform: uppercase; letter-spacing: .45em; font-size: .75rem; color: var(--muted); }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand .name { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .12em; }
.menu { display: flex; gap: 4px; flex-wrap: wrap; }
.menu a {
  font-family: 'Archivo Narrow', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
  padding: 8px 14px; border: 1px solid transparent; transition: .18s ease;
}
.menu a:hover, .menu a.active { background: var(--fg); color: var(--bg); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); padding: 8px 12px; font-family: 'Archivo Narrow'; text-transform: uppercase; letter-spacing:.1em; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100vh - 72px); height: calc(100vh - 72px); display: flex; position: relative; overflow: hidden; padding: 28px 0 46px; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; width: 100%; text-align: center; }
.hero-logo { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 0; }
.hero-bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.hero-socials .socials { justify-content: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* corner crosshairs */
.deco-corner { position: absolute; z-index: 3; font-family: 'Archivo Narrow', monospace; font-weight: 700; font-size: 1.1rem; color: var(--fg); opacity: .45; }
.deco-corner.tl { top: 16px; left: 18px; }
.deco-corner.tr { top: 16px; right: 18px; }
.deco-corner.bl { bottom: 16px; left: 18px; }
.deco-corner.br { bottom: 16px; right: 18px; }

/* side vertical labels */
.deco-vert { position: absolute; top: 50%; z-index: 3; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .42em; font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: .72rem; color: var(--muted); animation: flickerDeco 7s infinite; }
.deco-vert.left { left: 22px; transform: translateY(-50%) rotate(180deg); }
.deco-vert.right { right: 22px; transform: translateY(-50%); }
@keyframes flickerDeco { 0%,46%,100% { opacity: .55; } 50% { opacity: .18; } 53% { opacity: .55; } 92% { opacity: .55; } 95% { opacity: .25; } 97% { opacity: .6; } }

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .9rem;
  padding: 16px 30px; border: 1px solid var(--fg); transition: .18s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--fg); }

/* ---------- Sections ---------- */
section.block { padding: 100px 0; border-top: 1px solid var(--line); }
.frame { border: 1px solid var(--line); padding: clamp(24px, 5vw, 64px); }

/* ---------- Artists grid ---------- */
.artist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.artist-card {
  background: var(--bg); padding: clamp(28px, 5vw, 60px); min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; transition: .25s ease;
}
.artist-card:hover { background: var(--fg); color: var(--bg); }
.artist-card .num { position: absolute; top: 24px; left: 28px; font-family: 'Archivo Narrow'; letter-spacing: .3em; font-size: .8rem; color: var(--muted); }
.artist-card:hover .num { color: var(--bg); }
.artist-card h3 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.artist-card .role { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: var(--muted); margin-top: 8px; }
.artist-card:hover .role { color: var(--bg); }
.artist-card .go { margin-top: 18px; font-family: 'Archivo Narrow'; font-weight:700; text-transform: uppercase; letter-spacing:.15em; font-size:.8rem; }

/* ---------- Artist page ---------- */
.artist-head { padding: 80px 0 40px; }
.artist-head h1 { font-size: clamp(3rem, 14vw, 9rem); }
.sub-block { padding: 56px 0; border-top: 1px solid var(--line); }
.embed { border: 1px solid var(--line); width: 100%; }
.embed-grid { display: grid; gap: 24px; }

/* ---------- Photo / Video grids ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery .ph {
  aspect-ratio: 1; background: #0d0d0d; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-family: 'Archivo Narrow'; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; overflow: hidden;
}
.gallery .ph img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; filter: grayscale(1) contrast(1.05); }
.gallery .ph:hover img { transform: scale(1.06); filter: grayscale(0); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-grid .vid { aspect-ratio: 16/9; border: 1px solid var(--line); width:100%; }

/* ---------- Contact ---------- */
.contact-mail { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: clamp(1.5rem, 6vw, 4rem); word-break: break-word; display: inline-block; border-bottom: 2px solid transparent; transition:.2s; }
.contact-mail:hover { border-color: var(--fg); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 64px 0 48px; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 52px; height: 52px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: .18s ease;
}
.socials a:hover { background: var(--fg); }
.socials a:hover svg { fill: var(--bg); }
.socials svg { width: 22px; height: 22px; fill: var(--fg); transition: .18s; }
.foot-copy { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.inline-links { display:flex; gap:12px; flex-wrap:wrap; margin-top: 24px; }
.tag-pill { border:1px solid var(--line); padding:6px 14px; text-transform:uppercase; letter-spacing:.18em; font-size:.72rem; color:var(--muted); }

/* ===========================================================
   FX — glitch / light / glow
   =========================================================== */

/* --- Hero glitch logo (RGB split via masked color layers) --- */
.glitch {
  position: relative; display: inline-block;
  height: min(66vh, 780px); max-width: 86vw; aspect-ratio: 2268 / 3402;
  margin: 0 auto;
  filter: drop-shadow(0 0 0 rgba(255,255,255,0));
  animation: idleGlow 5s ease-in-out infinite;
}
.glitch .layer {
  position: absolute; inset: 0;
  -webkit-mask: url(../img/logo-full-t.png) center / contain no-repeat;
          mask: url(../img/logo-full-t.png) center / contain no-repeat;
  will-change: transform, clip-path;
}
.glitch .base { background: #ffffff; }
.glitch .r { background: #ff0040; mix-blend-mode: screen; }
.glitch .c { background: #00f0ff; mix-blend-mode: screen; }

@keyframes idleGlow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255,255,255,.10)); }
  50%      { filter: drop-shadow(0 0 34px rgba(255,255,255,.22)); }
}

/* on hover: fire the glitch + stronger light */
.glitch:hover { animation: none; filter: drop-shadow(0 0 40px rgba(255,255,255,.35)); }
.glitch:hover .r { animation: glitchR .5s steps(2,end) infinite; }
.glitch:hover .c { animation: glitchC .5s steps(2,end) infinite; }
.glitch:hover .base { animation: glitchBase .5s steps(2,end) infinite; }

@keyframes glitchR {
  0%   { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  20%  { transform: translate(-5px,2px); clip-path: inset(12% 0 60% 0); }
  40%  { transform: translate(4px,-2px); clip-path: inset(70% 0 8% 0); }
  60%  { transform: translate(-3px,0);   clip-path: inset(40% 0 40% 0); }
  80%  { transform: translate(5px,1px);  clip-path: inset(85% 0 2% 0); }
  100% { transform: translate(0,0);      clip-path: inset(0 0 0 0); }
}
@keyframes glitchC {
  0%   { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  20%  { transform: translate(5px,-2px); clip-path: inset(55% 0 18% 0); }
  40%  { transform: translate(-4px,2px); clip-path: inset(8% 0 72% 0); }
  60%  { transform: translate(3px,0);    clip-path: inset(35% 0 45% 0); }
  80%  { transform: translate(-5px,-1px);clip-path: inset(2% 0 88% 0); }
  100% { transform: translate(0,0);      clip-path: inset(0 0 0 0); }
}
@keyframes glitchBase {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(1px,-1px); }
}

/* --- Buttons: light sweep --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
}
.btn:hover::after { left: 140%; }

/* --- Artist cards: glow + subtle glitch on hover --- */
.artist-card { overflow: hidden; }
.artist-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 80% at 50% 110%, rgba(255,255,255,.16), transparent 60%);
  transition: opacity .3s ease;
}
.artist-card:hover::before { opacity: 0; }
.artist-card h3 { transition: text-shadow .2s; }
.artist-card:hover h3 {
  text-shadow: 2px 0 #ff0040, -2px 0 #00f0ff;
  animation: textGlitch .4s steps(2) infinite;
}
@keyframes textGlitch {
  0%,100% { text-shadow: 2px 0 #ff0040, -2px 0 #00f0ff; transform: translate(0); }
  50%     { text-shadow: -2px 0 #ff0040, 2px 0 #00f0ff; transform: translate(1px,-1px); }
}

/* --- Section titles: glow on hover --- */
h2.section-title { transition: text-shadow .3s; }
h2.section-title:hover { text-shadow: 0 0 26px rgba(255,255,255,.35); }

/* --- Brand mark in nav: little glow on hover --- */
.brand:hover img { filter: drop-shadow(0 0 10px rgba(255,255,255,.5)); }
.brand img { transition: filter .25s; }

/* --- Artist hero with photo (full image, brutalist offset frame) --- */
.photo-frame { position: relative; display: inline-block; margin: 6px 0 18px 0; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  transform: translate(16px, 16px); border: 1px solid var(--line); z-index: -1;
  transition: transform .35s ease;
}
.photo-frame:hover::after { transform: translate(8px, 8px); }
.artist-photo {
  display: block; width: 100%; height: auto;       /* niente crop: ratio naturale */
  filter: grayscale(1) contrast(1.06);
  border: 1px solid var(--fg);
  transition: filter .5s ease;
}
.artist-photo:hover { filter: grayscale(0) contrast(1.05); }
.spec { list-style: none; border-top: 1px solid var(--line); margin-top: 28px; }
.spec li { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: 'Archivo Narrow', sans-serif; }
.spec li b { min-width: 150px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--muted); font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  .glitch, .glitch:hover .r, .glitch:hover .c, .glitch:hover .base,
  .artist-card:hover h3, .deco-vert { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .photo-frame { max-width: 78%; }
  .deco-vert { display: none; }
  .hero { height: auto; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #000; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; }
  .nav-toggle { display: block; }
  .artist-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
}
