/* Barlow Condensed (SIL Open Font License), self-hosted */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Brown / cream / yellow palette, taken from the top panel and Home hero */
:root {
  --color-bg: #26201b;
  --color-bg-deep: #1b1612;
  --color-surface: rgba(255, 247, 229, 0.05);
  --color-text: #fff7e5;
  --color-muted: #cdbfa8;
  --color-border: rgba(255, 247, 229, 0.16);
  --color-accent: #ffa200;
  /* Top panel (header + menu) */
  --color-panel: #26201b;
  --color-panel-text: #fff7e5;
  --color-panel-accent: #ffa200;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

a {
  color: var(--color-accent);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  position: relative;
  /* Full width, same side spacing as the Home hero text so the names line up */
  padding: 0.55rem clamp(1.5rem, 6vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  color: var(--color-panel-text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(255, 247, 229, 0.35);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--color-panel-text);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-panel-text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  right: clamp(1.5rem, 6vw, 6rem);
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--color-panel);
  border: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 40px rgba(38, 32, 27, 0.35);
}

.nav-menu.open {
  display: block;
}

.nav-menu a {
  display: block;
  color: var(--color-panel-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--color-panel-text);
  background: rgba(255, 247, 229, 0.08);
}

.nav-menu a[aria-current="page"] {
  color: var(--color-panel-accent);
  font-weight: 700;
  border-left-color: var(--color-panel-accent);
}

main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.hero {
  /* Fill the screen below the sticky top panel (about 61px tall) */
  min-height: calc(100vh - 61px);
  min-height: calc(100svh - 61px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem clamp(1.5rem, 6vw, 6rem) 14vh;
  background:
    radial-gradient(ellipse 28% 32% at 92% 62%, rgba(38, 32, 27, 0.5), transparent),
    linear-gradient(to right, rgba(38, 32, 27, 0.7) 0%, rgba(38, 32, 27, 0.4) 25%, transparent 50%),
    url("images/home_background.webp") center 35% / cover no-repeat,
    var(--color-panel);
}

.hero.gear-hero {
  background:
    linear-gradient(to right, rgba(38, 32, 27, 0.68), rgba(38, 32, 27, 0.08) 75%),
    url("images/tools-hero.webp") center 42% / cover no-repeat,
    var(--color-panel);
}

.gear-hero .hero-content {
  max-width: 52rem;
}

.hero.gear-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
}

/* Shows hero: shorter than the full-screen heroes so the list stays close; text sits in the open smoke on the right */
.hero.shows-hero {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: clamp(24rem, 60vh, 38rem);
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
  margin-bottom: 3rem;
  background:
    linear-gradient(to left, rgba(38, 32, 27, 0.72), rgba(38, 32, 27, 0.1) 60%),
    url("images/shows-hero.webp") 20% top / cover no-repeat,
    var(--color-panel);
}

.hero.shows-hero.remote-hero {
  background:
    linear-gradient(to left, rgba(38, 32, 27, 0.55), rgba(38, 32, 27, 0) 60%),
    url("images/remote-recording-hero.webp") 20% top / cover no-repeat,
    var(--color-panel);
}

.hero.shows-hero.contact-hero {
  background:
    linear-gradient(to left, rgba(38, 32, 27, 0.6), rgba(38, 32, 27, 0) 55%),
    url("images/contact-hero.webp") 35% top / cover no-repeat,
    var(--color-panel);
}

.shows-hero .hero-content {
  display: block;
  max-width: 30rem;
}

.hero.shows-hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
}

.gear-content {
  display: grid;
  gap: 3.5rem;
}

.gear-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.gear-section--basses {
  grid-template-columns: 1fr;
  row-gap: 1rem;
}

.gear-section--basses .gear-photo {
  grid-column: 1 / -1;
}

.gear-section--reverse .gear-photo {
  order: 2;
}

.gear-photo {
  margin: 0;
}

.gear-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.gear-copy h2,
.gear-copy h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.gear-intro {
  margin: 0 0 2rem;
  color: var(--color-muted);
}

.gear-copy p {
  margin: 0 0 1rem;
}

.gear-equipment {
  color: var(--color-text);
  font-weight: 600;
}

.gear-note {
  color: var(--color-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.remote-intro.prose {
  max-width: none;
  margin-bottom: 4rem;
}

.remote-intro .section-label {
  text-align: left;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.remote-section {
  margin-top: 4rem;
}

.remote-section > .section-label {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.remote-offers {
  grid-template-columns: 1fr;
}

.remote-offers .card {
  padding: 1.5rem;
}

.remote-offers .card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.remote-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0;
}

.remote-steps li {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
}

.remote-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--color-accent);
}

.remote-steps p,
.remote-offers .card p {
  margin: 0;
  color: var(--color-muted);
}

.remote-gear,
.remote-contact {
  text-align: center;
}

.remote-contact {
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
}

.remote-contact h2 {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-size: 1.75rem;
}

.hero-content {
  max-width: 34rem;
  text-align: left;
}

.hero .eyebrow {
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* Short accent line between the name and the tagline */
.hero h1::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 1.5rem;
  background: var(--color-panel-accent);
  border-radius: 2px;
}

.hero p {
  color: var(--color-panel-text);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* Sponsors, bottom right of the hero, level with the tagline */
.hero-sponsors {
  text-align: center;
}

/* PC: the name and the sponsors share a row, so the sponsor block sits
   level with VICTOR TUGORES; the tagline goes on the row below */
@media (min-width: 721px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name    sponsors"
      "tagline .";
    align-content: end;
    gap: 0 2rem;
  }

  .hero-content {
    display: contents;
  }

  .hero h1 {
    grid-area: name;
  }

  .hero-content p {
    grid-area: tagline;
  }

  .hero-sponsors {
    grid-area: sponsors;
    align-self: center;
  }
}

.hero .hero-sponsors-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.hero-sponsors-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero-sponsors-logos img {
  width: auto;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.5));
}

.logo-sandberg {
  height: 3.4rem;
}

.logo-ergo {
  height: 2.35rem;
}

/* Phones: name and tagline at the top, sponsors at the bottom, each over a
   dark fade, leaving his face in the middle of the photo clear */
@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    background:
      linear-gradient(to bottom, rgba(38, 32, 27, 0.92) 0%, rgba(38, 32, 27, 0.6) 30%, transparent 50%),
      linear-gradient(to top, rgba(38, 32, 27, 0.92) 0%, rgba(38, 32, 27, 0.5) 20%, transparent 35%),
      url("images/home_background.webp") 44% center / cover no-repeat,
      var(--color-panel);
  }

  .hero-content {
    text-align: center;
  }

  .hero h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  /* Small enough that each tagline sentence stays on one line */
  .hero p {
    font-size: min(1.05rem, 4.3vw);
  }

  .hero-sponsors {
    margin-bottom: 0;
  }

  .hero-sponsors-logos {
    gap: 0.9rem;
  }

  .logo-sandberg {
    height: 2.4rem;
  }

  .logo-ergo {
    height: 1.65rem;
  }
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 4rem 0;
}

.about {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.about h2,
.collaborators h2,
.contact h2 {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.about p {
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-text);
}

.collaborators {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.collaborator-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-weight: 400;
  font-size: 1.25rem;
}

.collaborator-list b {
  font-weight: 700;
}

.collaborator-list a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.collaborator-list a:hover {
  color: var(--color-muted);
  border-color: var(--color-border);
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 1.25rem;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

a.contact-link:hover {
  border-color: var(--color-text);
  opacity: 1;
}

.contact-icon {
  width: 22px;
  height: 22px;
  display: block;
  /* The icons are black circles; invert them so they show on the dark background */
  filter: grayscale(1) invert(0.96);
}

footer {
  border-top: 1px solid var(--color-border);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-content a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--color-text);
}

h1 {
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

h2 {
  font-weight: 400;
}

.impressum h1 {
  text-align: center;
  margin-bottom: 3rem;
}

.impressum section {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.impressum h2 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.impressum p,
.impressum address {
  font-weight: 400;
  color: var(--color-text);
}

.impressum h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 1.75rem 0 0.5rem;
}

.impressum p + p {
  margin-top: 1rem;
}

.impressum a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
}

.impressum a:hover {
  text-decoration-color: var(--color-text);
}

address {
  font-style: normal;
}

/* Inner pages */

.page-title {
  text-align: center;
  margin: 1rem 0 3.5rem;
}

.page-title h1,
.impressum h1 {
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.page-title p {
  color: var(--color-muted);
  font-weight: 400;
  max-width: 40rem;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  text-align: center;
}

.prose {
  max-width: 50rem;
  margin: 0 auto;
  font-weight: 400;
  font-size: 1.25rem;
}

.prose p {
  margin: 0 0 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.split img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.split .prose {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem;
  font-weight: 400;
  transition: border-color 0.2s ease;
}

a.card {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

a.card:hover {
  border-color: var(--color-muted);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
}

.card .meta {
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

/* Placeholder tile for artwork, photos and video */
.tile {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #3a3029, var(--color-bg-deep));
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 162, 0, 0.75);
  font-size: 2.5rem;
}

.tile.wide {
  aspect-ratio: 16 / 9;
}

.show-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 60rem;
}

.show-list li {
  display: grid;
  grid-template-columns: 9.5rem 9rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
}

.show-list li:first-child {
  border-top: 1px solid var(--color-border);
}

.show-date {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.show-band {
  font-weight: 500;
  color: var(--color-text);
}

.show-name {
  font-weight: 400;
  color: var(--color-text);
}

.show-location {
  color: var(--color-accent);
}

.show-location::before {
  content: "\00b7";
  color: var(--color-muted);
  margin: 0 0.5rem 0 0.25rem;
}

.button {
  display: inline-block;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 700;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  padding: 0.6rem 1.5rem;
  margin-top: 2.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
}

.center {
  text-align: center;
}

@media (max-width: 720px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split img {
    max-width: 240px;
    margin: 0 auto;
    display: block;
  }

  .show-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

}

.card-title {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

/* Harvest Hearth accents */

.section-label,
.about h2,
.collaborators h2,
.contact h2,
.impressum h2 {
  color: var(--color-accent) !important;
}

.divider {
  border-top-color: transparent;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
  opacity: 0.6;
}

.card {
  background: var(--color-surface);
}

a.card:hover {
  border-color: var(--color-accent);
}

.card .meta {
  color: var(--color-accent);
}

.page-title h1,
.impressum h1 {
  color: var(--color-text);
}

.page-title h1::after,
.impressum h1::after {
  content: "";
  display: block;
  width: 5rem;
  height: 5px;
  margin: 1.25rem auto 0;
  background: var(--color-accent);
  border-radius: 2px;
}

footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
}

.footer-content,
.footer-content a {
  color: var(--color-muted);
}

.footer-content a:hover {
  color: var(--color-accent);
}

/* Typography roles (Barlow Condensed weights)
   900 Black    -> large VICTOR TUGORES title
   700 Bold     -> headings and buttons
   600 SemiBold -> top navigation
   500 Medium   -> subtitles
   400 Regular  -> body text */

.hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--color-panel-text);
}

h1,
h2,
h3,
.page-title h1,
.impressum h1,
.section-label,
.about h2,
.collaborators h2,
.contact h2,
.impressum h2,
.impressum h3,
.card h3,
.card-title,
.show-name,
.button {
  font-weight: 700;
}

.nav-brand {
  font-weight: 900;
}

.nav-menu a {
  font-weight: 600;
}

.hero p,
.page-title p,
.card .meta,
.show-date,
.show-location,
.footer-content {
  font-weight: 500;
}

/* Barlow Condensed is narrow, so small uppercase labels need a larger size */
.nav-brand {
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.nav-menu a {
  font-size: 1.12rem;
  letter-spacing: 0.06em;
}

.section-label,
.about h2,
.collaborators h2,
.contact h2,
.impressum h2 {
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.card .meta,
.show-date,
.footer-content,
.button {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* Wide screens: show all menu items inline in the top bar, hide the hamburger */
@media (min-width: 1360px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu,
  .nav-menu.open {
    display: flex;
    gap: 0.25rem;
    position: static;
    min-width: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-menu a {
    white-space: nowrap;
    padding: 0.4rem 0.7rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }

  .nav-menu a:hover {
    background: none;
    border-bottom-color: rgba(255, 247, 229, 0.4);
  }

  .nav-menu a[aria-current="page"] {
    border-bottom-color: var(--color-panel-accent);
  }
}

/* Shows page: loading / empty / error message in place of the list */
.show-list li.show-message,
p.show-message {
  display: block;
  color: var(--color-muted);
  text-align: center;
}

/* Music page: portfolio grid of record covers, filled from music.txt */
.record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: 1rem;
}

.card.record {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.75rem 1rem;
}

.record-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 0.9rem;
  transition: transform 0.25s ease;
}

.record-cover-link {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 0.9rem;
}

.record-cover-link .record-cover {
  margin-bottom: 0;
}

.record-cover-link:hover .record-cover {
  transform: scale(1.03);
}

.card.record .meta {
  margin-bottom: 0.25rem;
}

.card.record h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.record-artists {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.record-listen {
  margin-top: auto;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-message {
  grid-column: 1 / -1;
  color: var(--color-muted);
  text-align: center;
}

@media (min-width: 721px) {
  .record-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }
}

/* Placeholder when a record has no cover (or the image file is missing) */
.tile.record-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--color-accent);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 162, 0, 0.14), transparent 60%),
    linear-gradient(135deg, #3a3029, var(--color-bg-deep));
}

/* About page: the bio text wraps around the photo */
.about-bio .prose {
  max-width: none;
}

.about-bio .prose::after {
  content: "";
  display: block;
  clear: both;
}

.about-photo {
  float: left;
  width: 560px;
  max-width: 100%;
  height: auto;
  margin: 0.35rem 2rem 1rem 0;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.about-band-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

/* Smaller screens: the wide stage photo goes full width above the text */
@media (max-width: 1000px) {
  .about-photo {
    float: none;
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 1.5rem;
  }
}

.about-closing {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 1.15rem;
}

/* About bio: regular text slightly dimmed so the highlighted words stand out */
.about-bio .prose p {
  color: var(--color-muted);
}

.about-bio strong {
  color: var(--color-text);
  font-weight: 700;
}

.about-bio .prose p.about-closing {
  color: var(--color-accent);
}

/* Music page: wider cards for compact Spotify players */
.record-grid.record-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.record-player {
  display: block;
  height: 80px;
  margin-top: auto;
  border: 0;
  border-radius: 4px;
}

/* Music page: Victor's role on the recording, after the title */
.record-role {
  color: var(--color-accent);
  font-weight: 500;
}

/* Music page: space between the Original Compositions and Recordings sections */
.record-section + .record-section {
  margin-top: 4rem;
}

/* Florence Nova page: long-form story */
.story.prose {
  max-width: none;
}

.story h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 3rem 0 1rem;
  color: var(--color-text);
}

.story-section:first-child h2 {
  margin-top: 0;
}

.story p {
  color: var(--color-muted);
}

.story .story-quote {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--color-accent);
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.story-list li {
  color: var(--color-text);
  font-weight: 600;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 0.3rem 1rem;
}

/* Florence Nova page: full-screen photo header, text at the top centre */
.fn-hero {
  min-height: calc(100vh - 61px);
  min-height: calc(100svh - 61px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -3rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 9.5vh 1.5rem 2rem;
  /* The photo (cropped to the basses) scales with the height, so the basses are
     never cut at the sides; narrower screens crop its empty sides, wider screens
     extend them with a 1px strip of the photo's own background */
  /* Photo at 113% of the header height, shifted so the headstocks sit just below
     the subtitle and only the empty reflection at the bottom is cut off */
  background:
    url("images/florence_nova_background.webp") center top calc((100vh - 61px) * 0.06) / auto 113% no-repeat,
    url("images/florence_nova_edge.png") center top calc((100vh - 61px) * 0.06) / 100% 113% no-repeat,
    #594e45; /* the photo's top colour, above the photo */
}

.fn-hero-text {
  max-width: 52rem;
  text-align: center;
}

.fn-hero h1 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.fn-hero h1::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin: 1rem auto 0.9rem;
  background: var(--color-accent);
  border-radius: 2px;
}

.fn-hero p {
  margin: 0;
  color: var(--color-accent);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Phones: the wide photo can't fill a tall screen without losing the basses,
   so it is shown in full at the bottom, below the text */
@media (max-width: 720px) {
  .fn-hero {
    min-height: 0;
    padding: 3rem 1.25rem 62vw;
    background:
      url("images/florence_nova_background.webp") center bottom / 100% auto no-repeat,
      #594e45; /* same colour as the photo's top edge, so there is no seam */
  }

  .hero.gear-hero {
    justify-content: flex-end;
    background:
      linear-gradient(to bottom, rgba(38, 32, 27, 0.82), rgba(38, 32, 27, 0.08) 75%),
      linear-gradient(to top, rgba(38, 32, 27, 0.58), transparent 55%),
      url("images/tools-hero.webp") center 42% / cover no-repeat,
      var(--color-panel);
  }

  .hero.shows-hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-height: 34rem;
    padding: 2rem 1.25rem 2rem;
    background:
      linear-gradient(to top, rgba(38, 32, 27, 0.88), rgba(38, 32, 27, 0.15) 60%),
      url("images/shows-hero.webp") 18% top / cover no-repeat,
      var(--color-panel);
  }

  .shows-hero .hero-content {
    text-align: center;
  }

  .hero.shows-hero.remote-hero {
    background:
      linear-gradient(to top, rgba(38, 32, 27, 0.88), rgba(38, 32, 27, 0.15) 60%),
      url("images/remote-recording-hero.webp") 18% top / cover no-repeat,
      var(--color-panel);
  }
  .hero.shows-hero.contact-hero {
    background:
      linear-gradient(to top, rgba(38, 32, 27, 0.88), rgba(38, 32, 27, 0.15) 60%),
      url("images/contact-hero.webp") 35% top / cover no-repeat,
      var(--color-panel);
  }
}

/* Florence Nova page: finish and development photos */
.finishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.finish {
  margin: 0;
}

.story-figure {
  width: min(100%, 34rem);
  margin: 1.5rem auto 2rem;
}

.story-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.story-figure figcaption {
  margin-top: 0.6rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

.finish img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--color-bg-deep);
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.finish figcaption {
  text-align: center;
  font-weight: 700;
  color: var(--color-text);
}

/* Florence Nova page: links to the Sandberg configurator and website */
.story-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 3rem 0 1rem;
}

.story-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s ease;
}

.story-link:hover {
  border-color: var(--color-accent);
}

.story-link-label {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
}

.story-link .button {
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .gear-content {
    gap: 2.5rem;
  }

  .gear-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gear-section--reverse .gear-photo {
    order: 0;
  }

  .finishes {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .story-links {
    grid-template-columns: 1fr;
  }
}

/* Endorsements page */
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.endorse {
  padding: 2rem 1.75rem;
}

.endorse-logo {
  display: block;
  width: auto;
  height: 3.5rem;
  max-width: 100%;
  margin: 0.5rem auto 1.5rem;
}

/* Text stand-in for brands without a logo file yet (same height as the logos) */
.endorse-wordmark {
  height: 3.5rem;
  margin: 0.5rem auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* Spotify player above the banners: full content width */
.spotify-embed {
  width: 100%;
  margin: 0 auto 3rem;
}

.spotify-embed iframe {
  display: block;
  width: 100%;
}

/* Ponce banner: text stack and player centred at the top; sizes scale with the banner width */
.music-feature-content {
  position: absolute;
  top: 1.5cqw;
  left: 50%;
  width: 44cqw;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5cqw;
}

.music-album-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(352px, calc(100% - 2rem));
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Tribubu banner: album cover sits on the left, so the player goes to the right of centre */
.music-feature-banner-offset > .music-album-player {
  left: auto;
  right: 5cqw;
  width: min(45cqw, 520px);
  transform: translateY(-50%);
}

/* Fixed 352px height: Spotify only shows its large player at this size */
.music-feature-banner-offset > .music-album-player iframe {
  height: 352px;
  border-radius: 12px;
}

.music-feature-content .music-album-player {
  --player-scale: 0.7;
  position: static;
  width: 36cqw;
  height: calc(352px * var(--player-scale));
  transform: none;
}

/* Large Spotify layout needs 352px of height, so it is scaled down to fit the banner */
.music-feature-content .music-album-player iframe {
  width: calc(100% / var(--player-scale));
  height: 352px;
  border-radius: 12px;
  transform: scale(var(--player-scale));
  transform-origin: top left;
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.5);
}

.music-banner-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.music-banner-copy p {
  margin: 0;
  line-height: 1.15;
}

.banner-artist {
  font-size: 1.8cqw;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin-right: -0.4em;
}

.banner-title {
  font-size: 5.4cqw;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(180deg, #f6dfa6 0%, #d9a85a 55%, #a8772f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.banner-award {
  font-size: 2.1cqw;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 0.6cqw;
}

.banner-category {
  font-size: 1.8cqw;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.banner-credit {
  font-size: 1.1cqw;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 0.8cqw;
}

.banner-listen {
  margin-top: 0.8cqw;
  padding: 0.35cqw 3cqw;
  border: 1px solid #d9a85a;
  border-radius: 999px;
  color: #fff;
  font-size: 1.4cqw;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.banner-listen:hover {
  background: rgba(217, 168, 90, 0.2);
}

/* Credit line on the Tribubu banner, centred under the album cover */
.banner-caption {
  position: absolute;
  left: 3cqw;
  width: 44cqw;
  bottom: 1.8cqw;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 2.4cqw;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a3825;
}

.catalan-geminated-dot {
  position: relative;
  display: inline-block;
  width: 0.25rem;
  color: transparent;
  font-size: 0;
  vertical-align: baseline;
}

.catalan-geminated-dot::after {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: var(--color-text);
  content: "";
  transform: translateX(-50%);
}

.music-album-player iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
}

.music-feature-banner {
  position: relative;
  container-type: inline-size;
  border-radius: 14px;
  overflow: hidden;
}

/* Music banners match the page content width */
.music-banners {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 0 0 3rem;
}

/* Banner placed between record sections: same spacing as between the sections */
.record-section + .music-banners {
  margin-top: 4rem;
}

.music-banners img {
  display: block;
  width: 100%;
  height: auto;
}

/* Tribubu banner must be tall enough (about 380px) to hold the large player */
@media (max-width: 1200px) {
  /* The banner grows to hold the player; the panel matches the photo's bottom edge */
  .music-feature-banner-offset {
    background: #d9c5b0;
  }

  .music-feature-banner-offset > .music-album-player {
    position: static;
    width: 100%;
    transform: none;
    padding: 1.5rem 1rem;
  }

  .banner-caption {
    position: static;
    width: auto;
    white-space: normal;
    padding: 0 1rem 1.5rem;
    font-size: 1.2rem;
  }
}

/* Ponce banner: too narrow for the overlay, so the text and player go below the image */
@media (max-width: 1200px) {
  .music-feature-content {
    position: static;
    width: 100%;
    transform: none;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: #3a0d08;
  }

  .banner-artist { font-size: 0.9rem; }
  .banner-title { font-size: 3rem; }
  .banner-award { font-size: 1.1rem; }
  .banner-category { font-size: 1rem; }
  .banner-credit { font-size: 0.85rem; }
  .banner-listen { font-size: 0.9rem; padding: 0.35rem 1.5rem; }

  .music-feature-content .music-album-player {
    width: 100%;
    height: auto;
  }

  .music-feature-content .music-album-player iframe {
    width: 100%;
    height: 352px;
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .endorse-grid,
  .record-grid.record-grid-wide {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* About highlights: stretch cards across the full row */
.about-highlights {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Language dropdown (last item in the nav menu) */
.lang-menu summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  cursor: pointer;
  color: var(--color-panel-text);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: inherit;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-left: 3px solid transparent;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin: -0.2rem 0 0 0.25rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lang-menu[open] summary::after {
  margin-top: 0.2rem;
  transform: rotate(-135deg);
}

.lang-menu summary:hover {
  background: rgba(255, 247, 229, 0.08);
}

.lang-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu .lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 2.5rem;
}

.nav-menu .lang-menu a[aria-current="true"] {
  color: var(--color-panel-accent);
  font-weight: 700;
}

.lang-menu summary::before,
.lang-menu a::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 0.85rem;
  border-radius: 2px;
  background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 247, 229, 0.3);
}

.lang-menu [data-lang="en"]::before,
.lang-menu a[hreflang="en"]::before {
  background-image: url("images/flag-gb.svg");
}

.lang-menu [data-lang="es"]::before,
.lang-menu a[hreflang="es"]::before {
  background-image: url("images/flag-es.svg");
}

.lang-menu [data-lang="ca"]::before,
.lang-menu a[hreflang="ca"]::before {
  background-image: url("images/flag-ca.svg");
}

@media (min-width: 1360px) {
  .nav-menu .lang-switch {
    position: relative;
    align-self: center;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(255, 247, 229, 0.3);
  }

  .lang-menu summary {
    padding: 0.4rem 0.7rem;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .lang-menu ul {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 10rem;
    padding: 0.5rem 0;
    background: var(--color-panel);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 16px 40px rgba(38, 32, 27, 0.35);
  }

  .nav-menu .lang-menu a {
    padding: 0.6rem 1.25rem;
    border-bottom: none;
  }

  .nav-menu .lang-menu a:hover {
    background: rgba(255, 247, 229, 0.08);
  }
}
