/* AME V4.0 — vertical type roll, branded navigation curtain and calibrated field. */
#siteHeader .ame-v35-nav .ame-v36-morph,
#siteHeader .language-switch button{
  overflow:hidden!important;
  height:34px!important;
  min-height:34px!important;
  perspective:none!important;
}
#siteHeader .ame-v35-nav .ame-v36-morph>span,
#siteHeader .language-switch button>span{
  position:relative!important;
  grid-area:word!important;
  opacity:1!important;
  transition:transform .54s cubic-bezier(.16,1,.3,1)!important;
  will-change:transform;
}
#siteHeader .ame-v36-text{transform:translate3d(0,0,0)!important}
#siteHeader .ame-v36-aftera{
  opacity:1!important;
  transform:translate3d(0,220%,0)!important;
  font-style:italic!important;
}
#siteHeader .ame-v36-morph:is(:hover,:focus-visible) .ame-v36-text,
#siteHeader .language-switch button:is(:hover,:focus-visible) .ame-v36-text{
  opacity:1!important;
  transform:translate3d(0,-220%,0)!important;
}
#siteHeader .ame-v36-morph:is(:hover,:focus-visible) .ame-v36-aftera,
#siteHeader .language-switch button:is(:hover,:focus-visible) .ame-v36-aftera{
  opacity:1!important;
  transform:translate3d(0,0,0)!important;
}

html body #siteHeader .header-end #menuButton.ame-outline-control{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:24px!important;
  min-width:34px!important;
  min-height:24px!important;
  flex:0 0 34px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#4b3e34!important;
  background-image:none!important;
  color:#f7f1e7!important;
  box-shadow:none!important;
  transform:none;
  transform-origin:center;
  transition:border-radius .35s ease!important;
}
html body #siteHeader #menuButton::before,
html body #siteHeader #menuButton::after{display:none!important;content:none!important}
html body #siteHeader #menuButton>.ame-webgl-mercury-canvas{display:none!important}
html body #siteHeader #menuButton>.ame-outline-frame,
html body #siteHeader #menuButton>.ame-menu-cross{display:none!important}
html body #menuButton .ame-chrome-dots{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  width:100%!important;
  height:100%!important;
  opacity:1!important;
  visibility:visible!important;
}
html body.menu-open #siteHeader #menuButton .ame-chrome-dots{opacity:1!important;visibility:visible!important}
html body #menuButton .ame-chrome-dots i{
  display:block!important;
  width:2.2px!important;
  height:2.2px!important;
  margin:0!important;
  border-radius:50%!important;
  background:#f7f1e7!important;
}
html body #siteHeader #menuButton:is(:hover,:focus-visible){animation:ame-menu-organic .68s cubic-bezier(.16,1,.3,1) both!important}
html body #siteHeader #menuButton:is(:hover,:focus-visible) .ame-chrome-dots{animation:ame-menu-dots .68s cubic-bezier(.16,1,.3,1) both!important}
html body #siteHeader #menuButton:is(:hover,:focus-visible) .ame-chrome-dots i:first-child{animation:ame-menu-dot-left .68s ease both!important}
html body #siteHeader #menuButton:is(:hover,:focus-visible) .ame-chrome-dots i:last-child{animation:ame-menu-dot-right .68s ease both!important}
@keyframes ame-menu-organic{0%{scale:1}38%{scale:1.1 .9;rotate:-3deg}72%{scale:.97 1.06;rotate:2deg}100%{scale:1;rotate:0deg}}
@keyframes ame-menu-dots{0%{rotate:0deg}45%{rotate:22deg}100%{rotate:0deg}}
@keyframes ame-menu-dot-left{0%,100%{translate:0;scale:1}45%{translate:2px 0;scale:1.25}}
@keyframes ame-menu-dot-right{0%,100%{translate:0;scale:1}45%{translate:-2px 0;scale:.72}}

/* Restore the moving pearl CTA with a warmer brown material. */
html body #floatingCompose:not(.reference-restored).ame-floating-compose:not(.reference-restored).ame-outline-control{padding:5px 17px 5px 5px!important;gap:10px!important;background:rgba(247,241,231,.32)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__icon{display:grid!important;place-items:center!important;position:relative!important;z-index:2!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:50%!important;overflow:hidden!important;isolation:isolate!important;background:linear-gradient(135deg,#f5ede3 4%,#a88473 39%,#6b4f43 66%,#dcc7b6 88%)!important;box-shadow:inset 0 1px 1px rgba(255,255,255,.72)!important}
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__icon .ame-liquid-orbit{background:rgba(255,249,239,.68)!important}
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__icon .ame-liquid-orbit--two{background:#9f7868!important}
html body #floatingCompose:not(.reference-restored) .ame-floating-compose__icon :is(.ame-liquid-orbit,.ame-liquid-glint){display:block!important}

/* Preserve the global editorial rule while returning to the reference layout. */
html body *{-webkit-hyphens:none!important;hyphens:none!important}

.ame-route-curtain{
  position:fixed;
  inset:0;
  z-index:10000;
  overflow:hidden;
  pointer-events:none;
  visibility:hidden;
}
.ame-route-curtain>i{
  display:block!important;
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:var(--size);
  height:var(--size);
  border-radius:48% 52% 57% 43%/55% 44% 56% 45%;
  background:#241f1b!important;
  transform:translate(-50%,-50%) scale(0);
  will-change:transform;
}
.ame-route-curtain>i:nth-child(1){--x:50%;--y:48%;--size:28vmax}
.ame-route-curtain>i:nth-child(2){--x:12%;--y:15%;--size:20vmax}
.ame-route-curtain>i:nth-child(3){--x:87%;--y:18%;--size:24vmax}
.ame-route-curtain>i:nth-child(4){--x:10%;--y:83%;--size:24vmax}
.ame-route-curtain>i:nth-child(5){--x:90%;--y:78%;--size:22vmax}
.ame-route-curtain>i:nth-child(6){--x:35%;--y:8%;--size:18vmax}
.ame-route-curtain>i:nth-child(7){--x:66%;--y:92%;--size:20vmax}
.ame-route-curtain.is-covering,
.ame-route-curtain.is-revealing{visibility:visible;pointer-events:auto}
.ame-route-curtain.is-covering{background:#241f1b;transition:background-color .01s .49s}
.ame-route-curtain.is-covering>i{
  transform:translate(-50%,-50%) scale(9);
  transition:transform .44s cubic-bezier(.66,0,.34,1);
}
.ame-route-curtain.is-covering>i:nth-child(2n){transition-duration:.49s}
.ame-route-curtain.is-covering>i:nth-child(3n){transition-duration:.40s}
.ame-route-curtain.is-revealing>i{
  transform:translate(-50%,-50%) scale(0);
  transition:transform .50s cubic-bezier(.66,0,.34,1);
}
.ame-route-curtain.is-revealing{background:transparent;transition:background-color .50s ease}
.ame-route-curtain.is-revealing>i:nth-child(2n){transition-duration:.45s}
.ame-route-curtain.is-revealing>i:nth-child(3n){transition-duration:.54s}

html body .fine-grain,
html body.case-open .fine-grain,
html body.editorial-open .fine-grain,
html body.world-open .fine-grain{
  opacity:.016!important;
  background-size:170px auto!important;
}

@media(prefers-reduced-motion:reduce){
  #siteHeader .ame-v35-nav .ame-v36-morph>span,
  #siteHeader .language-switch button>span{transition:none!important}
  .ame-route-curtain{display:none!important}
}
