/* ---------- Mono Polo — base styles ---------- */

/* Poppins — self-hosted (assets/fonts/), used for the wordmark + display headings
   to match the Mono Polo logo, which is set in Poppins Bold. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700.woff2') format('woff2');
}

:root {
  --red: #E51837;      /* Pantone 186 C — brand red, matched to the logo artwork */
  --red-dark: #A6192E;  /* deeper red for hover/pressed states */
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --panel: #161616;
  --cream: #f4ede4;
  --grey: #9a9a9a;
  --border: #2a2a2a;
  --max: 1140px;
  --display: 'Poppins', -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.brand .mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 1; color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slide {
  animation: heroFade 24s infinite;
  animation-fill-mode: backwards;
}
.hero-slide:nth-of-type(1) { animation-delay: 0s; }
.hero-slide:nth-of-type(2) { animation-delay: 6s; }
.hero-slide:nth-of-type(3) { animation-delay: 12s; }
.hero-slide:nth-of-type(4) { animation-delay: 18s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  22%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.35) 55%, rgba(13,13,13,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  width: 100%;
}

.hero .eyebrow {
  font-size: 1.15rem;
  letter-spacing: 3px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 14px;
  color: #fff;
}

.hero p {
  font-size: 1.15rem;
  color: #fff;
  max-width: 560px;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
  margin-left: 14px;
}

.btn-outline:hover { border-color: var(--red); color: var(--red); background: transparent; }

/* ---------- Sections ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--grey); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--red);
}

.stat span {
  font-size: 0.85rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Season / fixtures */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }

table { width: 100%; border-collapse: collapse; min-width: 560px; }

th, td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

th {
  background: var(--panel);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--red);
}

tr:last-child td { border-bottom: none; }

.season-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--grey);
  font-style: italic;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/2;
}

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

/* Roster */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.player-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.player-card .photo { aspect-ratio: 4/5; overflow: hidden; }
.player-card .photo img { width: 100%; height: 100%; object-fit: cover; }

.player-card .info { padding: 16px 18px 20px; }
.player-card .info h3 { font-size: 1.05rem; margin-bottom: 2px; }
.player-card .info span { color: var(--red); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; }

.player-card a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.player-card a.card-link:hover h3 { color: var(--red); }

/* ---------- Player profile page ---------- */
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--grey);
  text-decoration: none;
}
.back-link:hover { color: var(--red); }

.profile-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.profile-hero .photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}
.profile-hero .photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-meta {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.profile-body h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--red);
}

.profile-body p { color: var(--grey); max-width: 680px; }

.achv-list { list-style: none; padding: 0; margin: 0; max-width: 680px; }
.achv-list li {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--cream);
}
.achv-list li:first-child { border-top: none; }
.achv-list li span { color: var(--grey); font-size: 0.85rem; display: block; margin-top: 2px; }

@media (max-width: 640px) {
  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero .photo { max-width: 220px; }
}

/* Sponsors */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.tier-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.tier-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tier-price { color: var(--red); font-weight: 700; font-size: 1rem; margin-bottom: 18px; }

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--grey);
  flex-grow: 1;
}

.tier-card li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.tier-card li:first-child { border-top: none; }

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  margin-top: 48px;
  opacity: 0.85;
}

/* Contact */
.contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-box h2 { margin-bottom: 12px; }

form { display: flex; flex-direction: column; gap: 14px; }

input, textarea {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus, textarea:focus { outline: none; border-color: var(--red); }

textarea { min-height: 110px; resize: vertical; }

footer {
  padding: 32px 0;
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
}

/* ---------- Story — "Derek & the Mono Monkey" ---------- */
.story .wrap { max-width: var(--max); }
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.story-text { max-width: 640px; }
.story p { color: var(--grey); }
.story p em { color: var(--cream); font-style: italic; }

.story-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  align-self: stretch;
}
.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.story-quote {
  margin: 36px 0 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--red);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--cream);
}

/* Prospectus call-to-action (sponsors section) */
.prospectus-cta {
  margin-top: 44px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.prospectus-cta p { margin: 0; color: var(--grey); max-width: 460px; }

/* Nav collapses a little earlier now the menu is longer */
@media (max-width: 820px) {
  nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 20px 24px; gap: 18px; }
  .nav-toggle { display: block; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid, .contact-box { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-text { max-width: none; }
  .story-photo img { min-height: 0; max-height: 380px; }
}

@media (max-width: 640px) {
  nav { position: fixed; top: 88px; left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--border); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 20px 24px; gap: 18px; }
  .nav-toggle { display: block; }
  .gallery { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .contact-box { padding: 28px; }
}
