/* ============================================================
   ALBUMS LIST (ab-*)
   ============================================================ */

.ab-page {
  --paper:   var(--parchment-lightest);
  --paper-2: var(--parchment-light);
  --paper-3: var(--parchment);
  --line:    #d6cbb8;
  --ink-2:   #3a3026;
  --ink-3:   #6b5a44;

  --display: var(--font-display);
  --body:    var(--font-body);
  --accent:  var(--font-accent);
  --mono:    var(--font-mono, ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace);

  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  position: relative;
}
.ab-page::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(120,90,55,0.04), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(120,90,55,0.04), transparent 60%);
}
.ab-page > * { position: relative; z-index: 1; }
:where(.ab-page a) { color: inherit; text-decoration: none; }

.ab-section { max-width: 1340px; margin: 0 auto; padding: 70px 40px; }
.ab-section-head { margin-bottom: 36px; max-width: 920px; }
.ab-section-head--row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 48px; }
.ab-section-head__r { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 8px; text-align: right; }
.ab-section-head__r a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.ab-kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.ab-kicker::after { content: ""; width: 48px; height: 1px; background: var(--gold); opacity: 0.5; }
.ab-h {
  font-family: var(--display);
  font-size: 50px; line-height: 1.04; letter-spacing: -0.005em;
  font-weight: 500; margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.ab-h em { font-family: var(--accent); font-style: italic; color: var(--sepia); font-weight: 400; }
.ab-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 720px; margin: 0; text-wrap: pretty; }

/* Hero */
.ab-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
}
.ab-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(0.9);
}
.ab-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.65) 50%, rgba(20,16,12,0.95) 100%),
    linear-gradient(90deg, rgba(20,16,12,0.45) 0%, rgba(20,16,12,0.1) 60%, transparent 100%);
}
.ab-hero__inner {
  position: relative; z-index: 2;
  max-width: 1340px; margin: 0 auto;
  padding: 90px 40px 100px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: end;
}
.ab-hero__kicker {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 14px;
}
.ab-hero__kicker::after { content: ""; width: 50px; height: 1px; background: var(--gold); opacity: 0.5; }
.ab-hero__h {
  font-family: var(--display);
  font-size: 72px; line-height: 0.98; letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--paper);
}
.ab-hero__h em { font-family: var(--accent); font-style: italic; color: var(--gold); font-weight: 400; }
.ab-hero__p {
  font-size: 19px; line-height: 1.55;
  color: rgba(245,240,232,0.94);
  margin: 0 0 28px;
  max-width: 540px;
  text-wrap: pretty;
}
.ab-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ab-btn-primary {
  background: var(--paper); color: var(--ink);
  font-family: var(--display); font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 14px 22px;
  display: inline-flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.ab-btn-primary:hover { background: var(--gold); color: var(--ink); }
.ab-btn-ghost {
  background: transparent; color: var(--paper);
  font-family: var(--display); font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 13px 20px;
  border: 1px solid rgba(245,240,232,0.4);
}
.ab-btn-ghost:hover { border-color: var(--paper); }
.ab-hero__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px;
  border-left: 1px solid rgba(245,240,232,0.18);
  padding-left: 36px;
}
.ab-hero__stat { padding: 8px 0; }
.ab-hero__stat .n { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--paper); }
.ab-hero__stat .n em { font-family: var(--accent); font-style: italic; color: var(--gold); font-weight: 400; }
.ab-hero__stat .n .tail { font-size: 13px; font-family: var(--body); color: rgba(245,240,232,0.7); margin-left: 4px; }
.ab-hero__stat .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,240,232,0.78); margin-top: 6px; }

/* Results bar */
.ab-results {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
  text-align: center;
}
.ab-results b { color: var(--ink); font-family: var(--display); font-weight: 600; }

/* Editorial album cards (override the .alb-card partial output) */
.ab-page .alb-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px;
}
.ab-page .alb-grid > li { list-style: none; }
.ab-page .alb-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ab-page .alb-card:hover { border-color: var(--sepia); transform: translateY(-1px); }
.ab-page .alb-card__image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-3);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.ab-page .alb-card__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ab-page .alb-card__sale-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--rouge); color: var(--paper);
  padding: 3px 7px; font-weight: 700;
  z-index: 2;
}
.ab-page .alb-card__body {
  padding: 18px 20px 18px;
  display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}
.ab-page .alb-card__title {
  font-family: var(--display); font-size: 18px;
  line-height: 1.15; font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.ab-page .alb-card a:hover .alb-card__title { color: var(--sepia); }
.ab-page .alb-card__price {
  font-family: var(--display); font-size: 18px;
  color: var(--ink); font-weight: 600;
  display: flex; gap: 8px; align-items: baseline;
}
.ab-page .alb-card__price del {
  color: var(--ink-3); font-weight: 400; font-size: 14px;
}
.ab-page .alb-card__price span:not(:first-child) { color: var(--rouge); }
.ab-page .alb-card__desc {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}
.ab-page .alb-card__cta { margin-top: auto; padding-top: 10px; }
.ab-page .alb-card__cta .button {
  display: block;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px;
  border: 1px solid var(--ink);
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ab-page .alb-card__cta .button:hover { background: var(--sepia); border-color: var(--sepia); color: var(--paper); }

/* Pagination */
.ab-page .pagination, .ab-page .blg-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 50px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em;
}
.ab-page .pagination a, .ab-page .pagination span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.ab-page .pagination a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ab-page .pagination .active { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }

@media (max-width: 1100px) {
  .ab-hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 40px 70px; }
  .ab-hero__stats { border-left: 0; border-top: 1px solid rgba(245,240,232,0.18); padding-left: 0; padding-top: 24px; }
  .ab-page .alb-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .ab-section { padding: 50px 22px; }
  .ab-hero__inner { padding: 56px 22px 64px; }
  .ab-hero__h { font-size: 48px; }
  .ab-page .alb-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
