/* Original slyconcept.com opening — full-viewport composition (staging preview) */
body.sly-v2 .sly-cms-preview-banner {
  background: #c45c5c;
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 9999;
}
body.sly-v2 .sly-cms-preview-banner--float {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  font-size: 0.7rem;
  padding: 4px 10px;
  opacity: 0.92;
}

/* Discreet chrome over opening: no opaque bar, no prefs banner taking space */
body.sly-v2.sly-v2--opening-preview .sly-v2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 50;
}
body.sly-v2.sly-v2--opening-preview .sly-v2-header.is-solid {
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sly-line);
}
body.sly-v2.sly-v2--opening-preview .sly-v2-logo,
body.sly-v2.sly-v2--opening-preview .sly-v2-prefs-trigger,
body.sly-v2.sly-v2--opening-preview .sly-v2-icon-btn,
body.sly-v2.sly-v2--opening-preview .sly-v2-lang a {
  color: #f2f2f2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
body.sly-v2.sly-v2--opening-preview .sly-v2-prefs-trigger {
  border-color: rgba(255, 255, 255, 0.45);
}
/* Region modal sits above opening chrome without shifting layout */
body.sly-v2.sly-v2--opening-preview .sly-v2-prefs-modal {
  z-index: 80;
}

/* Opening page: no main gutters / max-width; header overlays (no reserved black row) */
body.sly-v2 .sly-cms-page--opening,
body.sly-v2.sly-v2--opening-preview .sly-v2-main.sly-cms-page--opening {
  max-width: none !important;
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
}

body.sly-v2 .sly-opening {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}
@supports (height: 100dvh) {
  body.sly-v2 .sly-opening {
    height: 100dvh;
    min-height: 100dvh;
  }
}

body.sly-v2 .sly-opening--night {
  background-color: #333;
  transition: background-color 1s ease-in-out;
  backdrop-filter: blur(3px);
}
body.sly-v2 .sly-opening--night.is-dark {
  background-color: #000;
}

/* Video fills the section frame — never intrinsic layout size */
body.sly-v2 .sly-opening__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
body.sly-v2 .sly-opening__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
  display: block;
}
body.sly-v2 .sly-opening__video-wrap.is-hidden .sly-opening__video {
  opacity: 0;
}
body.sly-v2 .sly-opening__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
  pointer-events: none;
}
body.sly-v2 .sly-opening--night.is-poster .sly-opening__video {
  opacity: 0;
}
body.sly-v2 .sly-opening--night:not(.is-poster) .sly-opening__poster {
  opacity: 0;
}
body.sly-v2 .sly-opening__play {
  position: absolute;
  left: 50%;
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: auto;
  min-height: var(--sly-touch, 44px);
  padding: 0.65rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
body.sly-v2 .sly-opening__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
body.sly-v2 .sly-opening__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

/* Copy overlays media inside the scene */
body.sly-v2 .sly-opening__brand {
  font-size: clamp(2.75rem, 12vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #ddd;
  position: relative;
  z-index: 2;
  margin: 0;
  line-height: 1.05;
}
body.sly-v2 .sly-opening__concept {
  font-size: clamp(1.5rem, 6vw, 3rem);
  font-weight: 300;
  margin: 1rem 0 0;
  color: #fff;
  position: relative;
  z-index: 2;
}
body.sly-v2 .sly-opening__coming {
  margin-top: 2rem;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 600;
  color: #ccc;
  position: relative;
  z-index: 2;
  animation: sly-opening-blink 1.2s infinite;
}
@keyframes sly-opening-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
  body.sly-v2 .sly-opening__coming {
    animation: none;
    opacity: 1;
  }
  body.sly-v2 .sly-opening__video,
  body.sly-v2 .sly-opening__urban-media {
    transition: none;
  }
  body.sly-v2 .sly-opening--night,
  body.sly-v2 .sly-opening--urban {
    transition: none;
  }
}

body.sly-v2 .sly-opening--urban {
  background-color: #222;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color 1.5s ease-in-out;
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 800;
}
body.sly-v2 .sly-opening__urban-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
  pointer-events: none;
}
body.sly-v2 .sly-opening--urban.is-ready .sly-opening__urban-media {
  opacity: 1;
}
body.sly-v2 .sly-opening__urban-copy {
  position: relative;
  z-index: 2;
}
body.sly-v2 .sly-opening__line {
  color: #fff;
  text-shadow: 0 0 10px #000;
  font-weight: 900;
  line-height: 1.15;
}

/* Compact socials — always visible (not gated on video/urban reveal) */
body.sly-v2 .sly-opening__socials {
  position: absolute;
  bottom: max(40px, calc(env(safe-area-inset-bottom, 0px) + 24px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 1;
  z-index: 3;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}
body.sly-v2 .sly-opening__socials--top {
  bottom: max(30px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  z-index: 3;
}
body.sly-v2 .sly-opening__socials a {
  display: inline-block;
  flex: 0 0 40px;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  margin: 0;
  padding: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(100%) brightness(0.85);
  transition: filter 0.3s ease;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
  pointer-events: auto;
}
body.sly-v2 .sly-opening__socials a:hover,
body.sly-v2 .sly-opening__socials a:focus-visible {
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  body.sly-v2 .sly-opening__socials {
    transition: none;
  }
}

/* Continuation sections after opening */
body.sly-v2 .sly-cms-page--opening > .sly-cms-carousel,
body.sly-v2 .sly-cms-page--opening > .sly-cms-grid,
body.sly-v2 .sly-cms-page--opening > .sly-cms-editorial,
body.sly-v2 .sly-cms-page--opening > .sly-cms-socials {
  max-width: var(--sly-max, 1440px);
  margin-left: auto;
  margin-right: auto;
}

body.sly-v2 .sly-cms-carousel .sly-cms-cta {
  margin-top: var(--sly-space-5, 1.5rem);
}

body.sly-v2 .sly-cms-grid--visual .sly-cms-grid__items {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
}
body.sly-v2 .sly-cms-grid--visual .sly-cms-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  text-align: center;
  font-size: var(--sly-fs-sm, 0.875rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.sly-v2 .sly-cms-socials {
  display: flex;
  justify-content: center;
  gap: var(--sly-space-5, 1.5rem);
  padding: var(--sly-space-6, 2rem) var(--sly-space-4, 1rem);
}
body.sly-v2 .sly-cms-socials__link img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.3s ease;
}
body.sly-v2 .sly-cms-socials__link:hover img,
body.sly-v2 .sly-cms-socials__link:focus-visible img {
  filter: none;
}
