/* Persistent navigation, with the same geometry as the original brand header. */
html { scroll-padding-top: 120px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 232, .96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s, background .25s;
}
.site-header.is-scrolled {
  background: rgba(244, 240, 232, .98);
  box-shadow: 0 1px 0 #07555c15, 0 8px 25px #171b1c08;
}
.site-header.is-scrolled .header-inner { border-bottom-color: transparent; }

.hero-carousel { min-width: 0; direction: rtl; align-self: center; }
.carousel-viewport {
  position: relative;
  height: 492px;
  direction: ltr;
  touch-action: pan-y;
  isolation: isolate;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-12px) scale(.98);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1), visibility .8s;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 1;
}
.hero-carousel .hero-art { width: calc(100% - 16px); height: calc(100% - 18px); margin: 12px 8px 0; max-width: none; }
.hero-carousel .art-word { left: 29px; right: auto; width: 177px; bottom: 54px; }
.hero-carousel .art-note { display: none; }
.hero-carousel .art-seal { right: 2px; }
.carousel-slide.is-active .art-symbol .brand-star { animation: brand-reveal 1.1s cubic-bezier(.2,.7,.2,1) both; }
.carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding-top: 11px; border-top: 1px solid var(--line); }
.carousel-dots { display: flex; align-items: center; gap: 11px; direction: ltr; }
.carousel-dot { width: 44px; min-height: 44px; padding: 7px 0; background: none; color: #7e897b; font: 11px var(--latin); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.carousel-dot.is-active { color: var(--teal); font-weight: 700; }
.dot-track { display: block; width: 38px; height: 2px; background: #cdd3c5; overflow: hidden; }
.dot-track > span { display: block; width: 100%; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.carousel-dot.is-active .dot-track > span { transform: scaleX(1); }
[data-carousel].is-playing .carousel-dot.is-active .dot-track > span { animation: carousel-progress 3s linear both; }
.carousel-actions { display: flex; align-items: center; gap: 6px; }
.carousel-control { width: 39px; height: 44px; background: transparent; border: 1px solid #bac6b6; border-radius: 50%; color: var(--teal); display: grid; place-items: center; transition: color .2s, background .2s; }
.carousel-control:hover { color: var(--cream); background: var(--teal); }
.carousel-control svg { width: 19px; height: 19px; }
.carousel-playback { border-color: transparent; }
.carousel-playback .play-icon { display: none; }
[data-carousel].is-paused .carousel-playback .play-icon { display: block; }
[data-carousel].is-paused .carousel-playback .pause-icon { display: none; }
.carousel-caption { font-size: 10px; color: #667260; margin-top: 8px; text-align: right; min-height: 20px; }
.logo-panel, .identity-panel { position: relative; height: 100%; width: 100%; overflow: hidden; border-radius: 8px 90px 8px 8px; }
.logo-panel { background: var(--orange); color: var(--cream); }
.panel-topline { position: absolute; top: 29px; left: 28px; right: 35px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font: 8px var(--latin); letter-spacing: 1.5px; z-index: 2; direction: ltr; }
.logo-panel-rings { position: absolute; width: 490px; height: 490px; left: -175px; top: -182px; border: 1px solid #f4f0e829; border-radius: 50%; box-shadow: 0 0 0 40px #f4f0e809, 0 0 0 80px #f4f0e809, 0 0 0 120px #f4f0e809; }
.logo-panel-lockup { position: absolute; top: 33%; left: 9%; right: 9%; z-index: 2; }
.logo-panel-lockup .logo { width: 100%; height: auto; }
.logo-panel-lockup > span { display: block; text-align: right; font: 9px var(--latin); letter-spacing: 3px; margin-top: 14px; }
.logo-panel-mark { position: absolute; bottom: 39px; left: 29px; width: 99px; height: 99px; color: var(--teal); }
.carousel-slide.is-active .logo-panel-mark { animation: brand-reveal 1.2s cubic-bezier(.2,.7,.2,1) both; }
.logo-panel-bottom { position: absolute; bottom: 41px; right: 35px; font-size: 19px; direction: rtl; line-height: 1.9; }
.logo-panel-bottom strong { font-weight: 550; }
.panel-edition { position: absolute; bottom: 18px; left: 29px; font: 6px var(--latin); letter-spacing: 1.5px; }
.identity-panel { background: #e2e7da; color: var(--teal); display: flex; flex-direction: column; padding-top: 70px; border: 1px solid #d2d9ca; }
.identity-panel-image { flex: 1; min-height: 0; display: flex; align-items: center; overflow: hidden; padding: 15px; }
.identity-panel-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.identity-panel-bottom { display: flex; direction: rtl; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 29px; border-top: 1px solid #bcc9b880; background: #f4f0e850; }
.identity-panel-bottom span { font-size: 9px; color: #5f735d; }
.identity-panel-bottom p { font-size: 17px; margin-top: 7px; font-weight: 500; }
.identity-panel-bottom .brand-star { width: 55px; height: 55px; color: var(--orange); flex-shrink: 0; }
@keyframes carousel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes brand-reveal { from { transform: rotate(-65deg) scale(.9); } to { transform: rotate(0) scale(1); } }
@media(min-width:1500px) { .carousel-viewport { height: 510px; } }
@media(max-width:1100px) {
  .carousel-viewport { height: 414px; }
  .hero-carousel .art-word { width: 135px; left: 23px; }
  .logo-panel-bottom { font-size: 16px; }
  .logo-panel-mark { width: 78px; height: 78px; }
  .logo-panel-lockup > span { font-size: 7px; letter-spacing: 2px; }
  .panel-topline { font-size: 6px; letter-spacing: 1px; }
}
@media(max-width:760px) {
  html { scroll-padding-top: 98px; }
  .hero-carousel { width: 100%; max-width: 450px; justify-self: center; margin-top: 7px; }
  .carousel-viewport { height: clamp(320px, 106vw, 432px); }
  .carousel-toolbar { margin-top: 16px; padding-top: 8px; }
  .carousel-caption { font-size: 9px; margin-top: 5px; }
  .hero-carousel .art-word { width: 145px; bottom: 53px; left: 21px; }
  .hero-carousel .art-symbol { width: 205px; height: 205px; }
  .hero-carousel .art-seal { top: 0; right: 3px; }
  .logo-panel, .identity-panel { border-top-right-radius: 70px; }
  .logo-panel-bottom { bottom: 35px; right: 24px; font-size: 16px; }
  .logo-panel-mark { width: 72px; height: 72px; left: 24px; bottom: 36px; }
  .panel-topline { top: 24px; left: 23px; right: 29px; font-size: 6px; }
  .identity-panel { padding-top: 58px; }
  .identity-panel-image { padding: 10px; }
  .identity-panel-bottom { padding: 21px; gap: 14px; }
  .identity-panel-bottom p { font-size: 14px; }
  .identity-panel-bottom span { font-size: 8px; }
  .identity-panel-bottom .brand-star { width: 40px; height: 40px; }
}
@media(max-width:380px) {
  .hero-carousel .art-symbol { width: 182px; height: 182px; }
  .hero-carousel .art-word { width: 125px; bottom: 47px; }
  .carousel-dots { gap: 7px; }
  .carousel-control { width: 36px; }
}
@media(prefers-reduced-motion:reduce) {
  .site-header, .carousel-slide { transition: none; }
  .hero-carousel *, .hero-carousel *::before, .hero-carousel *::after { animation: none !important; }
}
