/* Home brand ident on every load. No dependency on the 3D renderer. */
html[data-brand-intro="playing"] { overflow: hidden; }
.brand-intro:not([open]) { display: none; }
.brand-intro[open] { display: grid; place-items: center; }
.brand-intro {
  /* One 1280 × 720 composition: fit BOTH axes, rather than capping each part
     independently. The upper bound keeps the identity composed on 4K screens. */
  --intro-unit: clamp(.5px, min(.078125vw, .138889dvh), 2px);
  --intro-side: max(20px, calc(64 * var(--intro-unit)));
  box-sizing: border-box;
  position: fixed; inset: 0; width: 100%; height: 100dvh;
  max-width: none; max-height: none; margin: 0;
  padding: max(16px, calc(40 * var(--intro-unit)));
  border: 0; overflow: hidden; color: #f4f5f7;
  touch-action: manipulation;
  background: radial-gradient(ellipse at 50% 65%, #24312e 0, #121923 45%, #0b1017 78%);
  font-family: var(--font-ui);
}
.brand-intro::backdrop { background: transparent; }
.brand-intro[open] { animation: vp-intro-exit 2.7s linear both; }
.brand-intro__field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.brand-intro__field::before { content: ''; position: absolute; width: calc(1400 * var(--intro-unit)); height: calc(375 * var(--intro-unit)); left: 50%; top: 55%; border: 1px solid #dec78d29; border-radius: 50%; transform: translateX(-50%) rotate(-12deg); box-shadow: 0 0 0 calc(100 * var(--intro-unit)) #ffffff02, 0 0 0 calc(220 * var(--intro-unit)) #ffffff02; }
.brand-intro__field::after { content: ''; position: absolute; left: -20%; top: 70%; width: 140%; height: 1px; background: linear-gradient(90deg, transparent, #dec78d85, transparent); transform: rotate(-12deg); }
.brand-intro__identity::before { content: ''; position: absolute; z-index: -1; width: min(calc(600 * var(--intro-unit)), 115vw); aspect-ratio: 1; top: 0; left: 50%; transform: translate(-50%, -35%); border-radius: 50%; background: radial-gradient(circle, #dec78d26, #2d6b4a18 40%, transparent 68%); }
.brand-intro__identity { position: relative; display: grid; justify-items: center; gap: calc(27 * var(--intro-unit)); width: min(100%, calc(1100 * var(--intro-unit))); min-width: 0; text-align: center; }
.brand-intro__crest { position: relative; overflow: hidden; padding: calc(11 * var(--intro-unit)); border: 1px solid #dec78d66; border-radius: 50%; background: #ffffff06; box-shadow: 0 calc(16 * var(--intro-unit)) calc(70 * var(--intro-unit)) #0006; }
.brand-intro__crest::after { content: ''; position: absolute; inset: -30%; background: linear-gradient(110deg, transparent 36%, #fff2 47%, #dec78d50 50%, transparent 62%); transform: translateX(120%); pointer-events: none; }
.brand-intro__crest img { display: block; width: calc(166 * var(--intro-unit)); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.brand-intro__title-mask { overflow: hidden; max-width: 100%; padding: calc(5 * var(--intro-unit)) calc(12 * var(--intro-unit)); }
.brand-intro h2 { margin: 0; color: #f4f5f7; font: 900 calc(94 * var(--intro-unit))/.96 var(--font-display); font-stretch: 115%; letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap; }
.brand-intro h2 span { color: #dec78d; }
.brand-intro__tagline { margin: 0; color: #b5bfcb; font-size: max(10px, calc(11 * var(--intro-unit))); font-weight: 500; letter-spacing: .19em; text-transform: uppercase; }
.brand-intro__baseline { position: absolute; inset: auto var(--intro-side) max(16px, env(safe-area-inset-bottom), calc(30 * var(--intro-unit))); display: flex; justify-content: space-between; gap: 16px; padding-top: calc(15 * var(--intro-unit)); border-top: 1px solid #ffffff20; color: #8c98a8; font-size: max(8px, calc(9 * var(--intro-unit))); letter-spacing: .17em; }
.brand-intro[open] .brand-intro__crest { animation: vp-intro-crest 1s cubic-bezier(.16,1,.3,1) both; }
.brand-intro[open] .brand-intro__crest::after { animation: vp-intro-light 1.05s ease-out both; }
.brand-intro[open] h2 { animation: vp-intro-title .45s .7s cubic-bezier(.16,1,.3,1) both; }
.brand-intro[open] .brand-intro__tagline { animation: vp-intro-tagline .35s 1.15s ease-out both; }
@keyframes vp-intro-crest { from { opacity: 0; transform: translateY(calc(20 * var(--intro-unit))) scale(3.4) rotate(-8deg); } 18% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes vp-intro-light { from { transform: translateX(-110%); } to { transform: translateX(120%); } }
@keyframes vp-intro-title { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes vp-intro-tagline { from { opacity: 0; } to { opacity: 1; } }
@keyframes vp-intro-exit { 0%, 84% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 700px) {
  .brand-intro {
    --intro-unit: clamp(.65px, min(.25641vw, .142857dvh), 1.15px);
    --intro-side: max(16px, calc(24 * var(--intro-unit)));
    padding: 24px;
  }
  .brand-intro__identity { gap: calc(22 * var(--intro-unit)); }
  .brand-intro__crest img { width: calc(128 * var(--intro-unit)); }
  .brand-intro h2 { font-size: calc(46 * var(--intro-unit)); }
  .brand-intro h2 span { display: block; }
  .brand-intro__tagline { max-width: min(100%, calc(280 * var(--intro-unit))); font-size: max(10px, calc(10 * var(--intro-unit))); line-height: 1.7; letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-intro, .brand-intro *, .brand-intro *::after { animation: none !important; }
}
