/* Home-only additions. Existing hero dimensions and button styling are retained. */
html.wfs-intro-active, .wfs-intro-active body { overflow: hidden; }
.wfs-intro { position: fixed; inset: 0; z-index: 10000; background: #080e1c; opacity: 1; transition: opacity 0.6s ease; }
html.wfs-intro-active .wfs-intro[hidden] { display: block !important; }
.wfs-intro.is-leaving { opacity: 0; }
.wfs-intro-video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The opaque fallback also applies when transparency is reduced. */
.wfs-intro-skip {
  position: absolute;
  right: max(32px, env(safe-area-inset-right));
  bottom: max(32px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px 12px 22px;
  border: 1px solid rgba(253,251,246,.38);
  border-radius: 999px;
  background: #2A3550;
  color: #FDFBF6;
  box-shadow: 0 8px 24px rgba(8,14,28,.35);
  font: 600 15px/1 var(--sans);
  letter-spacing: .06em;
  cursor: pointer;
  animation: wfs-skip-enter 300ms ease-out both;
}
.wfs-intro-skip svg { flex: none; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .wfs-intro-skip {
    background: rgba(42,53,80,.72);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
  }
}
.wfs-intro-skip:hover { background: #C9A16B; color: #2A3550; border-color: #C9A16B; }
.wfs-intro-skip:active { transform: translateY(1px); }
.wfs-intro-skip:focus-visible {
  outline: 3px solid #C9A16B;
  outline-offset: 3px;
  color: #FDFBF6;
  background: #2A3550;
  /* The initial keyboard focus must be visible immediately. */
  animation: none;
}
@keyframes wfs-skip-enter {
  from { opacity: 0; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-transparency: reduce) {
  .wfs-intro-skip { background: #2A3550; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .wfs-intro-skip:hover { background: #C9A16B; }
  .wfs-intro-skip:focus-visible { background: #2A3550; }
}
@media (max-width: 767px) {
  .wfs-intro-skip {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
    white-space: nowrap;
  }
  .wfs-intro-skip:active { transform: translateX(-50%) translateY(1px); }
}
.hero .hero-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #F6F6F3;
  box-shadow: 0 10px 30px rgba(8,14,28,.35);
}
.hero .hero-crest img { width: 84%; height: 84%; object-fit: contain; }
@media (max-width: 767px) {
  .hero .hero-crest { width: 120px; }
}
.hero { position: relative; isolation: isolate; background: #080e1c; }
.wfs-hero-background { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #080e1c url('intro/wfs-bg-poster-16x9.jpg') center / cover no-repeat; }
.wfs-hero-background video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Even a white video pixel is darkened enough for AA cream body copy. */
.wfs-hero-background::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(8,14,28,0.64), rgba(8,14,28,0.72)); }
.hero h1, .hero .hero-lede { color: #FDFBF6; }
/* Colour-only change to the transparent ghost button; dimensions and hover stay intact. */
.hero .btn-ghost { color: #FDFBF6; }
@media (orientation: portrait), (max-width: 767px) {
  .wfs-hero-background { background-image: url('intro/wfs-bg-poster-9x16.jpg'); }
}
@media (prefers-reduced-motion: reduce) {
  .wfs-intro { transition: none; }
  .wfs-intro-skip { animation: none; }
}

/* Crossfade only the label; the existing Skip pill and chevron keep their styling. */
.wfs-intro-skip-label { transition: opacity 125ms ease; }
.wfs-intro-skip-label.is-fading { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .wfs-intro-skip-label { transition: none; }
}
