:root {
  --bg: #000000;
  --text: #f5f3ee;
  --muted: #a6a39c;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --hero-width: 86rem;
  --reading-width: 47rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--text);
  font-family: "Newsreader", serif;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  background: #000;
}

.hero,
.content,
.site-footer {
  width: min(calc(100% - 2.5rem), 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  max-width: var(--hero-width);
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(18rem, 28rem) minmax(26rem, 1fr);
  align-items: end;
  gap: 3rem;
  padding: 2.5rem 0 1rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
  animation: rise 0.9s ease both;
}

.language-switcher {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.language-switcher select {
  appearance: none;
  min-width: 8.5rem;
  padding: 0.72rem 2.4rem 0.72rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.82) 50%) calc(100% - 1.05rem) calc(50% - 0.14rem) / 0.45rem 0.45rem no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 50%, transparent 50%) calc(100% - 0.75rem) calc(50% - 0.14rem) / 0.45rem 0.45rem no-repeat,
    transparent;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.language-switcher select:focus {
  outline: 1px solid rgba(255, 255, 255, 0.44);
  outline-offset: 2px;
}

.eyebrow,
.years,
thead th,
.timeline span,
.site-footer p,
cite,
.note,
.section-subtitle,
.footer-links,
.footer-links a,
.footer-meta {
  font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
}

h1 {
  margin: 0;
  font-size: clamp(4.25rem, 8vw, 7.8rem);
  line-height: 0.88;
  text-wrap: balance;
}

.years {
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.lead {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  max-width: 27rem;
}

.lead p {
  margin: 0.25rem 0;
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  line-height: 1.48;
}

.hero-image-wrap {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  min-height: 0;
  animation: rise 1.05s ease both;
}

.hero-image {
  width: min(100%, 50rem);
  object-fit: contain;
  filter: grayscale(1) contrast(1.03);
}

.content {
  max-width: var(--reading-width);
  padding: 3rem 0 8rem;
}

section {
  padding: 3rem 0 0;
}

section + section {
  margin-top: 1rem;
}

h2 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1;
}

h2::before {
  content: "";
  display: block;
  width: 3.75rem;
  height: 1px;
  margin-bottom: 1.15rem;
  background: var(--line-strong);
}

h3 {
  margin: 2.35rem 0 0.7rem;
  font-size: 1.85rem;
}

h4 {
  margin: 1.7rem 0 0.55rem;
  font-size: 1.2rem;
  color: var(--muted);
}

p,
li,
td,
th {
  font-size: 1.14rem;
  line-height: 1.9;
}

p {
  margin: 0 0 1.2rem;
}

.section-subtitle {
  margin: -0.4rem 0 1.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legacy-players {
  margin: 1.8rem 0 1.5rem;
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
  line-height: 1.6;
  color: #ffffff;
}

.timeline,
.book-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li,
.book-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: inline-block;
  min-width: 8.2rem;
  margin-right: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

tbody tr {
  border-top: 1px solid var(--line);
}

.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-right: 0.65rem;
  vertical-align: -0.18rem;
}

.result-icon.place {
  border-radius: 0;
  border: none;
}

.place-badge-icon {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.trophy-icon {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.quote-stream,
.testimonials {
  gap: 1rem;
}

.quote-stream {
  column-count: 2;
  column-gap: 1rem;
}

.quote-stream blockquote,
.testimonials blockquote,
.signature-quote {
  margin: 0 0 1rem;
  padding: 1.3rem 1.35rem 1.25rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
  position: relative;
}

.quote-stream blockquote {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-stream blockquote::before,
.testimonials blockquote::before,
.signature-quote::before {
  content: "“";
  position: absolute;
  left: 0.7rem;
  top: 0.3rem;
  font-family: "Bodoni Moda", serif;
  font-size: 3.5rem;
  line-height: 1;
  color: #ffffff;
}

.quote-stream p,
.testimonials p,
.signature-quote p {
  margin: 0;
  padding-top: 1.45rem;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.4;
}

cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.site-footer {
  max-width: var(--reading-width);
  padding: 2.25rem 0 4rem;
  border-top: 1px solid var(--line-strong);
}

.footer-name {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  color: var(--text);
}

.footer-years {
  margin: 0.65rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-quote {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid var(--line-strong);
}

.footer-quote p {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.footer-quote cite {
  margin-top: 0.65rem;
}

.footer-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.footer-links {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  line-height: 1.75;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.76);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.8rem;
  }

  .language-switcher {
    top: 0;
    right: 0;
    margin-top: max(0.2rem, env(safe-area-inset-top));
    margin-right: max(0.2rem, env(safe-area-inset-right));
    padding: 0.3rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-image-wrap {
    justify-content: center;
  }

  .hero-image {
    width: min(100%, 37rem);
  }
}

@media (max-width: 640px) {
  .language-switcher {
    top: 0;
    right: 0;
    margin-top: max(0.15rem, env(safe-area-inset-top));
    margin-right: max(0.15rem, env(safe-area-inset-right));
    padding: 0.24rem;
  }

  .language-switcher select {
    min-width: 7.35rem;
    padding: 0.64rem 2.2rem 0.64rem 0.78rem;
    font-size: 0.78rem;
  }

  .hero,
  .content,
  .site-footer {
    width: min(calc(100% - 1.5rem), 100%);
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 4.7rem);
  }

  p,
  li,
  td,
  th {
    font-size: 1.05rem;
    line-height: 1.82;
  }

  .timeline span {
    display: block;
    min-width: 0;
    margin-bottom: 0.18rem;
  }

  .quote-stream {
    column-count: 1;
  }

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

  .quote-stream p,
  .testimonials p,
  .signature-quote p {
    font-size: 1.32rem;
  }
}
