/* The desktop arrangement stays in its original slots. */
.ys-mobile-hero-film {display:none}
.ys-navigation__arrow {display:block;width:22px;height:22px;overflow:hidden;position:relative;flex-shrink:0}
.ys-navigation__arrow svg {position:absolute;inset:0;width:22px;height:22px;transition:transform .4s cubic-bezier(.22,1,.36,1)}
.ys-navigation__arrow svg+svg {transform:translate(-110%,110%)}
.ys-navigation a:is(:hover,:focus-visible) .ys-navigation__arrow svg:first-child {transform:translate(110%,-110%)}
.ys-navigation a:is(:hover,:focus-visible) .ys-navigation__arrow svg+svg {transform:none}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
  .ys-navigation.is-open .ys-navigation__actions {visibility:hidden;pointer-events:none}
  .ys-navigation__brand, .ys-navigation.is-scrolled .ys-navigation__brand,
  .ys-navigation.is-open .ys-navigation__brand {display:flex!important;opacity:1!important;visibility:visible!important;transform:none!important;position:static!important}
  .ys-navigation li a>.ys-navigation__arrow {opacity:1;transform:none}
  .hero[data-intro-home] {padding:calc(80px + env(safe-area-inset-top)) 0 0!important;min-height:0!important;height:auto!important;background:var(--ys-lab-paper,#faf7f0)!important}
  .hero[data-intro-home]>.hero__bg {display:none!important}
  .hero[data-intro-home] .hero__container {padding:0!important;min-height:0!important}
  .hero[data-intro-home] .hero__inner {display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;min-height:0!important}
  .ys-mobile-hero-film {display:block;position:relative;isolation:isolate;width:100%;height:clamp(350px,98vw,450px);overflow:hidden;border-radius:28px;background:#082f62}
  .ys-mobile-hero-film::after {content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#082f6220 20%,#082f6240 45%,#082f62d9 100%)}
  .hero .ys-mobile-hero-film .ys-hero-video-card {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;rotate:none!important;overflow:hidden!important}
  .ys-mobile-hero-film .ys-hero-video-frame {height:100%;padding:0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
  .hero .ys-mobile-hero-film .ys-hero-news-card__photo {height:100%;aspect-ratio:auto}
  .hero .ys-mobile-hero-film :is(.hero__visual-img,.ys-hero-video) {width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
  .hero .ys-mobile-hero-film .hero__title {position:absolute!important;left:24px!important;right:24px!important;bottom:28px!important;top:auto!important;z-index:3;margin:0!important;width:auto!important;color:#fffdf8!important;font-size:clamp(48px,13vw,60px)!important;line-height:1.02!important;text-shadow:0 2px 20px #082f6255;pointer-events:none}
  .hero .ys-mobile-hero-film .ys-hero-video-toggle {inset:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:0!important;pointer-events:auto!important;transition:none!important}
  .ys-mobile-hero-film .ys-hero-video-toggle svg {display:none!important}
  .hero .ys-mobile-hero-film .ys-hero-video-toggle:focus-visible {opacity:1!important;outline:3px solid #fffdf8;outline-offset:-6px}
  .hero[data-intro-home] .hero__content {padding:28px 24px 38px!important;margin:0!important;width:100%!important;max-width:none!important}
  .hero[data-intro-home] .hero__header {gap:0!important;padding:0!important;margin:0!important}
  .hero[data-intro-home] .hero__paragraph {font-size:18px!important;line-height:1.55!important;margin:0 0 24px!important;width:100%!important;max-width:38ch!important}
  .hero[data-intro-home] .hero__content .button-alt {margin:0!important;font-size:18px!important}
  .hero[data-intro-home] .hero__bg {display:none!important}
  /* A tap on the carousel toggles motion without an extra pause control. */
  .ys3-lift {position:relative}
  .ys3-ready .ys3-lift #ys3-motion {position:absolute!important;inset:0!important;z-index:4;width:100%!important;height:100%!important;margin:0!important;padding:0!important;opacity:1!important;background:transparent!important;border:0!important;border-radius:12px;box-shadow:none;cursor:pointer;touch-action:pan-y}
  .ys3-lift #ys3-motion span {display:none}
  .ys3-lift #ys3-motion[aria-pressed=true] span {display:block;position:absolute;right:16px;bottom:16px;padding:9px 14px;border-radius:30px;background:#faf7f0ed;color:#082f62;box-shadow:0 3px 14px #082f6214;font-size:14px;font-weight:600}
  .ys3-lift #ys3-motion:focus-visible {outline:3px solid #082f62;outline-offset:-4px}
  /* Static fallback before an image is decoded, then run the montage. */
  .ys-fan .ys-demo-photo--a {opacity:1;visibility:visible}
  .ys-fan .ys-demo-play {background:#e8e0ce}
  .ys-fan .ys-demo-card[data-media-ready=false] :is(.ys-demo-photo--b,.ys-demo-collage,.ys-demo-grain) {display:none!important}
  /* A single calm sand surface from the contact block into the footer. */
  #contact.ys-site-footer__stage {margin:0!important;padding:40px 24px 32px!important;border-radius:28px 28px 0 0!important;background:var(--ys-lab-secondary,#ede6d8)!important;transform:none!important}
  #contact .ys-site-footer__bg {display:none!important}
  #contact .ys-site-footer__inner {gap:24px!important}
  #contact .ys-site-footer__visual {width:100%!important;max-width:440px!important;height:auto!important;aspect-ratio:3/2!important;max-height:none!important;rotate:none!important;transform:none!important;margin:0!important;justify-self:center}
  #contact .ys-site-footer__visual img {object-fit:cover!important;object-position:50% 48%}
  #contact .ys-footer-contact-actions {justify-content:flex-start!important;margin-top:24px}
  #contact .ys-site-footer__contact-button {visibility:visible!important;opacity:1!important;transform:none!important}
  .ys-site-footer {position:relative!important;inset:auto!important;bottom:auto!important;z-index:auto!important;display:block!important;min-height:0!important;height:auto!important;margin:0!important;padding:32px 24px calc(24px + env(safe-area-inset-bottom))!important;background:var(--ys-lab-secondary,#ede6d8)!important;overflow:visible!important}
  .ys-site-footer__pattern {display:none!important}
  .ys-site-footer__info {padding:0!important;position:relative!important;transform:none!important}
  .ys-site-footer__bottom {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px 20px!important;padding:0!important;margin:0!important;translate:none!important;transform:none!important}
  .ys-site-footer__brand-column {grid-column:1/-1!important;min-width:0}
  .ys-site-footer__brand-column>p {font-size:15px!important;max-width:30ch;margin-bottom:0}
  .ys-site-footer__bottom>.ys-site-footer__column {display:block!important;position:static!important;grid-column:auto!important;min-width:0;padding:0!important}
  .ys-site-footer__bottom>.ys-site-footer__contact-column {grid-column:1/-1!important;border-top:1px solid #082f6220;padding-top:24px!important}
  .ys-site-footer__column h3 {font-size:12px!important;margin-bottom:10px!important}
  .ys-site-footer__column ul {display:grid;gap:2px;margin:0;padding:0;list-style:none}
  .ys-site-footer__column :is(li,a), .ys-site-footer__address {font-size:15px!important;line-height:1.5!important;word-break:normal}
  .ys-site-footer__column li a {display:inline-flex;align-items:center;min-height:44px}
  .ys-site-footer__address a {display:block;min-height:44px;padding-top:8px}
  .ys-site-footer__contact-column .ys-site-footer__socials {display:flex!important;justify-content:flex-start!important;gap:8px;margin-top:14px!important}
  .ys-site-footer__base {position:static!important;display:grid!important;grid-template-columns:1fr auto!important;gap:18px!important;padding:24px 0 0!important;margin:24px 0 0!important;translate:none!important;transform:none!important;border-top:1px solid #082f6220}
  .ys-site-footer__base-meta {grid-column:1/-1!important;grid-row:2!important;font-size:13px!important}
  .ys-site-footer__base-actions {display:flex!important;position:static!important;align-items:center!important;justify-content:flex-end!important}
  .ys-site-footer__back-top {font-size:0!important;min-width:44px!important;min-height:44px!important;gap:0!important;padding:0!important;overflow:visible!important}
  .ys-site-footer__back-top>span {width:44px!important;height:44px!important;min-width:44px!important;font-size:22px!important;background:#598365!important;color:#fffdf8!important;border:0!important;display:grid!important;place-items:center!important}
  .ys-site-footer__certification {width:54px!important;height:auto!important}
  .ys-enrol-hero {grid-template-columns:1fr!important;gap:0!important}
  .ys-enrol-photo {height:180px!important;width:100%!important;aspect-ratio:auto!important;max-height:190px!important;rotate:none!important;transform:none!important;margin:24px 0!important;border-radius:16px!important;overflow:hidden!important}
  .ys-enrol-photo img {height:100%!important;width:100%!important;object-fit:cover!important;object-position:50% 36%!important}
  .ys-enrol-photo figcaption {display:none!important}
  .ys-enrol-start {background:#598365!important;color:#fffdf8!important}
  .ys-enrol-hero__copy h1>span {color:#598365!important}
  .ys-registration-window[open] {animation:ys-mobile-dialog-in .45s cubic-bezier(.22,1,.36,1)}
  .ys-registration-window.is-closing {animation:ys-mobile-dialog-out .3s ease-in forwards}
  .ys-legal-arrival::before {background:#faf7f0!important}
  .ys-legal-wipe.is-mobile {background:#faf7f0}
  .ys-legal-wipe.is-mobile .ys-legal-wipe__shape {display:none}
  .ys-legal-wipe.is-mobile .ys-legal-wipe__logo {width:72px}
}
@keyframes ys-mobile-dialog-in {from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes ys-mobile-dialog-out {to{opacity:0;transform:translateY(18px)}}
@media(prefers-reduced-motion:reduce) {
 .ys-navigation__arrow svg {transition:none}
 .ys-registration-window[open],.ys-registration-window.is-closing {animation:none}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
  .hero .ys-mobile-hero-film .ys-hero-video-card {z-index:0!important}
  .hero .ys-mobile-hero-film .hero__title :is(span,.split-word,.split-char) {color:#fffdf8!important}
  .ys-mobile-hero-film::after {background:linear-gradient(180deg,#082f6220 15%,#082f6240 40%,#082f62f5 72%,#082f62 86%)}
  .ys-mobile-hero-film .ys-hero-video-toggle {z-index:4}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 .ys3-ready .ys3-lift #ys3-motion span {display:none!important}
 .ys3-ready .ys3-lift #ys3-motion[aria-pressed=true] span {display:block!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 .ys-site-footer__back-top>.ys-backtop-label {display:none!important}
 .ys-site-footer__back-top>.ys-backtop-icon {display:grid!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 #contact.ys-site-footer__stage .ys-site-footer__inner {width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 #contact.ys-site-footer__stage .ys-site-footer__inner .ys-site-footer__visual {width:100%!important;aspect-ratio:3/2!important;min-height:0!important;height:auto!important;transform:none!important;margin:0!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 html[data-ys-color-scope=site] #top .ys-mobile-hero-film [data-hero-title],
 html[data-ys-color-scope=site] #top .ys-mobile-hero-film [data-hero-title] * {color:#fffdf8!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 html[data-ys-color-scope=site] #contact.ys-site-footer__stage {background:var(--ys-lab-secondary,#ede6d8)!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 body.ys-legal-page .ys-site-footer {position:relative!important;bottom:auto!important;z-index:auto!important;margin:0!important;min-height:0!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 .ys-site-footer .ys-site-footer__base>.ys-site-footer__certification {grid-column:1!important;grid-row:1!important;align-self:center!important}
 .ys-site-footer .ys-site-footer__base>.ys-site-footer__base-actions {grid-column:2!important;grid-row:1!important}
 .ys-site-footer .ys-site-footer__base>.ys-site-footer__base-meta {grid-column:1/-1!important;grid-row:2!important}
}
@media (max-width:767px), (max-width:991px) and (max-height:500px) {
 .ys-site-footer .ys-site-footer__base>.ys-site-footer__certification {width:72px!important}
 .ys-site-footer__certification>.pop-up__button {min-height:48px!important}
 .ys-site-footer__contact-column .ys-osmo-social {min-width:44px;min-height:44px}
}
