/* Riddim and Story
   One stylesheet for the whole site. */

:root {
  --ink: #16110c;
  --ink-soft: #231a11;
  --paper: #f2e8d5;
  --paper-deep: #e7d9bd;
  --cream: #f7efdf;
  --brown: #2a2017;
  --muted: #a39479;
  --muted-dark: #6d5f4a;
  --gold: #e9b23c;
  --red: #cf3a2b;
  --green: #2c8a55;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

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

.label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* The red, gold and green rule from the channel banner */
.rule {
  display: flex;
  height: 4px;
  width: 132px;
}
.rule i { flex: 1; }
.rule i:nth-child(1) { background: var(--red); }
.rule i:nth-child(2) { background: var(--gold); }
.rule i:nth-child(3) { background: var(--green); }

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

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.wordmark small {
  font-family: var(--label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 2px 1px 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-family: var(--label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.site-nav a:hover { color: var(--gold); }
.site-nav .sub {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 7px 14px 6px;
}
.site-nav .sub:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 96px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero .label { color: var(--gold); }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(58px, 9.2vw, 124px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 18px 0 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p.lede {
  max-width: 30em;
  margin: 26px 0 32px;
  color: #e6dcc8;
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.btn {
  display: inline-block;
  font-family: var(--label);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 24px 12px;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover {
  background: #f5c659;
  transform: translateY(-1px);
}

.text-link {
  font-family: var(--label);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--gold); }

.four {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 0;
  margin: 44px 0 0;
  font-family: var(--label);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.four li:nth-child(1) { color: var(--red); }
.four li:nth-child(2) { color: var(--gold); }
.four li:nth-child(3) { color: #47a871; }
.four li:nth-child(4) { color: var(--cream); }

/* Photo prints on the right of the hero */
.prints {
  position: relative;
  height: 500px;
}
.print {
  position: absolute;
  display: block;
  width: 70%;
  background: var(--cream);
  padding: 9px 9px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  color: var(--brown);
  transition: transform 0.18s ease;
}
.print img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.print span {
  display: block;
  font-family: var(--label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 2px 9px;
}
.print:nth-child(1) { top: 0; right: 0; transform: rotate(3deg); }
.print:nth-child(2) { top: 140px; left: 0; transform: rotate(-4deg); }
.print:nth-child(3) { top: 272px; right: 3%; transform: rotate(1.5deg); }
.print:hover { z-index: 3; transform: rotate(0deg) scale(1.03); }

/* ---------- Songs ---------- */

.songs {
  background: var(--paper);
  color: var(--brown);
  padding: 84px 0 96px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2,
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  margin: 14px 0 0;
}
.section-head p {
  margin: 0;
  max-width: 22em;
  color: var(--muted-dark);
  font-size: 17px;
}

.songs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: start;
}

.player {
  position: sticky;
  top: 24px;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 14px 30px rgba(42, 32, 23, 0.28);
}
.screen img,
.screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.screen button {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.12);
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.screen button span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}
.screen button:hover span { transform: scale(1.07); }
.screen button svg { margin-left: 5px; }

.now {
  margin-top: 22px;
  border-top: 2px solid var(--brown);
  padding-top: 16px;
}
.now .label { color: var(--red); }
.now h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 6px 0 10px;
}
.now p { margin: 0 0 14px; }
.now .text-link { font-size: 15px; }

.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--brown);
}
.tracks li { border-bottom: 1px solid rgba(42, 32, 23, 0.28); }
.tracks a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 13px 4px 12px;
  text-decoration: none;
  color: inherit;
}
.tracks .n,
.tracks .t {
  font-family: var(--label);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--muted-dark);
}
.tracks b {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
}
.tracks .k {
  display: block;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: 1px;
}
.tracks a:hover { background: var(--paper-deep); }
.tracks a:hover b {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.tracks a.on { background: var(--brown); color: var(--cream); }
.tracks a.on .n,
.tracks a.on .t,
.tracks a.on .k { color: var(--gold); }

/* The mix */
.mix {
  margin-top: 64px;
  background: var(--brown);
  color: var(--cream);
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 22px 30px 22px 22px;
}
.mix img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.mix .label { color: var(--gold); }
.mix h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 6px 0 8px;
}
.mix p { margin: 0; color: #dccfb6; font-size: 17px; }

/* ---------- Story ---------- */

.story { padding: 100px 0; }
.story .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story blockquote {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  text-transform: uppercase;
}
.story blockquote span { display: block; }
.story blockquote span:nth-child(3) { color: var(--gold); }
.story .label { color: var(--gold); }
.story .text p { margin: 0 0 20px; color: #e6dcc8; }
.story .text p:first-child { font-size: 22px; color: var(--cream); }

/* ---------- Join ---------- */

.join {
  background: var(--gold);
  color: var(--ink);
  padding: 80px 0;
}
.join .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.join h2 { margin: 0 0 12px; }
.join p { margin: 0; max-width: 26em; }
.join form { display: flex; gap: 0; }
.join input[type="email"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 0;
  padding: 13px 16px;
}
.join input[type="email"]::placeholder { color: #8a7c66; }
.join .btn {
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
}
.join .btn:hover { background: #2e2318; transform: none; }
.join .fine {
  font-size: 15px;
  margin-top: 12px;
  max-width: none;
}
.join .msg {
  font-weight: 600;
  margin-top: 12px;
  min-height: 1.6em;
}
.hp { position: absolute; left: -5000px; }

/* ---------- Follow and footer ---------- */

.follow { padding: 84px 0 40px; }
.follow ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  border-top: 1px solid #4a3c2b;
}
.follow li { border-bottom: 1px solid #4a3c2b; }
.follow a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 4px 16px;
  text-decoration: none;
}
.follow a b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}
.follow a span {
  font-family: var(--label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.follow a:hover b { color: var(--gold); }
.follow a:hover span { color: var(--cream); }

.site-foot {
  padding: 34px 0 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 15px;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { text-underline-offset: 3px; }
.site-foot a:hover { color: var(--cream); }

/* ---------- Plain text pages (privacy, RiddimIQ) ---------- */

.page {
  background: var(--paper);
  color: var(--brown);
  padding: 72px 0 96px;
}
.page .wrap { max-width: 760px; }
.page h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  margin: 16px 0 10px;
}
.page .date { color: var(--muted-dark); margin: 0 0 40px; }
.page h2 {
  font-family: var(--label);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 44px 0 10px;
  padding-top: 18px;
  border-top: 2px solid var(--brown);
}
.page p, .page li { margin: 0 0 14px; }
.page ul { padding-left: 22px; margin: 0 0 14px; }
.page a { text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- Smaller screens ---------- */

@media (max-width: 900px) {
  .hero { padding: 28px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .prints { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .print { position: static; width: auto; padding: 5px 5px 0; }
  .print:nth-child(1) { transform: rotate(-2deg); }
  .print:nth-child(2) { transform: rotate(1.5deg) translateY(8px); }
  .print:nth-child(3) { transform: rotate(-1deg); }
  .print span { font-size: 11px; letter-spacing: 0.04em; padding: 5px 1px 6px; }

  .songs { padding: 60px 0 68px; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .songs-grid { grid-template-columns: 1fr; gap: 36px; }
  .player { position: static; }

  .mix { grid-template-columns: 1fr; gap: 18px; padding: 18px 18px 24px; }

  .story { padding: 68px 0; }
  .story .wrap, .join .wrap { grid-template-columns: 1fr; gap: 32px; }
  .join { padding: 60px 0; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .site-nav { gap: 0; }
  .site-nav a:not(.sub) { display: none; }
  .wordmark { font-size: 24px; }
  .hero p.lede { font-size: 18px; }
  .join form { flex-direction: column; gap: 10px; }
  .join input[type="email"] { border-right: 2px solid var(--ink); }
  .follow a { flex-direction: column; gap: 6px; }
  .follow a span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
