@font-face {
  font-family: 'Manrope';
  src: url('/assets/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #1E1E32;
  --gold: #FFCE00;
  --stone: #F2EFE8;
  --white: #FFFFFF;
  --line: #D9D6CE;
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--navy);
  background-color: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* HEADER */
header { background: var(--white); }

.header-top {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo-lockup { display: flex; align-items: center; gap: 20px; }

.logo-lockup img { height: 100px; width: auto; aspect-ratio: 334 / 371; }

.logo-lockup .site-name {
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header-links { display: flex; gap: 24px; }

.header-links a, .mobile-links a { font-weight: 600; font-size: 15px; }

.header-links a[aria-current="page"], .mobile-links a[aria-current="page"] {
  border-bottom: 3px solid var(--gold);
}

.mobile-links { display: none; }

/* HERO (home) */
.hero-container { display: flex; width: 100%; height: min(82vh, 760px); }

.hero-half {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.hero-left {
  background-image: linear-gradient(180deg, rgba(30,30,50,.55) 0%, rgba(30,30,50,.15) 45%, rgba(30,30,50,.75) 100%), url('/assets/cricket_graded.jpg');
  background-size: cover;
  background-position: center 70%;
  border-right: 3px solid var(--gold);
}

.hero-right {
  background-image: linear-gradient(180deg, rgba(30,30,50,.55) 0%, rgba(30,30,50,.15) 45%, rgba(30,30,50,.75) 100%), url('/assets/tennis_graded.jpg');
  background-size: cover;
  background-position: center;
}

.hero-text { max-width: 600px; margin-bottom: 32px; }

.hero-headline {
  color: var(--white);
  font-weight: 800;
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-sublines { color: var(--white); font-weight: 600; font-size: 20px; line-height: 1.35; }

.hero-sublines span { display: block; }

.gold-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 3px;
  align-self: flex-start;
}

.mobile-hero-text { display: none; }

/* COUNTERS */
.counters-section { background: var(--navy); padding: 40px; }

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
}

.counter-tile {
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 26px;
  text-align: center;
}

.counter-num { color: var(--gold); font-weight: 800; font-size: 48px; line-height: 1; margin-bottom: 8px; }

.counter-label { color: var(--white); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ABOUT (home) */
.about-section { padding: 80px 40px; max-width: 1440px; margin: 0 auto; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-content h2 { font-weight: 800; font-size: 40px; margin-bottom: 24px; }

.about-content p { font-size: 18px; line-height: 1.55; margin-bottom: 24px; }

.about-content a { font-weight: 700; font-size: 18px; }

.about-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 6px;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin-left: auto;
}

/* LINK TILES */
.links-section { background: var(--stone); padding: 60px 40px; }

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
}

.link-tile {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
}

/* INNER PAGES */
.page-head { background: var(--stone); padding: 56px 40px; }

.page-head h1 {
  max-width: 740px;
  margin: 0 auto;
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.02em;
}

.page-body { max-width: 820px; margin: 0 auto; padding: 48px 40px 80px; }

.page-body h2 { font-weight: 800; font-size: 26px; margin: 40px 0 14px; }

.page-body h2:first-child { margin-top: 0; }

.page-body p, .page-body li { font-size: 18px; line-height: 1.6; margin-bottom: 16px; }

.page-body ul { padding-left: 22px; }

.page-body a { font-weight: 700; border-bottom: 2px solid var(--gold); }

.note {
  background: var(--stone);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 3px;
  margin-bottom: 24px;
}

.page-body .doc-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }

.doc-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.doc-list .meta { color: #5C5C70; font-size: 15px; white-space: nowrap; }

.calendar-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 4px; }

/* CALENDAR */
.event-list { margin-bottom: 48px; }

.event-month {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5C5C70;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 36px 0 0;
}

.event-month:first-child { margin-top: 0; }

.event { display: flex; gap: 22px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }

.event-date {
  flex: none;
  width: 76px;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  border-top: 4px solid var(--gold);
  padding: 8px 0 10px;
  text-align: center;
}

.event-date span { display: block; }

.event-weekday, .event-mon { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.event-day { font-weight: 800; font-size: 32px; line-height: 1.1; }

.page-body .event-body p { margin: 0; }

.page-body .event-name { font-weight: 700; font-size: 20px; line-height: 1.3; margin-top: 4px; }

.page-body .event-meta { font-weight: 600; font-size: 15px; margin-top: 4px; }

.page-body .event-desc { font-size: 16px; line-height: 1.5; color: #5C5C70; margin-top: 4px; }

/* FOOTER */
footer { background: var(--navy); padding: 60px 40px; color: var(--white); text-align: center; }

.footer-draft { color: #9A9AAE; font-size: 12px; margin-bottom: 16px; }

.footer-main { font-size: 13px; line-height: 1.6; }

.footer-main a { text-decoration: underline; }

/* MOBILE */
@media (max-width: 768px) {
  .header-top { height: 100px; padding: 0 16px; }
  .logo-lockup { gap: 12px; }
  .logo-lockup img { height: 64px; }
  .logo-lockup .site-name { font-size: 20px; }
  .header-links { display: none; }
  .mobile-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 16px;
    white-space: nowrap;
    border-top: 1px solid #EAEAEA;
  }
  .hero-container { flex-direction: column; height: auto; }
  .hero-half { height: 240px; padding: 20px; flex: none; }
  .hero-left { border-right: none; }
  .hero-right { border-top: 3px solid var(--gold); }
  .hero-text { display: none; }
  .mobile-hero-text { display: block; padding: 40px 16px; }
  .mobile-hero-text .hero-headline { color: var(--navy); font-size: 44px; margin-bottom: 16px; }
  .mobile-hero-text .hero-sublines { color: var(--navy); font-size: 16px; }
  .counters-section { padding: 30px 16px; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-section { padding: 50px 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image img { margin-left: 0; }
  .links-section { padding: 40px 16px; }
  .links-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-head { padding: 36px 16px; }
  .page-head h1 { font-size: 34px; }
  .page-body { padding: 32px 16px 60px; }
  .page-body p, .page-body li { font-size: 17px; }
  .doc-list li { flex-direction: column; gap: 4px; }
  .calendar-frame { height: 480px; }
  .event { gap: 16px; }
  .event-date { width: 64px; }
  .event-day { font-size: 26px; }
  .page-body .event-name { font-size: 18px; }
  footer { padding: 40px 16px; }
}

.ext { font-size: 0.85em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* HISTORY */
.history-fig { margin: 8px 0 32px; }

.history-fig img { width: 100%; height: auto; display: block; border-radius: 4px; }

.history-fig.narrow { max-width: 420px; }

.history-fig figcaption { font-size: 15px; line-height: 1.5; color: #5C5C70; margin-top: 10px; }

.history-fig figcaption a { font-weight: 700; color: var(--navy); }
