:root {
  --color-accent: #EC008C;
  --color-accent-dark: #b10067;
  --color-accent-soft: #fdf7fb;
  --color-accent-text: #ffffff;
  --color-accent-readable: #ec008c;
  --color-accent-dark-text: #ffffff;
  --color-text: #161616;
  --color-muted: #5f6063;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f5f7;
  --color-border: #e4e4e7;
  --color-dark: #0d0d0e;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.08);
  --radius: 1.25rem;
  --max-width: 1160px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--color-accent-readable); }
button, input, select, textarea { font: inherit; }
button:disabled { opacity: 0.65; cursor: not-allowed; }
.preview-banner { background: #161616; color: white; text-align: center; padding: 0.55rem 1rem; font-size: 0.82rem; }

:focus-visible {
  outline: 3px solid var(--color-accent-readable);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--color-text);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong { font-size: 1rem; }
.brand-text span { font-size: 0.82rem; color: var(--color-muted); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-nav a { text-decoration: none; }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-accent {
  background: var(--color-accent);
  color: var(--color-accent-text);
}
.button-accent:hover { background: var(--color-accent-dark); color: var(--color-accent-dark-text); }
.button-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.button-small { padding: 0.75rem 1.2rem; }

.hero {
  padding: var(--space-7) 0;
  background: linear-gradient(120deg, #fff 0%, var(--color-accent-soft) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-readable);
  margin: 0 0 0.75rem;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.16;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--color-muted); }
.hero-text { font-size: 1.1rem; max-width: 34rem; }
.hero-note { font-weight: 700; color: var(--color-text); max-width: 34rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.section { padding: var(--space-7) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-heading { max-width: 44rem; margin-bottom: 2rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.card, .portfolio-card, .about-panel, .contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.card { padding: 1.5rem; }
.card h3 { margin-bottom: 0.7rem; }

.client-logos-section {
  overflow: hidden;
  padding: 4.5rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.client-logos-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}
.client-logos-heading h2 { margin-bottom: 0.75rem; }
.logo-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  --logo-gap: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  width: max-content;
  animation: client-logo-scroll 38s linear infinite;
  animation-iteration-count: infinite;
  will-change: transform;
}
.logo-list {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--logo-gap);
}
.client-logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(8.5rem, 16vw, 12.5rem);
  height: 5rem;
}
.client-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3.6rem;
  object-fit: contain;
  opacity: 0.62;
  transition: opacity 180ms ease;
}
.client-logo img:hover { opacity: 1; }
@keyframes client-logo-scroll {
  to { transform: translateX(calc(-50% - (var(--logo-gap) / 2))); }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.football-intro {
  background: var(--color-dark);
  color: white;
  padding: 3rem 0;
}
.football-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.football-shell h2 { margin-bottom: 0; }
.football-shell p { color: rgba(255,255,255,0.78); }
.football-shell .text-link {
  color: white;
  font-weight: 700;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}
.portfolio-card { overflow: hidden; }
.portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-card figcaption { padding: 1rem 1.2rem; font-weight: 600; }
.portfolio-card figcaption span { display: block; color: var(--color-accent-readable); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.about-panel { padding: 1.5rem; }
.about-panel ul { padding-left: 1.2rem; color: var(--color-muted); }

.cta-section { padding-top: 0; }
.cta-shell {
  background: linear-gradient(90deg, var(--color-dark) 0%, #242428 100%);
  color: white;
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-shell p { color: rgba(255,255,255,0.8); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-list { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.contact-list li { margin-bottom: 0.6rem; }
.contact-list a { text-decoration: none; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-readable);
  transform: translateY(-1px);
}
.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: currentColor;
}
.social-link rect,
.social-link circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.social-link .social-icon-dot {
  fill: currentColor;
  stroke: none;
}
.contact-form { padding: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.form-row label { font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  background: #fcfcfd;
}
.form-row textarea { resize: vertical; min-height: 8rem; }
.consent { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.consent input { width: auto; margin-top: 0.25rem; }
.form-note { font-size: 0.95rem; color: var(--color-muted); }
.honeypot { display: none; }
.form-status { min-height: 1.6rem; margin-bottom: 1rem; font-weight: 600; }
.form-status.success { color: #156a3d; }
.form-status.error { color: #ad1d45; }
.small-print, .placeholder { font-size: 0.95rem; }
.secondary-phone { font-size: 0.78rem; opacity: 0.62; margin-top: 1.5rem; }
.legal-copy { max-width: 760px; }

.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1rem;
}
.footer-shell {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}
.footer-shell a { color: inherit; text-decoration: none; }
.footer-social-links { margin: 1rem 0 0; }
.footer-social-links .social-link {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: white;
}
.footer-social-links .social-link:hover {
  border-color: var(--color-accent);
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.admin-link { color: rgba(255,255,255,0.35); font-size: 0.82rem; text-decoration: none; }

.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;
}

@media (max-width: 900px) {
  .card-grid, .portfolio-grid, .contact-grid, .about-grid, .hero-grid, .football-shell, .footer-shell {
    grid-template-columns: 1fr;
  }
  .cta-shell { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.22rem;
    border: 0;
    background: transparent;
    padding: 0.2rem;
  }
  .nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--color-text);
    display: block;
  }
  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .hero { padding-top: 3rem; }
  .hero-actions .button, .contact-form .button { width: 100%; }
  .section { padding: 4rem 0; }
  .client-logos-section { padding: 3.5rem 0; }
  .client-logo {
    width: 8.5rem;
    height: 4rem;
  }
  .client-logo img { max-height: 2.9rem; }
  h1 { font-size: clamp(2.1rem, 11vw, 3.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .logo-marquee {
    padding: 0 1rem;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logo-track {
    width: 100%;
    animation: none;
  }
  .logo-list:first-child {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .logo-list[aria-hidden="true"] { display: none; }
}
