/* ====================================================
   MAJU GANDARA — "Record Sleeve / Zine" edition
   kertas krem · tinta hitam · sinyal oranye
   ==================================================== */
:root {
  --paper: #efe7d6;
  --paper-2: #e6dcc6;
  --ink: #16130e;
  --ink-soft: #4a443a;
  --signal: #ff4b1f;
  --vu: #2faa6b;
  --font-display: "Anton", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-hand: "Caveat", cursive;
  --line: 2px solid var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }
.hand { font-family: var(--font-hand); font-size: 1.45rem; color: var(--ink-soft); }
.signal { color: var(--signal); }
mark { background: var(--signal); color: var(--paper); padding: 0 .3em; }
u { text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 400;
}
h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }

/* tekstur kertas */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  opacity: .07; pointer-events: none; z-index: 999;
  mix-blend-mode: multiply;
}

/* tape counter pojok */
.tape-counter {
  position: fixed; right: 14px; bottom: 14px; z-index: 50;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  background: var(--ink); color: var(--paper);
  padding: .45rem .7rem; border-radius: 3px;
  display: flex; align-items: center; gap: .45rem;
}
.tc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ============ TOPBAR ============ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--paper);
  border-bottom: var(--line);
  padding: .8rem 1.2rem;
}
.brand {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em;
  white-space: nowrap;
}
.brand sup { color: var(--signal); font-family: var(--font-mono); font-size: .6em; }
.catalog-nav {
  display: flex; gap: 1.4rem; margin-left: auto;
  overflow-x: auto; scrollbar-width: none;
  font-size: .82rem;
}
.catalog-nav::-webkit-scrollbar { display: none; }
.catalog-nav a { white-space: nowrap; padding: .2rem 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.catalog-nav a b { font-family: var(--font-mono); font-weight: 500; color: var(--signal); margin-right: .25rem; }
.catalog-nav a:hover, .catalog-nav a.active { border-bottom-color: var(--ink); }
.topbar-cta {
  font-family: var(--font-mono); font-size: .78rem; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  padding: .5rem .9rem; border-radius: 3px;
  transition: background .15s;
}
.topbar-cta:hover { background: var(--signal); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 3.5rem 1.2rem 4rem;
  max-width: 1200px; margin: 0 auto;
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .72rem; letter-spacing: .12em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: .7rem; margin-bottom: 2.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 11.5vw, 9.5rem);
  line-height: .92;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.line-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero-note { margin: 1rem 0 0 .2rem; transform: rotate(-2deg); display: inline-block; }

.vinyl-wrap {
  position: absolute; top: 7.5rem; right: 1.2rem;
  width: clamp(180px, 26vw, 340px);
  aspect-ratio: 1;
}
.vinyl {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 29%, rgba(255,255,255,.045) 30% 31%, transparent 32%),
    repeating-radial-gradient(circle, #111 0 2px, #1d1a16 2px 4px);
  box-shadow: 0 0 0 2px var(--ink), 10px 14px 0 rgba(22,19,14,.18);
  position: relative;
  animation: spin 4s linear infinite;
  animation-play-state: paused;
}
.vinyl.spinning { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.vinyl-label {
  position: absolute; inset: 31%;
  border-radius: 50%;
  background: var(--signal);
  color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .15rem;
  font-family: var(--font-mono);
  border: 2px solid var(--ink);
}
.vl-top { font-family: var(--font-display); font-size: clamp(.5rem, 1vw, .72rem); letter-spacing: .08em; }
.vl-cat { font-size: clamp(.4rem, .8vw, .55rem); }
.vl-bottom { font-size: clamp(.34rem, .7vw, .48rem); opacity: .8; }
.vinyl-hole { position: absolute; top: 50%; left: 50%; width: 7%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.tonearm {
  position: absolute; top: -4%; right: -7%;
  width: 4px; height: 58%;
  background: var(--ink);
  transform-origin: top center;
  transform: rotate(-18deg);
  border-radius: 2px;
}
.tonearm::after {
  content: ""; position: absolute; bottom: -14px; left: -5px;
  width: 14px; height: 22px; background: var(--ink); border-radius: 3px;
}
.vinyl-btn {
  position: absolute; bottom: -2.6rem; left: 50%; transform: translateX(-50%);
  background: none; border: 2px solid var(--ink); border-radius: 3px;
  font-size: .72rem; letter-spacing: .15em;
  padding: .4rem .9rem; cursor: pointer; color: var(--ink);
  transition: background .15s, color .15s;
}
.vinyl-btn:hover { background: var(--ink); color: var(--paper); }

.hero-sub { max-width: 520px; margin: 2.6rem 0 2rem; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-ink, .btn-line {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em;
  padding: .9rem 1.6rem; border-radius: 3px;
  display: inline-block;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn-ink {
  background: var(--ink); color: var(--paper);
  box-shadow: 4px 4px 0 var(--signal);
}
.btn-ink:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--signal); }
.btn-line { border: 2px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-big { font-size: 1rem; padding: 1.1rem 2.2rem; }

.stamp {
  position: absolute; bottom: 3rem; right: 2rem;
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px dashed var(--signal); color: var(--signal);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: .6rem; letter-spacing: .18em; text-align: center; line-height: 1.5;
  transform: rotate(12deg);
  opacity: .85;
}

/* ============ STRIP MARQUEE ============ */
.strip { background: var(--ink); color: var(--paper); overflow: hidden; padding: .75rem 0; border-block: var(--line); }
.strip-track { display: flex; width: max-content; animation: marquee 26s linear infinite; font-size: .8rem; letter-spacing: .25em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SPECS ============ */
.specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: var(--line);
}
.spec {
  padding: 2rem 1.4rem 1.6rem;
  border-right: 1px solid var(--ink);
  display: flex; flex-direction: column;
}
.spec:last-child { border-right: none; }
.spec em { font-style: normal; font-size: .66rem; letter-spacing: .18em; color: var(--signal); }
.spec strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.1;
}
.spec span { font-size: .72rem; letter-spacing: .14em; color: var(--ink-soft); }

/* ============ SIDE DIVIDER ============ */
.side-divider {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.2rem;
  border-bottom: var(--line);
  background: var(--paper-2);
}
.side-divider span { font-size: .8rem; letter-spacing: .2em; }
.side-divider i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px); }

/* ============ SHEET (Tentang) ============ */
.sheet, .tracklist, .chain, .jcard {
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 1.2rem;
}
.sheet { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.sheet-head { position: relative; }
.track-no {
  display: inline-block;
  font-size: .75rem; letter-spacing: .15em;
  border: 2px solid var(--ink); border-radius: 3px;
  padding: .25rem .6rem; margin-bottom: 1rem;
  background: var(--signal); color: var(--paper); border-color: var(--ink);
}
.sheet-body .lede { font-size: 1.35rem; line-height: 1.5; margin-bottom: 1.4rem; }
.dropcap {
  font-family: var(--font-display);
  float: left; font-size: 4.4rem; line-height: .8;
  padding: .25rem .8rem .1rem 0;
  color: var(--signal);
}
.sheet-body p { margin-bottom: 1.2rem; max-width: 60ch; }
.margin-note { transform: rotate(-1.5deg); }
.manifest { list-style: none; margin-top: 1.8rem; border-top: 1px solid var(--ink); }
.manifest li { padding: .8rem .2rem; border-bottom: 1px solid var(--ink); font-size: .85rem; letter-spacing: .04em; }
.manifest b { color: var(--signal); margin-right: .8rem; }

/* ============ TRACKLIST (Layanan) ============ */
.tracklist .sheet-head { margin-bottom: 2.5rem; }
.rows { border-top: var(--line); }
.row {
  display: grid;
  grid-template-columns: 80px 320px 1fr auto;
  gap: 1.6rem; align-items: center;
  padding: 1.7rem .8rem;
  border-bottom: var(--line);
  transition: background .15s, color .15s;
  cursor: default;
}
.row:hover { background: var(--ink); color: var(--paper); }
.row:hover .row-no { color: var(--signal); }
.row:hover .row-tag { background: var(--signal); color: var(--paper); }
.row-no { font-size: 1.5rem; color: var(--ink-soft); }
.row h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.row p { font-size: .95rem; max-width: 52ch; }
.row-tag { font-size: .7rem; letter-spacing: .12em; padding: .3rem .6rem; border-radius: 3px; background: var(--paper-2); }

/* ============ MIXER (Roster) ============ */
.mixer {
  background: var(--ink); color: var(--paper);
  border-block: var(--line);
  padding: 5rem 1.2rem 6rem;
}
.mixer .sheet-head { max-width: 1200px; margin: 0 auto 3rem; }
.mixer h2 { color: var(--paper); }
.inv-note { color: #b8ad97; }
.channels {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: #3a352c;
  border: 1px solid #3a352c;
}
.channel {
  background: #201c16;
  padding: 1.4rem 1rem 1.6rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  min-height: 380px;
  transition: background .2s;
  position: relative;
}
.channel:hover { background: #292419; }
.ch-no { font-size: .68rem; letter-spacing: .15em; color: #8a8170; }
.vu { display: flex; gap: 4px; height: 42px; align-items: flex-end; }
.vu i {
  width: 6px; background: var(--vu); border-radius: 1px;
  height: 30%;
  animation: vu 1s ease-in-out infinite alternate;
  animation-play-state: paused;
  opacity: .45;
}
.channel:hover .vu i { animation-play-state: running; opacity: 1; }
.vu i:nth-child(1) { animation-duration: .7s; }
.vu i:nth-child(2) { animation-duration: 1.1s; height: 60%; }
.vu i:nth-child(3) { animation-duration: .5s; height: 90%; background: #e8b44a; }
.vu i:nth-child(4) { animation-duration: .9s; height: 50%; }
.vu i:nth-child(5) { animation-duration: 1.3s; height: 75%; background: var(--signal); }
@keyframes vu { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.fader {
  width: 4px; height: 80px; background: #3a352c; border-radius: 2px;
  position: relative; margin-left: 10px;
}
.fader i {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 26px; height: 12px; border-radius: 2px;
  background: var(--paper); border: 2px solid #000;
  top: 55%;
  transition: top .45s cubic-bezier(.2,1.4,.4,1);
}
.channel:nth-child(2) .fader i { top: 30%; }
.channel:nth-child(3) .fader i { top: 65%; }
.channel:nth-child(4) .fader i { top: 42%; }
.channel:nth-child(5) .fader i { top: 22%; }
.channel:hover .fader i { top: 6%; }
.ch-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.05; letter-spacing: .02em;
  margin-top: auto;
}
.ch-genre { font-size: .62rem; letter-spacing: .18em; color: #8a8170; }
.ch-link { font-size: .7rem; letter-spacing: .12em; color: var(--signal); }
.channel:hover .ch-link { text-decoration: underline; }
.channel-empty { border: 2px dashed #4a443a; background: transparent; align-items: center; justify-content: center; text-align: center; }
.channel-empty:hover { background: rgba(255,75,31,.06); }
.ch-empty-text { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; color: #8a8170; margin: auto 0; }
.channel-empty .ch-no { align-self: flex-start; }
.channel-empty .ch-link { margin-bottom: .4rem; }

/* ============ CHAIN (Proses) ============ */
.chain .sheet-head { margin-bottom: 3rem; max-width: 640px; }
.chain-sub { margin-top: 1.2rem; color: var(--ink-soft); }
.chain-steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.chain-steps li {
  border: var(--line); border-radius: 4px;
  padding: 1.6rem 1.3rem 1.8rem;
  background: var(--paper);
  position: relative;
  box-shadow: 5px 5px 0 var(--paper-2);
  transition: box-shadow .15s, transform .15s;
}
.chain-steps li:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--signal); }
.chain-steps li:not(:last-child)::after {
  content: "→";
  position: absolute; right: -1.35rem; top: 42%;
  font-family: var(--font-mono); font-size: 1.2rem; color: var(--signal);
  z-index: 2;
}
.step-no { display: block; font-size: .66rem; letter-spacing: .18em; color: var(--signal); margin-bottom: .8rem; }
.chain-steps h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.chain-steps p { font-size: .92rem; color: var(--ink-soft); }

/* ============ TICKET (Join) ============ */
.ticket-zone {
  padding: 5rem 1.2rem;
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(22,19,14,.05) 26px 28px),
    var(--paper-2);
  border-block: var(--line);
}
.ticket {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 150px;
  background: var(--paper);
  border: var(--line); border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(22,19,14,.2);
  overflow: hidden;
  transform: rotate(-1deg);
}
.ticket-main { padding: 3rem; }
.ticket-label { display: inline-block; font-size: .68rem; letter-spacing: .2em; background: var(--ink); color: var(--paper); padding: .3rem .7rem; border-radius: 3px; margin-bottom: 1.4rem; }
.ticket-main p { margin: 1rem 0 2rem; max-width: 46ch; }
.ticket-stub {
  border-left: 2px dashed var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1.4rem .6rem;
  background: var(--paper-2);
}
.stub-v {
  writing-mode: vertical-rl;
  font-size: .66rem; letter-spacing: .25em;
}
.barcode { width: 80%; height: 40px; fill: var(--ink); }

/* ============ J-CARD (Kontak) ============ */
.jcard .sheet-head { margin-bottom: 2.5rem; }
.jcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-dl { border-top: var(--line); }
.contact-dl dt {
  font-size: .68rem; letter-spacing: .2em; color: var(--signal);
  padding-top: 1.1rem;
}
.contact-dl dd {
  font-family: var(--font-body);
  padding: .25rem 0 1.1rem;
  border-bottom: 1px solid var(--ink);
  font-size: .98rem;
}
.contact-dl dd a:hover { background: var(--ink); color: var(--paper); }
.social-row { display: flex; gap: 1.4rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; }
.jcard-info .hand { display: inline-block; margin-top: 1.4rem; transform: rotate(-2deg); }

.memo-form {
  border: var(--line); border-radius: 6px;
  padding: 2rem;
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--paper-2);
  display: flex; flex-direction: column;
}
.memo-head { font-size: .7rem; letter-spacing: .2em; border-bottom: var(--line); padding-bottom: .8rem; margin-bottom: 1rem; }
.memo-form label { font-size: .66rem; letter-spacing: .18em; color: var(--ink-soft); margin: .9rem 0 .25rem; }
.memo-form input, .memo-form textarea {
  background: transparent;
  border: none; border-bottom: 2px solid var(--ink);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .45rem .1rem;
  resize: vertical;
}
.memo-form input:focus, .memo-form textarea:focus { outline: none; border-bottom-color: var(--signal); }
.memo-form button { margin-top: 1.8rem; border: none; cursor: pointer; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-giant {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 11rem);
  line-height: 1; text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #5a5446;
  padding: 3rem 0 1rem;
  user-select: none;
}
.footer-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .7rem; letter-spacing: .12em;
  padding: 1.2rem;
  border-top: 1px solid #3a352c;
}
.footer-row a:hover { color: var(--signal); }

/* ============ REVEAL ============ */
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
  .vinyl, .strip-track, .vu i, .tc-dot { animation: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .channels { grid-template-columns: repeat(3, 1fr); }
  .chain-steps { grid-template-columns: repeat(2, 1fr); }
  .chain-steps li:nth-child(2)::after { content: "↓"; right: 48%; top: auto; bottom: -1.6rem; }
  .row { grid-template-columns: 60px 1fr; }
  .row p { grid-column: 2; }
  .row-tag { grid-column: 2; justify-self: start; }
}
@media (max-width: 820px) {
  .vinyl-wrap { position: relative; top: 0; right: 0; margin: 2.5rem auto 3rem; }
  .sheet { grid-template-columns: 1fr; gap: 1.6rem; }
  .jcard-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: none; }
  .spec { border-bottom: 1px solid var(--ink); }
  .stamp { display: none; }
  .topbar { flex-wrap: wrap; gap: .8rem; }
  .catalog-nav { order: 3; width: 100%; margin-left: 0; }
}
@media (max-width: 640px) {
  .channels { grid-template-columns: repeat(2, 1fr); }
  .channel { min-height: 320px; }
  .chain-steps { grid-template-columns: 1fr; }
  .chain-steps li:not(:last-child)::after { content: "↓"; right: 48%; top: auto; bottom: -1.6rem; }
  .ticket { grid-template-columns: 1fr; transform: none; }
  .ticket-main { padding: 2rem 1.5rem; }
  .ticket-stub { border-left: none; border-top: 2px dashed var(--ink); flex-direction: row; }
  .stub-v { writing-mode: horizontal-tb; letter-spacing: .15em; }
  .barcode { width: 90px; }
  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
}
