/* Keep secondary controls quiet across all site palettes. */
html .topbar .social-icon,html.slp-theme .topbar .social-icon,
html .video-controls button{color:#929499;transition:color .2s ease;opacity:1}
html .topbar .social-icon:hover,html.slp-theme .topbar .social-icon:hover,
html .video-controls button:hover{color:#b1b3b7;opacity:1}
html .topbar .social-icon:focus-visible,html .video-controls button:focus-visible{outline:1px solid #b1b3b7;outline-offset:4px}
/* A slow continuous sweep through the site's five palette families. */
.topbar .logo .logotype,.topbar .logo .logotext{
 background-image:linear-gradient(110deg,#f2b0c0 0%,#d9b8ef 12%,#8edbd6 25%,#b4c7ef 37%,#e8c575 50%,#edb0bc 62%,#b4bec9 75%,#ded5cb 88%,#b6bdc4 100%);
 background-size:500% 100%;background-position:0% 50%;
 background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
 animation:slp-logo-colors 24s ease-in-out infinite alternate;
}
@keyframes slp-logo-colors{from{background-position:0% 50%}to{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.topbar .logo .logotype,.topbar .logo .logotext{animation:none;background-position:35% 50%}}
.topbar .logo:focus-visible{outline:1px solid #b1b3b7;outline-offset:7px}
@media(prefers-reduced-motion:reduce){html .topbar .social-icon,html .video-controls button{transition:none}}

/* Italic glyphs extend past their advance width; include the overhang in the text paint box. */
.topbar .logo .logotype{padding:.12em .38em .12em .18em;margin:-.12em -.38em -.12em -.18em;flex-shrink:0}

/* Language trigger matches the quiet social controls. */
html .topbar .lang,html.slp-theme .topbar .lang{color:#929499;transition:color .2s ease}
html .topbar .lang:hover,html.slp-theme .topbar .lang:hover{color:#b1b3b7}
html .topbar .lang svg{stroke:currentColor}

/* Text-only film selector: only the O changes on hover. */
.hero-film-picker{position:absolute;right:25px;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;align-items:center;gap:0}
.film-dot{display:grid;place-items:center;width:44px;height:30px;padding:0;border:0;background:transparent;color:#929499;cursor:pointer}
.film-dot span{display:grid;place-items:center;width:22px;height:22px;border:0;background:transparent;box-shadow:none;font:400 12px/1 Arial,sans-serif;transition:color .25s}
.film-dot[aria-pressed="true"] span{width:22px;border:0;background:transparent;box-shadow:none;color:#b1b3b7;font-weight:400}
.film-dot:hover{background:transparent;box-shadow:none}.film-dot:hover span{color:#c4c6c9}.film-dot:focus-visible{outline:1px solid #b1b3b7;outline-offset:0;border-radius:999px}
@media(max-width:600px){.hero-film-picker{right:7px}.film-dot{height:28px}}
@media(prefers-reduced-motion:reduce){.film-dot span{transition:none}}

/* Open language list: centered text directly over the page. */
html .topbar .language-options{background:transparent;backdrop-filter:none;box-shadow:none;border:0;right:50%;transform:translateX(50%)}
html .topbar .language-options button{text-align:center;color:#929499;background:transparent;text-shadow:0 1px 4px #0009}
html .topbar .language-options button:hover,html .topbar .language-options button:focus-visible{background:transparent;color:#c4c6c9}
/* A gradient outline leaves the video visible through the Apply button. */
html.home-view .mobile-hero-content a.button[href="#/apply"]{position:relative;border-color:transparent}
html.home-view .mobile-hero-content a.button[href="#/apply"]::before{content:"";position:absolute;inset:-1px;padding:1px;border-radius:inherit;pointer-events:none;background-image:linear-gradient(110deg,#f2b0c0 0%,#d9b8ef 12%,#8edbd6 25%,#b4c7ef 37%,#e8c575 50%,#edb0bc 62%,#b4bec9 75%,#ded5cb 88%,#b6bdc4 100%);background-size:500% 100%;animation:slp-logo-colors 24s ease-in-out infinite alternate;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
@media(prefers-reduced-motion:reduce){html.home-view .mobile-hero-content a.button[href="#/apply"]::before{animation:none;background-position:35% 50%}}

/* Menu feedback uses color, without an underline. */
html #nav.corner-nav a{transition:color .25s ease;text-decoration:none}
html #nav.corner-nav a:hover,html #nav.corner-nav a:focus-visible,html #nav.corner-nav a.active{color:#8edbd6;text-decoration:none}
html.slp-theme #nav.corner-nav a:hover,html.slp-theme #nav.corner-nav a:focus-visible,html.slp-theme #nav.corner-nav a.active{color:#8edbd6;text-decoration:none}
html .topbar .language-options button:hover,html .topbar .language-options button:focus-visible{color:#8edbd6;text-decoration:none}
@media(prefers-reduced-motion:reduce){html #nav.corner-nav a{transition:none}}

/* Home controls float directly over the film without a tinted header. */
html.home-view .topbar,html.home-view .topbar.solid{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html.home-view .hero::after{background:linear-gradient(0deg,#10131ad9,transparent 57%)!important}

/* Soft palette motion on the O glyphs only; no capsule or filled background. */
.hero-film-picker .film-dot span{animation:slp-film-colors 18s ease-in-out infinite;opacity:.42;transition:opacity .25s ease,filter .25s ease,transform .25s ease}
.hero-film-picker .film-dot[aria-pressed="true"] span{opacity:1;filter:brightness(1.25);transform:scale(1.3);font-weight:700;text-shadow:0 0 7px currentColor}
.hero-film-picker .film-dot:hover span,.hero-film-picker .film-dot:focus-visible span{opacity:1;filter:brightness(1.18)}
@keyframes slp-film-colors{0%,100%{color:#f2b0c0}25%{color:#8edbd6}50%{color:#e8c575}75%{color:#b4bec9}}
@media(prefers-reduced-motion:reduce){.hero-film-picker .film-dot span{animation:none;color:#8edbd6;transition:none}}

#submit-application:disabled{opacity:.5;cursor:not-allowed;transform:none}
