/* Logo splash — a 3D reveal of the FA seal before a page opens.
   The overlay markup is authored at the top of <body> on every page; this
   stylesheet only dresses it. Every colour is the site's own: navy #0B1F4D /
   #071735 with the gold #D4A017 and #F9D976 accents used by the header, hero
   and footer. It stays hidden unless splash.js adds .has-splash to <html>, so
   without JavaScript (and in the editor) the page renders exactly as before. */
.splash{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  place-items:center;
  padding:24px;
  overflow:hidden;
  background:
    radial-gradient(58% 48% at 78% 16%,rgba(249,217,118,.16) 0%,rgba(249,217,118,0) 70%),
    radial-gradient(48% 42% at 14% 88%,rgba(212,160,23,.14) 0%,rgba(212,160,23,0) 72%),
    linear-gradient(168deg,#16386F 0%,#0B1F4D 46%,#071735 100%);
  color:#fff;
  font-family:'Montserrat',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
/* The same hairline gold circle that rings the site's hero and page headers. */
.splash:before{
  content:"";
  position:absolute;
  width:min(620px,86vw);
  aspect-ratio:1;
  border:1px solid rgba(212,160,23,.18);
  border-radius:50%;
  box-shadow:0 0 0 45px rgba(212,160,23,.03),0 0 0 100px rgba(212,160,23,.02);
  pointer-events:none;
}
.splash *{box-sizing:border-box}
html.has-splash{overflow:hidden}
html.has-splash .splash{display:grid}

.splash-stage{
  position:relative;
  perspective:1100px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.splash-seal{
  position:relative;
  width:clamp(132px,24vw,180px);
  aspect-ratio:1;
  padding:10px;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(212,160,23,.85),
    0 30px 90px rgba(4,12,30,.6),
    0 0 70px rgba(249,217,118,.3);
  transform-style:preserve-3d;
  animation:splashTurn 1.3s cubic-bezier(.22,.8,.24,1) both;
}
.splash-seal img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}
.splash-seal:after{
  content:"";
  position:absolute;
  inset:-40% -60%;
  background:linear-gradient(105deg,rgba(255,255,255,0) 38%,rgba(255,255,255,.85) 50%,rgba(255,255,255,0) 62%);
  transform:translateX(-120%);
  animation:splashSheen 1.05s .85s ease-in-out both;
  pointer-events:none;
}
@keyframes splashTurn{
  0%{opacity:0;transform:translateZ(-340px) rotateY(-104deg) rotateX(14deg) scale(.72)}
  35%{opacity:1}
  72%{transform:translateZ(30px) rotateY(7deg) rotateX(-4deg) scale(1.03)}
  100%{opacity:1;transform:translateZ(0) rotateY(0) rotateX(0) scale(1)}
}
@keyframes splashSheen{
  0%{transform:translateX(-120%)}
  100%{transform:translateX(120%)}
}
.splash-name{
  margin:26px 0 0;
  color:#F9D976;
  font:400 clamp(30px,5.6vw,44px)/1 'Bebas Neue',Impact,sans-serif;
  letter-spacing:.2em;
  text-indent:.2em;
  text-transform:uppercase;
  opacity:0;
  animation:splashRise .65s .9s ease-out both;
}
.splash-line{
  margin:10px 0 0;
  color:rgba(255,255,255,.6);
  font-size:8px;
  font-weight:700;
  letter-spacing:.34em;
  text-transform:uppercase;
  opacity:0;
  animation:splashRise .65s 1.1s ease-out both;
}
@keyframes splashRise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
.splash.is-done{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .55s ease,visibility 0s linear .55s;
}
@media(prefers-reduced-motion:reduce){
  .splash-seal{animation:none;transform:none;opacity:1}
  .splash-seal:after{display:none}
  .splash-name,.splash-line{animation:none;opacity:1;transform:none}
}
