/* AFRO HOUSE — Monosounds. Editorial / organic: kraft paper, ink, terracotta.
   No gradients, no glow — vinyl-sleeve typography and texture. */

@font-face { font-family: 'PFDin'; src: url('../fonts/PFDinTextPro-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'PFDin'; src: url('../fonts/PFDinTextPro-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #e7ddcb;
  --paper-2: #ded2bc;
  --ink: #1b140c;
  --ink-soft: rgba(27, 20, 12, .64);
  --ink-faint: rgba(27, 20, 12, .34);
  --hair: rgba(27, 20, 12, .22);
  --terra: #b9502b;
  --terra-deep: #9c3f20;
  --ochre: #c08a3e;
  --char: #171310;
  --char-2: #1e1915;
  --bone: #ece3d2;
  --bone-dim: rgba(236, 227, 210, .6);
  --bone-hair: rgba(236, 227, 210, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Gilroy', 'Helvetica Neue', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--terra); color: var(--bone); }

.din { font-family: 'PFDin', sans-serif; }
.cor { font-family: 'Cormorant', serif; }

a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* paper / film grain over everything, static — print, not VHS */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60; opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- labels ---------- */
.tag {
  font-family: 'PFDin', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--paper);
}
.masthead {
  position: relative; z-index: 9;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px clamp(18px, 4vw, 48px) 18px;
  border-bottom: 1px solid var(--hair);
}
.masthead .tag { color: var(--ink); }
.masthead .tag.dim { color: var(--ink-soft); }
.masthead a.tag { text-decoration: none; }
.masthead a.tag:hover { color: var(--terra); }

.hero-stage {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 20px 90px;
}

/* flat terracotta disc — a risograph sun behind the type */
.disc {
  position: absolute; left: 50%; top: 47%;
  width: min(58vw, 540px); height: min(58vw, 540px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--terra);
}
.disc::after { /* offset ochre ghost ring, misregistered print */
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ochre);
  transform: translate(10px, -8px);
  opacity: .7;
}

#flyers  { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#horizon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#palms   { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 8; }

.hero-inner { position: relative; z-index: 9; max-width: 1200px; }

.title {
  font-family: 'Cormorant', serif; font-weight: 700;
  font-size: clamp(84px, 16.5vw, 250px);
  line-height: .82;
  letter-spacing: -.015em;
  color: var(--ink);
  user-select: none;
}
.title .word { display: block; overflow: hidden; padding: 0 .04em; }
.title .word:nth-child(2) { font-style: italic; }
.title .ltr {
  display: inline-block;
  transform: translateY(112%);
  animation: ltr-rise .9s cubic-bezier(.16, .84, .26, 1) forwards;
}
@keyframes ltr-rise { to { transform: translateY(0); } }

.title-caption {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  margin: 26px 0 0;
  color: var(--ink-soft);
}
.title-caption::before, .title-caption::after {
  content: ""; height: 1px; width: clamp(30px, 8vw, 110px); background: var(--hair);
}
.title-caption .tag { color: inherit; }

.subtitle {
  margin-top: 22px;
  font-family: 'Cormorant', serif; font-style: italic; font-weight: 600;
  font-size: clamp(19px, 2.6vw, 28px);
  color: rgba(27, 20, 12, .85);
  max-width: 560px; margin-left: auto; margin-right: auto;
}

.hero-cta {
  margin-top: 42px;
  display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap;
}

.btn-buy {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 34px;
  font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--bone);
  background: var(--char);
  border: 1px solid var(--char);
  border-radius: 3px;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-buy:hover { background: var(--terra-deep); border-color: var(--terra-deep); transform: translateY(-1px); }
.btn-buy .was { text-decoration: line-through; opacity: .5; font-weight: 400; letter-spacing: .1em; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 28px;
  font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ink); border-radius: 3px;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.hero-foot {
  position: relative; z-index: 9;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--hair);
  color: var(--ink-soft);
}
.hero-foot .tag { color: inherit; }
.hero-foot .hint-palm { animation: hint-fade 3s ease-in-out infinite; }
@keyframes hint-fade { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- marquee ribbon ---------- */
.ribbon {
  position: relative; z-index: 5;
  background: var(--char);
  color: var(--bone);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
}
.ribbon-track { display: inline-block; animation: ribbon-scroll 36s linear infinite; }
.ribbon span {
  font-family: 'Cormorant', serif; font-style: italic; font-weight: 500;
  font-size: 17px; letter-spacing: .08em;
  margin: 0 14px;
}
.ribbon .dot { font-family: 'Gilroy', sans-serif; font-style: normal; color: var(--terra); font-size: 13px; }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }

/* ---------- shared section chrome ---------- */
section.block { position: relative; padding: 110px 20px; }
.wrap { max-width: 1160px; margin: 0 auto; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: end; }
.sec-index {
  font-family: 'Cormorant', serif; font-weight: 700;
  font-size: 15px; color: var(--terra);
  padding-bottom: 10px;
}
.sec-kicker { margin-bottom: 14px; color: var(--terra); }
.sec-title {
  font-family: 'Cormorant', serif; font-weight: 700;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: .98; letter-spacing: -.01em;
}
.sec-title em { font-style: italic; font-weight: 500; }
.sec-lead { max-width: 620px; font-size: 16.5px; line-height: 1.7; margin-top: 20px; }

/* ---------- sequencer (charcoal stage) ---------- */
.seq-block { background: var(--char); color: var(--bone); overflow: hidden; }
#seq-palms { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.seq-block .wrap, .seq-wide { position: relative; z-index: 1; }
.seq-block .sec-lead { color: var(--bone-dim); }
.seq-block .sec-title { color: var(--bone); }

.seq-wide { width: 75%; margin: 46px auto 0; }
.seq-tabs { display: flex; gap: 0; border-top: 1px solid var(--bone-hair); border-bottom: 1px solid var(--bone-hair); flex-wrap: wrap; }
.seq-tab { flex: 1 1 0; text-align: center; white-space: nowrap; }
.seq-tab {
  padding: 15px 22px;
  background: transparent; border: none;
  border-right: 1px solid var(--bone-hair);
  color: var(--bone-dim);
  font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  transition: color .2s, background .2s;
}
.seq-tab:first-child { border-left: 1px solid var(--bone-hair); }
.seq-tab:hover { color: var(--bone); }
.seq-tab.on { background: var(--terra); color: var(--bone); }

.daw {
  border: 1px solid var(--bone-hair); border-top: none;
  background: var(--char-2);
}
.daw-top {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--bone-hair);
}
.play-main {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--terra); flex: none;
  background: var(--terra);
  color: var(--bone);
  display: grid; place-items: center;
  transition: background .2s, transform .12s;
}
.play-main:hover { background: var(--terra-deep); transform: scale(1.04); }
.play-main svg { width: 18px; height: 18px; display: block; }
.daw-title-line { min-width: 0; }
.daw-song { font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }
.daw-meta { font-size: 11px; color: var(--bone-dim); letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.daw-time { margin-left: 20px; font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--terra); font-variant-numeric: tabular-nums; }

.vol { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.vol-label { font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-dim); }
.vol-range {
  -webkit-appearance: none; appearance: none;
  width: 120px; height: 2px;
  background: rgba(236, 227, 210, .3);
  outline: none; cursor: pointer;
}
.vol-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--terra); border: none;
}
.vol-range::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--terra); border: none;
}
.daw-load { margin-left: auto; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }

.daw-ruler { position: relative; height: 24px; margin-left: 218px; border-bottom: 1px solid var(--bone-hair); }
.daw-ruler span {
  position: absolute; top: 5px;
  font-family: 'PFDin', sans-serif; font-size: 9.5px; letter-spacing: .1em; color: var(--bone-dim);
  border-left: 1px solid var(--bone-hair); padding-left: 5px; height: 14px;
}

.daw-body { position: relative; }
.lane { display: flex; align-items: stretch; border-bottom: 1px solid rgba(236, 227, 210, .07); transition: opacity .25s; }
.lane:last-child { border-bottom: none; }
.lane.dim { opacity: .3; }
.lane-head {
  width: 218px; flex: none;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-right: 1px solid var(--bone-hair);
}
.lane-swatch { width: 6px; height: 30px; flex: none; }
.lane-name { min-width: 0; flex: 1; }
.lane-name b { display: block; font-family: 'PFDin', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-name i { font-style: normal; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .5; }
.lane-name i.ni { opacity: .38; border-bottom: 1px dotted rgba(236, 227, 210, .4); }
.ms { display: flex; gap: 4px; flex: none; }
.ms button {
  width: 24px; height: 24px; border-radius: 2px; font-size: 10px; font-weight: 700;
  font-family: 'PFDin', sans-serif;
  border: 1px solid rgba(236, 227, 210, .25); background: transparent; color: var(--bone-dim);
  transition: all .15s;
}
.ms button:hover { border-color: var(--bone); color: var(--bone); }
.ms .m.on { background: var(--terra); border-color: var(--terra); color: var(--bone); }
.ms .s.on { background: var(--ochre); border-color: var(--ochre); color: var(--char); }
.lane-wave { position: relative; flex: 1; min-width: 0; }
.lane-wave canvas { display: block; width: 100%; height: 52px; }

.daw-playhead {
  position: absolute; top: 0; bottom: 0; left: 218px; width: 1.5px;
  background: var(--bone);
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.daw.playing .daw-playhead { opacity: .9; }
.daw-note { padding: 13px 18px; font-size: 12.5px; color: var(--bone-dim); letter-spacing: .03em; border-top: 1px solid var(--bone-hair); }
.daw-note b { color: var(--ochre); font-weight: 400; }

/* ---------- presets (paper) ---------- */
.presets-block { background: var(--paper); }

.filter-row { display: flex; gap: 0; flex-wrap: wrap; margin: 42px 0 30px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.chip {
  flex: 1 1 0;
  text-align: center; white-space: nowrap;
  padding: 12px 20px;
  font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  border: none; border-right: 1px solid var(--hair);
  background: transparent; color: var(--ink-soft);
  transition: all .15s;
}
.chip:first-child { border-left: 1px solid var(--hair); }
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pcard {
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .18s, background .18s;
}
.pcard:hover { border-color: var(--ink); }
.pcard.playing { border-color: var(--terra); background: #eee4d0; }
.pcard-top { display: flex; align-items: center; gap: 10px; }
.pplay {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  transition: all .15s;
}
.pplay:hover, .pcard.playing .pplay { background: var(--terra); color: var(--bone); border-color: var(--terra); }
.pplay svg { width: 12px; height: 12px; display: block; }
.pname { min-width: 0; }
.pname b { display: block; font-family: 'PFDin', sans-serif; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pname i { font-style: normal; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pwave { position: relative; }
.pwave canvas { display: block; width: 100%; height: 38px; cursor: pointer; }

/* ---------- what's inside: tracklist (paper) ---------- */
.inside-block { background: var(--paper); border-top: 1px solid var(--hair); }

.stat-row { display: flex; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; margin: 52px 0 64px; }
.stat b {
  display: block;
  font-family: 'Cormorant', serif; font-weight: 700;
  font-size: clamp(52px, 7vw, 92px); line-height: .9;
  color: var(--ink);
}
.stat b::after { content: "."; color: var(--terra); }
.stat i { font-style: normal; display: block; margin-top: 10px; font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }

.cat-list { border-top: 1px solid var(--ink); }
.cat {
  display: grid;
  grid-template-columns: 64px minmax(150px, 220px) 1fr auto;
  gap: 10px 26px; align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--hair);
  transition: background .15s, padding-left .2s;
}
.cat:hover { background: rgba(27, 20, 12, .04); padding-left: 12px; }
.cat .no { font-family: 'Cormorant', serif; font-style: italic; font-weight: 600; font-size: 17px; color: var(--terra); }
.cat .nm { font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.cat .ds { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.cat .ct { font-family: 'Cormorant', serif; font-weight: 700; font-size: 26px; }

/* ---------- final CTA (terracotta plate) ---------- */
.cta-block {
  position: relative; overflow: hidden; text-align: center;
  padding: 130px 20px 140px;
  background: var(--terra);
  color: var(--bone);
}
#palms2 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-inner { position: relative; z-index: 5; }
.cta-kicker { color: var(--bone); opacity: .75; margin-bottom: 20px; }
.cta-title {
  font-family: 'Cormorant', serif; font-weight: 700;
  font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -.01em;
  user-select: none;
}
.cta-title em { font-style: italic; font-weight: 500; }
.price-line { margin: 30px 0 6px; font-family: 'Cormorant', serif; font-weight: 700; }
.price-line .now { font-size: clamp(60px, 8vw, 110px); line-height: 1; }
.price-line .old { font-size: clamp(24px, 3vw, 38px); text-decoration: line-through; opacity: .55; margin-left: 16px; font-weight: 500; }
.cta-sub { font-family: 'PFDin', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-bottom: 36px; }
.cta-block .btn-buy { background: var(--char); border-color: var(--char); font-size: 15px; padding: 20px 44px; }
.cta-block .btn-buy:hover { background: #0d0a08; border-color: #0d0a08; }
.cta-note { margin-top: 20px; font-size: 12.5px; opacity: .75; }

footer {
  background: var(--char); padding: 30px 20px; text-align: center;
  font-size: 12px; color: var(--bone-dim); letter-spacing: .1em;
}
footer a { color: var(--bone); text-decoration: none; }
footer a:hover { color: var(--ochre); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .lane-head { width: 172px; padding: 8px; }
  .daw-ruler { margin-left: 172px; }
  .daw-playhead { left: 172px; }
  .lane-name i { display: none; }
  .lane-name i.ni { display: inline; }
  .ms button { width: 22px; height: 22px; }
  .stat-row { gap: 30px; }
  .seq-wide { width: calc(100% - 28px); }
  .seq-tab { flex: 1 1 50%; }
  .sec-head { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 40px 1fr auto; }
  .cat .ds { grid-column: 2 / 4; }
  .cat .ct { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) {
  section.block { padding: 72px 14px; }
  .hero-foot { gap: 8px; }
  .hero-foot .tag { font-size: 9.5px; letter-spacing: .2em; }
  .hero-foot .tag:last-child { display: none; }
  .title-caption .tag { font-size: 9.5px; letter-spacing: .22em; }
  .daw-top { flex-wrap: wrap; row-gap: 6px; }
  .daw-title-line { flex: 1; min-width: 0; }
  .daw-song { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .daw-meta { display: none; }
  .lane-name i.ni { font-size: 8px; letter-spacing: .08em; white-space: nowrap; }
  .lane-head { width: 142px; gap: 6px; }
  .daw-ruler { margin-left: 142px; }
  .daw-playhead { left: 142px; }
  .lane-name b { font-size: 10.5px; letter-spacing: .02em; }
  .ms button { width: 20px; height: 20px; font-size: 9px; }
  .lane-swatch { width: 4px; }
  .lane-wave canvas { height: 46px; }
  .daw-time { display: none; }
  .vol-range { width: 74px; }
  .hero-cta { gap: 10px; }
  .masthead .tag.dim { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  html { scroll-behavior: auto; }
}
