/*
  /projects in the Vinyl / LP look (public/designs/vinyl.css): kraft-paper stage, a cream
  sleeve with a soft drop shadow, Big Shoulders Display caps, IBM Plex Mono for the rest,
  a tracklist card with a 2px frame and the Play button. Status marks are small records.
  Loads after base.css + index.css; tokens first, the rest under .theme-vinyl.
*/

:root[data-theme="vinyl"] {
  color-scheme: light;

  --stage: #e8e0d0;
  --shot: #f4ecdc;
  --card: #f4ecdc;
  --raise: #ede4d2;
  --line: #1a1714;
  --fg: #1a1714;
  --muted: #564e45;
  --sub: #3a342e;
  --faint: #8b8173;
  --accent: #1a1714;
  /* The label red is too light for small text on kraft; this darker red passes 4.5:1. */
  --accent-text: #9e2f1c;
  --on-accent: #f4ecdc;
  --accent-soft: rgba(26, 23, 20, 0.08);

  --record-red: #d1452c;
  --record-groove: #1f1c19;
  --record-black: #141210;

  --f-display: "Big Shoulders Display", sans-serif;
  --f-text: "IBM Plex Mono", monospace;
  --f-mono: "IBM Plex Mono", monospace;

  --s-hero: clamp(56px, 9vw, 112px);
  --s-xl: clamp(34px, 3.6vw, 48px);
  --s-lg: 30px;

  --r-sm: 0;
  --r-md: 0;
  --r-pill: 0;
}

.theme-vinyl {
  font-size: 15px;
  line-height: 1.6;
}

.theme-vinyl ::selection {
  background: var(--fg);
  color: var(--on-accent);
}

.theme-vinyl a {
  color: inherit;
  text-underline-offset: 3px;
}

.theme-vinyl a:hover {
  color: inherit;
  opacity: 0.75;
}

.theme-vinyl :focus-visible,
.theme-vinyl a:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
  border-radius: 0;
}

/* Header: the sleeve footer, a 4px rule */
.theme-vinyl .site-header {
  font-size: 13px;
  border-bottom: 4px solid var(--fg);
}

.theme-vinyl .site-header__inner {
  min-height: 64px;
}

.theme-vinyl .site-header__home {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.theme-vinyl .site-header__mail {
  color: var(--muted);
}

/* Intro */
.theme-vinyl h1,
.theme-vinyl h2,
.theme-vinyl h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.theme-vinyl .projects__intro h1 {
  line-height: 0.9;
}

.theme-vinyl .projects__lede {
  margin-top: 24px;
  max-width: 44ch;
  font-size: 15px;
  color: var(--sub);
}

/* Featured: the cover as a sleeve, the text as the tracklist card */
.theme-vinyl .featured__media,
.theme-vinyl .entry__media {
  border: 0;
  border-radius: 0;
  background: var(--shot);
  padding: 10px;
  box-shadow: 12px 16px 40px rgba(0, 0, 0, 0.3);
}

.theme-vinyl .entry__media {
  padding: 6px;
  box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.25);
}

.theme-vinyl .featured__body {
  gap: 18px;
  padding: 24px 20px;
  border: 2px solid var(--fg);
  background: var(--stage);
}

.theme-vinyl .featured__title {
  line-height: 0.95;
}

.theme-vinyl .featured__title a:hover,
.theme-vinyl .entry__title a:hover {
  color: var(--accent-text);
  opacity: 1;
}

.theme-vinyl .featured__pitch,
.theme-vinyl .entry__pitch {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sub);
}

/* Meta: catalogue line; the status marks are little records */
.theme-vinyl .meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.theme-vinyl .meta__status {
  color: var(--fg);
}

.theme-vinyl .planet {
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background: radial-gradient(circle, var(--stage) 0 10%, var(--record-red) 11% 38%, var(--record-black) 40%);
}

.theme-vinyl .meta .planet {
  width: 12px;
  height: 12px;
}

.theme-vinyl .planet--neutral {
  background: radial-gradient(circle, var(--stage) 0 10%, var(--shot) 11% 38%, var(--record-black) 40%);
}

.theme-vinyl .planet--off {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--fg);
}

/* Button: the Play button, a solid black slab; hover flips it like the secondary */
.theme-vinyl .btn {
  min-height: 46px;
  padding: 12px 18px;
  border-width: 2px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
}

.theme-vinyl .btn--ghost {
  align-self: stretch;
  justify-self: stretch;
  background: var(--fg);
  border-color: var(--fg);
  color: var(--on-accent);
}

.theme-vinyl .btn--ghost:hover {
  background: transparent;
  border-color: var(--fg);
  color: var(--fg);
  opacity: 1;
}

/* More projects: the tracklist title */
.theme-vinyl .more__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--fg);
  margin-bottom: 12px;
}

.theme-vinyl .entry {
  border-top: 2px solid var(--fg);
}

/* Contact: a record sits on the 4px rule */
.theme-vinyl .projects__contact {
  padding-top: 40px;
  border-top: 4px solid var(--fg);
  color: var(--sub);
}

.theme-vinyl .projects__contact .planet {
  top: -20px;
  width: 36px;
  height: 36px;
  background:
    radial-gradient(circle, var(--stage) 0 6%, var(--record-red) 7% 34%, transparent 35%),
    repeating-radial-gradient(circle, var(--record-black) 0 2px, var(--record-groove) 2px 4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.theme-vinyl .projects__contact a {
  color: var(--fg);
}

/* A cover in the list keeps its own height when the text beside it runs taller */
.theme-vinyl .entry__media {
  align-self: start;
}

/* Covers keep full strength on hover; only text links dim */
.theme-vinyl .featured__media:hover,
.theme-vinyl .entry__media:hover {
  opacity: 1;
}
