/* Composition study: the scale and asymmetry of the Oryzo reference. */
:root { --page-gutter: 3.1vw; --scene-accent: #ead0a6; }
:root[data-world="ancient"] { --scene-accent: #c1dfc5; }
:root[data-world="nuke"] { --scene-accent: #b3d6f5; }
.hero-header {
  --header-link-size: 20px;
  --header-link-gap: clamp(17px,1.9vw,32px);
  top: 25px;
  align-items: center;
}
.header-brand { position: static; font-size: 36px; font-weight: 600; line-height: 1.1; letter-spacing: -1.3px; }
.header-brand a { color: #fff; padding: 0; }
.hero-nav { margin-left: auto; gap: var(--header-link-gap); }
.hero-contacts { display: flex; align-items: center; gap: var(--header-link-gap); margin-left: var(--header-link-gap); }
.hero-header :is(.hero-nav,.hero-contacts) a {
  display: inline-block;
  padding: 7px 0;
  border-radius: 0;
  color: #fff;
  font-size: var(--header-link-size);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.3px;
  text-decoration: none;
  pointer-events: auto;
}
.hero-header :is(.hero-nav,.hero-contacts) a:is(:hover,[aria-current="location"]) { color: #cbb5ff; background: none; }
.hero-header :is(.hero-nav,.hero-contacts) a[data-club-daylight]:is(:hover,[aria-current="location"]) { color: #563584; }
:root[data-tactics-clean-frame] .hero-header :is(.hero-nav,.hero-contacts) a:is(:hover,[aria-current="location"]) { color: #f3dfff; }
.header-mail-label { display: none; }
.hero-header a { white-space: nowrap; }
.hero-header a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; border-radius: 3px; }
.hero-header a:active { opacity: .74; }
/* Open Results on the fully framed jersey and the completed chart. */
.baks-story { scroll-margin-top: calc(-200svh - 100px); }
.engagement-left { top: auto; bottom: 32px; width: clamp(200px,16vw,260px); padding: 0; border: 0; border-radius: 0; background: none; }
.engagement-left .intro-kicker { margin-bottom: 17px; color: #ebe6f8; font-size: clamp(17px,1.35vw,23px); font-weight: 650; line-height: 1.08; letter-spacing: -.55px; text-transform: uppercase; }
.video-thumbnail { border-radius: 12px; }
.teaser-play { width: 35px; height: 35px; }
.teaser-label { margin-top: 13px; font-size: 13px; }
.intro-caption { margin-top: 17px; padding-top: 15px; border-top: 1px dashed #b4a6d560; color: #c4bfd2; font-size: 11px; font-weight: 500; line-height: 1.55; }
.engagement-right { top: 34svh; bottom: 32px; right: var(--page-gutter); width: 30.5vw; max-width: 510px; }
.engagement-right .intro-kicker { display: none; }
.engagement-right h2 { font-size: clamp(56px,4.5vw,80px); line-height: 1.03; font-weight: 600; letter-spacing: -.045em; }
.world-details { position: absolute; top: 34svh; right: calc(var(--page-gutter) + 64px); width: min(23vw,360px); pointer-events: auto; }
.intro-description { margin: 0; color: #d0cbdc; font-size: clamp(18px,1.3vw,22px); line-height: 1.55; font-weight: 400; text-wrap: pretty; }
.copy-word { display: inline-block; }
.primary-action { position: absolute; right: auto; bottom: 0; width: min(100%,300px); min-height: 54px; font-size: 16px; border-radius: 12px; }
.world-set { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.world-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scene-navigation { position: fixed; top: 43svh; right: var(--page-gutter); z-index: 10; display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%); pointer-events: none; opacity: var(--intro-alpha,1); }
.scene-step { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #cec4e6; pointer-events: auto; }
.scene-star { display: block; width: 34px; height: 34px; transform: scale(.5); overflow: visible; transition: transform .4s cubic-bezier(.2,.7,.2,1),filter .4s; }
.star-outline { fill: #bcb1d608; stroke: #9d98ad; stroke-width: 1.4; }
.star-progress { fill: none; stroke: var(--scene-accent); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.star-core { fill: var(--scene-accent); opacity: 0; transition: opacity .3s; }
.scene-step[aria-pressed="true"] .scene-star { transform: scale(1); filter: drop-shadow(0 0 6px #c7c3e62e); }
.scene-step[aria-pressed="true"] .star-outline { stroke: #b9b4ca66; }
.scene-step[aria-pressed="true"] .star-progress,.scene-step[aria-pressed="true"] .star-core { opacity: 1; }
.scene-step:hover .scene-star { transform: scale(.7); }
.scene-step[aria-pressed="true"]:hover .scene-star { transform: scale(1.08); }
.scene-step:hover .star-outline { stroke: #e5deef; }
.scroll-cue { left: 66.4%; bottom: 27px; transform: none; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .4px; }
.scroll-mouse { width: 19px; height: 19px; border-radius: 50%; }
.scroll-mouse i { left: 8px; top: 5px; height: 3px; }
@media (min-width: 761px) and (max-width: 1450px) {
  .scroll-cue { left: 50%; transform: translateX(-50%); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .engagement-left { width: 200px; bottom: 25px; }
  .engagement-left .intro-kicker { font-size: 17px; }
  .engagement-right { top: 32svh; width: 30vw; }
  .engagement-right h2 { font-size: 42px; }
  .intro-description { font-size: 18px; margin-block: 20px 26px; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 20px; }
  .hero-header { top: 22px; flex-wrap: wrap; gap: 12px; }
  .header-brand { flex-basis: 100%; }
  .hero-nav { width: 100%; margin-left: 0; justify-content: space-between; gap: 16px; }
  .engagement-left,.engagement-right { display: contents; background: none; border: 0; backdrop-filter: none; }
  .engagement-left .intro-kicker,.engagement-right .intro-kicker,.intro-description,.intro-caption { display: none; }
  .engagement-right h2 { top: 22svh; left: 20px; right: 20px; font-size: 23px; line-height: 1.1; }
  .video-teaser { left: 20px; bottom: 97px; }
  .teaser-play { width: 25px; height: 25px; }
  .teaser-label { margin: 0; }
  .primary-action { position: absolute; width: calc(100% - 40px); max-width: none; bottom: 24px; font-size: 12px; }
  .scroll-cue { left: auto; right: 18px; bottom: 103px; font-size: 8px; letter-spacing: 0; text-transform: none; font-weight: 500; }
  .scroll-mouse { display: none; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .engagement-right h2 { top: 22svh; font-size: 20px; }
}
@media (min-width: 761px) {
  .engagement-right { top: 0; }
  .engagement-right h2 { position: absolute; top: 43svh; width: 100%; transform: translateY(-50%); font-size: clamp(56px,4.5vw,80px); }
  .world-details { top: 43svh; transform: translateY(-50%); }
  .world-copy { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-star,.star-core { transition: none; }
}

.hero-header { transition: top .28s ease, gap .28s ease; }
.hero-header .header-brand { transition: font-size .28s ease; }
.hero-header :is(.hero-nav,.hero-contacts) a { transition: font-size .28s ease, color .22s ease; }
.hero-header[data-compact] { --header-link-size: 18px; top: 17px; }
.hero-header[data-compact] .header-brand { font-size: 32px; }

.scene-step:focus-visible,.scroll-cue:focus-visible,.video-teaser:focus-visible,
:is(.dialog-submit,.dialog-close,.film-close):focus-visible { outline: 2px solid #c5a8ff; outline-offset: 4px; }
.scene-step:active .scene-star,.video-teaser:active .teaser-play { scale: .92; }
#hero .scroll-cue { transition: border-color .24s ease, background-color .24s ease, scale .2s ease; }
#hero .scroll-cue:is(:hover,:focus-visible) { background-color: #20203a; border-color: #e2d5ff; }
#hero .scroll-cue:active { scale: .94; }
.landing-demo.primary-action:focus-visible { outline: 2px solid #c5a8ff; outline-offset: 5px; }
.landing-demo.primary-action:active { scale: .985; }
@media (prefers-reduced-motion: no-preference) {
  :is(.hero-dialog,.film-dialog)[open] { animation: panel-arrive .28s cubic-bezier(.2,.75,.25,1) both; }
  :is(.hero-dialog,.film-dialog)[open]::backdrop { animation: panel-backdrop .25s ease both; }
}
@keyframes panel-arrive { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0; } }
@keyframes panel-backdrop { from { opacity: 0; } to { opacity: 1; } }

.landing-demo-dock {
  position: fixed;
  z-index: 12;
  inset: auto 0 max(20px, env(safe-area-inset-bottom));
  width: min(300px, calc(100% - 40px));
  height: 54px;
  margin-inline: auto;
  pointer-events: none;
}
:root[data-intro="loading"] .landing-demo { visibility: hidden; }
@media (min-width: 761px) {
  #hero .scroll-cue { bottom: max(90px, calc(70px + env(safe-area-inset-bottom))); }
}
@media (max-width: 760px) {
  .hero-header { --header-link-size: clamp(14px,3.5vw,18px); }
  .hero-header .header-brand { order: -2; flex-basis: auto; }
  .hero-contacts { order: -1; margin-left: auto; }
  .hero-header[data-compact] { --header-link-size: clamp(13px,3.4vw,15px); top: 14px; gap: 7px; }
  .hero-header[data-compact] .header-brand { font-size: 28px; }
}
@media (max-width: 520px) {
  .header-mail-address { display: none; }
  .header-mail-label { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-header,.hero-header .header-brand,.hero-header :is(.hero-nav,.hero-contacts) a,#hero .scroll-cue { transition: none; }
  #hero .scroll-cue:active,.scene-step:active .scene-star,.video-teaser:active .teaser-play,.landing-demo.primary-action:active { scale: 1; }
}
