:root {
  --ink: #202124;
  --muted: #61676f;
  --brand: #f9542b;
  --brand-dark: #c8381a;
  --paper: #fff;
  --line: #e2e4e8;
  --field: #f6f7f9;
  --shadow: 0 16px 35px rgba(31, 36, 45, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: #f5f5f5 url("assets/images/hqdefault-ts1504202707-ts1534188599.jpg") repeat center top;
}

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

a {
  color: var(--brand-dark);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-top {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  color: var(--brand);
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.social-links img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 14px;
  text-transform: uppercase;
}

.primary-nav {
  min-height: 45px;
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--brand);
}

.primary-nav a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  padding: 0 22px;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #f0d7b5;
  background: rgba(0, 0, 0, 0.08);
}

.hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #121417;
}

.slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}

.slide.active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.16));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 130px;
  color: #fff;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 540px;
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.content-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro {
  padding: 44px 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 52px 0 20px;
  text-align: center;
}

.section-heading span {
  height: 5px;
  background: var(--brand);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
}

.eyebrow {
  margin: 32px 0 18px;
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
  text-transform: uppercase;
}

.event-grid,
.scorecards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.event-card h4,
.event-card h2 {
  color: var(--brand-dark);
  margin-bottom: 14px;
}

.event-card.featured {
  width: min(620px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.page-title {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}

.page-title h1 {
  color: var(--brand);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 36px 0;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.note,
.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.players {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 56px;
}

.players a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.players a:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 44px 0 64px;
}

.sponsor {
  min-height: 170px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 24px;
}

.sponsor img {
  max-height: 120px;
  object-fit: contain;
}

.event-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 0 64px;
}

.event-layout article,
.contact-layout > div,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 24px;
}

.event-layout .wide {
  grid-column: 1 / -1;
}

.media-link img,
.event-image {
  width: 100%;
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  background: #232629;
  color: #fff;
}

.site-footer p {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 820px) {
  .header-top {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .social-links {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 390px;
  }

  .hero-copy {
    padding-top: 100px;
  }

  .event-grid,
  .event-layout,
  .contact-layout,
  .scorecards,
  .sponsor-grid,
  .players {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading span {
    display: none;
  }

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