/* ============================================================
   OSKAR® Artman-Sarkisian — styles
   Dark mode. White on black. TWK Lausanne 600, uppercase.
   Letter-spacing is NEVER modified — always standard.
   Visual language: Nothing (us.nothing.tech) — hairlines,
   parenthetical notation, pill buttons, dot accents, ticker.
   ============================================================ */

@font-face {
  font-family: "TWK Lausanne";
  src: url("fonts/TWKLausanne-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --grey: #8a8a8a;
  --hairline: #1f1f1f;
  --panel: #0a0a0a;
  --red: #d71921;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "TWK Lausanne", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 600;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
sup { font-size: 0.45em; vertical-align: super; }

::selection { background: var(--red); color: var(--fg); }

/* ---------- PIN gate ---------- */

.gate {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
}
.gate[hidden] { display: none; }
.gate-mark { width: 84px; height: 84px; border: 1px solid var(--hairline); }
.gate-label {
  font-size: 11px; text-transform: uppercase;
  color: var(--grey);
}
.gate-dots { display: flex; gap: 14px; height: 12px; }
.gate-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid #444; transition: background 0.15s, border-color 0.15s;
}
.gate-dots span.on { background: var(--fg); border-color: var(--fg); }
.gate-dots.shake { animation: shake 0.4s; }
@keyframes shake {
  20% { transform: translateX(-8px); } 40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); } 80% { transform: translateX(5px); }
}
.gate-pad { display: grid; grid-template-columns: repeat(3, 64px); gap: 10px; }
.gate-pad button {
  height: 64px; border-radius: 50%;
  background: transparent; border: 1px solid #2c2c2c; color: var(--fg);
  font: inherit; font-size: 18px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.gate-pad button:hover { border-color: #666; }
.gate-pad button:active { background: #1a1a1a; }
.gate-error {
  font-size: 11px; text-transform: uppercase;
  color: var(--red); visibility: hidden; height: 14px;
}
.gate-error.show { visibility: visible; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-name { font-size: 15px; text-transform: uppercase; }
.header-nav { display: flex; gap: 26px; }
.header-nav a {
  font-size: 12px; text-transform: uppercase;
  color: var(--grey); transition: color 0.15s;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.header-nav a:hover { color: var(--fg); }
.header-nav a.active { color: var(--fg); border-bottom-color: var(--fg); }

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  font-size: 11px; text-transform: uppercase; color: var(--grey);
}
.ticker-track {
  display: inline-block;
  animation: ticker 40s linear infinite;
}
.ticker-track span { margin-right: 48px; }
.ticker-track .tick-dot { color: var(--red); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Intro band ---------- */

.intro {
  padding: clamp(56px, 9vw, 120px) var(--pad) clamp(36px, 6vw, 80px);
}
.intro h1 {
  font-size: clamp(32px, 6vw, 80px);
  line-height: 1.04;
  text-transform: uppercase;
  max-width: 16em;
}
.intro-sub {
  margin-top: 22px;
  font-size: 12px; text-transform: uppercase;
  color: var(--grey);
  display: flex; align-items: center; gap: 10px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); display: inline-block;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Work grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  border-top: 1px solid var(--hairline);
}
.card {
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg);
  transition: background 0.2s;
}
.card:hover { background: var(--panel); }
.card-img {
  aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--bg);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.card:hover .card-img img { transform: scale(1.035); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; }
.card-num { font-size: 11px; color: var(--grey); }
.card-count { font-size: 11px; color: var(--grey); }
.card h2 { font-size: 19px; text-transform: uppercase; }
.card:hover h2::after { content: " ●"; color: var(--red); font-size: 10px; vertical-align: middle; }
.card-cat {
  font-size: 11px; text-transform: uppercase;
  color: var(--grey); margin-top: 5px;
}

/* ---------- Work detail ---------- */

.back {
  display: inline-block; margin: 28px var(--pad) 0;
  font-size: 12px; text-transform: uppercase;
  color: var(--grey); transition: color 0.15s;
  border: 1px solid var(--hairline); border-radius: 99px;
  padding: 8px 16px;
}
.back:hover { color: var(--fg); border-color: var(--fg); }

.detail-head {
  padding: clamp(36px, 6vw, 80px) var(--pad);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  border-bottom: 1px solid var(--hairline);
}
.detail-head h1 {
  font-size: clamp(28px, 4.6vw, 60px); line-height: 1.06;
  text-transform: uppercase;
}
.detail-head .meta {
  font-size: 11px; text-transform: uppercase;
  color: var(--grey); margin-top: 16px;
  display: flex; gap: 18px;
}
.detail-head .text {
  font-size: 16px; line-height: 1.55; color: #cfcfcf;
  align-self: end;
}
.detail-images { display: flex; flex-direction: column; }
.figure {
  padding: clamp(28px, 5vw, 72px) var(--pad);
  border-bottom: 1px solid var(--hairline);
  display: grid; grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.figure img {
  max-width: min(880px, 100%);
  border: 1px solid var(--hairline);
}
.figure figcaption {
  margin-top: 16px;
  font-size: 11px; text-transform: uppercase;
  color: var(--grey); text-align: center;
}
.detail-next { padding: 34px var(--pad) 10px; }
.detail-next a {
  font-size: clamp(18px, 2.6vw, 30px);
  text-transform: uppercase;
}
.detail-next a span { color: var(--grey); }
.detail-next a:hover span { color: var(--red); }

/* ---------- Music ---------- */

.releases { border-top: 1px solid var(--hairline); }
.release {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px) var(--pad);
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.release-cover {
  aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--hairline);
}
.release-cover img { width: 100%; height: 100%; object-fit: cover; }
.release h2 { font-size: clamp(22px, 3vw, 38px); text-transform: uppercase; }
.release .meta {
  margin-top: 10px;
  font-size: 11px; text-transform: uppercase; color: var(--grey);
  display: flex; gap: 16px; align-items: center;
}
.release .meta .tba {
  border: 1px solid var(--hairline); padding: 4px 9px; border-radius: 99px;
  color: var(--red);
}
.release .listen { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.release .listen span {
  font-size: 11px; text-transform: uppercase;
  border: 1px solid var(--hairline); color: #555;
  padding: 8px 14px; border-radius: 99px;
}
.tracks { list-style: none; counter-reset: trk; }
.tracks li {
  counter-increment: trk;
  display: flex; gap: 14px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--hairline);
  font-size: 14px; text-transform: uppercase;
}
.tracks li::before {
  content: "(" counter(trk, decimal-leading-zero) ")";
  font-size: 11px; color: var(--grey);
}

/* ---------- About ---------- */

.about {
  padding: 0 var(--pad) clamp(48px, 8vw, 110px);
  max-width: 820px;
}
.about p {
  font-size: clamp(17px, 2vw, 22px); line-height: 1.55; color: #cfcfcf;
  margin-bottom: 1.2em;
}
.about .contact-label {
  margin-top: 48px;
  font-size: 11px; text-transform: uppercase; color: var(--grey);
  margin-bottom: 14px;
}
.about .ig {
  display: inline-block;
  font-size: 13px; text-transform: uppercase;
  border: 1px solid var(--fg); border-radius: 99px;
  padding: 12px 22px;
  transition: background 0.15s, color 0.15s;
}
.about .ig:hover { background: var(--fg); color: var(--bg); }

/* ---------- Footer ---------- */

.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad);
  border-top: 1px solid var(--hairline);
  font-size: 11px; text-transform: uppercase;
  color: var(--grey);
}
.footer a:hover { color: var(--fg); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .detail-head { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; }
  .release-cover { max-width: 260px; }
  .gate-pad { grid-template-columns: repeat(3, 58px); }
  .gate-pad button { height: 58px; }
}
