/* ==========================================================================
   /css/the-record-albums.css
   Page-specific styling for /the-record-albums.html
   ========================================================================== */

body[data-page="the-record-albums"] .main-grid {
  gap: 18px;
}

body[data-page="the-record-albums"] .record-albums-hero {
  margin-bottom: 20px;
}

body[data-page="the-record-albums"] .hero-grid {
  align-items: stretch;
}

body[data-page="the-record-albums"] .record-albums-hero h1 {
  max-width: 16ch;
}

body[data-page="the-record-albums"] .record-albums-hero h1 > span:first-child {
  display: block;
  font-size: clamp(2.75rem, 4.2vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

body[data-page="the-record-albums"] .record-albums-hero h1 > span:last-child {
  display: block;
  margin-top: 0.24em;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
}

body[data-page="the-record-albums"] .hero-copy {
  max-width: 69ch;
}

body[data-page="the-record-albums"] .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body[data-page="the-record-albums"] .hero-actions .cta-pill {
  min-width: 0;
  flex: 0 0 auto;
}

body[data-page="the-record-albums"] .hero-actions .hero-albums-pill .hero-pill-word,
body[data-page="the-record-albums"] .hero-actions .hero-albums-pill .hero-pill-dot {
  display: inline-block;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: middle;
}

body[data-page="the-record-albums"] .hero-actions .hero-albums-pill .hero-pill-word {
  color: var(--gold);
}

body[data-page="the-record-albums"] .hero-actions .hero-albums-pill .hero-pill-dot {
  color: #ffffff;
  margin: 0 0.02em;
}

body[data-page="the-record-albums"] .section-card,
body[data-page="the-record-albums"] .footer-card {
  scroll-margin-top: 108px;
}

body[data-page="the-record-albums"] .section-head {
  margin-bottom: 20px;
}

body[data-page="the-record-albums"] .record-albums-grid-3,
body[data-page="the-record-albums"] .album-access-grid,
body[data-page="the-record-albums"] .record-entry-grid {
  align-items: stretch;
}

body[data-page="the-record-albums"] .hero-panel .index-card,
body[data-page="the-record-albums"] .hero-panel .quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body[data-page="the-record-albums"] .hero-panel .index-card .index-label,
body[data-page="the-record-albums"] .hero-panel .quote-card .quote-label {
  margin-bottom: 10px;
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: none !important;
  color: var(--soft) !important;
}

body[data-page="the-record-albums"] .hero-panel .index-card {
  overflow: hidden;
}

body[data-page="the-record-albums"] .hero-panel .mini-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
}

body[data-page="the-record-albums"] .hero-panel .mini-pills .mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 0 18px;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  box-sizing: border-box;
}

body[data-page="the-record-albums"] .hero-panel .mini-pills .mini-pill:nth-child(1),
body[data-page="the-record-albums"] .hero-panel .mini-pills .mini-pill:nth-child(2),
body[data-page="the-record-albums"] .hero-panel .mini-pills .mini-pill:nth-child(3),
body[data-page="the-record-albums"] .hero-panel .mini-pills .mini-pill:nth-child(4) {
  grid-column: auto;
  justify-self: stretch;
  border-color: rgba(201, 162, 39, 0.72);
}

body[data-page="the-record-albums"] .entry-note-lines {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

body[data-page="the-record-albums"] .entry-note-text {
  margin: 0;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
}

body[data-page="the-record-albums"] .album-role-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body[data-page="the-record-albums"] .album-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="the-record-albums"] .album-order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body[data-page="the-record-albums"] .album-order-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 22px 22px 0 0;
}

body[data-page="the-record-albums"] .album-order-all::before {
  background: linear-gradient(
    90deg,
    #ff5f6d 0%,
    #ffc371 18%,
    #fff27a 34%,
    #7bd389 50%,
    #6fb6ff 68%,
    #8b7cff 84%,
    #d96cff 100%
  );
}

body[data-page="the-record-albums"] .album-order-phase-1::before {
  background: linear-gradient(90deg, rgba(99, 131, 114, 0.18), var(--phase-1), rgba(99, 131, 114, 0.18));
}

body[data-page="the-record-albums"] .album-order-phase-2::before {
  background: linear-gradient(90deg, rgba(156, 45, 18, 0.18), var(--phase-2-readable), rgba(156, 45, 18, 0.18));
}

body[data-page="the-record-albums"] .album-order-phase-3::before {
  background: linear-gradient(90deg, rgba(61, 86, 119, 0.18), var(--phase-3-readable), rgba(61, 86, 119, 0.18));
}

body[data-page="the-record-albums"] .album-order-phase-4::before {
  background: linear-gradient(90deg, rgba(73, 29, 139, 0.18), var(--phase-4-readable), rgba(73, 29, 139, 0.18));
}

body[data-page="the-record-albums"] .album-order-phase-5::before {
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.18), var(--phase-5), rgba(201, 162, 39, 0.18));
}

body[data-page="the-record-albums"] .album-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body[data-page="the-record-albums"] .album-order-label,
body[data-page="the-record-albums"] .album-access-label,
body[data-page="the-record-albums"] .record-entry-label {
  margin-bottom: 10px;
  font-size: 0.69rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

body[data-page="the-record-albums"] .album-order-top .album-order-label {
  margin-bottom: 0;
}

body[data-page="the-record-albums"] .album-order-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="the-record-albums"] .album-order-card h3,
body[data-page="the-record-albums"] .album-access-card h3,
body[data-page="the-record-albums"] .record-entry-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

body[data-page="the-record-albums"] .album-order-card .section-jump,
body[data-page="the-record-albums"] .album-order-link {
  margin-top: auto;
}

body[data-page="the-record-albums"] .album-order-link,
body[data-page="the-record-albums"] .album-order-card .section-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

body[data-page="the-record-albums"] .album-order-link .pill-word,
body[data-page="the-record-albums"] .album-order-card .section-jump .pill-word {
  display: inline-block;
  color: currentColor;
}

body[data-page="the-record-albums"] .album-order-link .pill-dot,
body[data-page="the-record-albums"] .album-order-card .section-jump .pill-dot {
  display: inline-block;
  color: #ffffff;
  margin: 0 0.18em;
  padding: 0;
  letter-spacing: 0;
}

body[data-page="the-record-albums"] .album-order-card .section-jump:hover,
body[data-page="the-record-albums"] .album-order-card .section-jump:focus-visible,
body[data-page="the-record-albums"] .album-order-link:hover,
body[data-page="the-record-albums"] .album-order-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

body[data-page="the-record-albums"] .album-order-all .album-order-link {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--gold);
}

body[data-page="the-record-albums"] .album-order-all .album-order-link:hover,
body[data-page="the-record-albums"] .album-order-all .album-order-link:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body[data-page="the-record-albums"] .album-order-phase-1 .section-jump {
  border-color: rgba(99, 131, 114, 0.5);
  color: var(--phase-1);
}

body[data-page="the-record-albums"] .album-order-phase-1 .section-jump:hover,
body[data-page="the-record-albums"] .album-order-phase-1 .section-jump:focus-visible {
  border-color: rgba(99, 131, 114, 0.82);
  box-shadow:
    0 0 0 1px rgba(99, 131, 114, 0.16),
    0 0 16px rgba(99, 131, 114, 0.24),
    0 0 28px rgba(99, 131, 114, 0.22);
}

body[data-page="the-record-albums"] .album-order-phase-2 .section-jump {
  border-color: rgba(217, 106, 75, 0.5);
  color: var(--phase-2-readable);
}

body[data-page="the-record-albums"] .album-order-phase-2 .section-jump:hover,
body[data-page="the-record-albums"] .album-order-phase-2 .section-jump:focus-visible {
  border-color: rgba(217, 106, 75, 0.82);
  box-shadow:
    0 0 0 1px rgba(217, 106, 75, 0.16),
    0 0 16px rgba(217, 106, 75, 0.24),
    0 0 28px rgba(217, 106, 75, 0.22);
}

body[data-page="the-record-albums"] .album-order-phase-3 .section-jump {
  border-color: rgba(125, 159, 203, 0.5);
  color: var(--phase-3-readable);
}

body[data-page="the-record-albums"] .album-order-phase-3 .section-jump:hover,
body[data-page="the-record-albums"] .album-order-phase-3 .section-jump:focus-visible {
  border-color: rgba(125, 159, 203, 0.82);
  box-shadow:
    0 0 0 1px rgba(125, 159, 203, 0.16),
    0 0 16px rgba(125, 159, 203, 0.24),
    0 0 28px rgba(125, 159, 203, 0.22);
}

body[data-page="the-record-albums"] .album-order-phase-4 .section-jump {
  border-color: rgba(164, 60, 154, 0.5);
  color: var(--phase-4-readable);
}

body[data-page="the-record-albums"] .album-order-phase-4 .section-jump:hover,
body[data-page="the-record-albums"] .album-order-phase-4 .section-jump:focus-visible {
  border-color: rgba(164, 60, 154, 0.82);
  box-shadow:
    0 0 0 1px rgba(164, 60, 154, 0.16),
    0 0 16px rgba(164, 60, 154, 0.24),
    0 0 28px rgba(164, 60, 154, 0.22);
}

body[data-page="the-record-albums"] .album-order-phase-5 .section-jump {
  border-color: rgba(201, 162, 39, 0.56);
  color: var(--phase-5);
}

body[data-page="the-record-albums"] .album-order-phase-5 .section-jump:hover,
body[data-page="the-record-albums"] .album-order-phase-5 .section-jump:focus-visible {
  border-color: rgba(201, 162, 39, 0.86);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.16),
    0 0 16px rgba(201, 162, 39, 0.24),
    0 0 28px rgba(201, 162, 39, 0.22);
}

body[data-page="the-record-albums"] .album-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="the-record-albums"] .album-access-card {
  position: relative;
  min-height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body[data-page="the-record-albums"] .album-access-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.18), var(--phase-5), rgba(201, 162, 39, 0.18));
}

body[data-page="the-record-albums"] .record-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="the-record-albums"] .record-entry-card {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body[data-page="the-record-albums"] .record-entry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 18px 18px 3px 3px;
}

body[data-page="the-record-albums"] .record-entry-index::before {
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.18), var(--phase-5), rgba(201, 162, 39, 0.18));
}

body[data-page="the-record-albums"] .record-entry-record::before {
  background: linear-gradient(90deg, rgba(125, 159, 203, 0.18), var(--phase-3-readable), rgba(125, 159, 203, 0.18));
}

body[data-page="the-record-albums"] .record-entry-next::before {
  background: linear-gradient(90deg, rgba(217, 106, 75, 0.18), var(--phase-2-readable), rgba(217, 106, 75, 0.18));
}

body[data-page="the-record-albums"] .record-entry-card:hover:is(a) {
  transform: translateY(-1px);
  border-color: rgba(201, 162, 39, 0.72);
  box-shadow: var(--cta-shadow);
}

body[data-page="the-record-albums"] .spine-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  list-style: none;
  white-space: nowrap;
}

body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip::before,
body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip::after,
body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip::marker {
  content: none !important;
  display: none !important;
}

body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip .chip-bullet {
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.95;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}

body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip .chip-word,
body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip .chip-dot {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip .chip-word {
  letter-spacing: 0.14em;
  color: currentColor;
}

body[data-page="the-record-albums"] .footer-card .spine-nav .phase-chip .chip-dot {
  color: #ffffff;
  letter-spacing: 0;
  margin: 0 0.18em;
  padding: 0;
}

@media (max-width: 1120px) {
  body[data-page="the-record-albums"] .album-order-grid,
  body[data-page="the-record-albums"] .record-entry-grid,
  body[data-page="the-record-albums"] .record-albums-grid-3,
  body[data-page="the-record-albums"] .album-access-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="the-record-albums"] .record-albums-hero h1 > span:last-child {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  body[data-page="the-record-albums"] .hero-actions {
    gap: 10px;
  }

  body[data-page="the-record-albums"] .hero-panel .mini-pills {
    grid-template-columns: 1fr;
  }

  body[data-page="the-record-albums"] .hero-panel .mini-pills .mini-pill {
    white-space: normal;
    padding: 10px 16px;
    min-height: 0;
  }

  body[data-page="the-record-albums"] .album-order-top {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="the-record-albums"] .album-order-link,
  body[data-page="the-record-albums"] .album-order-card .section-jump {
    white-space: normal;
  }
}