/* Faded Pictures — shared styles for all pages */
@font-face { font-family: "Eurostile"; src: url("fonts/EurostileLTStd-Demi.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Eurostile"; src: url("fonts/EurostileLTStd-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Marche Super"; src: url("fonts/MarcheSuper.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #0b0b0a;
  --fg: #ecebe6;
  --muted: #ecebe6;   /* secondary text: solid, no grey */
  --accent: #d0583f;   /* the red-orange from the logo */
  --line: rgba(236,235,230,.14);
  --sans: "Eurostile", "Helvetica Neue", Arial, sans-serif;
  --display: "Marche Super", "Arial Narrow", sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 500;
  font-size: 15px; line-height: 1.55; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Logo menu (top right) ---------- */
.menu { position: fixed; top: 18px; right: var(--pad); z-index: 40; }
.menu-btn {
  display: block; background: none; border: 0; padding: 0; cursor: pointer;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
.menu-btn img { height: 40px; width: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.menu-btn:hover img, .menu.open .menu-btn img { transform: rotate(-8deg); }
.menu-panel {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 260px;
  background: rgba(11,11,10,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); padding: 10px 0;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.menu.open .menu-panel { opacity: 1; transform: none; pointer-events: auto; }
.menu-panel a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 10px 22px; font-family: var(--display); text-transform: uppercase;
  font-size: 26px; line-height: 1.1; white-space: nowrap; transition: color .2s;
}
.menu-panel a small { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--accent); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 10px 22px; }
.menu-panel .minor { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; padding: 6px 22px; color: var(--muted); }
.menu-panel .minor:hover { color: var(--fg); }

/* ---------- Full-screen video hero ---------- */
.hero { position: relative; height: 100svh; min-height: 480px; overflow: hidden; background: radial-gradient(ellipse at 30% 40%, #2a2824 0%, #0b0b0a 70%); }
.hero iframe, .hero video {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: 100vw; height: 56.25vw; min-height: 100svh; min-width: 177.78svh;
  transform: translate(-50%, -50%); object-fit: cover;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; z-index: 2; transform: translateX(-50%);
  width: 1px; height: 48px; background: linear-gradient(var(--fg), transparent); opacity: .5;
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateX(-50%) scaleY(.4); transform-origin: top; } 50% { transform: translateX(-50%) scaleY(1); transform-origin: top; } }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 12vw, 160px) var(--pad) 0; }
.label {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: clamp(32px, 5vw, 56px);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.intro > p {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 5vw, 76px); line-height: 1;
  max-width: 1200px;
}
.intro > p em { font-style: normal; color: var(--muted); }
.intro .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
  margin-top: clamp(40px, 6vw, 80px); max-width: 1100px; color: var(--muted);
}
.intro .cols h3 { font-weight: 700; color: var(--fg); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Work grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.grid .card:first-child { grid-column: span 2; }
.grid .card:first-child .thumb { aspect-ratio: 2.39 / 1; }
.grid .card.wide { grid-column: span 2; }
.grid .card.wide .thumb { aspect-ratio: 2.39 / 1; }
.card { cursor: pointer; }
.thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #24221f, #3a3731 60%, #1c1813); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.85); }
.card:hover .thumb img { transform: scale(1.04); filter: saturate(1); }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(236,235,230,.35); }
.thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .4s; background: rgba(0,0,0,.25);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.card:hover .play { opacity: 1; }
.meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
.meta .title { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.meta .sub { color: var(--muted); text-align: right; font-size: 13px; }

/* ---------- Releases (Faded Records) ---------- */
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.release .thumb { aspect-ratio: 1; }
.release .meta { flex-direction: column; gap: 2px; }
.release .meta .sub { text-align: left; }
.release .listen { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.release .listen:hover { color: var(--accent); }

/* ---------- Clients / artists list ---------- */
.clients ul {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.clients li {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 20px; text-align: center; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.clients li:hover { color: var(--fg); }

/* ---------- Contact / footer ---------- */
.contact { padding-bottom: clamp(60px, 8vw, 100px); }
.contact h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 11vw, 170px); line-height: .9; }
.contact h2 a { color: var(--accent); }
.contact .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 64px; font-size: 14px; }
.contact .cols span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.contact .cols a:hover { color: var(--accent); }
footer { display: flex; justify-content: space-between; padding: 24px var(--pad); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5,5,5,.96); display: none; place-items: center; padding: var(--pad); }
.lightbox.open { display: grid; }
.lightbox .frame { width: min(1400px, 100%); aspect-ratio: 16 / 9; max-height: 80vh; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }
.lightbox .close { position: absolute; top: 20px; left: var(--pad); background: none; border: 0; color: var(--fg); font: inherit; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.lightbox .caption { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
  .grid .card:first-child, .grid .card.wide { grid-column: auto; }
  .grid .card.wide .thumb { aspect-ratio: 16 / 9; }
  .grid .card:first-child .thumb { aspect-ratio: 16 / 9; }
  .menu-btn img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .scroll-cue { animation: none; } }

/* ---------- Featured release (Faded Records) ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.gallery-main { aspect-ratio: 1; overflow: hidden; background: #1c1b19; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs button { width: 72px; aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .5; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover, .gallery-thumbs button.active { opacity: 1; border-color: var(--fg); }
.feature-info { position: sticky; top: 90px; }
.feature-cat { font-weight: 700; font-size: 15px; letter-spacing: .06em; margin-bottom: 14px; }
.feature h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.5vw, 84px); line-height: .92; }
.feature h3 span { display: block; color: var(--accent); }
.feature-format { margin-top: 16px; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.buy {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 28px; padding: 18px 22px; background: var(--fg); color: var(--bg);
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.buy:hover { background: var(--accent); color: var(--fg); }
.feature-text { margin-top: 32px; color: var(--muted); max-width: 52ch; }
.feature-text p + p { margin-top: 1em; }
.tracklist { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.tracklist h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.tracklist ol { list-style: none; counter-reset: t; color: var(--muted); font-size: 14px; }
.tracklist li { counter-increment: t; padding: 4px 0; }
.tracklist li::before { content: counter(t) "."; display: inline-block; width: 1.6em; color: var(--fg); }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; }
  .feature-info { position: static; }
}

/* Faded Records page: red taken from the heart on The Supines cover */
.records { --accent: #d7413b; }

/* Space between About statements */
.intro > p + p { margin-top: .6em; }

/* "FADED PICTURES" wordmark, top left of the front page */
.wordmark {
  position: absolute; z-index: 2; top: 38px; left: var(--pad);
  transform: translateY(-50%);
  font-family: var(--display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(20px, 2.2vw, 30px); line-height: 1; letter-spacing: .02em;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
@media (max-width: 700px) {
  .wordmark { top: 35px; font-size: 20px; }
}

/* Small copyright line, bottom center of the front page */
.hero-copy {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
@media (max-width: 700px) { .hero-copy { font-size: 9px; letter-spacing: .12em; } }

/* Space between the last release and the footer */
#releases { padding-bottom: clamp(80px, 10vw, 140px); }

/* crop: "top" — keep the top of a still, hide burned-in text near the bottom */
.thumb.crop-top img { object-position: 50% 0%; }
@media (max-width: 700px) {
  .thumb.crop-top img { transform: scale(1.3); transform-origin: 50% 0%; }
}
