/* ==========================================================
   Sports page
   Loads after style.css and reuses its colour and type tokens
   ========================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.sp-hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.sp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  background: #E9E3D8;
}

@media (min-width: 1200px) {

  /* Shape the hero instead of using screen height, so a landscape
     photo is barely cropped on a big monitor. */
  .sp-hero {
    min-height: 0;
    aspect-ratio: 21 / 9;
    max-height: 720px;
  }
}

.sp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 17, .85) 0%, rgba(20, 19, 17, .3) 60%, rgba(20, 19, 17, .15) 100%);
}

.sp-hero-text {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(40px, 7vw, 80px);
}

.sp-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  margin-bottom: 10px;
}

.sp-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: #EBDDBF;
  margin: 0;
  max-width: 640px;
}

.crumb {
  font-size: 14px;
  color: #CFC6B4;
  margin-bottom: 14px;
}

.crumb a {
  color: var(--gold);
  text-decoration: none;
}

.crumb a:hover {
  color: #fff;
}

/* ---------- Intro ---------- */
.sp-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  padding-block: var(--space);
}

.sp-count {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  display: grid;
  justify-items: start;
}

.sp-count span {
  font: 700 clamp(96px, 14vw, 168px)/0.85 var(--serif);
  color: var(--gold-deep);
}

.sp-intro .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.45;
  max-width: 640px;
}

.sp-intro p:not(.lead):not(.sp-count) {
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}

/* ---------- Achievement ---------- */
.ach {
  padding-bottom: var(--space);
}

.ach h2 {
  margin-bottom: 32px;
}

.ach-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  background: var(--ink);
  color: #E8E1D3;
  border-radius: 4px;
  overflow: hidden;
  max-width: 960px;
}

.ach-photo {
  margin: 0;
  min-height: 380px;
}

.ach-photo img,
.ach-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ach-photo img {
  object-position: 78% 35%;
  display: block;
  background: #2A2926;
}

.ach-slot {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: #CFC6B4;
  font-size: 14px;
  background: repeating-linear-gradient(45deg, #2A2926 0 12px, #33312D 12px 24px);
}

.ach-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--gold);
}

.ach-place {
  margin: 0 0 12px;
  font: 700 clamp(44px, 6vw, 72px)/1 var(--serif);
  color: var(--gold);
}

.ach-body h3 {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 6px;
}

.ach-event {
  color: #EBDDBF;
  font-size: 17px;
  margin-bottom: 14px;
}

.ach-body p:last-child {
  color: #CFC6B4;
  margin: 0;
}

/* ---------- Roster: venue name sticks while its sports scroll past ---------- */
.roster {
  background: #fff;
  border-block: 1px solid var(--line);
  padding-block: var(--space);
}

.venue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: clamp(24px, 5vw, 72px);
  padding-block: 48px;
  border-top: 2px solid var(--gold);
}

.venue:first-child {
  padding-top: 32px;
}

.venue:last-child {
  padding-bottom: 0;
}

.venue-name {
  position: sticky;
  top: 104px;
  /* header (72px) + breathing room */
  align-self: start;
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
}

.sport-rows {
  display: grid;
  gap: 28px;
}

.sport-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.sport-row+.sport-row {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.sport-photo {
  margin: 0;
}

.sport-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  background: #E9E3D8;
}

.sport-row h4 {
  font: 600 clamp(28px, 3vw, 36px)/1.1 var(--serif);
  margin: 0 0 8px;
}

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

/* ---------- Daily routine ---------- */
.sp-day {
  background: var(--forest);
  color: #EFE7D6;
  padding-block: var(--space);
}

.sp-day-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.sp-day h2 {
  color: #fff;
}

.sp-day p {
  color: #C9C0AC;
  margin: 0;
  max-width: 520px;
}

.day-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.day-list li {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(217, 181, 106, .3);
}

.day-list li:first-child {
  border-top: 1px solid rgba(217, 181, 106, .3);
}

.day-list strong {
  font: 600 24px/1.2 var(--serif);
  color: #D9B56A;
}

.day-list span {
  color: #EFE7D6;
}

/* ---------- Closing call to action ---------- */
.sp-cta {
  background: var(--ink);
  color: #E8E1D3;
  padding-block: var(--space);
  text-align: center;
}

.sp-cta h2 {
  color: #fff;
}

.sp-cta .narrow {
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.btn-ghost {
  background: transparent;
  color: #F4E9D2;
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .ach-card {
    grid-template-columns: 1fr;
  }

  .ach-photo,
  .ach-slot {
    min-height: 240px;
  }

  .ach-body {
    border-left: 0;
    border-top: 3px solid var(--gold);
  }

  .venue {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .venue-name {
    position: static;
  }

  .sp-day-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  /* Side-by-side photo and text gets too narrow here: stack them. */
  .sport-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sport-photo img {
    aspect-ratio: 16 / 9;
  }

  .sp-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sp-count span {
    font-size: clamp(72px, 22vw, 110px);
  }
}

@media (max-width: 560px) {
  .day-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .venue {
    padding-block: 32px;
  }

  .sport-rows {
    gap: 24px;
  }

  .sport-row+.sport-row {
    padding-top: 24px;
  }

  /* keep the last line clear of the floating WhatsApp / Call buttons */
  .sp-cta {
    padding-bottom: calc(var(--space) + 72px);
  }
} 