/* jaredclifton.com — Side A / Side B */
:root {
  --paper: #F3EDE2;
  --paper-light: #FBF8F2;
  --ink: #1E1B18;
  --ink-2: #2B2622;
  --ink-3: #3A342E;
  --muted: #5E5549;
  --rule: #B9AE9C;
  --accent: #B4472F;
  --accent-soft: #E9A58F;
  --tape: rgba(233, 165, 143, 0.75);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(30, 27, 24, 0.07) 1px, transparent 1px);
  background-size: 6px 6px;
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Labels */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.lede { margin: 0 0 18px; font-size: 19px; line-height: 1.65; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
.section-title { margin: 0 0 20px; font-size: clamp(44px, 6vw, 64px); line-height: 1; letter-spacing: -0.03em; }

/* Nav */
.nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px 0;
  font-family: var(--display); font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.nav a { text-decoration: none; }
.nav .brand { font-weight: 700; }
.nav ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 16px;
  text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--paper); background: #000; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--paper-light); }
.btn-accent:hover { color: var(--paper-light); background: #9C3B26; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 48px 0 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 999 1 460px; min-width: 0; }
.hero h1 { margin: 0; font-size: clamp(64px, 10vw, 136px); line-height: 0.9; letter-spacing: -0.04em; }
.hero .tagline { margin: 28px 0 36px; font-size: 22px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.hero-art { flex: 1 1 420px; min-width: 0; max-width: 560px; transform: rotate(-4deg); }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(30, 27, 24, 0.25)); }

/* Animations */
.reel { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.marquee-track { animation: scroll 40s linear infinite; }
.led { animation: blink 1.8s steps(2) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .reel, .marquee-track, .led { animation: none; }
  html { scroll-behavior: auto; }
}

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: var(--paper); padding: 18px 0; }
.marquee-track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.marquee-track span { padding-right: 48px; }

/* Sections */
.side { padding: 96px 0 88px; }
.side + .side { border-top: 2px solid var(--ink); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > .copy { flex: 1 1 380px; min-width: 0; }
.split > .art { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tag {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--display); font-size: 14px; font-weight: 500;
}
.text-link { display: inline-flex; margin-top: 6px; font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--accent); }

/* Taped prints */
.print {
  position: relative; margin: 0;
  background: var(--paper-light);
  padding: 14px 14px 52px;
  box-shadow: 0 16px 32px rgba(30, 27, 24, 0.22);
}
.print::before, .print::after {
  content: ""; position: absolute; top: -14px; width: 110px; height: 28px; background: var(--tape);
}
.print figcaption { margin-top: 14px; font-family: var(--display); font-size: 15px; color: var(--muted); text-align: center; }
.print-small { width: 100%; max-width: 500px; transform: rotate(-3deg); }
.print-small::before { left: 40%; transform: rotate(3deg); }
.print-small::after { display: none; }
.print-small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print-wide { max-width: 1040px; margin: 72px auto 0; padding: 16px 16px 56px; transform: rotate(1deg); }
.print-wide::before { left: 6%; transform: rotate(-5deg); }
.print-wide::after { right: 6%; transform: rotate(4deg); }
.print-wide img { width: 100%; height: auto; }

/* Discography */
.disco { margin-top: 56px; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper-light); overflow: hidden; }
.disco-head {
  padding: 16px 24px; border-bottom: 2px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-family: var(--display); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.disco-head span:last-child { color: var(--muted); }
.release { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px dashed var(--rule); }
.release:last-child { border-bottom: none; }
.cover {
  width: 72px; height: 72px; flex: 0 0 72px; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.cover svg { width: 46px; height: 46px; }
.release-info { flex: 1 1 200px; min-width: 0; }
.release-title { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.release-meta { font-size: 15px; color: var(--muted); margin-top: 4px; }
.release.upcoming { background: var(--paper); }
.release.upcoming .cover { background: transparent; border: 2px dashed #8A7E6E; font-family: var(--display); font-size: 28px; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
}

/* Solo player */
.disco.solo { margin-top: 32px; }
.play {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; border: none;
  background: var(--accent); color: var(--paper-light);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.play:hover { background: #9C3B26; transform: scale(1.05); }
.play svg { width: 18px; height: 18px; }
.play .i-pause, .track.is-playing .play .i-play { display: none; }
.track.is-playing .play .i-pause { display: block; }
.track.is-missing .play { background: var(--rule); cursor: default; transform: none; }
.progress { height: 6px; margin-top: 12px; max-width: 420px; background: #E4DBCC; border-radius: 3px; cursor: pointer; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.time { font-family: var(--display); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Side B */
.rack { width: 100%; max-width: 480px; transform: rotate(2deg); }
.rack svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(30, 27, 24, 0.25)); }
.cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 64px; }
.card { flex: 1 1 300px; border: 2px solid var(--ink); border-radius: 16px; padding: 28px; background: var(--paper-light); }
.card .num { margin: 0 0 10px; font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--accent); }
.card h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: var(--paper); }
.footer .wrap { padding-top: 80px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer .eyebrow { color: var(--accent-soft); }
.footer h2 { margin: 0 0 16px; font-size: 56px; line-height: 1; letter-spacing: -0.03em; color: var(--paper); }
.footer p { margin: 0 0 14px; font-size: 18px; line-height: 1.6; color: #CFC6B8; }
.footer .email { font-size: 20px; color: var(--accent-soft); }
.footer .email:hover { color: var(--paper); }
.footer ul { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.footer ul a { color: var(--paper); }
.footer ul a:hover { color: var(--accent-soft); }
.copyright { width: 100%; margin: 24px 0 0; font-size: 13px; color: #A89F92; }

@media (max-width: 600px) {
  .side { padding: 72px 0 64px; }
  .print-wide { margin-top: 48px; padding: 10px 10px 44px; }
  .footer h2 { font-size: 44px; }
}
