/* ============================================
   HUB PAGE STYLES — discography.html, contact.html
   Shared design language with press.css but with hub-* class names so
   the two can evolve independently. Hero + summary card + grid of panels.
   ============================================ */

.hub-page {
  max-width: 1180px;
}

.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.hub-hero-copy,
.hub-summary-card,
.hub-panel {
  align-self: start;
  border-radius: var(--radius);
  border: 1px solid rgba(160, 181, 228, 0.58);
  background: var(--glass-strong);
  box-shadow: 0 14px 30px rgba(18, 34, 71, 0.1);
}

.hub-hero-copy {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
}

.hub-hero-copy::before {
  content: "";
  position: absolute;
  inset: -28% -18%;
  background: radial-gradient(circle at 18% 18%, rgba(111, 157, 255, 0.24), transparent 42%),
    radial-gradient(circle at 82% 22%, rgba(255, 159, 196, 0.18), transparent 40%),
    radial-gradient(circle at 52% 100%, rgba(106, 217, 210, 0.14), transparent 38%);
  pointer-events: none;
}

.hub-hero-copy > * {
  position: relative;
  z-index: 1;
}

.hub-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hub-hero-copy h1 {
  margin-bottom: 10px;
}

.hub-subtitle {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 58ch;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hub-btn:hover {
  transform: translateY(-1px);
}

.hub-btn::after,
.hub-btn:hover::after,
.hub-btn:focus-visible::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.hub-btn-primary {
  background: linear-gradient(135deg, #2d68ff, #4f88ff);
  color: #fff;
  border: 1px solid rgba(115, 156, 255, 0.9);
  box-shadow: 0 10px 20px rgba(45, 104, 255, 0.22);
}

.hub-btn-secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  border: 1px solid rgba(183, 199, 235, 0.72);
}

.hub-btn-secondary:link,
.hub-btn-secondary:visited,
.hub-btn-secondary:focus-visible,
.hub-btn-secondary:active {
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.hub-btn-secondary:hover {
  color: #13274f;
  -webkit-text-fill-color: currentColor;
}

.hub-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hub-highlight {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(183, 199, 235, 0.72);
}

.hub-highlight strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--ink);
}

.hub-highlight span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hub-summary-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  margin-top: 28px;
  padding: 22px;
  gap: 16px;
}

.hub-summary-card h2,
.hub-panel h2,
.hub-release-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.hub-summary-card h2 {
  position: relative;
  padding: 6px 0 14px;
  margin-bottom: 10px;
  text-align: center;
  color: #f6f9ff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hub-summary-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background: radial-gradient(circle at 25% 50%, rgba(112, 154, 255, 0.22), transparent 40%),
              radial-gradient(circle at 75% 50%, rgba(121, 225, 215, 0.14), transparent 34%);
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
}

.hub-summary-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(184, 208, 255, 0.18);
}

.hub-summary-card p,
.hub-panel p,
.hub-panel li,
.hub-release-item p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hub-summary-card > div:first-child p {
  margin-bottom: 0;
}

.hub-summary-card ul,
.hub-panel ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.hub-summary-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-left: 0;
  margin-top: 4px;
  list-style: none;
}

.hub-summary-card li {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(183, 199, 235, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  line-height: 1.55;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.hub-grid > section {
  padding: 0;
  margin: 0;
}

.hub-panel {
  padding: 0;
  overflow: hidden;
  background: var(--glass-strong);
  border: 1px solid rgba(160, 181, 228, 0.58);
  box-shadow: 0 14px 30px rgba(18, 34, 71, 0.1);
}

.hub-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.hub-panel-wide {
  grid-column: 1 / -1;
}

.hub-panel h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  background-image: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.hub-panel p,
.hub-panel li,
.hub-release-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.hub-release-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(160, 181, 228, 0.58);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hub-release-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.hub-release-item .hub-release-meta {
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-release-item h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.hub-release-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.hub-release-item h3 a:hover {
  color: #2d68ff;
}

.hub-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hub-link-row a {
  min-height: 38px;
}

.hub-panel ul {
  margin: 0;
  padding: 2px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
  line-height: 1.8;
}

.hub-panel li {
  position: relative;
  padding-left: 18px;
}

.hub-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(126, 168, 255, 0.6);
  transform: translateY(-50%);
}

.hub-link-row a::after,
.hub-link-row a:hover::after,
.hub-link-row a:focus-visible::after,
.hub-panel a::after,
.hub-panel a:hover::after,
.hub-panel a:focus-visible::after,
.hub-release-item a::after,
.hub-release-item a:hover::after,
.hub-release-item a:focus-visible::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

@media (max-width: 980px) {
  .hub-hero {
    grid-template-columns: 1fr;
  }

  .hub-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-summary-card ul {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .hub-hero-copy,
html.dark-mode .hub-hero-copy,
html[data-theme="dark"] .hub-summary-card,
html.dark-mode .hub-summary-card,
html[data-theme="dark"] .hub-panel,
html.dark-mode .hub-panel {
  border-color: rgba(120, 147, 209, 0.46);
  box-shadow: 0 20px 38px rgba(4, 8, 18, 0.34);
}

html[data-theme="dark"] .hub-hero-copy,
html.dark-mode .hub-hero-copy {
  background: linear-gradient(150deg, rgba(18, 29, 53, 0.88), rgba(15, 24, 43, 0.76));
}

html[data-theme="dark"] .hub-highlight,
html.dark-mode .hub-highlight {
  background: rgba(20, 30, 53, 0.62);
  border-color: rgba(101, 127, 184, 0.42);
}

html[data-theme="dark"] .hub-panel h2,
html.dark-mode .hub-panel h2 {
  color: #f8fbff;
}

html[data-theme="dark"] .hub-release-item h3 a,
html.dark-mode .hub-release-item h3 a {
  color: #f2f6ff;
}

html[data-theme="dark"] .hub-release-item h3 a:hover,
html.dark-mode .hub-release-item h3 a:hover {
  color: #7aa7ff;
}

html[data-theme="dark"] .hub-btn-secondary,
html.dark-mode .hub-btn-secondary {
  background: rgba(20, 30, 53, 0.72);
  color: var(--ink);
  border-color: rgba(101, 127, 184, 0.42);
}

html[data-theme="dark"] .hub-btn-secondary:hover,
html.dark-mode .hub-btn-secondary:hover {
  color: #f5f9ff;
  -webkit-text-fill-color: currentColor;
}

html[data-theme="dark"] .hub-btn-primary,
html.dark-mode .hub-btn-primary {
  background: linear-gradient(135deg, #2d68ff, #5a8eff);
  border-color: rgba(121, 161, 255, 0.92);
  box-shadow: 0 12px 26px rgba(24, 76, 221, 0.3);
}

html[data-theme="dark"] .hub-summary-card h2,
html.dark-mode .hub-summary-card h2 {
  color: #f8fbff;
}

html[data-theme="dark"] .hub-summary-card li,
html.dark-mode .hub-summary-card li,
html[data-theme="dark"] .hub-link-row a,
html.dark-mode .hub-link-row a {
  background: linear-gradient(180deg, rgba(24, 36, 63, 0.74), rgba(18, 28, 49, 0.58));
  color: var(--ink);
  border-color: rgba(101, 127, 184, 0.42);
  box-shadow: inset 0 1px 0 rgba(170, 194, 255, 0.08);
}

html[data-theme="dark"] .hub-panel li::before,
html.dark-mode .hub-panel li::before {
  background: rgba(137, 177, 255, 0.82);
}
