/* ==================================================================
   The Sports Partnership — full one-page site
   Rebuilt from the archived 2025 version. Plain HTML/CSS, self-hosted
   type, no framework, no JS.
================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/raleway.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:    #1a1a1a;
  --paper:  #ffffff;
  --accent: #54FF1B;
  --head:   "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body:   "Raleway", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------------- HERO ---------------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px clamp(24px, 6vw, 64px) 96px;
  position: relative;
}
.hero__logo {
  width: min(560px, 84vw);
  height: auto;
  animation: fade-rise 700ms ease both;
}
.hero__tagline {
  font-family: var(--head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.7;
  font-size: clamp(0.82rem, 0.6rem + 0.9vw, 1.5rem);
  color: #2a2a2a;
  max-width: min(88vw, 34rem);
  margin: clamp(28px, 5vh, 52px) 0 0;
  animation: fade-rise 700ms ease 120ms both;
}
.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  width: 26px; height: 42px;
  transform: translateX(-50%);
  border: 2px solid #bbb;
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-hint 1.6s ease-in-out infinite;
}

/* ---------------- SHARED FULL-BLEED PANELS ---------------- */
.panel {
  position: relative;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(72px, 12vh, 160px) clamp(24px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Parallax only where the device can handle it well */
@media (min-width: 1025px) and (pointer: fine) {
  .panel { background-attachment: fixed; }
}
.panel::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--overlay, rgba(0,0,0,0.55));
}
.panel__inner {
  position: relative;
  width: 100%;
  max-width: 940px;
  text-align: center;
}

.section-title {
  font-family: var(--head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  margin: 0 0 clamp(28px, 4vw, 44px);
}

/* ---------------- MISSION ---------------- */
.panel--mission {
  --overlay: rgba(0,0,0,0.6);
  background-image: url("assets/img/supergt.webp");
  min-height: 100svh;
}
.panel--mission p {
  font-weight: 300;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  line-height: 1.85;
  max-width: 60ch;
  margin: 0 auto 1.4em;
  color: #f0f0f0;
}
.panel--mission .lead {
  font-weight: 500;
  color: #fff;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.45rem);
}
.pull-quote {
  font-family: var(--head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.6;
  font-size: clamp(1.15rem, 0.9rem + 1.4vw, 2.1rem) !important;
  color: #fff !important;
  max-width: 22ch !important;
  margin: clamp(36px, 6vh, 64px) auto 0 !important;
}
.pull-quote::before {
  content: "";
  display: block;
  width: 56px; height: 2px;
  background: var(--accent);
  margin: 0 auto clamp(28px, 4vh, 40px);
}

/* ---------------- SERVICES ---------------- */
.panel--services {
  --overlay: rgba(0,0,0,0.42);
  background-image: url("assets/img/talent2.webp");
  padding: 0;
}
.services {
  position: relative;
  list-style: none;
  margin: 0; padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.services li {
  font-family: var(--head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(1rem, 0.7rem + 1.4vw, 2rem);
  color: #fff;
  text-align: center;
  min-height: clamp(180px, 30vh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
  transition: background-color 220ms ease;
}
.services li:hover { background: rgba(0,0,0,0.35); }

/* ---------------- BRANDS ---------------- */
.panel--brands {
  --overlay: rgba(10,10,10,0.5);
  background-image: url("assets/img/singer.webp");
}
.brands {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 56px) clamp(24px, 5vw, 72px);
  align-items: center;
}
.brands img {
  width: 100%;
  max-width: 168px;
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
  transition: opacity 200ms ease, transform 200ms ease;
}
.brands li:hover img { opacity: 1; transform: scale(1.05); }

/* ---------------- CONTACT / FOOTER ---------------- */
.panel--contact {
  --overlay: rgba(0,0,0,0.62);
  background-image: url("assets/img/jenson4.webp");
  min-height: 70svh;
}
.contact {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: clamp(1rem, 0.85rem + 0.7vw, 1.5rem);
  margin: 0 0 1.6em;
}
.contact a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-thickness 140ms ease;
}
.contact a:hover,
.contact a:focus-visible { text-decoration-thickness: 4px; }
.copyright {
  font-family: var(--body);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #cfcfcf;
  margin: 0;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

/* ---------------- MOTION ---------------- */
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scroll-hint {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 720px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .brands   { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 460px) {
  .brands { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
