* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --text: #e8e8e8;
  --text-soft: #b8b8b8;
  --title: #ffffff;
  --accent: #c9c9c9;
  --max-width: 1080px;
  --radius: 18px;
}

body {
  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.94)),
    url('../images/background-home.jpg') center center / cover no-repeat fixed;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, 0.56) 100%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  color: var(--title);
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.80rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1.7px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.nav a {
  font-size: 0.94rem;
  color: var(--text-soft);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav a:hover { color: var(--title); }

.fragment-page {
  padding: 72px 0 88px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: 0.92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.back-link:hover { color: var(--title); }

.fragment-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.cover-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cover-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
}

.fragment-content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(4px);
}

.fragment-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--title);
  font-weight: 600;
  margin-bottom: 12px;
}

.year {
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.86rem;
  margin-bottom: 26px;
}

.fragment-text p {
  color: var(--text-soft);
  margin-bottom: 16px;
  font-size: 1rem;
}

.audio-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.audio-box span {
  display: block;
  margin-bottom: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.76rem;
}

audio {
  width: 100%;
  filter: grayscale(100%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--title);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.other-fragments {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.other-fragments h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--title);
  margin-bottom: 14px;
  font-weight: 600;
}

.fragment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fragment-links a {
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  transition: all 0.25s ease;
}

.fragment-links a:hover {
  color: var(--title);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-text {
  color: var(--text-soft);
  font-size: 0.91rem;
  position: relative;
  z-index: 1;
}

.footer-text strong {
  color: var(--title);
  font-weight: 500;
}


.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.language-switcher a {
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.language-switcher a:hover,
.language-switcher a.is-active {
  color: var(--title);
}

.language-separator {
  opacity: 0.45;
}

@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .fragment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.95)),
      url('../images/background-home.jpg') center center / cover no-repeat;
  }

  .fragment-content {
    padding: 24px 22px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* WT language suggestion banner */
    .wt-language-banner {
      position: fixed;
      left: 50%;
      bottom: 22px;
      transform: translateX(-50%);
      width: min(92%, 760px);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 18px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 16px;
      background: rgba(8, 8, 8, 0.92);
      color: var(--text);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(10px);
    }

    .wt-language-banner.is-visible {
      display: flex;
    }

    .wt-language-banner-text {
      color: var(--text-soft);
      font-size: 0.94rem;
      line-height: 1.45;
    }

    .wt-language-banner-text strong {
      color: var(--title);
      font-weight: 500;
    }

    .wt-language-banner-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      flex-shrink: 0;
    }

    .wt-language-banner-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 14px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: var(--title);
      font-size: 0.78rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .wt-language-banner-button:hover {
      background: rgba(255, 255, 255, 0.14);
      transform: translateY(-1px);
    }

    .wt-language-banner-button.is-secondary {
      background: transparent;
      color: var(--text-soft);
    }

    .wt-language-banner-button.is-secondary:hover {
      color: var(--title);
    }

    @media (max-width: 640px) {
      .wt-language-banner {
        bottom: 14px;
        align-items: stretch;
        flex-direction: column;
        padding: 15px;
      }

      .wt-language-banner-actions {
        width: 100%;
      }

      .wt-language-banner-button {
        flex: 1;
      }
    }
