/* Home — full-photo poster hero with the sub-page link strip */

.hero-full {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(70vh, 640px);
  padding: 96px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 24, 28, 0.05) 0%, rgba(20, 24, 28, 0.35) 45%, var(--bg) 96%),
    linear-gradient(90deg, rgba(var(--wine-rgb), 0.55) 0%, transparent 45%);
}

.hero-full__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  filter: saturate(0.88) contrast(1.05);
}

.hero-full .wrap {
  position: relative;
  z-index: 2;
  padding: 64px 32px 85px;
}

.hero-full h1 {
  color: var(--text);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.hero-full__wordmark {
  width: auto;
  height: clamp(20px, 2.6vw, 30px);
  margin: 14px 0 0 auto;
}

.subpage-links {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: calc(100% - 64px);
  max-width: 1180px;
  transform: translateX(-50%);
}

.subpage-links a {
  flex: 0 0 12.5%;
  min-width: 0;
  padding: 20px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(237, 233, 226, 0.82);
  font-size: clamp(0.75rem, 0.95vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  white-space: pre-line; /* lets a label carry its own line break */
  overflow-wrap: break-word;
  transition: color 0.15s;
}

.subpage-links a:hover {
  color: var(--brass-soft);
}

.subpage-links a:last-child {
  border-right: none;
}

@media (max-width: 860px) {
  .hero-full {
    min-height: 64vh;
    padding: 64px 0;
  }
}

@media (max-width: 700px) {
  .subpage-links {
    width: calc(100% - 20px);
  }

  .subpage-links a {
    flex-basis: 25%;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
  }

  .subpage-links a:nth-child(4n) {
    border-right: none;
  }

  .subpage-links a:nth-child(n + 5) {
    border-bottom: none;
  }
}
