/* The existing ivory menu and floral crown are one sticky unit.
   Only the floral side of the original curve is opaque. */
.original-crown{display:none}
.shell>.original-portal-header{
  --portal-crown:clamp(6.25rem,22vw,8.1rem);
  display:block;position:-webkit-sticky;position:sticky;top:0;z-index:120;
  padding:0;min-height:0;background:none;
}
.original-app-nav{min-height:66px;background:#fff9f2;padding:12px 21px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.original-crown{
  position:relative;height:calc(var(--portal-crown) + 1px);
  pointer-events:none;
}
.original-crown .entrance-floral-crown{height:var(--portal-crown);clip-path:var(--crown-clip)}
.original-crown svg{position:absolute;display:block;inset:0;width:100%;height:100%}
.shell>.original-portal-header .original-crown{display:block}
#shop > .app-entrance-portal{margin-top:calc(-1 * var(--portal-crown) - 1px)}
html:has(.shell>.original-portal-header){scroll-padding-top:var(--site-nav-clearance,13rem)}
@media(max-width:47.99rem){
  .top[data-pinned-nav].original-portal-header{
   --portal-crown:clamp(6.75rem,25vw,9.25rem);
   border:0;background:none;
  }
  .original-portal-header>.original-site-nav{background:#fff7ef;border-bottom:1px solid #d5b587}
  .original-portal-header>.original-crown{display:block}
  .phone-entrance-portal{margin-top:calc(-1 * var(--portal-crown) - 1px)}
}

/* Fit the original arch to the space available above the phone's browser controls. */
@supports (height: 1svh){
 @media(max-width:47.99rem){
  :is(.original-portal-header,.phone-entrance-portal,.app-entrance-portal){
   --fitted-crown:clamp(4.25rem,calc(45svh - 14.5rem),var(--portal-crown));
  }
  .original-crown{height:calc(var(--fitted-crown) + 1px)}
  .original-crown .entrance-floral-crown{height:var(--fitted-crown)}
  .phone-entrance-portal,#shop > .app-entrance-portal{margin-top:calc(-1 * var(--fitted-crown) - 1px)}
  .hero.phone-entrance-portal .herogrid{padding-top:calc(var(--fitted-crown) - 1.25rem)}
  #shop > .app-entrance-portal{padding-top:calc(var(--fitted-crown) - .8rem)}
 }
}
