/* ============================================================
   PATTERN — shared stylesheet  (v2: black + block colour, kinetic)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Anton&family=Hanken+Grotesk:wght@400;500;600;700&family=Archivo:wght@600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block');

:root {
  --bg:   #0B0B0C;
  --fg:   #F3F0E7;
  --panel:#141416;

  /* block colours */
  --c-yellow: #FFD23B;
  --c-blue:   #3B5BFF;
  --c-red:    #FF4332;
  --c-green:  #19E0A0;
  --c-pink:   #FF5CAB;
  --c-lilac:  #B79BFF;
  --c-orange: #FF7A2F;

  --brand:   var(--c-pink);     /* primary accent — pink; set in CSS so static builds render correctly without JS */
  --brand-2: var(--c-blue);

  /* legacy aliases (used by inner pages until they're converted) */
  --soft:    var(--c-lilac);
  --soft-2:  #17171A;
  --crimson: var(--c-red);
  --salmon:  var(--c-pink);
  --pink:    var(--c-orange);
  --paper:   var(--bg);
  --ink:     var(--fg);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-cond:    'Anton', 'Bricolage Grotesque', sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --maxw: 1480px;
  --gutter: clamp(24px, 4.5vw, 80px);
  --radius: 4px;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--brand); color: #0B0B0C; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 180px); }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1;
  display: inline-flex; align-items: center; gap: .6em;
}
.kicker::before { content:""; width:.8em; height:.8em; background: var(--brand); border-radius:50%; flex:none; }
.display { font-family: var(--font-display); font-weight: 800; line-height: .9; letter-spacing: -.025em; text-wrap: balance; }
.h-mega { font-size: clamp(58px, 12vw, 210px); }
.h1 { font-size: clamp(44px, 8.5vw, 138px); }
.h2 { font-size: clamp(34px, 5.6vw, 92px); }
.h3 { font-size: clamp(26px, 3.2vw, 50px); }
.cond { font-family: var(--font-cond); text-transform: uppercase; line-height: .9; }
.lede { font-size: clamp(18px, 1.7vw, 25px); line-height: 1.4; max-width: 44ch; }
.muted { opacity: .58; }

/* colour-chip highlighted word */
.mark { display:inline-block; background: var(--brand); color:#0B0B0C; padding: 0 .14em .04em; border-radius: var(--radius); transform: rotate(-1.5deg); }
.mark--blue { background: var(--c-blue); color:#fff; }
.mark--red { background: var(--c-red); color:#fff; }
.mark--green { background: var(--c-green); color:#0B0B0C; }
.mark--pink { background: var(--c-pink); color:#0B0B0C; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-cond); text-transform: uppercase;
  font-size: clamp(15px, 1.2vw, 19px); letter-spacing: .02em;
  padding: .85em 1.4em; border-radius: 999px;
  background: var(--fg); color: #0B0B0C; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-spring), color .35s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::after { content:""; position:absolute; inset:0; z-index:0; background: var(--brand); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateY(0); }
.btn .arr { transition: transform .35s var(--ease-spring); position: relative; z-index:1; display:inline-flex; }
.btn .arr svg { width:1.05em; height:1.05em; display:block; fill:currentColor; }
.btn:hover .arr { transform: translate(2px,-2px); }
.btn--brand { background: var(--brand); color:#0B0B0C; }
.btn--brand::after { background: var(--fg); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--fg) 40%, transparent); }
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover { color:#0B0B0C; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 color-mix(in srgb, var(--fg) 12%, transparent); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { display:flex; gap:4px; }
.brand .logo span { width: 11px; height: 22px; border-radius: 2px; display:block; transform-origin: bottom;
  animation: logoIn .7s var(--ease-spring) backwards;
  transition: transform .32s var(--ease-spring); }
.brand .logo span:nth-child(1) { animation-delay: .10s; transition-delay: 0s; }
.brand .logo span:nth-child(2) { animation-delay: .20s; transition-delay: .05s; }
.brand .logo span:nth-child(3) { animation-delay: .30s; transition-delay: .10s; }
.brand:hover .logo span { transform: translateY(-5px); }
@keyframes logoIn {
  0%   { opacity: 0; transform: translateY(-14px) scaleY(.25); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .brand .logo span { animation: none; } }
.brand .word { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 34px); }
.nav-link { font-family: var(--font-cond); text-transform: uppercase; font-size: 16px; letter-spacing: .02em; position: relative; padding: 4px 0; }
.nav-link::after { content:""; position:absolute; left:0; bottom:-2px; width:100%; height:3px; background: var(--brand); transform: scaleX(0); transform-origin:left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .6em 1.1em; }

/* ---------- Material Symbols ---------- */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block;
  white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 40;
}

/* ---------- Mobile burger + full-screen menu ---------- */
.burger { display: none; width: 48px; height: 48px; place-items: center; color: var(--fg); margin-right: -6px; }
.burger .material-symbols-rounded { font-size: 38px; }

.nav-sheet {
  position: fixed; inset: 0; z-index: 200; background: var(--c-pink);
  display: flex; flex-direction: column; padding: clamp(22px, 6vw, 44px);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .38s var(--ease), transform .5s var(--ease-spring), visibility 0s linear .4s;
}
body.menu-open .nav-sheet { opacity: 1; visibility: visible; transform: none;
  transition: opacity .38s var(--ease), transform .55s var(--ease-spring); }
body.menu-open { overflow: hidden; }
.nav-sheet__top { display: flex; align-items: center; justify-content: space-between; }
.nav-sheet__brand { display: flex; gap: 4px; }
.nav-sheet__brand span { width: 12px; height: 24px; border-radius: 2px; display: block; }
.nav-sheet__close { width: 56px; height: 56px; display: grid; place-items: center; color: #0B0B0C; margin-right: -8px; }
.nav-sheet__close .material-symbols-rounded { font-size: 46px; font-variation-settings: 'wght' 500; }
.nav-sheet__links { margin-block: auto; display: flex; flex-direction: column; gap: clamp(6px, 1.4vh, 16px); }
.nav-sheet__links a {
  font-family: var(--font-cond); text-transform: uppercase; color: #0B0B0C;
  font-size: clamp(46px, 14vw, 84px); line-height: .96; letter-spacing: -.01em;
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .55s var(--ease-spring);
}
body.menu-open .nav-sheet__links a { opacity: 1; transform: none; }
body.menu-open .nav-sheet__links a:nth-child(1) { transition-delay: .10s; }
body.menu-open .nav-sheet__links a:nth-child(2) { transition-delay: .16s; }
body.menu-open .nav-sheet__links a:nth-child(3) { transition-delay: .22s; }
body.menu-open .nav-sheet__links a:nth-child(4) { transition-delay: .28s; }
body.menu-open .nav-sheet__links a:nth-child(5) { transition-delay: .34s; }
.nav-sheet__links a.nav-sheet__cta {
  align-self: flex-start; margin-top: clamp(14px, 3vh, 30px);
  display: inline-flex; align-items: center; gap: .3em;
  background: #0B0B0C; color: var(--fg);
  font-size: clamp(22px, 6.5vw, 32px); letter-spacing: 0;
  padding: .62em .98em; border-radius: 999px; line-height: 1;
}
.nav-sheet__cta .material-symbols-rounded { font-size: .9em; font-variation-settings: 'wght' 600; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .burger { display: grid; }
}

/* ---------- Kinetic hero blocks ---------- */
.blocks { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: clip; }
.blk { position: absolute; will-change: transform; transform: translate(-50%,-50%); background: var(--col, var(--c-yellow)); }
.blk--circle { border-radius: 50%; }
.blk--pill { border-radius: 999px; }
.blk--square { border-radius: 6px; }
.blk--half { border-radius: 999px 999px 0 0; }
.blk--arc { border-radius: 100% 0 0 0; }
.blk--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.blk--cross { clip-path: polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%); }
.blk--ring { background: transparent; box-shadow: inset 0 0 0 clamp(8px,1.2vw,16px) var(--col, var(--c-yellow)); }
.blk--diamond { clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; display: flex; user-select: none; border-block: 3px solid #0B0B0C; background: var(--brand); color: #0B0B0C; }
.marquee.alt { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.marquee__track { display: inline-flex; align-items: center; padding-block: clamp(10px, 1.4vw, 20px); animation: marquee var(--mq-dur, 28s) linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee.rev .marquee__track { animation-direction: reverse; }
.marquee__item { font-family: var(--font-cond); text-transform: uppercase; font-size: clamp(26px, 4.4vw, 66px); line-height: 1; display: inline-flex; align-items: center; gap: .5em; padding-inline: .4em; }
.marquee__item .dot { width:.42em; height:.42em; border-radius:50%; background: currentColor; flex:none; display:inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.line-mask { display: block; overflow: hidden; padding-block: .04em; }
.line-mask > span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.line-mask.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .line-mask > span { transition: none !important; opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}
html.no-motion .marquee__track { animation: none !important; }
html.no-motion .reveal, html.no-motion .line-mask > span { transition: none !important; opacity: 1 !important; transform: none !important; }
html.no-motion .step__bar { transition: none !important; transform: scaleX(1) !important; }

/* ---------- The three-bars mark (logo as a system) ----------
   Reusable across pages: crest, stat-chart, position marker, rhythm.
   Defaults to visible; inside a not-yet-revealed .reveal it rises in
   with the logo's spring (staggered), so print/PDF/reduced-motion
   always show the end state. */
.barmark { display:inline-flex; gap: var(--bg-gap, 4px); align-items:flex-end; line-height:0; }
.barmark span { width: var(--bw, 11px); height: var(--bh, 22px); border-radius: 2px; display:block; transform-origin:bottom;
  transition: transform .55s var(--ease-spring); }
.barmark span:nth-child(1){ background: var(--bar-1, var(--c-yellow)); }
.barmark span:nth-child(2){ background: var(--bar-2, var(--c-red)); }
.barmark span:nth-child(3){ background: var(--bar-3, var(--c-blue)); }
/* equaliser variant — staggered heights read as a stat/bar chart */
.barmark--eq span:nth-child(1){ height: calc(var(--bh,22px) * .6); }
.barmark--eq span:nth-child(2){ height: var(--bh,22px); }
.barmark--eq span:nth-child(3){ height: calc(var(--bh,22px) * .8); }
/* reveal-gated rise */
.reveal:not(.in) .barmark span { transform: scaleY(0); }
.reveal.in .barmark span { transform: scaleY(1); }
.reveal.in .barmark span:nth-child(1){ transition-delay:.00s; }
.reveal.in .barmark span:nth-child(2){ transition-delay:.08s; }
.reveal.in .barmark span:nth-child(3){ transition-delay:.16s; }
@media (prefers-reduced-motion: reduce) { .barmark span { transform: scaleY(1) !important; transition: none !important; } }
html.no-motion .barmark span { transform: scaleY(1) !important; transition: none !important; }

/* ---------- Helpers ---------- */
.eyebrow-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* soft wavy hairline — replaces straight rules. Colour via --rule-col. */
.rule, .softrule { height: 14px; width: 100%; background: var(--rule-col, var(--fg));
  -webkit-mask: var(--wave-line) repeat-x left center / 120px 14px;
          mask: var(--wave-line) repeat-x left center / 120px 14px; }
:root { --wave-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 Q 30 0 60 7 T 120 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* soft wave section divider — a self-contained two-tone band placed
   between two full-bleed sections. Set --top / --bot to the colours
   of the section above / below. Robust against overflow clipping. */
.wave { display:block; width:100%; height: clamp(34px, 5vw, 76px); margin-block:-1px; line-height:0; }
.wave svg { width:100%; height:100%; display:block; }
.wave .wave__top { fill: var(--top, var(--bg)); }
.wave .wave__bot { fill: var(--bot, var(--fg)); }

/* ---------- Football crest badge ---------- */
.crest { display:inline-block; width: var(--crest-w, 64px); flex:none; }
.crest svg { width:100%; height:auto; display:block; overflow:visible; }
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.in) .crest { transform: translateY(10px) scale(.92); opacity:0; }
  .crest { transition: transform .6s var(--ease-spring), opacity .6s var(--ease); }
}

/* ---------- Mark badge (circular crest: ring + three-bar mark / icon) ---------- */
.mbadge { position:relative; width: var(--mb-w, 64px); aspect-ratio:1/1; display:grid; place-items:center; flex:none; --ring: var(--brand); background: var(--ring); border-radius:50%; }
.mbadge::before { content:""; position:absolute; inset:5px; background: var(--panel); border-radius:50%; }
.mbadge--muted { --ring:#5a5a5e; }
.mbadge__in { position:relative; z-index:1; display:grid; place-items:center; }
.mbadge .mbadge__icon { width:40px; height:auto; display:block; }
.mbadge__name { font-family: var(--font-display); font-weight:800; font-size: clamp(16px,1.9vw,26px); line-height:1; letter-spacing:-.02em; }

/* ---------- Footer ---------- */
.footer { background: var(--fg); color: #0B0B0C; padding-block: clamp(56px, 7vw, 110px); }
.footer a:hover { color: var(--c-red); }
.footer .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 13vw, 220px); line-height: .82; letter-spacing: -.03em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-top: 50px; }
.foot-col h4 { font-family: var(--font-cond); text-transform: uppercase; font-size:14px; letter-spacing:.04em; opacity:.55; margin-bottom:16px; }
.foot-col a, .foot-col p { display:block; font-size:17px; margin-bottom:10px; }
.foot-bottom { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-top:56px; font-family: var(--font-cond); text-transform:uppercase; font-size:13px; letter-spacing:.03em; opacity:.6; }
@media (max-width: 760px){ .foot-grid{ grid-template-columns:1fr; } }
