
:root {
  color-scheme: dark;
  --ink: #020506;
  --paper: #ececea;
  --muted: rgba(236,236,234,.58);
  --red: #d30b23;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; background: var(--ink); }
body { overflow: hidden; color: var(--paper); font-family: Inter, Arial, sans-serif; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }

@media (pointer: fine) {
  html, body, body * { cursor: url("assets/cursor-gray.svg") 10 10, auto !important; }
}

.hero-cursor, .hero-cursor-trace { display: none !important; }

.hero-cursor, .hero-cursor-trace {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.hero-cursor { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #9a9a9a; }
.hero-cursor-trace { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(211,11,35,.7); }
.hero-cursor.is-visible, .hero-cursor-trace.is-visible { opacity: 1; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .hero-cursor, .hero-cursor-trace { display: none; } }

.hero {
  isolation: isolate;
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ink) url("assets/hero-concept-one-psg-bg.webp") center / cover no-repeat;
  animation: hero-page-enter .7s ease-out both;
}

.hero__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.34) 35%, transparent 58%, rgba(0,0,0,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 45%, rgba(0,0,0,.62));
}

.hero__grain {
  position: absolute;
  z-index: 9;
  inset: -35%;
  opacity: .08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  animation: grain .3s steps(2) infinite;
  //Gabriel 
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 34px;
  padding: 20px 2.25vw 0;
}

.monogram {
  position: relative;
  display: flex;
  width: 36px;
  height: 34px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 28px;
  line-height: .9;
  letter-spacing: -.18em;
}
.monogram--mobile { display: none; }
.mobile-fixture-strip { display: none; }
.monogram span:last-of-type { margin-top: 3px; }
.monogram i { position: absolute; left: 14px; top: 23px; width: 15px; height: 1px; background: var(--red); transform: rotate(54deg); }

.primary-nav { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 58px); margin-top: 5px; transform: translate(35px, 20px); }
.primary-nav a { position: relative; padding: 7px 0 15px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; }
.primary-nav a { animation: page-element-in .5s cubic-bezier(.2,.8,.2,1) both; }
.primary-nav a:nth-child(1) { animation-delay: .22s; }
.primary-nav a:nth-child(2) { animation-delay: .29s; }
.primary-nav a:nth-child(3) { animation-delay: .36s; }
.primary-nav a:nth-child(4) { animation-delay: .43s; }
.primary-nav a:nth-child(5) { animation-delay: .5s; }
.primary-nav a:hover, .primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after { content: ""; position: absolute; left: 0; right: .42em; bottom: 3px; height: 1px; background: var(--red); }

/* Direct section controls in the open space above the player name. */
.primary-nav { display: none; }
.hero-section-nav {
  position: absolute;
  z-index: 20;
  top: calc(clamp(20px, 4.5vh, 48px) + 60px);
  left: calc(4.2vw + 15px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: min(37vw, 560px);
  transform: scale(1.5);
  transform-origin: top left;
}
.hero-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.hero-section-nav a:hover,
.hero-section-nav a:focus-visible {
  color: var(--red);
  outline: none;
}

.menu-button { display: flex; align-items: center; gap: 17px; margin-top: 5px; padding: 4px 0; border: 0; background: transparent; cursor: pointer; font-size: 7px; letter-spacing: .45em; text-transform: uppercase; }
.menu-button > i { width: 15px; height: 15px; background: radial-gradient(circle, #fff 1px, transparent 1.5px) 0 0 / 5px 5px; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] > i { transform: rotate(45deg); }

.menu-panel { position: absolute; z-index: 30; top: 57px; right: 2.25vw; box-sizing: border-box; width: 170px; max-height: calc(100svh - 80px); padding: 14px 18px; border: 1px solid rgba(255,255,255,.13); background: rgba(2,5,6,.92); backdrop-filter: blur(15px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.45) transparent; }
.menu-panel:not([hidden]) { display: grid; animation: menu-panel-enter .28s cubic-bezier(.22,.8,.25,1) both; }
.menu-panel a { padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: "Bebas Neue", sans-serif; font-size: 17px; letter-spacing: .16em; }

.left-rail {
  position: absolute;
  z-index: 15;
  left: 3.75vw;
  top: 22.5vh;
  display: grid;
  justify-items: center;
  gap: 22px;
  width: 13px;
}
.left-rail span { color: rgba(255,255,255,.62); font-size: 6px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.left-rail strong { color: var(--red); font-size: 8px; letter-spacing: .28em; }
.left-rail > i { width: 1px; height: 28vh; background: linear-gradient(rgba(255,255,255,.44), transparent); }

.identity {
  position: absolute;
  z-index: 4;
  left: 6.4vw;
  top: 10.4vh;
  transform: translate(-40px, 60px);
}
.identity h1 { margin: 0; color: rgba(245,245,242,.86); font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(8rem, 20vw, 20rem); font-weight: 400; letter-spacing: -.015em; line-height: .69; text-transform: uppercase; text-shadow: 8px 12px 28px rgba(0,0,0,.54); }
.identity h1 { animation: title-reveal .85s cubic-bezier(.16,1,.3,1) .2s both; }
.identity h1 span { display: block; }
.identity h1 span:last-child { transform: translateY(10px) scaleX(.7); transform-origin: left center; }
.identity h1 span:last-child::after { content: ""; display: inline-block; width: .075em; height: .075em; margin-left: 10px; background: #c51f2d; transform: scaleX(1.43); transform-origin: left bottom; vertical-align: .02em; }

.next-game {
  position: absolute;
  z-index: 15;
  left: 4.2vw;
  bottom: 5.2vh;
  width: min(31vw, 475px);
  transform: scale(1.05);
  transform-origin: left bottom;
  animation: page-element-in .65s cubic-bezier(.2,.8,.2,1) .72s both;
}
.section-label { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.68); font-size: 6px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; transform: translateY(10px); }
.matchup { display: grid; grid-template-columns: auto 20px auto 1fr; align-items: center; gap: 12px; }
.club { display: grid; justify-items: center; gap: 5px; }
.club b { font-size: 6px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.club-logo { display: block; width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 7px rgba(0,0,0,.55)); }
.club-logo--lens { width: 56px; }
.versus { color: rgba(255,255,255,.45); font-size: 12px; }
.match-details { display: grid; gap: 6px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.match-details p { display: flex; align-items: center; gap: 7px; margin: 0; color: rgba(255,255,255,.72); font-size: 6px; letter-spacing: .2em; text-transform: uppercase; }
.match-details i { display: block; width: 6px; height: 6px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }

.watch-rail { position: absolute; z-index: 15; right: 2.8vw; top: 33.5vh; display: grid; justify-items: center; gap: 17px; animation: watch-rail-enter .55s cubic-bezier(.2,.8,.2,1) .78s both; }
.watch-rail__line { width: 1px; height: 14vh; background: linear-gradient(transparent, rgba(255,255,255,.42)); animation: watch-rail-line-glow 2s ease-in-out infinite; }
.watch-rail__line:last-child { animation-delay: 1s; }
.watch-rail__line:last-child { transform: rotate(180deg); }
.play-button { position: relative; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--red); border-radius: 50%; background: rgba(0,0,0,.18); cursor: pointer; transition: background .2s ease, transform .2s ease; animation: play-button-pulse 2s ease-in-out infinite; }
.play-button:hover { background: rgba(211,11,35,.2); transform: scale(1.06); }
.play-button span { width: 0; height: 0; margin-left: 3px; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid #fff; }
.watch-rail p { margin: 0; color: rgba(255,255,255,.55); font-size: 6px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; writing-mode: vertical-rl; }

.quote { position: absolute; z-index: 15; right: 4.3vw; bottom: 6vh; margin: 0; animation: page-element-in .6s cubic-bezier(.2,.8,.2,1) 1s both; }
.quote p { margin: 0; color: rgba(255,255,255,.68); font-size: 7px; line-height: 1.75; letter-spacing: .38em; text-transform: uppercase; }
.quote strong { color: var(--red); font-weight: 600; }
.typing-quote__copy { white-space: pre-line; }
.typing-quote__caret { display: inline-block; width: 1px; height: .95em; margin-left: 3px; background: var(--red); vertical-align: -.08em; animation: typing-caret-blink .75s steps(1) infinite; }
.video-state { position: absolute; left: -9999px; }

@keyframes grain { 0%{transform:translate(0)} 25%{transform:translate(2%,-3%)} 50%{transform:translate(-3%,2%)} 75%{transform:translate(3%,3%)} 100%{transform:translate(-2%,-2%)} }
@keyframes hero-page-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes title-reveal { from { opacity: 0; transform: translateY(9vh); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-element-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes watch-rail-enter { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes watch-rail-line-glow { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes play-button-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(211,11,35,.45); } 50% { box-shadow: 0 0 0 10px rgba(211,11,35,0); } }
@keyframes menu-panel-enter { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes typing-caret-blink { 50% { opacity: 0; } }

@media (min-width: 901px) {
  .menu-button { display: none; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 18px 5vw 0; }
  .primary-nav { display: none; }
  .hero-section-nav { top: 40px; left: calc(5vw + 15px); width: 62vw; gap: 12px; }
  .hero-section-nav a { min-height: auto; padding: 0; font-size: 7px; }
  .identity { left: 10vw; top: 16vh; transform: translate(0, 60px); }
  .identity h1 { font-size: 25vw; }
  .left-rail { left: 4.5vw; }
  .next-game { left: 5vw; width: 52vw; transform: scale(1.25); transform-origin: left bottom; }
  .match-details { display: none; }
  .watch-rail { right: 5vw; }
  .quote { display: none; }
}

@media (max-width: 560px) {
  body { overflow-x: hidden; overflow-y: auto; }
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 100svh;
    background: #000 url("assets/hero-concept-one-mobile-bg.webp") center top / cover no-repeat;
  }
  .hero__shade,
  .hero__grain { display: none; }
  .site-header,
  .menu-panel,
  .menu-panel:not([hidden]) { display: none; }
  .mobile-fixture-strip { display: flex; align-items: center; gap: 9px; box-sizing: border-box; min-width: 100px; height: 38px; padding: 0 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(3,6,8,.4); }
  .mobile-fixture-strip img { width: 22px; height: 22px; object-fit: contain; filter: drop-shadow(0 3px 7px rgba(0,0,0,.55)); }
  .mobile-fixture-strip span { color: rgba(255,255,255,.45); font-size: 10px; }
  .menu-button { box-sizing: border-box; min-width: 96px; height: 38px; justify-content: center; gap: 8px; margin: 0; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(3,6,8,.4); }
  .menu-button > i { display: block; width: 0; height: 0; background: none; border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-left: 5px solid currentColor; }
  .hero-section-nav { display: none; }
  .monogram--mobile { display: flex; }
  .identity { display: block; left: 5vw; top: 50%; transform: translateY(-50%); }
  .identity h1 { font-size: 27vw; line-height: .73; }
  .identity h1 span:last-child::after { width: .14em; height: .14em; }
  .next-game { top: auto; bottom: 5svh; left: 5vw; width: 90vw; transform: none; }
  .section-label { margin-bottom: 10px; transform: none; }
  .match-details { display: grid; }
  .watch-rail { display: flex; left: 5vw; right: auto; top: auto; bottom: 20svh; gap: 14px; }
  .watch-rail__line { display: none; }
  .watch-rail p { display: block; font-size: 7px; writing-mode: horizontal-tb; }
  .quote { display: none; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
