:root {
  --bg: #000;
  --surface: #0d0d0d;
  --line: #1f1f1f;
  --text: #fff;
  --muted: #8f8f8f;
  --accent: #ff3300;
  --radius: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

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

h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(44px, 5vw, 72px); }
h2 { font-size: clamp(34px, 4.4vw, 60px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,51,0,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,51,0,0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #ff5426; }
.btn--ghost { border: 1px solid #333; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 24px;
  background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .06em; }
.nav__links { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px 56px; align-items: stretch;
  grid-template-areas: "text media" "brands brands";
  padding-top: 104px;
}
.hero__text { grid-area: text; align-self: center; }
.lead { font-size: 19px; color: #bdbdbd; max-width: 46ch; margin: 22px 0 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats {
  display: flex; align-items: flex-end; gap: 36px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line);
}
.stats__label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stats__value { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; color: var(--accent); }
.socials { list-style: none; display: flex; gap: 28px; }
.social { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: color .2s; }
.social:hover { color: var(--accent); }
/* Logo drawn with a mask so it takes the text colour (white, accent on hover) */
.social__icon {
  width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.social__count { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.35; }
.hero__media { grid-area: media; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

/* Brand marquee */
.brands {
  grid-area: brands; margin-inline: calc(50% - 50vw); /* full-bleed out of the hero's .wrap */
  min-width: 0; /* stop the long scrolling track from widening the grid */
  padding: 22px 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__label { text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { list-style: none; display: flex; width: max-content; animation: scroll 80s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 0 36px; height: 52px;
  opacity: .75; transition: opacity .25s;
}
.logo:hover { opacity: 1; }
/* Each logo's height is set inline so different shapes read at the same visual size.
   Multi-colour logos are flattened to grey; crests keep their detail in greyscale. */
.logo__img { width: auto; filter: brightness(0) invert(.5); transition: filter .25s; }
.logo__img--crest { filter: grayscale(1) brightness(.8); }
/* Logos with white detail on a black shape (EA SPORTS FC badge): invert so the detail stays visible */
.logo__img--invert { filter: grayscale(1) invert(1) brightness(.5); }
.logo:hover .logo__img { filter: brightness(0) invert(1); }
.logo:hover .logo__img--crest { filter: none; }
.logo:hover .logo__img--invert { filter: grayscale(1) invert(1); }

/* Sections */
section[id] { padding-top: 120px; padding-bottom: 20px; }
.section-head { display: flex; flex-direction: column; margin-bottom: 48px; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: 28px; }
.about__text p + p { margin-top: 18px; }
.about__text p { color: #bdbdbd; max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 32px; }
.tags li { padding: 8px 14px; border: 1px solid #2a2a2a; border-radius: 999px; font-size: 14px; color: #d8d8d8; }

/* Work */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: block; position: relative; }
.card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img, .card:hover .card__media video { transform: scale(1.05); }
.card__play {
  position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 16px;
  transform: scale(.85); opacity: 0; transition: .25s ease;
}
.card:hover .card__play { transform: scale(1); opacity: 1; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 4px 0; }
.card__brand { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.card__type { font-size: 14px; color: var(--muted); text-align: right; }
.card__desc { font-size: 15px; color: #a5a5a5; padding: 4px 4px 0; }

/* Gallery (masonry) */
.gallery__grid { columns: 3; column-gap: 16px; }
.gallery__grid button {
  display: block; width: 100%; margin-bottom: 16px; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; break-inside: avoid;
}
.gallery__grid img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: grayscale(.15); }
.gallery__grid button:hover img { transform: scale(1.04); filter: none; }


/* Contact */
.contact { padding-bottom: 120px; text-align: left; }
.contact__title { font-size: clamp(42px, 7vw, 104px); margin-bottom: 44px; }

/* Footer */
.footer {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer span { flex: 1; }
.footer a:hover { color: var(--text); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 32px;
  background: rgba(0,0,0,.92); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 12px; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #333; background: #000; color: #fff; font-size: 16px; cursor: pointer;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero, .about { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding-top: 96px; row-gap: 28px; grid-template-areas: "text" "brands" "media"; }
  .hero__media { aspect-ratio: 4/4.4; min-height: 0; }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 2; }
  section[id] { padding-top: 88px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .nav__links { display: none; }
  .hero { padding-top: 84px; row-gap: 22px; }
  .eyebrow { margin-bottom: 14px; }
  .lead { font-size: 16px; margin: 16px 0 22px; }
  /* Reach and all five platforms on one row so the brand logos still make the first screen */
  .stats { justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; }
  .stats__label { font-size: 9px; letter-spacing: .06em; }
  .stats__value, .social__count { font-size: 18px; }
  .socials { gap: 12px; }
  .social { gap: 4px; }
  .social__icon { width: 16px; height: 16px; }
  .brands { padding: 16px 0 18px; }
  .brands__label { margin-bottom: 10px; font-size: 11px; }
  .work__grid { grid-template-columns: 1fr; }
  .gallery__grid { column-gap: 10px; }
  .gallery__grid button { margin-bottom: 10px; border-radius: 10px; }
  .marquee__track { zoom: .75; }
  .footer { flex-wrap: wrap; }
  .btn { height: 48px; padding: 0 20px; }
  /* Email + Media kit share one row on phones */
  .hero .hero__ctas { gap: 8px; flex-wrap: nowrap; }
  .hero .hero__ctas .btn { height: 44px; padding: 0 14px; font-size: 14px; }
}
