/* Fort Collins Crate Guide */
:root {
  --sleeve: #f1e9da;
  --sleeve-deep: #e6dac4;
  --ink: #221d18;
  --ink-soft: #5a5047;
  --label: #b8432c;
  --label-dark: #8e2f1d;
  --spruce: #1d5f5a;
  --mustard: #d9a32b;
  --rule: #cdbfa6;
  --vinyl: #171412;
  --measure: 44rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sleeve);
  color: var(--ink);
  font-family: "Rosarivo", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--label-dark); }

h1, h2, h3, .spindle-name, .bin-tab {
  font-family: "Anybody", "Arial Narrow", Arial, sans-serif;
  font-stretch: 80%;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); font-weight: 800; margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); font-weight: 760; margin: 2.6rem 0 0.7rem; }
h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 0.35rem; }

/* masthead */
.spindle {
  background: var(--vinyl);
  color: var(--sleeve);
  border-bottom: 6px solid var(--label);
}
.spindle-in {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
}
.spindle-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sleeve);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}
.spindle-name:hover { color: var(--mustard); }
.spindle-name svg { flex: none; }
.spindle-links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; }
.spindle-links a {
  color: var(--sleeve-deep);
  text-decoration: none;
  font-family: "Anybody", Arial, sans-serif;
  font-stretch: 90%;
  font-size: 1rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.spindle-links a:hover, .spindle-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--mustard); }

/* page column */
.liner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.2rem 1rem 3rem;
}
.liner > p, .liner > ul, .liner > ol, .liner > h2, .liner > h3, .liner > .aside-note { max-width: var(--measure); }

.a-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.a-side svg { width: 100%; height: auto; }
@media (max-width: 760px) {
  .a-side { grid-template-columns: 1fr; }
  .a-side svg { max-width: 11rem; }
}
.kicker {
  display: inline-block;
  font-family: "Anybody", Arial, sans-serif;
  font-stretch: 90%;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--label-dark);
  margin: 0 0 0.6rem;
}
.intro { font-size: 1.3rem; color: var(--ink-soft); margin: 0; max-width: 40rem; }

.aside-note {
  border: 2px dashed var(--label);
  background: #fbf6ec;
  padding: 0.9rem 1.1rem;
  margin: 1.4rem 0 2rem;
}
.aside-note p { margin: 0; }

/* shop cards, styled like bin divider tabs */
.bins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.4rem;
  margin: 1.2rem 0 1rem;
}
.bin-card {
  position: relative;
  background: #fffaf1;
  border: 1px solid var(--rule);
  padding: 2.1rem 1.2rem 1.1rem;
  box-shadow: 4px 4px 0 var(--sleeve-deep);
}
.bin-tab {
  position: absolute;
  top: -0.85rem;
  left: 1rem;
  background: var(--spruce);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
}
.bin-card:nth-child(2n) .bin-tab { background: var(--label); }
.bin-card p { margin: 0.4rem 0; font-size: 1.05rem; }
.bin-where { color: var(--ink-soft); font-style: italic; }

.groove-rule {
  height: 14px;
  border: 0;
  margin: 2.6rem 0;
  background: repeating-linear-gradient(0deg, var(--rule) 0 1px, transparent 1px 4px);
}

.tracklist { padding-left: 0; list-style: none; counter-reset: trk; }
.tracklist li {
  counter-increment: trk;
  position: relative;
  padding: 0.55rem 0 0.55rem 3.2rem;
  border-bottom: 1px solid var(--rule);
}
.tracklist li::before {
  content: "A" counter(trk);
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-family: "Anybody", Arial, sans-serif;
  font-weight: 800;
  color: var(--label);
}
.tracklist.b-side li::before { content: "B" counter(trk); color: var(--spruce); }

.grade-table { width: 100%; max-width: var(--measure); border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 1.02rem; }
.grade-table th, .grade-table td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--rule); }
.grade-table th { font-family: "Anybody", Arial, sans-serif; font-stretch: 90%; background: var(--sleeve-deep); }
.grade-table td:first-child { white-space: nowrap; font-weight: 600; }
@media (max-width: 560px) {
  .grade-table td:first-child { white-space: normal; }
}

.dates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  max-width: var(--measure);
  margin: 1rem 0 1.5rem;
}
.dates div { background: var(--vinyl); color: var(--sleeve); padding: 1rem 1.1rem; }
.dates strong { display: block; font-family: "Anybody", Arial, sans-serif; font-size: 1.5rem; color: var(--mustard); }

.sources { font-size: 0.95rem; color: var(--ink-soft); max-width: var(--measure); }
.sources li { margin-bottom: 0.3rem; }

/* footer */
.runout {
  background: var(--sleeve-deep);
  border-top: 1px solid var(--rule);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.runout-in {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.6rem 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  justify-content: space-between;
}
.runout p { margin: 0 0 0.3rem; }
.runout strong { color: var(--ink); }

@media (max-width: 560px) {
  body { font-size: 1.07rem; }
  .spindle-links { gap: 0.1rem 0.9rem; }
}
