@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&display=swap");

:root {
  --yellow: #FFD500;
  --green: #008000;
  --darkgreen: #006400;
  --card: rgba(255, 255, 255, 0.94);
  --ink: #24432a;
  --muted: rgba(36, 67, 42, 0.64);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Chakra Petch", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  background: var(--yellow);
  border-bottom: 1px solid transparent;
  pointer-events: none;
  z-index: 4;
  transition: border-color 180ms ease;
}

body.is-scrolled::before {
  border-bottom-color: #e8bf00;
}

.back-link {
  position: fixed;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  z-index: 5;
}

.back-link img {
  display: block;
  width: 42px;
  height: 42px;
}

.menu-link {
  position: fixed;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  z-index: 5;
}

.menu-link img {
  display: block;
  width: 42px;
  height: 42px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin: 0 auto 36px;
  max-width: 980px;
}

.profile-hero__media {
  display: flex;
  justify-content: flex-start;
}

.profile-hero__photo {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

h1 {
  margin: 0;
  color: var(--green);
  font-size: 4rem;
  line-height: 0.95;
  font-weight: 700;
}

.profile-hero__meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--green);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}

.profile-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.profile-hero__meta span + span::before {
  content: "•";
  width: auto;
  height: auto;
  background: none;
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
}

.profile-hero__summary {
  margin: 22px 0 0;
  max-width: 980px;
  color: var(--green);
  font-size: 0.96rem;
  line-height: 1.42;
  font-weight: 400;
}

.reference-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.reference-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #e8bf00;
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 400;
}

.reference-pills--profile-footer {
  max-width: 980px;
  margin: 36px auto 0;
}

.timeline {
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 36px;
}

.club-card {
  background: var(--card);
  border: 1px solid rgba(36, 67, 42, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.club-card__header {
  padding: 28px 28px 22px;
  border-bottom: 1px solid rgba(36, 67, 42, 0.18);
}

.club-card__name {
  margin: 0;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.club-card__dates {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 500;
}

.club-card__location {
  margin: 6px 0 0;
  color: var(--green);
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 500;
}

.club-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 22px;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.club-card__cta-arrow {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  transition: filter 180ms ease;
}

.club-card__cta:hover {
  background: var(--darkgreen);
  color: var(--yellow);
}

.club-card__cta:hover .club-card__cta-arrow {
  filter: brightness(0) saturate(100%) invert(82%) sepia(67%) saturate(1341%) hue-rotate(360deg) brightness(103%) contrast(104%);
}

.club-card__body {
  display: grid;
  gap: 0;
  padding: 0 28px;
}

.season {
  padding: 22px 0;
}

.season + .season {
  border-top: 1px solid rgba(36, 67, 42, 0.16);
}

.season__label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 700;
}

.season__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.season__item-title {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 700;
}

.season__item-context {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 500;
}

[data-shared-footer] {
  margin-top: 56px;
}

@media (max-width: 799px) {
  .page {
    padding-top: 96px;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-hero__media {
    justify-content: center;
  }

  .profile-hero__copy {
    text-align: center;
  }

  .profile-hero__meta {
    justify-content: center;
  }

  .reference-pills {
    justify-content: center;
  }

  .profile-hero__meta span + span::before {
    display: none;
  }

  .profile-hero__summary {
    font-size: 1rem;
  }

  .club-card__header,
  .club-card__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .club-card__name {
    font-size: 1.5rem;
  }

  .club-card__cta {
    justify-content: center;
  }
}
