.hub-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(96px, 14vw, 160px) 22px clamp(76px, 10vw, 118px);
  border-bottom: 1px solid var(--border-dim);
  text-align: center;
  background:
    radial-gradient(circle at 72% 22%, rgba(225, 132, 36, .19), transparent 31%),
    radial-gradient(circle at 20% 72%, rgba(200, 146, 42, .11), transparent 28%),
    linear-gradient(150deg, #1b1004, #080603 68%);
}

.hub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200,146,42,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,146,42,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.hub-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hub-hero h1 {
  margin: 12px 0 18px;
  font-family: var(--display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: .82;
  text-transform: uppercase;
}

.hub-hero__lead {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.1vw, 1.46rem);
  line-height: 1.6;
}

.hub-quicklinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.hub-quicklinks a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(8,6,3,.62);
  font: 600 .67rem/1 var(--ui);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hub-quicklinks a:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.hub-feature {
  display: grid;
  grid-template-columns: minmax(300px, 46%) 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.hub-feature__image {
  min-height: 470px;
}

.hub-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-feature__copy {
  align-self: center;
  padding: clamp(30px, 5vw, 58px);
}

.hub-feature__copy h2 {
  margin: 9px 0 15px;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: .92;
  text-transform: uppercase;
}

.hub-feature__copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hub-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hub-feature__actions a,
.hub-cta {
  display: inline-flex;
  padding: 11px 16px;
  border: 1px solid var(--gold);
  color: var(--text);
  font: 600 .68rem/1 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hub-feature__actions a:hover,
.hub-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #100802;
}

.hub-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hub-path {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--border-dim);
  background:
    linear-gradient(145deg, rgba(200,146,42,.08), transparent 58%),
    var(--card);
}

.hub-path:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.hub-path__number {
  display: block;
  color: var(--accent);
  font: 600 .65rem/1 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hub-path strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.hub-path p {
  margin-top: 12px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.52;
}

.hub-path em {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font: 600 .66rem/1 var(--ui);
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* 2026-08 visual refresh for the active Music and Discover hubs. */
.hub-page--visual-refresh .hub-hero--music,
.hub-page--visual-refresh .hub-hero--discover {
  min-height: clamp(570px, 68vh, 720px);
  place-items: stretch;
  align-items: center;
  padding-inline: max(28px, calc((100vw - 1180px) / 2));
  text-align: left;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hub-page--visual-refresh .hub-hero--music {
  background-image:
    linear-gradient(90deg, #090602 0%, rgba(9,6,2,.96) 37%, rgba(9,6,2,.58) 68%, rgba(9,6,2,.88) 100%),
    url("/assets/heroes/essential-listening-vinyl-headphones-hero.webp");
  background-position: 66% center;
}

.hub-page--visual-refresh .hub-hero--discover {
  background-image:
    linear-gradient(90deg, #090602 0%, rgba(9,6,2,.96) 38%, rgba(9,6,2,.54) 70%, rgba(9,6,2,.86) 100%),
    url("/assets/heroes/genres-vintage-record-store-hero.webp");
  background-position: 62% center;
}

.hub-page--visual-refresh .hub-hero--music .hub-hero__inner,
.hub-page--visual-refresh .hub-hero--discover .hub-hero__inner {
  width: min(680px, 58vw);
  margin: 0;
}

.hub-page--visual-refresh .hub-hero--music h1,
.hub-page--visual-refresh .hub-hero--discover h1 {
  font-size: clamp(5rem, 9.5vw, 8.6rem);
}

.hub-page--visual-refresh .hub-hero__lead {
  margin-inline: 0;
  color: #d6b36f;
  text-shadow: 0 2px 18px rgba(0,0,0,.75);
}

.hub-page--visual-refresh .hub-quicklinks { justify-content: flex-start; }
.hub-page--visual-refresh .hub-quicklinks a { backdrop-filter: blur(3px); }

.hub-hero__credit {
  position: absolute;
  z-index: 2;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 16px;
  margin: 0;
  color: rgba(226,198,144,.62);
  font: 500 .61rem/1.4 var(--ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hub-hero__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path {
  position: relative;
  isolation: isolate;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-color: rgba(200,146,42,.34);
  background: #120c05;
  box-shadow: 0 14px 38px rgba(0,0,0,.2);
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path::before,
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path::before {
  background: var(--hub-path-image) center / cover no-repeat;
  filter: saturate(.62) sepia(.12) brightness(.58);
  transform: scale(1.02);
  transition: filter .35s ease, transform .45s ease;
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path::after {
  z-index: -1;
  background:
    linear-gradient(to top, rgba(7,4,1,.99) 3%, rgba(7,4,1,.88) 53%, rgba(7,4,1,.2) 100%),
    linear-gradient(135deg, rgba(200,146,42,.08), rgba(7,4,1,.38));
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:nth-child(1) { --hub-path-image: url("/assets/bands/pink-floyd-earls-court-1973-tim-duncan.webp"); }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:nth-child(2) { --hub-path-image: url("/assets/heroes/essential-listening-vinyl-headphones-hero.webp"); }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:nth-child(3) { --hub-path-image: url("/assets/history/beatles-studio-1966.webp"); }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:nth-child(4) { --hub-path-image: url("/assets/festivals/holland-pop-kralingen-1970/kralingen-crowd-and-stage-1970-1280.webp"); }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:nth-child(5) { --hub-path-image: url("/assets/heroes/sounds-moog-modular-1973-hero-v2.webp"); }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:nth-child(6) { --hub-path-image: url("/assets/heroes/genres-vintage-record-store-hero.webp"); }

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:hover,
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:focus-visible {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 18px 46px rgba(0,0,0,.36);
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:hover::before,
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path:focus-visible::before {
  filter: saturate(.82) sepia(.08) brightness(.7);
  transform: scale(1.08);
}

.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path strong { color: #f4e5c4; }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path p { color: #d0b37b; }
.hub-page--visual-refresh .hub-path-grid--illustrated .hub-path em { color: #efad45; }

.hub-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.hub-route {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--border-dim);
  background: var(--card);
}

.hub-route img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.3) saturate(.82);
  transition: transform .45s, filter .45s;
}

.hub-route::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,5,1,.98), rgba(8,5,1,.08) 78%);
}

.hub-route:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.hub-route:hover img {
  transform: scale(1.04);
  filter: brightness(.4) saturate(1);
}

.hub-route__copy {
  position: relative;
  z-index: 1;
  padding: 27px;
}

.hub-route strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}

.hub-route span {
  display: block;
  max-width: 540px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.hub-note {
  margin-top: 24px;
  padding: 20px 23px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  color: var(--muted);
}

/* History & Culture hub */
.hub-hero--history-culture {
  min-height: 680px;
  place-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: clamp(38px, 7vw, 110px);
  padding-inline: max(28px, calc((100vw - 1400px) / 2));
  text-align: left;
  background:
    radial-gradient(circle at 82% 38%, rgba(225,132,36,.2), transparent 28%),
    linear-gradient(115deg, #0a0703 0 48%, #211104 100%);
}

.hub-hero--history-culture .hub-hero__inner {
  align-self: center;
  max-width: 680px;
}

.hub-hero--history-culture .hub-hero__lead { margin-inline: 0; }
.hub-hero--history-culture .hub-quicklinks { justify-content: flex-start; }
.hub-hero--history-culture h1 { font-size: clamp(4.8rem, 8vw, 8.5rem); }

.history-hero-collage {
  position: relative;
  align-self: stretch;
  min-height: 540px;
}

.history-hero-collage figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  background: #080603;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}

.history-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.18) saturate(.84) contrast(1.05);
}

.history-hero-collage figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,4,1,.88), transparent 45%);
}

.history-hero-collage figure span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 15px;
  color: var(--text);
  font: 600 .64rem/1 var(--ui);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.history-hero-collage__main { inset: 13% 2% 10% 19%; }
.history-hero-collage__top {
  width: 42%;
  height: 35%;
  top: 2%;
  right: 0;
  transform: rotate(2deg);
}
.history-hero-collage__bottom {
  width: 46%;
  height: 34%;
  left: 0;
  bottom: 1%;
  transform: rotate(-2deg);
}

.history-ledger {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -36px;
  border: 1px solid var(--border);
  background: #0b0703;
}

.history-ledger div {
  padding: 25px 24px;
  border-right: 1px solid var(--border-dim);
}

.history-ledger div:last-child { border-right: 0; }
.history-ledger strong,
.history-ledger span { display: block; }

.history-ledger strong {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: .9;
}

.history-ledger span {
  margin-top: 9px;
  color: var(--muted);
  font: 600 .62rem/1.3 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-era-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
}

.history-era {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: var(--card);
}

.history-era:last-child { border-right: 0; }

.history-era img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.34) saturate(.72);
  transition: transform .45s, filter .45s;
}

.history-era::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,4,1,.98) 10%, rgba(7,4,1,.12) 78%);
}

.history-era:hover img {
  transform: scale(1.045);
  filter: brightness(.43) saturate(.9);
}

.history-era__copy {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.history-era__copy em,
.history-era__copy strong,
.history-era__copy span { display: block; }

.history-era__copy em {
  color: var(--accent);
  font: 600 .65rem/1 var(--ui);
  font-style: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.history-era__copy strong {
  margin-top: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: .96;
  text-transform: uppercase;
}

.history-era__copy span {
  margin-top: 11px;
  color: var(--muted);
  line-height: 1.48;
}

.history-feature-stack {
  display: grid;
  gap: 20px;
}

.history-feature {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) 1.15fr;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.history-feature--reverse { grid-template-columns: 1.15fr minmax(300px, .85fr); }
.history-feature--reverse img { order: 2; }

.history-feature img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: saturate(.82);
  transition: filter .4s, transform .4s;
}

.history-feature > span {
  align-self: center;
  padding: clamp(28px, 5vw, 58px);
}

.history-feature em,
.history-feature strong,
.history-feature span,
.history-feature b { display: block; }

.history-feature em {
  color: var(--accent);
  font: 600 .67rem/1 var(--ui);
  font-style: normal;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.history-feature strong {
  max-width: 740px;
  margin-top: 13px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: .94;
  text-transform: uppercase;
}

.history-feature > span > span {
  max-width: 680px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.history-feature b {
  margin-top: 23px;
  color: var(--accent);
  font: 600 .68rem/1 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-feature:hover { border-color: var(--gold); }
.history-feature:hover img {
  transform: scale(1.02);
  filter: saturate(1);
}

.history-exit {
  padding: clamp(35px, 6vw, 66px);
  border: 1px solid var(--border);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(225,132,36,.15), transparent 52%),
    var(--card);
}

.history-exit h2 {
  max-width: 900px;
  margin: 11px auto 15px;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: .94;
  text-transform: uppercase;
}

.history-exit > p:not(.section-label) {
  max-width: 780px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.history-exit > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .hub-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-hero--history-culture {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .history-hero-collage {
    width: min(100%, 720px);
    min-height: 500px;
    margin-inline: auto;
  }
  .history-ledger,
  .history-era-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-ledger div:nth-child(2) { border-right: 0; }
  .history-ledger div:nth-child(-n+2) { border-bottom: 1px solid var(--border-dim); }
  .history-era:nth-child(2) { border-right: 0; }
  .history-era:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 700px) {
  .hub-feature { grid-template-columns: 1fr; }
  .hub-feature__image { min-height: 0; aspect-ratio: 1; }
  .hub-route-grid,
  .hub-path-grid { grid-template-columns: 1fr; }
  .hub-path { min-height: auto; }
  .hub-route { min-height: 270px; }
  .hub-hero--history-culture { padding-inline: 22px; }
  .hub-hero--history-culture h1 { font-size: clamp(4rem, 19vw, 6rem); }
  .hub-page--visual-refresh .hub-hero--music,
  .hub-page--visual-refresh .hub-hero--discover {
    min-height: 600px;
    padding: 112px 22px 82px;
    background-position: 64% center;
  }
  .hub-page--visual-refresh .hub-hero--music .hub-hero__inner,
  .hub-page--visual-refresh .hub-hero--discover .hub-hero__inner { width: 100%; }
  .hub-page--visual-refresh .hub-hero--music h1,
  .hub-page--visual-refresh .hub-hero--discover h1 { font-size: clamp(4.8rem, 24vw, 7rem); }
  .hub-hero__credit { right: 22px; bottom: 13px; max-width: calc(100% - 44px); }
  .history-hero-collage { min-height: 380px; }
  .history-ledger {
    grid-template-columns: 1fr 1fr;
    margin-top: -20px;
  }
  .history-ledger div { padding: 20px 17px; }
  .history-era-grid { grid-template-columns: 1fr; }
  .history-era,
  .history-era:nth-child(2) {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .history-era:last-child { border-bottom: 0; }
  .history-feature,
  .history-feature--reverse { grid-template-columns: 1fr; }
  .history-feature--reverse img { order: 0; }
  .history-feature img {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
}
